2025-06-30 16:19:53,814 - INFO - Domain Default found not creating 2025-06-30 16:19:53,957 - INFO - Project ctest-TestBasicPolicy-73515041 not found, creating it 2025-06-30 16:19:54,475 - INFO - Created Project:ctest-TestBasicPolicy-73515041, ID : 724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:19:55,896 - INFO - ================================================================================ 2025-06-30 16:19:55,897 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 16:19:55,897 - 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-30 16:19:56,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-06-30 16:19:56,155 - INFO - Initial checks done. Running the testcase now 2025-06-30 16:19:56,155 - INFO - 2025-06-30 16:19:56,696 - DEBUG - Response for create_network : {'network': {'id': '5567d89c-6565-4373-b359-ccf056c724d8', 'name': 'ctest-vn-31222376', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-vn-31222376'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:56,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '619be82f-8a89-4cf4-9d18-f97aede7f844', 'name': '', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'network_id': '5567d89c-6565-4373-b359-ccf056c724d8', 'ip_version': 4, 'cidr': '118.249.53.128/26', 'allocation_pools': [{'start': '118.249.53.130', 'end': '118.249.53.190'}], 'gateway_ip': '118.249.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.249.53.130', 'tags': [], 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7'}} 2025-06-30 16:19:56,930 - INFO - Created VN ctest-vn-31222376 2025-06-30 16:19:56,985 - DEBUG - VN ctest-vn-31222376 UUID is 5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:57,272 - DEBUG - Response for create_network : {'network': {'id': '0a634210-9f1c-4edc-aa0a-09487efaf92c', 'name': 'ctest-vn-77538697', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-vn-77538697'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:57,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '34e2346d-0197-415d-b8c2-6d04c2ca1247', 'name': '', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'network_id': '0a634210-9f1c-4edc-aa0a-09487efaf92c', 'ip_version': 4, 'cidr': '31.178.97.128/26', 'allocation_pools': [{'start': '31.178.97.130', 'end': '31.178.97.190'}], 'gateway_ip': '31.178.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.178.97.130', 'tags': [], 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7'}} 2025-06-30 16:19:57,508 - INFO - Created VN ctest-vn-77538697 2025-06-30 16:19:57,561 - DEBUG - VN ctest-vn-77538697 UUID is 0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:57,672 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376, 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-73515041:ctest-vn-77538697, 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-30 16:19:57,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5567d89c-6565-4373-b359-ccf056c724d8', 'name': 'ctest-vn-31222376', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['619be82f-8a89-4cf4-9d18-f97aede7f844'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-vn-31222376'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-policy-allow-all-44582273']], 'subnet_ipam': [{'subnet_cidr': '118.249.53.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:58,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a634210-9f1c-4edc-aa0a-09487efaf92c', 'name': 'ctest-vn-77538697', 'tenant_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'project_id': '724b867ec4a24e7ab274bf2c2f61fcb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34e2346d-0197-415d-b8c2-6d04c2ca1247'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-vn-77538697'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-policy-allow-all-44582273']], 'subnet_ipam': [{'subnet_cidr': '31.178.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:58,401 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:19:58,697 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:19:58,727 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:19:58,744 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:19:58,823 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:58,837 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:58,848 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:19:58,857 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:19:58,864 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ccd74d21-8864-4343-8615-73ad433e9277 2025-06-30 16:19:58,872 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 16:19:58,872 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:58,882 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:19:58,897 - INFO - Verified VN network id 7 for VN 5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:58,897 - INFO - Verifications in API Server for VN ctest-vn-31222376 passed 2025-06-30 16:19:58,897 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:58,907 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:19:58,916 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:19:58,924 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ccd74d21-8864-4343-8615-73ad433e9277 2025-06-30 16:19:58,937 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73515041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6154125582052705139', 'uuid-lslong': '12923585938336457944'}, 'enable': 'true', 'created': '2025-06-30T16:19:56', 'last-modified': '2025-06-30T16:19:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990932'} 2025-06-30 16:19:58,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 16:19:58,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31222376 passed 2025-06-30 16:19:58,944 - DEBUG - ====Verifying policy data for ctest-vn-31222376 in API_Server ====== 2025-06-30 16:19:58,944 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:19:58,950 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:19:58,963 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:19:59,036 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5567d89c-6565-4373-b359-ccf056c724d8 2025-06-30 16:19:59,046 - DEBUG - ==>Verifying data for policy with id: f380e2a2-382e-40bc-b6cc-acc331fea8e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-policy-allow-all-44582273'] 2025-06-30 16:19:59,046 - INFO - VN ctest-vn-31222376 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 16:19:59,047 - DEBUG - Verifying the vn in opserver 2025-06-30 16:19:59,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376 virtual network link through opserver 10.0.0.19 2025-06-30 16:19:59,047 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 16:19:59,339 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 16:19:59,390 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376?flat'} 2025-06-30 16:19:59,390 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376 is found in opserver 2025-06-30 16:19:59,402 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 16:19:59,408 - DEBUG - VRF ids for VN ctest-vn-31222376: {} 2025-06-30 16:19:59,408 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:19:59,413 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:19:59,425 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:19:59,494 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,506 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,516 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:19:59,524 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:19:59,531 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/dfed6d4b-a6ec-49f5-aa65-e7eb4081c03a 2025-06-30 16:19:59,537 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 16:19:59,538 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,547 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:19:59,563 - INFO - Verified VN network id 8 for VN 0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,563 - INFO - Verifications in API Server for VN ctest-vn-77538697 passed 2025-06-30 16:19:59,563 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,573 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:19:59,581 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:19:59,588 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/dfed6d4b-a6ec-49f5-aa65-e7eb4081c03a 2025-06-30 16:19:59,600 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-77538697', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73515041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '748514602229976796', 'uuid-lslong': '12252615943187527980'}, 'enable': 'true', 'created': '2025-06-30T16:19:57', 'last-modified': '2025-06-30T16:19:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.420807'} 2025-06-30 16:19:59,607 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 16:19:59,607 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77538697 passed 2025-06-30 16:19:59,607 - DEBUG - ====Verifying policy data for ctest-vn-77538697 in API_Server ====== 2025-06-30 16:19:59,607 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:19:59,614 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:19:59,625 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:19:59,693 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0a634210-9f1c-4edc-aa0a-09487efaf92c 2025-06-30 16:19:59,703 - DEBUG - ==>Verifying data for policy with id: f380e2a2-382e-40bc-b6cc-acc331fea8e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73515041', 'ctest-policy-allow-all-44582273'] 2025-06-30 16:19:59,703 - INFO - VN ctest-vn-77538697 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 16:19:59,703 - DEBUG - Verifying the vn in opserver 2025-06-30 16:19:59,703 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-77538697 virtual network link through opserver 10.0.0.19 2025-06-30 16:19:59,703 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 16:19:59,713 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-77538697', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-77538697?flat'} 2025-06-30 16:19:59,713 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-77538697 is found in opserver 2025-06-30 16:19:59,724 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 16:19:59,728 - DEBUG - VRF ids for VN ctest-vn-77538697: {} 2025-06-30 16:19:59,782 - DEBUG - Services list from nova: [, , ] 2025-06-30 16:20:00,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3581-1) 2025-06-30 16:20:02,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3581-1) 2025-06-30 16:20:02,037 - INFO - Waiting for VM ctest-TestBasicPolicy-73515041-74649108 to be up.. 2025-06-30 16:20:02,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 16:20:07,206 - DEBUG - VM is in ACTIVE state now 2025-06-30 16:20:07,207 - INFO - VM name : ctest-TestBasicPolicy-73515041-74649108 2025-06-30 16:20:07,285 - DEBUG - VM ctest-TestBasicPolicy-73515041-74649108 ID is ca58f4d1-d571-4e81-8f09-2fc87a247ad8 2025-06-30 16:20:07,308 - DEBUG - VM ctest-TestBasicPolicy-73515041-74649108 launched on Node cn-jenkins-deploy-platform-ansible-os-3581-1 2025-06-30 16:20:07,381 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ca58f4d1-d571-4e81-8f09-2fc87a247ad8 2025-06-30 16:20:07,389 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1ccad181-3c8a-46a8-8ab0-a2802bccf6c6 2025-06-30 16:20:10,630 - 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 1006ms') 2025-06-30 16:20:10,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73515041-74649108 failed! 2025-06-30 16:20:10,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73515041:ctest-vn-31222376 is 118.249.53.129 and allocation pool is NOT set 2025-06-30 16:20:12,752 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/1.612/2.756/1.143 ms') 2025-06-30 16:20:12,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73515041-74649108 passed 2025-06-30 16:20:12,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:12,901 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73515041-74649108, IP 118.249.53.131, Port 22 2025-06-30 16:20:13,064 - DEBUG - VM ctest-TestBasicPolicy-73515041-74649108 is ready for SSH connections 2025-06-30 16:20:13,064 - INFO - Waiting for VM ctest-TestBasicPolicy-73515041-59963936 to be up.. 2025-06-30 16:20:13,151 - DEBUG - VM is in ACTIVE state now 2025-06-30 16:20:13,151 - INFO - VM name : ctest-TestBasicPolicy-73515041-59963936 2025-06-30 16:20:13,227 - DEBUG - VM ctest-TestBasicPolicy-73515041-59963936 ID is bc64a686-74f5-466a-8813-04c32c74384d 2025-06-30 16:20:13,227 - DEBUG - VM ctest-TestBasicPolicy-73515041-59963936 launched on Node cn-jenkins-deploy-platform-ansible-os-3581-1 2025-06-30 16:20:13,305 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bc64a686-74f5-466a-8813-04c32c74384d 2025-06-30 16:20:13,313 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/75d96c9e-73ba-4155-a0cd-665ab25f31f4 2025-06-30 16:20:14,542 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.400/1.761/3.123/1.361 ms') 2025-06-30 16:20:14,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73515041-59963936 passed 2025-06-30 16:20:14,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:14,697 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73515041-59963936, IP 31.178.97.131, Port 22 2025-06-30 16:20:14,852 - DEBUG - VM ctest-TestBasicPolicy-73515041-59963936 is ready for SSH connections 2025-06-30 16:20:14,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:14,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.178.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 16:20:14,853 - DEBUG - ping -s 56 -c 3 -W 1 31.178.97.131 2025-06-30 16:20:18,852 - DEBUG - PING 31.178.97.131 (31.178.97.131): 56 data bytes 64 bytes from 31.178.97.131: seq=0 ttl=63 time=3.921 ms 64 bytes from 31.178.97.131: seq=1 ttl=63 time=0.768 ms 64 bytes from 31.178.97.131: seq=2 ttl=63 time=0.704 ms --- 31.178.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.704/1.797/3.921 ms 2025-06-30 16:20:18,852 - INFO - Ping to IP 31.178.97.131 from VM ctest-TestBasicPolicy-73515041-74649108 passed 2025-06-30 16:20:19,044 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f380e2a2-382e-40bc-b6cc-acc331fea8e9", "href": "http://10.0.0.19:8082/network-policy/f380e2a2-382e-40bc-b6cc-acc331fea8e9"}} 2025-06-30 16:20:19,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:19,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.178.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 16:20:19,045 - DEBUG - ping -s 56 -c 3 -W 1 31.178.97.131 2025-06-30 16:20:22,271 - DEBUG - PING 31.178.97.131 (31.178.97.131): 56 data bytes --- 31.178.97.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 16:20:22,272 - WARNING - Ping to IP 31.178.97.131 from VM ctest-TestBasicPolicy-73515041-74649108 failed 2025-06-30 16:20:22,272 - INFO - Deleting VM ctest-TestBasicPolicy-73515041-59963936 2025-06-30 16:20:22,332 - INFO - Deleting VM ctest-TestBasicPolicy-73515041-74649108 2025-06-30 16:20:22,685 - INFO - Deleted policy ctest-policy-allow-all-44582273 2025-06-30 16:20:22,686 - INFO - Deleting VN ctest-vn-77538697 2025-06-30 16:20:22,721 - DEBUG - VN 0a634210-9f1c-4edc-aa0a-09487efaf92c still in use: Unable to complete operation on network 0a634210-9f1c-4edc-aa0a-09487efaf92c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-208baa5b-cdc8-43d7-ae37-eb240fb0a6bc'] 2025-06-30 16:20:22,721 - WARNING - Deleting VN ctest-vn-77538697 failed..Will retry 2025-06-30 16:20:24,849 - DEBUG - Response for deleting network () 2025-06-30 16:20:24,849 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/99281dd4-ecb0-40f8-a922-a6dc75a86db1 2025-06-30 16:20:24,859 - DEBUG - Response Code: 404 2025-06-30 16:20:24,859 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:20:24,865 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:20:24,922 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:20:25,010 - INFO - Validated that VN ctest-vn-77538697 is not found in API Server 2025-06-30 16:20:25,021 - DEBUG - VN ctest-vn-77538697 is not present in Agent 10.0.0.19 2025-06-30 16:20:25,021 - INFO - Validated that VN ctest-vn-77538697 is not in any agent 2025-06-30 16:20:25,038 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77538697 info 2025-06-30 16:20:25,038 - INFO - Deleting VN ctest-vn-31222376 2025-06-30 16:20:25,159 - DEBUG - Response for deleting network () 2025-06-30 16:20:25,159 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/00e59896-095e-48d4-b14a-62fa861ce176 2025-06-30 16:20:25,166 - DEBUG - Response Code: 404 2025-06-30 16:20:25,166 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 16:20:25,173 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3baa1c33-1272-4d6e-85fa-aa0729fdbfb2 2025-06-30 16:20:25,226 - DEBUG - Requesting: http://10.0.0.19:8082/project/724b867e-c4a2-4e7a-b274-bf2c2f61fcb7 2025-06-30 16:20:25,307 - INFO - Validated that VN ctest-vn-31222376 is not found in API Server 2025-06-30 16:20:25,318 - DEBUG - VN ctest-vn-31222376 is not present in Agent 10.0.0.19 2025-06-30 16:20:25,318 - INFO - Validated that VN ctest-vn-31222376 is not in any agent 2025-06-30 16:20:25,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31222376 info 2025-06-30 16:20:25,595 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 16:20:25,595 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-30 16:20:25,595 - INFO - -------------------------------------------------------------------------------- 2025-06-30 16:20:26,270 - INFO - Deleted project: ctest-TestBasicPolicy-73515041, ID : 724b867e-c4a2-4e7a-b274-bf2c2f61fcb7