2025-04-07 09:39:31,217 - INFO - Domain Default found not creating 2025-04-07 09:39:31,430 - INFO - Project ctest-TestBasicPolicy-00372024 not found, creating it 2025-04-07 09:39:31,900 - INFO - Created Project:ctest-TestBasicPolicy-00372024, ID : 1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:39:33,411 - INFO - ================================================================================ 2025-04-07 09:39:33,411 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-07 09:39:33,411 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-04-07 09:39:33,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.6': '0'}} with 2025-04-07 09:39:33,667 - INFO - Initial checks done. Running the testcase now 2025-04-07 09:39:33,667 - INFO - 2025-04-07 09:39:34,245 - DEBUG - Response for create_network : {'network': {'id': '829c01ce-0c64-4a34-9e7f-3ea5c64685e5', 'name': 'ctest-vn-74694709', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'project_id': '1f640f7e0c8d40e893124459994ac005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-vn-74694709'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:39:34,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '80cc5001-8725-42eb-ab3b-23eca73e42c0', 'name': '', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'network_id': '829c01ce-0c64-4a34-9e7f-3ea5c64685e5', 'ip_version': 4, 'cidr': '73.144.111.64/26', 'allocation_pools': [{'start': '73.144.111.66', 'end': '73.144.111.126'}], 'gateway_ip': '73.144.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.144.111.66', 'tags': [], 'project_id': '1f640f7e0c8d40e893124459994ac005'}} 2025-04-07 09:39:34,451 - INFO - Created VN ctest-vn-74694709 2025-04-07 09:39:34,505 - DEBUG - VN ctest-vn-74694709 UUID is 829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:34,803 - DEBUG - Response for create_network : {'network': {'id': '45530015-d904-4222-992d-bbf1a39faee9', 'name': 'ctest-vn-90596203', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'project_id': '1f640f7e0c8d40e893124459994ac005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-vn-90596203'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:39:34,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '80de5080-4a1b-4985-91e9-1ca6fc75f865', 'name': '', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'network_id': '45530015-d904-4222-992d-bbf1a39faee9', 'ip_version': 4, 'cidr': '106.184.15.128/26', 'allocation_pools': [{'start': '106.184.15.130', 'end': '106.184.15.190'}], 'gateway_ip': '106.184.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.184.15.130', 'tags': [], 'project_id': '1f640f7e0c8d40e893124459994ac005'}} 2025-04-07 09:39:34,980 - INFO - Created VN ctest-vn-90596203 2025-04-07 09:39:35,033 - DEBUG - VN ctest-vn-90596203 UUID is 45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:35,158 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-04-07 09:39:35,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '829c01ce-0c64-4a34-9e7f-3ea5c64685e5', 'name': 'ctest-vn-74694709', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'project_id': '1f640f7e0c8d40e893124459994ac005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80cc5001-8725-42eb-ab3b-23eca73e42c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-vn-74694709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-policy-allow-all-01597898']], 'subnet_ipam': [{'subnet_cidr': '73.144.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:39:35,676 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45530015-d904-4222-992d-bbf1a39faee9', 'name': 'ctest-vn-90596203', 'tenant_id': '1f640f7e0c8d40e893124459994ac005', 'project_id': '1f640f7e0c8d40e893124459994ac005', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80de5080-4a1b-4985-91e9-1ca6fc75f865'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-vn-90596203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-policy-allow-all-01597898']], 'subnet_ipam': [{'subnet_cidr': '106.184.15.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:39:35,857 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:39:36,157 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:39:36,188 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:39:36,203 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:39:36,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,313 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:39:36,325 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:39:36,333 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/55784068-c744-4f16-87e5-3117c88cb7b1 2025-04-07 09:39:36,341 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 09:39:36,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,351 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:39:36,367 - INFO - Verified VN network id 8 for VN 829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,367 - INFO - Verifications in API Server for VN ctest-vn-74694709 passed 2025-04-07 09:39:36,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:39:36,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:39:36,395 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/55784068-c744-4f16-87e5-3117c88cb7b1 2025-04-07 09:39:36,409 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00372024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9411399305780283956', 'uuid-lslong': '11420916061751903717'}, 'enable': 'true', 'created': '2025-04-07T09:39:34', 'last-modified': '2025-04-07T09:39:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968126'} 2025-04-07 09:39:36,417 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 09:39:36,417 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74694709 passed 2025-04-07 09:39:36,417 - DEBUG - ====Verifying policy data for ctest-vn-74694709 in API_Server ====== 2025-04-07 09:39:36,417 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:39:36,424 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:39:36,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:39:36,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/829c01ce-0c64-4a34-9e7f-3ea5c64685e5 2025-04-07 09:39:36,532 - DEBUG - ==>Verifying data for policy with id: d6256372-f432-4917-bec2-1afb799f0764, fqn: ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-policy-allow-all-01597898'] 2025-04-07 09:39:36,532 - INFO - VN ctest-vn-74694709 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 09:39:36,532 - DEBUG - Verifying the vn in opserver 2025-04-07 09:39:36,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709 virtual network link through opserver 10.0.0.38 2025-04-07 09:39:36,532 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-07 09:39:36,828 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-07 09:39:36,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709?flat'} 2025-04-07 09:39:36,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709 is found in opserver 2025-04-07 09:39:36,904 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 09:39:36,910 - DEBUG - VRF ids for VN ctest-vn-74694709: {} 2025-04-07 09:39:36,910 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:39:36,917 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:39:36,930 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:39:37,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,035 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:39:37,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:39:37,053 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d0f9e3ee-86cc-4f96-872d-988c884f2a2f 2025-04-07 09:39:37,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 09:39:37,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:39:37,094 - INFO - Verified VN network id 9 for VN 45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,094 - INFO - Verifications in API Server for VN ctest-vn-90596203 passed 2025-04-07 09:39:37,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:39:37,114 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:39:37,123 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d0f9e3ee-86cc-4f96-872d-988c884f2a2f 2025-04-07 09:39:37,137 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00372024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4995336505519260194', 'uuid-lslong': '11037684908261617385'}, 'enable': 'true', 'created': '2025-04-07T09:39:34', 'last-modified': '2025-04-07T09:39:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487190'} 2025-04-07 09:39:37,144 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 09:39:37,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90596203 passed 2025-04-07 09:39:37,144 - DEBUG - ====Verifying policy data for ctest-vn-90596203 in API_Server ====== 2025-04-07 09:39:37,144 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:39:37,150 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:39:37,165 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:39:37,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45530015-d904-4222-992d-bbf1a39faee9 2025-04-07 09:39:37,255 - DEBUG - ==>Verifying data for policy with id: d6256372-f432-4917-bec2-1afb799f0764, fqn: ['default-domain', 'ctest-TestBasicPolicy-00372024', 'ctest-policy-allow-all-01597898'] 2025-04-07 09:39:37,255 - INFO - VN ctest-vn-90596203 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 09:39:37,255 - DEBUG - Verifying the vn in opserver 2025-04-07 09:39:37,255 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203 virtual network link through opserver 10.0.0.38 2025-04-07 09:39:37,255 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-07 09:39:37,266 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203?flat'} 2025-04-07 09:39:37,266 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-90596203 is found in opserver 2025-04-07 09:39:37,279 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 09:39:37,285 - DEBUG - VRF ids for VN ctest-vn-90596203: {} 2025-04-07 09:39:37,347 - DEBUG - Services list from nova: [, , ] 2025-04-07 09:39:38,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1) 2025-04-07 09:39:39,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1) 2025-04-07 09:39:39,607 - INFO - Waiting for VM ctest-TestBasicPolicy-00372024-98857722 to be up.. 2025-04-07 09:39:39,694 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 09:39:44,776 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:39:44,776 - INFO - VM name : ctest-TestBasicPolicy-00372024-98857722 2025-04-07 09:39:44,857 - DEBUG - VM ctest-TestBasicPolicy-00372024-98857722 ID is 41c05f06-6448-4a51-958b-736960904d90 2025-04-07 09:39:44,877 - DEBUG - VM ctest-TestBasicPolicy-00372024-98857722 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1 2025-04-07 09:39:44,962 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41c05f06-6448-4a51-958b-736960904d90 2025-04-07 09:39:44,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d06a2596-0079-4066-a4f4-e3c2b28ba41c 2025-04-07 09:39:48,253 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-04-07 09:39:48,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00372024-98857722 failed! 2025-04-07 09:39:48,309 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00372024:ctest-vn-74694709 is 73.144.111.65 and allocation pool is NOT set 2025-04-07 09:39:50,376 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.829 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.829/5.101/9.373/4.272 ms') 2025-04-07 09:39:50,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00372024-98857722 passed 2025-04-07 09:39:50,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:50,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00372024-98857722, IP 73.144.111.67, Port 22 2025-04-07 09:39:50,692 - DEBUG - VM ctest-TestBasicPolicy-00372024-98857722 is ready for SSH connections 2025-04-07 09:39:50,693 - INFO - Waiting for VM ctest-TestBasicPolicy-00372024-08830104 to be up.. 2025-04-07 09:39:50,783 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:39:50,783 - INFO - VM name : ctest-TestBasicPolicy-00372024-08830104 2025-04-07 09:39:50,877 - DEBUG - VM ctest-TestBasicPolicy-00372024-08830104 ID is 774d93a2-b63c-4239-aa2a-85021945d38e 2025-04-07 09:39:50,877 - DEBUG - VM ctest-TestBasicPolicy-00372024-08830104 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1 2025-04-07 09:39:50,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/774d93a2-b63c-4239-aa2a-85021945d38e 2025-04-07 09:39:50,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/904841d4-49aa-4e4e-96ba-b3452dd15549 2025-04-07 09:39:52,249 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.433/2.051/3.670/1.618 ms') 2025-04-07 09:39:52,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00372024-08830104 passed 2025-04-07 09:39:52,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:52,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00372024-08830104, IP 106.184.15.131, Port 22 2025-04-07 09:39:52,565 - DEBUG - VM ctest-TestBasicPolicy-00372024-08830104 is ready for SSH connections 2025-04-07 09:39:52,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:52,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.184.15.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-07 09:39:52,565 - DEBUG - ping -s 56 -c 3 -W 1 106.184.15.131 2025-04-07 09:39:56,596 - DEBUG - PING 106.184.15.131 (106.184.15.131): 56 data bytes 64 bytes from 106.184.15.131: seq=0 ttl=63 time=3.633 ms 64 bytes from 106.184.15.131: seq=1 ttl=63 time=0.952 ms 64 bytes from 106.184.15.131: seq=2 ttl=63 time=0.810 ms --- 106.184.15.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.798/3.633 ms 2025-04-07 09:39:56,596 - INFO - Ping to IP 106.184.15.131 from VM ctest-TestBasicPolicy-00372024-98857722 passed 2025-04-07 09:39:56,785 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d6256372-f432-4917-bec2-1afb799f0764", "href": "http://10.0.0.38:8082/network-policy/d6256372-f432-4917-bec2-1afb799f0764"}} 2025-04-07 09:39:56,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:56,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.184.15.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-07 09:39:56,785 - DEBUG - ping -s 56 -c 3 -W 1 106.184.15.131 2025-04-07 09:39:59,990 - DEBUG - PING 106.184.15.131 (106.184.15.131): 56 data bytes --- 106.184.15.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-07 09:39:59,990 - WARNING - Ping to IP 106.184.15.131 from VM ctest-TestBasicPolicy-00372024-98857722 failed 2025-04-07 09:39:59,991 - INFO - Deleting VM ctest-TestBasicPolicy-00372024-08830104 2025-04-07 09:40:00,059 - INFO - Deleting VM ctest-TestBasicPolicy-00372024-98857722 2025-04-07 09:40:00,504 - INFO - Deleted policy ctest-policy-allow-all-01597898 2025-04-07 09:40:00,504 - INFO - Deleting VN ctest-vn-90596203 2025-04-07 09:40:00,547 - DEBUG - VN 45530015-d904-4222-992d-bbf1a39faee9 still in use: Unable to complete operation on network 45530015-d904-4222-992d-bbf1a39faee9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-984db01d-0e5f-4c7b-b78b-b2093eaf3fe7'] 2025-04-07 09:40:00,547 - WARNING - Deleting VN ctest-vn-90596203 failed..Will retry 2025-04-07 09:40:02,665 - DEBUG - Response for deleting network () 2025-04-07 09:40:02,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e00d1d-4547-46a4-9b0d-04d5a23d5bc3 2025-04-07 09:40:02,671 - DEBUG - Response Code: 404 2025-04-07 09:40:02,672 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:40:02,679 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:40:02,736 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:40:02,810 - INFO - Validated that VN ctest-vn-90596203 is not found in API Server 2025-04-07 09:40:02,821 - DEBUG - VN ctest-vn-90596203 is not present in Agent 10.0.0.38 2025-04-07 09:40:02,821 - INFO - Validated that VN ctest-vn-90596203 is not in any agent 2025-04-07 09:40:02,837 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90596203 info 2025-04-07 09:40:02,837 - INFO - Deleting VN ctest-vn-74694709 2025-04-07 09:40:02,958 - DEBUG - Response for deleting network () 2025-04-07 09:40:02,958 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2bd289a3-59ec-4c5a-a7dd-8c5ef2c1b2b5 2025-04-07 09:40:02,964 - DEBUG - Response Code: 404 2025-04-07 09:40:02,964 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-07 09:40:02,973 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee93c6df-a63a-4996-9924-489640760187 2025-04-07 09:40:03,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f640f7e-0c8d-40e8-9312-4459994ac005 2025-04-07 09:40:03,115 - INFO - Validated that VN ctest-vn-74694709 is not found in API Server 2025-04-07 09:40:03,128 - DEBUG - VN ctest-vn-74694709 is not present in Agent 10.0.0.38 2025-04-07 09:40:03,128 - INFO - Validated that VN ctest-vn-74694709 is not in any agent 2025-04-07 09:40:03,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74694709 info 2025-04-07 09:40:03,409 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 09:40:03,409 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-07 09:40:03,409 - INFO - -------------------------------------------------------------------------------- 2025-04-07 09:40:04,106 - INFO - Deleted project: ctest-TestBasicPolicy-00372024, ID : 1f640f7e-0c8d-40e8-9312-4459994ac005