2025-10-08 16:15:28,896 - INFO - Domain Default found not creating 2025-10-08 16:15:29,038 - INFO - Project ctest-TestBasicPolicy-18515819 not found, creating it 2025-10-08 16:15:29,485 - INFO - Created Project:ctest-TestBasicPolicy-18515819, ID : 12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:30,837 - INFO - ================================================================================ 2025-10-08 16:15:30,837 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 16:15:30,837 - 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-10-08 16:15:31,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with 2025-10-08 16:15:31,092 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:15:31,092 - INFO - 2025-10-08 16:15:31,617 - DEBUG - Response for create_network : {'network': {'id': '2ea32e77-131d-4f20-915e-a351d6e8a46b', 'name': 'ctest-vn-05029295', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'project_id': '12cdf66689214e6dac4f683240693d87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-vn-05029295'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:15:31,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '290996c4-6c0b-4a1e-a7a1-e4085ece2580', 'name': '', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'network_id': '2ea32e77-131d-4f20-915e-a351d6e8a46b', 'ip_version': 4, 'cidr': '156.27.251.0/26', 'allocation_pools': [{'start': '156.27.251.2', 'end': '156.27.251.62'}], 'gateway_ip': '156.27.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.27.251.2', 'tags': [], 'project_id': '12cdf66689214e6dac4f683240693d87'}} 2025-10-08 16:15:31,830 - INFO - Created VN ctest-vn-05029295 2025-10-08 16:15:31,883 - DEBUG - VN ctest-vn-05029295 UUID is 2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:32,189 - DEBUG - Response for create_network : {'network': {'id': '294a1841-eae3-47ff-8048-b9093985e11e', 'name': 'ctest-vn-38375934', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'project_id': '12cdf66689214e6dac4f683240693d87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-vn-38375934'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:15:32,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8116262-3c3d-4521-ab6d-433fec1206a2', 'name': '', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'network_id': '294a1841-eae3-47ff-8048-b9093985e11e', 'ip_version': 4, 'cidr': '70.173.2.128/26', 'allocation_pools': [{'start': '70.173.2.130', 'end': '70.173.2.190'}], 'gateway_ip': '70.173.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.173.2.130', 'tags': [], 'project_id': '12cdf66689214e6dac4f683240693d87'}} 2025-10-08 16:15:32,417 - INFO - Created VN ctest-vn-38375934 2025-10-08 16:15:32,467 - DEBUG - VN ctest-vn-38375934 UUID is 294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:32,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295, 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-18515819:ctest-vn-38375934, 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-10-08 16:15:32,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ea32e77-131d-4f20-915e-a351d6e8a46b', 'name': 'ctest-vn-05029295', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'project_id': '12cdf66689214e6dac4f683240693d87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['290996c4-6c0b-4a1e-a7a1-e4085ece2580'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-vn-05029295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-policy-allow-all-66068115']], 'subnet_ipam': [{'subnet_cidr': '156.27.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:15:33,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '294a1841-eae3-47ff-8048-b9093985e11e', 'name': 'ctest-vn-38375934', 'tenant_id': '12cdf66689214e6dac4f683240693d87', 'project_id': '12cdf66689214e6dac4f683240693d87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8116262-3c3d-4521-ab6d-433fec1206a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-vn-38375934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-policy-allow-all-66068115']], 'subnet_ipam': [{'subnet_cidr': '70.173.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:15:33,267 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:33,555 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:33,580 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:33,590 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:33,657 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,668 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,677 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:33,683 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:33,689 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/aa360e0e-2d0a-4a81-90b8-debae6468547 2025-10-08 16:15:33,694 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 16:15:33,694 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,702 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:33,716 - INFO - Verified VN network id 9 for VN 2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,716 - INFO - Verifications in API Server for VN ctest-vn-05029295 passed 2025-10-08 16:15:33,716 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,724 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:33,730 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:33,737 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/aa360e0e-2d0a-4a81-90b8-debae6468547 2025-10-08 16:15:33,748 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18515819', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3360580835905195808', 'uuid-lslong': '10474989355203601515'}, 'enable': 'true', 'created': '2025-10-08T16:15:31', 'last-modified': '2025-10-08T16:15:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874658'} 2025-10-08 16:15:33,753 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 16:15:33,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05029295 passed 2025-10-08 16:15:33,755 - DEBUG - ====Verifying policy data for ctest-vn-05029295 in API_Server ====== 2025-10-08 16:15:33,755 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:33,760 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:33,771 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:33,842 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/2ea32e77-131d-4f20-915e-a351d6e8a46b 2025-10-08 16:15:33,852 - DEBUG - ==>Verifying data for policy with id: c64ef71c-726b-4f2c-b942-d063499b8384, fqn: ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-policy-allow-all-66068115'] 2025-10-08 16:15:33,852 - INFO - VN ctest-vn-05029295 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 16:15:33,852 - DEBUG - Verifying the vn in opserver 2025-10-08 16:15:33,852 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295 virtual network link through opserver 10.0.0.57 2025-10-08 16:15:33,852 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 16:15:34,150 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 16:15:34,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295?flat'} 2025-10-08 16:15:34,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295 is found in opserver 2025-10-08 16:15:34,211 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 16:15:34,215 - DEBUG - VRF ids for VN ctest-vn-05029295: {} 2025-10-08 16:15:34,215 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:34,220 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:34,231 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:34,298 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,308 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,316 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:34,322 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:34,328 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1aca52e3-813d-4ddf-8c13-379785749b1a 2025-10-08 16:15:34,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 16:15:34,334 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,341 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:34,354 - INFO - Verified VN network id 10 for VN 294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,354 - INFO - Verifications in API Server for VN ctest-vn-38375934 passed 2025-10-08 16:15:34,354 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,363 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:34,369 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:34,376 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1aca52e3-813d-4ddf-8c13-379785749b1a 2025-10-08 16:15:34,386 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-38375934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18515819', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2975217175224338431', 'uuid-lslong': '9243841684448862494'}, 'enable': 'true', 'created': '2025-10-08T16:15:32', 'last-modified': '2025-10-08T16:15:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288680'} 2025-10-08 16:15:34,391 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 16:15:34,391 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38375934 passed 2025-10-08 16:15:34,391 - DEBUG - ====Verifying policy data for ctest-vn-38375934 in API_Server ====== 2025-10-08 16:15:34,392 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:34,399 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:34,408 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:34,476 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/294a1841-eae3-47ff-8048-b9093985e11e 2025-10-08 16:15:34,484 - DEBUG - ==>Verifying data for policy with id: c64ef71c-726b-4f2c-b942-d063499b8384, fqn: ['default-domain', 'ctest-TestBasicPolicy-18515819', 'ctest-policy-allow-all-66068115'] 2025-10-08 16:15:34,484 - INFO - VN ctest-vn-38375934 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 16:15:34,484 - DEBUG - Verifying the vn in opserver 2025-10-08 16:15:34,484 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-38375934 virtual network link through opserver 10.0.0.57 2025-10-08 16:15:34,484 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-08 16:15:34,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-38375934', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-38375934?flat'} 2025-10-08 16:15:34,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-38375934 is found in opserver 2025-10-08 16:15:34,500 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 16:15:34,504 - DEBUG - VRF ids for VN ctest-vn-38375934: {} 2025-10-08 16:15:34,553 - DEBUG - Services list from nova: [, , ] 2025-10-08 16:15:35,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1) 2025-10-08 16:15:36,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1) 2025-10-08 16:15:36,623 - INFO - Waiting for VM ctest-TestBasicPolicy-18515819-50332568 to be up.. 2025-10-08 16:15:36,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 16:15:41,766 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:15:41,766 - INFO - VM name : ctest-TestBasicPolicy-18515819-50332568 2025-10-08 16:15:41,836 - DEBUG - VM ctest-TestBasicPolicy-18515819-50332568 ID is dbc6ff2e-ea95-42e7-a88b-dd0908063ad8 2025-10-08 16:15:41,853 - DEBUG - VM ctest-TestBasicPolicy-18515819-50332568 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1 2025-10-08 16:15:41,921 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dbc6ff2e-ea95-42e7-a88b-dd0908063ad8 2025-10-08 16:15:41,930 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/799f1362-b460-4ee8-891c-004d02bad1e1 2025-10-08 16:15:45,183 - 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 1016ms') 2025-10-08 16:15:45,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18515819-50332568 failed! 2025-10-08 16:15:45,235 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18515819:ctest-vn-05029295 is 156.27.251.1 and allocation pool is NOT set 2025-10-08 16:15:47,293 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/1.614/2.740/1.125 ms') 2025-10-08 16:15:47,293 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18515819-50332568 passed 2025-10-08 16:15:47,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:15:47,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18515819-50332568, IP 156.27.251.3, Port 22 2025-10-08 16:15:47,602 - DEBUG - VM ctest-TestBasicPolicy-18515819-50332568 is ready for SSH connections 2025-10-08 16:15:47,602 - INFO - Waiting for VM ctest-TestBasicPolicy-18515819-13037132 to be up.. 2025-10-08 16:15:47,677 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:15:47,678 - INFO - VM name : ctest-TestBasicPolicy-18515819-13037132 2025-10-08 16:15:47,749 - DEBUG - VM ctest-TestBasicPolicy-18515819-13037132 ID is c3abae08-9dea-4ebc-82a4-bc1d4150f9ab 2025-10-08 16:15:47,749 - DEBUG - VM ctest-TestBasicPolicy-18515819-13037132 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1 2025-10-08 16:15:47,820 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c3abae08-9dea-4ebc-82a4-bc1d4150f9ab 2025-10-08 16:15:47,828 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0aed5a03-1693-42b4-818f-85ecc886a48f 2025-10-08 16:15:49,071 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.961/3.370/1.409 ms') 2025-10-08 16:15:49,071 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18515819-13037132 passed 2025-10-08 16:15:49,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:15:49,223 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18515819-13037132, IP 70.173.2.131, Port 22 2025-10-08 16:15:49,375 - DEBUG - VM ctest-TestBasicPolicy-18515819-13037132 is ready for SSH connections 2025-10-08 16:15:49,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:15:49,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.173.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:15:49,376 - DEBUG - ping -s 56 -c 3 -W 1 70.173.2.131 2025-10-08 16:15:53,080 - DEBUG - PING 70.173.2.131 (70.173.2.131): 56 data bytes 64 bytes from 70.173.2.131: seq=0 ttl=63 time=3.464 ms 64 bytes from 70.173.2.131: seq=1 ttl=63 time=0.922 ms 64 bytes from 70.173.2.131: seq=2 ttl=63 time=0.887 ms --- 70.173.2.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.757/3.464 ms 2025-10-08 16:15:53,080 - INFO - Ping to IP 70.173.2.131 from VM ctest-TestBasicPolicy-18515819-50332568 passed 2025-10-08 16:15:53,267 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c64ef71c-726b-4f2c-b942-d063499b8384", "href": "http://10.0.0.57:8082/network-policy/c64ef71c-726b-4f2c-b942-d063499b8384"}} 2025-10-08 16:15:53,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:15:53,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.173.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:15:53,267 - DEBUG - ping -s 56 -c 3 -W 1 70.173.2.131 2025-10-08 16:15:56,469 - DEBUG - PING 70.173.2.131 (70.173.2.131): 56 data bytes --- 70.173.2.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:15:56,469 - WARNING - Ping to IP 70.173.2.131 from VM ctest-TestBasicPolicy-18515819-50332568 failed 2025-10-08 16:15:56,469 - INFO - Deleting VM ctest-TestBasicPolicy-18515819-13037132 2025-10-08 16:15:56,531 - INFO - Deleting VM ctest-TestBasicPolicy-18515819-50332568 2025-10-08 16:15:56,859 - INFO - Deleted policy ctest-policy-allow-all-66068115 2025-10-08 16:15:56,859 - INFO - Deleting VN ctest-vn-38375934 2025-10-08 16:15:56,890 - DEBUG - VN 294a1841-eae3-47ff-8048-b9093985e11e still in use: Unable to complete operation on network 294a1841-eae3-47ff-8048-b9093985e11e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b0ffbfb-f77a-4d6a-8628-c0d5e8127c95'] 2025-10-08 16:15:56,890 - WARNING - Deleting VN ctest-vn-38375934 failed..Will retry 2025-10-08 16:15:58,983 - DEBUG - Response for deleting network () 2025-10-08 16:15:58,983 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/32482911-9bed-41ee-a572-817c3c1eb689 2025-10-08 16:15:58,988 - DEBUG - Response Code: 404 2025-10-08 16:15:58,988 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:58,992 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:59,045 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:59,115 - INFO - Validated that VN ctest-vn-38375934 is not found in API Server 2025-10-08 16:15:59,123 - DEBUG - VN ctest-vn-38375934 is not present in Agent 10.0.0.57 2025-10-08 16:15:59,123 - INFO - Validated that VN ctest-vn-38375934 is not in any agent 2025-10-08 16:15:59,135 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38375934 info 2025-10-08 16:15:59,135 - INFO - Deleting VN ctest-vn-05029295 2025-10-08 16:15:59,226 - DEBUG - Response for deleting network () 2025-10-08 16:15:59,226 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/05bde883-cb5e-4b62-a3b5-bf1f31d53d0d 2025-10-08 16:15:59,231 - DEBUG - Response Code: 404 2025-10-08 16:15:59,231 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-08 16:15:59,235 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9885ed9e-1acd-4186-8d17-e5bfd842506c 2025-10-08 16:15:59,287 - DEBUG - Requesting: http://10.0.0.57:8082/project/12cdf666-8921-4e6d-ac4f-683240693d87 2025-10-08 16:15:59,355 - INFO - Validated that VN ctest-vn-05029295 is not found in API Server 2025-10-08 16:15:59,363 - DEBUG - VN ctest-vn-05029295 is not present in Agent 10.0.0.57 2025-10-08 16:15:59,363 - INFO - Validated that VN ctest-vn-05029295 is not in any agent 2025-10-08 16:15:59,375 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05029295 info 2025-10-08 16:15:59,627 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 16:15:59,627 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-08 16:15:59,627 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:16:00,268 - INFO - Deleted project: ctest-TestBasicPolicy-18515819, ID : 12cdf666-8921-4e6d-ac4f-683240693d87