2025-12-15 02:17:42,723 - INFO - Domain Default found not creating 2025-12-15 02:17:42,899 - INFO - Project ctest-TestBasicPolicy-16085619 not found, creating it 2025-12-15 02:17:43,396 - INFO - Created Project:ctest-TestBasicPolicy-16085619, ID : 46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:17:44,941 - INFO - ================================================================================ 2025-12-15 02:17:44,941 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-15 02:17:44,942 - 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-12-15 02:17:45,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-15 02:17:45,196 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:17:45,196 - INFO - 2025-12-15 02:17:45,767 - DEBUG - Response for create_network : {'network': {'id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'name': 'ctest-vn-24002668', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-24002668'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:17:45,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce188b85-8b6a-465f-98c6-e62cc63cf5e0', 'name': '', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'network_id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'ip_version': 4, 'cidr': '96.141.226.128/26', 'allocation_pools': [{'start': '96.141.226.130', 'end': '96.141.226.190'}], 'gateway_ip': '96.141.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.141.226.130', 'tags': [], 'project_id': '46cefb4efedf4dd38643d97dbf72e90f'}} 2025-12-15 02:17:45,968 - INFO - Created VN ctest-vn-24002668 2025-12-15 02:17:46,023 - DEBUG - VN ctest-vn-24002668 UUID is 18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:46,335 - DEBUG - Response for create_network : {'network': {'id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'name': 'ctest-vn-82393224', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-82393224'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:17:46,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0f20a3f-2171-4486-aa34-3fe288389368', 'name': '', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'network_id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'ip_version': 4, 'cidr': '142.36.51.128/26', 'allocation_pools': [{'start': '142.36.51.130', 'end': '142.36.51.190'}], 'gateway_ip': '142.36.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.36.51.130', 'tags': [], 'project_id': '46cefb4efedf4dd38643d97dbf72e90f'}} 2025-12-15 02:17:46,552 - INFO - Created VN ctest-vn-82393224 2025-12-15 02:17:46,606 - DEBUG - VN ctest-vn-82393224 UUID is 28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:46,724 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668, 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-16085619:ctest-vn-82393224, 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-12-15 02:17:47,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18de5c77-be21-4f88-abe1-697d07adc9f6', 'name': 'ctest-vn-24002668', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce188b85-8b6a-465f-98c6-e62cc63cf5e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-24002668'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']], 'subnet_ipam': [{'subnet_cidr': '96.141.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:17:47,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28025b0e-cbf5-464d-9a32-3e7f27ccbeda', 'name': 'ctest-vn-82393224', 'tenant_id': '46cefb4efedf4dd38643d97dbf72e90f', 'project_id': '46cefb4efedf4dd38643d97dbf72e90f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0f20a3f-2171-4486-aa34-3fe288389368'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-vn-82393224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950']], 'subnet_ipam': [{'subnet_cidr': '142.36.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:17:47,419 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:17:47,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:17:47,764 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:17:47,776 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:17:47,850 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:47,861 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:47,871 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:17:47,879 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:17:47,887 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ee112c1e-b6aa-4d19-bd74-d567e200e58f 2025-12-15 02:17:47,894 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:17:47,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:47,904 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:17:47,934 - INFO - Verified VN network id 11 for VN 18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:47,934 - INFO - Verifications in API Server for VN ctest-vn-24002668 passed 2025-12-15 02:17:47,934 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:47,947 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:17:47,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:17:47,962 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ee112c1e-b6aa-4d19-bd74-d567e200e58f 2025-12-15 02:17:47,974 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16085619', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1791971371100753800', 'uuid-lslong': '12385296435966233078'}, 'enable': 'true', 'created': '2025-12-15T02:17:45', 'last-modified': '2025-12-15T02:17:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975292'} 2025-12-15 02:17:47,981 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 02:17:47,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24002668 passed 2025-12-15 02:17:47,981 - DEBUG - ====Verifying policy data for ctest-vn-24002668 in API_Server ====== 2025-12-15 02:17:47,981 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:17:47,989 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:17:48,004 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:17:48,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/18de5c77-be21-4f88-abe1-697d07adc9f6 2025-12-15 02:17:48,086 - DEBUG - ==>Verifying data for policy with id: 83b63e21-c859-4bbb-bfed-b60f7b077162, fqn: ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950'] 2025-12-15 02:17:48,087 - INFO - VN ctest-vn-24002668 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:17:48,087 - DEBUG - Verifying the vn in opserver 2025-12-15 02:17:48,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668 virtual network link through opserver 10.0.0.249 2025-12-15 02:17:48,087 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-15 02:17:48,381 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-15 02:17:48,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668?flat'} 2025-12-15 02:17:48,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668 is found in opserver 2025-12-15 02:17:48,475 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:17:48,479 - DEBUG - VRF ids for VN ctest-vn-24002668: {} 2025-12-15 02:17:48,479 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:17:48,485 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:17:48,497 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:17:48,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,579 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,588 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:17:48,595 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:17:48,602 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ada98fd-fad2-4fa0-97d0-de59ed51e316 2025-12-15 02:17:48,609 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:17:48,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,620 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:17:48,636 - INFO - Verified VN network id 12 for VN 28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,636 - INFO - Verifications in API Server for VN ctest-vn-82393224 passed 2025-12-15 02:17:48,636 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,645 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:17:48,653 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:17:48,659 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ada98fd-fad2-4fa0-97d0-de59ed51e316 2025-12-15 02:17:48,671 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16085619', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2882966830580057677', 'uuid-lslong': '11111011946525933274'}, 'enable': 'true', 'created': '2025-12-15T02:17:46', 'last-modified': '2025-12-15T02:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438626'} 2025-12-15 02:17:48,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 02:17:48,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82393224 passed 2025-12-15 02:17:48,678 - DEBUG - ====Verifying policy data for ctest-vn-82393224 in API_Server ====== 2025-12-15 02:17:48,678 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:17:48,685 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:17:48,697 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:17:48,768 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/28025b0e-cbf5-464d-9a32-3e7f27ccbeda 2025-12-15 02:17:48,778 - DEBUG - ==>Verifying data for policy with id: 83b63e21-c859-4bbb-bfed-b60f7b077162, fqn: ['default-domain', 'ctest-TestBasicPolicy-16085619', 'ctest-policy-allow-all-56518950'] 2025-12-15 02:17:48,778 - INFO - VN ctest-vn-82393224 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 02:17:48,779 - DEBUG - Verifying the vn in opserver 2025-12-15 02:17:48,779 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224 virtual network link through opserver 10.0.0.249 2025-12-15 02:17:48,779 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-15 02:17:48,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224?flat'} 2025-12-15 02:17:48,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-82393224 is found in opserver 2025-12-15 02:17:48,799 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 02:17:48,804 - DEBUG - VRF ids for VN ctest-vn-82393224: {} 2025-12-15 02:17:48,865 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:17:49,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4893-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4893-1) 2025-12-15 02:17:51,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4893-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4893-1) 2025-12-15 02:17:51,202 - INFO - Waiting for VM ctest-TestBasicPolicy-16085619-13928519 to be up.. 2025-12-15 02:17:51,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:17:56,389 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:17:56,389 - INFO - VM name : ctest-TestBasicPolicy-16085619-13928519 2025-12-15 02:17:56,470 - DEBUG - VM ctest-TestBasicPolicy-16085619-13928519 ID is 5b1556ab-625f-42a6-9d88-1285ee5e1341 2025-12-15 02:17:56,490 - DEBUG - VM ctest-TestBasicPolicy-16085619-13928519 launched on Node cn-jenkins-deploy-platform-ansible-os-4893-1 2025-12-15 02:17:56,569 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5b1556ab-625f-42a6-9d88-1285ee5e1341 2025-12-15 02:17:56,578 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/41548544-01ff-4d8e-8cdc-8d623b48ba03 2025-12-15 02:17:59,839 - 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 1026ms') 2025-12-15 02:17:59,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16085619-13928519 failed! 2025-12-15 02:17:59,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16085619:ctest-vn-24002668 is 96.141.226.129 and allocation pool is NOT set 2025-12-15 02:18:01,962 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.697 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.697/5.040/9.384/4.343 ms') 2025-12-15 02:18:01,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16085619-13928519 passed 2025-12-15 02:18:02,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:18:02,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16085619-13928519, IP 96.141.226.131, Port 22 2025-12-15 02:18:02,290 - DEBUG - VM ctest-TestBasicPolicy-16085619-13928519 is ready for SSH connections 2025-12-15 02:18:02,291 - INFO - Waiting for VM ctest-TestBasicPolicy-16085619-96581382 to be up.. 2025-12-15 02:18:02,381 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:18:02,381 - INFO - VM name : ctest-TestBasicPolicy-16085619-96581382 2025-12-15 02:18:02,462 - DEBUG - VM ctest-TestBasicPolicy-16085619-96581382 ID is 025de2da-2e8e-4c1d-acb4-15d8437a8d8d 2025-12-15 02:18:02,462 - DEBUG - VM ctest-TestBasicPolicy-16085619-96581382 launched on Node cn-jenkins-deploy-platform-ansible-os-4893-1 2025-12-15 02:18:02,543 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/025de2da-2e8e-4c1d-acb4-15d8437a8d8d 2025-12-15 02:18:02,553 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bc77f9b4-5b43-4561-b621-798e89730c0b 2025-12-15 02:18:03,795 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.751/3.065/1.313 ms') 2025-12-15 02:18:03,795 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16085619-96581382 passed 2025-12-15 02:18:03,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:18:03,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16085619-96581382, IP 142.36.51.131, Port 22 2025-12-15 02:18:04,106 - DEBUG - VM ctest-TestBasicPolicy-16085619-96581382 is ready for SSH connections 2025-12-15 02:18:04,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:18:04,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.36.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-15 02:18:04,107 - DEBUG - ping -s 56 -c 3 -W 1 142.36.51.131 2025-12-15 02:18:08,201 - DEBUG - PING 142.36.51.131 (142.36.51.131): 56 data bytes 64 bytes from 142.36.51.131: seq=0 ttl=63 time=3.301 ms 64 bytes from 142.36.51.131: seq=1 ttl=63 time=1.384 ms 64 bytes from 142.36.51.131: seq=2 ttl=63 time=1.048 ms --- 142.36.51.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.048/1.911/3.301 ms 2025-12-15 02:18:08,201 - INFO - Ping to IP 142.36.51.131 from VM ctest-TestBasicPolicy-16085619-13928519 passed 2025-12-15 02:18:08,430 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83b63e21-c859-4bbb-bfed-b60f7b077162", "href": "http://10.0.0.249:8082/network-policy/83b63e21-c859-4bbb-bfed-b60f7b077162"}} 2025-12-15 02:18:08,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:18:08,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.36.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-15 02:18:08,430 - DEBUG - ping -s 56 -c 3 -W 1 142.36.51.131 2025-12-15 02:18:11,654 - DEBUG - PING 142.36.51.131 (142.36.51.131): 56 data bytes --- 142.36.51.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:18:11,655 - WARNING - Ping to IP 142.36.51.131 from VM ctest-TestBasicPolicy-16085619-13928519 failed 2025-12-15 02:18:11,655 - INFO - Deleting VM ctest-TestBasicPolicy-16085619-96581382 2025-12-15 02:18:11,726 - INFO - Deleting VM ctest-TestBasicPolicy-16085619-13928519 2025-12-15 02:18:12,123 - INFO - Deleted policy ctest-policy-allow-all-56518950 2025-12-15 02:18:12,123 - INFO - Deleting VN ctest-vn-82393224 2025-12-15 02:18:12,162 - DEBUG - VN 28025b0e-cbf5-464d-9a32-3e7f27ccbeda still in use: Unable to complete operation on network 28025b0e-cbf5-464d-9a32-3e7f27ccbeda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-559faf57-efca-4e7c-a723-c40acfde9fbf'] 2025-12-15 02:18:12,162 - WARNING - Deleting VN ctest-vn-82393224 failed..Will retry 2025-12-15 02:18:14,288 - DEBUG - Response for deleting network () 2025-12-15 02:18:14,288 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe1ec835-6905-4d51-8e13-1cf13133e141 2025-12-15 02:18:14,297 - DEBUG - Response Code: 404 2025-12-15 02:18:14,297 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:18:14,313 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:18:14,370 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:18:14,450 - INFO - Validated that VN ctest-vn-82393224 is not found in API Server 2025-12-15 02:18:14,465 - DEBUG - VN ctest-vn-82393224 is not present in Agent 10.0.0.249 2025-12-15 02:18:14,465 - INFO - Validated that VN ctest-vn-82393224 is not in any agent 2025-12-15 02:18:14,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82393224 info 2025-12-15 02:18:14,488 - INFO - Deleting VN ctest-vn-24002668 2025-12-15 02:18:14,641 - DEBUG - Response for deleting network () 2025-12-15 02:18:14,641 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b7d7286-e588-4613-8ad6-6e36cdafa334 2025-12-15 02:18:14,649 - DEBUG - Response Code: 404 2025-12-15 02:18:14,649 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-15 02:18:14,663 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c959a1cc-a431-4201-a490-78c8beb5183f 2025-12-15 02:18:14,725 - DEBUG - Requesting: http://10.0.0.249:8082/project/46cefb4e-fedf-4dd3-8643-d97dbf72e90f 2025-12-15 02:18:14,807 - INFO - Validated that VN ctest-vn-24002668 is not found in API Server 2025-12-15 02:18:14,817 - DEBUG - VN ctest-vn-24002668 is not present in Agent 10.0.0.249 2025-12-15 02:18:14,817 - INFO - Validated that VN ctest-vn-24002668 is not in any agent 2025-12-15 02:18:14,834 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24002668 info 2025-12-15 02:18:15,087 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 02:18:15,087 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-12-15 02:18:15,087 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:18:15,813 - INFO - Deleted project: ctest-TestBasicPolicy-16085619, ID : 46cefb4e-fedf-4dd3-8643-d97dbf72e90f