2025-06-10 23:32:51,528 - INFO - Domain Default found not creating 2025-06-10 23:32:51,664 - INFO - Project ctest-TestBasicPolicy-18289586 not found, creating it 2025-06-10 23:32:52,118 - INFO - Created Project:ctest-TestBasicPolicy-18289586, ID : 7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:32:53,556 - INFO - ================================================================================ 2025-06-10 23:32:53,557 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 23:32:53,557 - 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-06-10 23:32:53,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-10 23:32:53,820 - INFO - Initial checks done. Running the testcase now 2025-06-10 23:32:53,820 - INFO - 2025-06-10 23:32:54,344 - DEBUG - Response for create_network : {'network': {'id': '95e7fef5-bec9-4569-9d64-c8f0494a09ae', 'name': 'ctest-vn-41160985', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'project_id': '7b80df4d41704b1a92601dbeb47f42cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-vn-41160985'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:54,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '02a219a4-b11d-428f-b409-f9250ccbb394', 'name': '', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'network_id': '95e7fef5-bec9-4569-9d64-c8f0494a09ae', 'ip_version': 4, 'cidr': '3.157.232.0/26', 'allocation_pools': [{'start': '3.157.232.2', 'end': '3.157.232.62'}], 'gateway_ip': '3.157.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.157.232.2', 'tags': [], 'project_id': '7b80df4d41704b1a92601dbeb47f42cd'}} 2025-06-10 23:32:54,523 - INFO - Created VN ctest-vn-41160985 2025-06-10 23:32:54,575 - DEBUG - VN ctest-vn-41160985 UUID is 95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:54,858 - DEBUG - Response for create_network : {'network': {'id': '9d3ea143-2335-4920-b764-1eb09b71d445', 'name': 'ctest-vn-90005951', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'project_id': '7b80df4d41704b1a92601dbeb47f42cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-vn-90005951'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:55,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb0805a-4237-4340-91e2-e84fa50bd956', 'name': '', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'network_id': '9d3ea143-2335-4920-b764-1eb09b71d445', 'ip_version': 4, 'cidr': '191.176.100.128/26', 'allocation_pools': [{'start': '191.176.100.130', 'end': '191.176.100.190'}], 'gateway_ip': '191.176.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.176.100.130', 'tags': [], 'project_id': '7b80df4d41704b1a92601dbeb47f42cd'}} 2025-06-10 23:32:55,078 - INFO - Created VN ctest-vn-90005951 2025-06-10 23:32:55,131 - DEBUG - VN ctest-vn-90005951 UUID is 9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:55,278 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985, 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-18289586:ctest-vn-90005951, 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-06-10 23:32:55,561 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95e7fef5-bec9-4569-9d64-c8f0494a09ae', 'name': 'ctest-vn-41160985', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'project_id': '7b80df4d41704b1a92601dbeb47f42cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02a219a4-b11d-428f-b409-f9250ccbb394'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-vn-41160985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-policy-allow-all-95083251']], 'subnet_ipam': [{'subnet_cidr': '3.157.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:55,785 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d3ea143-2335-4920-b764-1eb09b71d445', 'name': 'ctest-vn-90005951', 'tenant_id': '7b80df4d41704b1a92601dbeb47f42cd', 'project_id': '7b80df4d41704b1a92601dbeb47f42cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bb0805a-4237-4340-91e2-e84fa50bd956'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-vn-90005951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-policy-allow-all-95083251']], 'subnet_ipam': [{'subnet_cidr': '191.176.100.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:55,951 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:32:56,239 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:32:56,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:32:56,280 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:32:56,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:32:56,382 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:32:56,389 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/534a4893-0239-456e-b482-b8be54e9a086 2025-06-10 23:32:56,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 23:32:56,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:32:56,416 - INFO - Verified VN network id 8 for VN 95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,417 - INFO - Verifications in API Server for VN ctest-vn-41160985 passed 2025-06-10 23:32:56,417 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:32:56,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:32:56,440 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/534a4893-0239-456e-b482-b8be54e9a086 2025-06-10 23:32:56,451 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18289586', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10801882562692728169', 'uuid-lslong': '11341410695973046702'}, 'enable': 'true', 'created': '2025-06-10T23:32:54', 'last-modified': '2025-06-10T23:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905922'} 2025-06-10 23:32:56,457 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 23:32:56,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41160985 passed 2025-06-10 23:32:56,458 - DEBUG - ====Verifying policy data for ctest-vn-41160985 in API_Server ====== 2025-06-10 23:32:56,458 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:32:56,462 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:32:56,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:32:56,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95e7fef5-bec9-4569-9d64-c8f0494a09ae 2025-06-10 23:32:56,556 - DEBUG - ==>Verifying data for policy with id: c9ef2ed5-2f78-4f91-88cb-023586ce0830, fqn: ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-policy-allow-all-95083251'] 2025-06-10 23:32:56,556 - INFO - VN ctest-vn-41160985 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 23:32:56,556 - DEBUG - Verifying the vn in opserver 2025-06-10 23:32:56,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985 virtual network link through opserver 10.0.0.38 2025-06-10 23:32:56,557 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-10 23:32:56,851 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-10 23:32:56,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985?flat'} 2025-06-10 23:32:56,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985 is found in opserver 2025-06-10 23:32:56,918 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 23:32:56,923 - DEBUG - VRF ids for VN ctest-vn-41160985: {} 2025-06-10 23:32:56,923 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:32:56,930 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:32:56,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:32:57,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:32:57,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:32:57,056 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c75cc9cf-c624-456e-89d3-ddb436a1a249 2025-06-10 23:32:57,065 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 23:32:57,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:32:57,088 - INFO - Verified VN network id 9 for VN 9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,088 - INFO - Verifications in API Server for VN ctest-vn-90005951 passed 2025-06-10 23:32:57,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,098 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:32:57,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:32:57,112 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c75cc9cf-c624-456e-89d3-ddb436a1a249 2025-06-10 23:32:57,124 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-90005951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18289586', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11330671022236322080', 'uuid-lslong': '13214720950482883653'}, 'enable': 'true', 'created': '2025-06-10T23:32:54', 'last-modified': '2025-06-10T23:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358358'} 2025-06-10 23:32:57,129 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 23:32:57,129 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90005951 passed 2025-06-10 23:32:57,130 - DEBUG - ====Verifying policy data for ctest-vn-90005951 in API_Server ====== 2025-06-10 23:32:57,130 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:32:57,137 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:32:57,150 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:32:57,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d3ea143-2335-4920-b764-1eb09b71d445 2025-06-10 23:32:57,234 - DEBUG - ==>Verifying data for policy with id: c9ef2ed5-2f78-4f91-88cb-023586ce0830, fqn: ['default-domain', 'ctest-TestBasicPolicy-18289586', 'ctest-policy-allow-all-95083251'] 2025-06-10 23:32:57,234 - INFO - VN ctest-vn-90005951 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 23:32:57,234 - DEBUG - Verifying the vn in opserver 2025-06-10 23:32:57,234 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-90005951 virtual network link through opserver 10.0.0.38 2025-06-10 23:32:57,234 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-10 23:32:57,244 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-90005951', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-90005951?flat'} 2025-06-10 23:32:57,244 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-90005951 is found in opserver 2025-06-10 23:32:57,254 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 23:32:57,259 - DEBUG - VRF ids for VN ctest-vn-90005951: {} 2025-06-10 23:32:57,309 - DEBUG - Services list from nova: [, , ] 2025-06-10 23:32:58,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3440-1) 2025-06-10 23:32:59,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3440-1) 2025-06-10 23:32:59,453 - INFO - Waiting for VM ctest-TestBasicPolicy-18289586-23571567 to be up.. 2025-06-10 23:32:59,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 23:33:04,632 - DEBUG - VM is in ACTIVE state now 2025-06-10 23:33:04,632 - INFO - VM name : ctest-TestBasicPolicy-18289586-23571567 2025-06-10 23:33:04,742 - DEBUG - VM ctest-TestBasicPolicy-18289586-23571567 ID is 3b013ba2-97de-49e8-bc98-1ec345115f6e 2025-06-10 23:33:04,761 - DEBUG - VM ctest-TestBasicPolicy-18289586-23571567 launched on Node cn-jenkins-deploy-platform-ansible-os-3440-1 2025-06-10 23:33:04,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3b013ba2-97de-49e8-bc98-1ec345115f6e 2025-06-10 23:33:04,855 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8730d4a5-0e3c-4f02-8fe1-10cdcab43fab 2025-06-10 23:33:08,126 - 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 1027ms') 2025-06-10 23:33:08,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18289586-23571567 failed! 2025-06-10 23:33:08,187 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18289586:ctest-vn-41160985 is 3.157.232.1 and allocation pool is NOT set 2025-06-10 23:33:10,251 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.445/2.061/3.677/1.616 ms') 2025-06-10 23:33:10,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18289586-23571567 passed 2025-06-10 23:33:10,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:33:10,399 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18289586-23571567, IP 3.157.232.3, Port 22 2025-06-10 23:33:10,560 - DEBUG - VM ctest-TestBasicPolicy-18289586-23571567 is ready for SSH connections 2025-06-10 23:33:10,560 - INFO - Waiting for VM ctest-TestBasicPolicy-18289586-98656313 to be up.. 2025-06-10 23:33:10,632 - DEBUG - VM is in ACTIVE state now 2025-06-10 23:33:10,632 - INFO - VM name : ctest-TestBasicPolicy-18289586-98656313 2025-06-10 23:33:10,716 - DEBUG - VM ctest-TestBasicPolicy-18289586-98656313 ID is 808824ef-8132-4db4-9e03-678b2e0cf835 2025-06-10 23:33:10,716 - DEBUG - VM ctest-TestBasicPolicy-18289586-98656313 launched on Node cn-jenkins-deploy-platform-ansible-os-3440-1 2025-06-10 23:33:10,785 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/808824ef-8132-4db4-9e03-678b2e0cf835 2025-06-10 23:33:10,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6058278c-ee9b-4d4c-ba5f-374c5b298237 2025-06-10 23:33:12,028 - 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=5.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/3.354/5.691/2.337 ms') 2025-06-10 23:33:12,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18289586-98656313 passed 2025-06-10 23:33:12,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:33:12,179 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18289586-98656313, IP 191.176.100.131, Port 22 2025-06-10 23:33:12,346 - DEBUG - VM ctest-TestBasicPolicy-18289586-98656313 is ready for SSH connections 2025-06-10 23:33:12,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:33:12,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.176.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-10 23:33:12,346 - DEBUG - ping -s 56 -c 3 -W 1 191.176.100.131 2025-06-10 23:33:15,995 - DEBUG - PING 191.176.100.131 (191.176.100.131): 56 data bytes 64 bytes from 191.176.100.131: seq=0 ttl=63 time=4.915 ms 64 bytes from 191.176.100.131: seq=1 ttl=63 time=0.881 ms 64 bytes from 191.176.100.131: seq=2 ttl=63 time=1.017 ms --- 191.176.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/2.271/4.915 ms 2025-06-10 23:33:15,995 - INFO - Ping to IP 191.176.100.131 from VM ctest-TestBasicPolicy-18289586-23571567 passed 2025-06-10 23:33:16,179 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9ef2ed5-2f78-4f91-88cb-023586ce0830", "href": "http://10.0.0.38:8082/network-policy/c9ef2ed5-2f78-4f91-88cb-023586ce0830"}} 2025-06-10 23:33:16,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:33:16,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.176.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-10 23:33:16,179 - DEBUG - ping -s 56 -c 3 -W 1 191.176.100.131 2025-06-10 23:33:19,379 - DEBUG - PING 191.176.100.131 (191.176.100.131): 56 data bytes --- 191.176.100.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-10 23:33:19,379 - WARNING - Ping to IP 191.176.100.131 from VM ctest-TestBasicPolicy-18289586-23571567 failed 2025-06-10 23:33:19,379 - INFO - Deleting VM ctest-TestBasicPolicy-18289586-98656313 2025-06-10 23:33:19,445 - INFO - Deleting VM ctest-TestBasicPolicy-18289586-23571567 2025-06-10 23:33:19,797 - INFO - Deleted policy ctest-policy-allow-all-95083251 2025-06-10 23:33:19,798 - INFO - Deleting VN ctest-vn-90005951 2025-06-10 23:33:19,837 - DEBUG - VN 9d3ea143-2335-4920-b764-1eb09b71d445 still in use: Unable to complete operation on network 9d3ea143-2335-4920-b764-1eb09b71d445. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00556eb5-0216-4dfc-9ebe-e1dfd76574db'] 2025-06-10 23:33:19,837 - WARNING - Deleting VN ctest-vn-90005951 failed..Will retry 2025-06-10 23:33:21,944 - DEBUG - Response for deleting network () 2025-06-10 23:33:21,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0468c97-012c-44fa-ad3b-e359d3e8c95e 2025-06-10 23:33:21,949 - DEBUG - Response Code: 404 2025-06-10 23:33:21,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:33:21,957 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:33:22,012 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:33:22,097 - INFO - Validated that VN ctest-vn-90005951 is not found in API Server 2025-06-10 23:33:22,109 - DEBUG - VN ctest-vn-90005951 is not present in Agent 10.0.0.38 2025-06-10 23:33:22,109 - INFO - Validated that VN ctest-vn-90005951 is not in any agent 2025-06-10 23:33:22,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90005951 info 2025-06-10 23:33:22,124 - INFO - Deleting VN ctest-vn-41160985 2025-06-10 23:33:22,221 - DEBUG - Response for deleting network () 2025-06-10 23:33:22,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/00df1fe2-4d8e-493a-85f3-5d540a38f6d9 2025-06-10 23:33:22,228 - DEBUG - Response Code: 404 2025-06-10 23:33:22,229 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-10 23:33:22,234 - DEBUG - Requesting: http://10.0.0.38:8082/domain/496cb727-ad41-4a83-8a4d-87d4edc8fe4f 2025-06-10 23:33:22,291 - DEBUG - Requesting: http://10.0.0.38:8082/project/7b80df4d-4170-4b1a-9260-1dbeb47f42cd 2025-06-10 23:33:22,371 - INFO - Validated that VN ctest-vn-41160985 is not found in API Server 2025-06-10 23:33:22,383 - DEBUG - VN ctest-vn-41160985 is not present in Agent 10.0.0.38 2025-06-10 23:33:22,383 - INFO - Validated that VN ctest-vn-41160985 is not in any agent 2025-06-10 23:33:22,400 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41160985 info 2025-06-10 23:33:22,658 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 23:33:22,659 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-10 23:33:22,659 - INFO - -------------------------------------------------------------------------------- 2025-06-10 23:33:23,364 - INFO - Deleted project: ctest-TestBasicPolicy-18289586, ID : 7b80df4d-4170-4b1a-9260-1dbeb47f42cd