2026-01-27 20:34:42,835 - INFO - Domain Default found not creating 2026-01-27 20:34:43,000 - INFO - Project ctest-TestBasicPolicy-34613785 not found, creating it 2026-01-27 20:34:43,443 - INFO - Created Project:ctest-TestBasicPolicy-34613785, ID : fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:34:44,905 - INFO - ================================================================================ 2026-01-27 20:34:44,906 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-27 20:34:44,906 - 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 2026-01-27 20:34:45,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-01-27 20:34:45,162 - INFO - Initial checks done. Running the testcase now 2026-01-27 20:34:45,162 - INFO - 2026-01-27 20:34:45,698 - DEBUG - Response for create_network : {'network': {'id': 'f6585e49-2543-4034-9cfd-8d21c6723a79', 'name': 'ctest-vn-19589101', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-vn-19589101'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:45,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '4363c83d-14fa-43cd-9953-f05f5ad5fa66', 'name': '', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'network_id': 'f6585e49-2543-4034-9cfd-8d21c6723a79', 'ip_version': 4, 'cidr': '41.124.43.128/26', 'allocation_pools': [{'start': '41.124.43.130', 'end': '41.124.43.190'}], 'gateway_ip': '41.124.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.124.43.130', 'tags': [], 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc'}} 2026-01-27 20:34:45,857 - INFO - Created VN ctest-vn-19589101 2026-01-27 20:34:45,909 - DEBUG - VN ctest-vn-19589101 UUID is f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:46,216 - DEBUG - Response for create_network : {'network': {'id': '5e0403f8-857f-45f6-a3ed-c44a532a9e3c', 'name': 'ctest-vn-69054911', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-vn-69054911'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:46,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '61a1d8d5-91c7-4e53-b9f4-32af84b1b324', 'name': '', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'network_id': '5e0403f8-857f-45f6-a3ed-c44a532a9e3c', 'ip_version': 4, 'cidr': '199.98.132.128/26', 'allocation_pools': [{'start': '199.98.132.130', 'end': '199.98.132.190'}], 'gateway_ip': '199.98.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.98.132.130', 'tags': [], 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc'}} 2026-01-27 20:34:46,415 - INFO - Created VN ctest-vn-69054911 2026-01-27 20:34:46,465 - DEBUG - VN ctest-vn-69054911 UUID is 5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:46,617 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101, 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-34613785:ctest-vn-69054911, 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] 2026-01-27 20:34:46,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6585e49-2543-4034-9cfd-8d21c6723a79', 'name': 'ctest-vn-19589101', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4363c83d-14fa-43cd-9953-f05f5ad5fa66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-vn-19589101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-policy-allow-all-50042906']], 'subnet_ipam': [{'subnet_cidr': '41.124.43.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:47,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e0403f8-857f-45f6-a3ed-c44a532a9e3c', 'name': 'ctest-vn-69054911', 'tenant_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'project_id': 'fc83a16d0f374effb9913a15e1e7f7cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61a1d8d5-91c7-4e53-b9f4-32af84b1b324'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-vn-69054911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-policy-allow-all-50042906']], 'subnet_ipam': [{'subnet_cidr': '199.98.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:47,293 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:34:47,587 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:34:47,621 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:34:47,633 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:34:47,701 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,711 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,719 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:34:47,726 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:34:47,732 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/70001097-840c-45cf-b9f2-d4f39dac9225 2026-01-27 20:34:47,738 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 20:34:47,738 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,748 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:34:47,762 - INFO - Verified VN network id 12 for VN f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,762 - INFO - Verifications in API Server for VN ctest-vn-19589101 passed 2026-01-27 20:34:47,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,772 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:34:47,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:34:47,785 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/70001097-840c-45cf-b9f2-d4f39dac9225 2026-01-27 20:34:47,796 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34613785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17751041599531597876', 'uuid-lslong': '11312353015227366009'}, 'enable': 'true', 'created': '2026-01-27T20:34:45', 'last-modified': '2026-01-27T20:34:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914802'} 2026-01-27 20:34:47,802 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 20:34:47,802 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19589101 passed 2026-01-27 20:34:47,802 - DEBUG - ====Verifying policy data for ctest-vn-19589101 in API_Server ====== 2026-01-27 20:34:47,802 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:34:47,807 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:34:47,817 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:34:47,884 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f6585e49-2543-4034-9cfd-8d21c6723a79 2026-01-27 20:34:47,893 - DEBUG - ==>Verifying data for policy with id: d60e2eca-b654-4917-95fa-0dba6c8102f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-policy-allow-all-50042906'] 2026-01-27 20:34:47,893 - INFO - VN ctest-vn-19589101 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 20:34:47,893 - DEBUG - Verifying the vn in opserver 2026-01-27 20:34:47,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101 virtual network link through opserver 10.0.0.33 2026-01-27 20:34:47,893 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-27 20:34:48,182 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-27 20:34:48,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101?flat'} 2026-01-27 20:34:48,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101 is found in opserver 2026-01-27 20:34:48,249 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 20:34:48,253 - DEBUG - VRF ids for VN ctest-vn-19589101: {} 2026-01-27 20:34:48,253 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:34:48,259 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:34:48,269 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:34:48,337 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,347 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,354 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:34:48,360 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:34:48,365 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/500e0f37-64c0-4bba-990b-5c5533872b1f 2026-01-27 20:34:48,370 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 20:34:48,370 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,378 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:34:48,389 - INFO - Verified VN network id 13 for VN 5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,389 - INFO - Verifications in API Server for VN ctest-vn-69054911 passed 2026-01-27 20:34:48,389 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,398 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:34:48,404 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:34:48,409 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/500e0f37-64c0-4bba-990b-5c5533872b1f 2026-01-27 20:34:48,417 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-69054911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34613785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6774544105398552054', 'uuid-lslong': '11812313221164604988'}, 'enable': 'true', 'created': '2026-01-27T20:34:46', 'last-modified': '2026-01-27T20:34:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318198'} 2026-01-27 20:34:48,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 20:34:48,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69054911 passed 2026-01-27 20:34:48,422 - DEBUG - ====Verifying policy data for ctest-vn-69054911 in API_Server ====== 2026-01-27 20:34:48,422 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:34:48,426 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:34:48,435 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:34:48,503 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e0403f8-857f-45f6-a3ed-c44a532a9e3c 2026-01-27 20:34:48,511 - DEBUG - ==>Verifying data for policy with id: d60e2eca-b654-4917-95fa-0dba6c8102f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-34613785', 'ctest-policy-allow-all-50042906'] 2026-01-27 20:34:48,511 - INFO - VN ctest-vn-69054911 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 20:34:48,511 - DEBUG - Verifying the vn in opserver 2026-01-27 20:34:48,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-69054911 virtual network link through opserver 10.0.0.33 2026-01-27 20:34:48,511 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-27 20:34:48,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-69054911', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-69054911?flat'} 2026-01-27 20:34:48,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-69054911 is found in opserver 2026-01-27 20:34:48,528 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 20:34:48,532 - DEBUG - VRF ids for VN ctest-vn-69054911: {} 2026-01-27 20:34:48,583 - DEBUG - Services list from nova: [, , ] 2026-01-27 20:34:49,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5089-1) 2026-01-27 20:34:50,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5089-1) 2026-01-27 20:34:50,675 - INFO - Waiting for VM ctest-TestBasicPolicy-34613785-03756075 to be up.. 2026-01-27 20:34:50,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-27 20:34:55,826 - DEBUG - VM is in ACTIVE state now 2026-01-27 20:34:55,826 - INFO - VM name : ctest-TestBasicPolicy-34613785-03756075 2026-01-27 20:34:55,904 - DEBUG - VM ctest-TestBasicPolicy-34613785-03756075 ID is 35445e67-2358-4867-aaab-50e9cb60cb31 2026-01-27 20:34:55,923 - DEBUG - VM ctest-TestBasicPolicy-34613785-03756075 launched on Node cn-jenkins-deploy-platform-ansible-os-5089-1 2026-01-27 20:34:56,019 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/35445e67-2358-4867-aaab-50e9cb60cb31 2026-01-27 20:34:56,028 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d5b80b9b-6b4d-493e-bd0a-b0448815f746 2026-01-27 20:34:59,279 - 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 1023ms') 2026-01-27 20:34:59,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34613785-03756075 failed! 2026-01-27 20:34:59,333 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34613785:ctest-vn-19589101 is 41.124.43.129 and allocation pool is NOT set 2026-01-27 20:35:01,398 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.610 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.610/1.648/2.687/1.038 ms') 2026-01-27 20:35:01,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34613785-03756075 passed 2026-01-27 20:35:01,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:35:01,549 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34613785-03756075, IP 41.124.43.131, Port 22 2026-01-27 20:35:01,701 - DEBUG - VM ctest-TestBasicPolicy-34613785-03756075 is ready for SSH connections 2026-01-27 20:35:01,701 - INFO - Waiting for VM ctest-TestBasicPolicy-34613785-90842007 to be up.. 2026-01-27 20:35:01,773 - DEBUG - VM is in ACTIVE state now 2026-01-27 20:35:01,773 - INFO - VM name : ctest-TestBasicPolicy-34613785-90842007 2026-01-27 20:35:01,844 - DEBUG - VM ctest-TestBasicPolicy-34613785-90842007 ID is 9fc71a98-381b-4e7a-a14f-af664aa5ab05 2026-01-27 20:35:01,844 - DEBUG - VM ctest-TestBasicPolicy-34613785-90842007 launched on Node cn-jenkins-deploy-platform-ansible-os-5089-1 2026-01-27 20:35:01,920 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9fc71a98-381b-4e7a-a14f-af664aa5ab05 2026-01-27 20:35:01,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/466a46e6-cc44-450f-8e33-b245917c7bc7 2026-01-27 20:35:03,176 - 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=6.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.384/3.428/6.473/3.044 ms') 2026-01-27 20:35:03,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34613785-90842007 passed 2026-01-27 20:35:03,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:35:03,325 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34613785-90842007, IP 199.98.132.131, Port 22 2026-01-27 20:35:03,481 - DEBUG - VM ctest-TestBasicPolicy-34613785-90842007 is ready for SSH connections 2026-01-27 20:35:03,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:35:03,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.98.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-27 20:35:03,481 - DEBUG - ping -s 56 -c 3 -W 1 199.98.132.131 2026-01-27 20:35:07,496 - DEBUG - PING 199.98.132.131 (199.98.132.131): 56 data bytes 64 bytes from 199.98.132.131: seq=0 ttl=63 time=3.224 ms 64 bytes from 199.98.132.131: seq=1 ttl=63 time=1.255 ms 64 bytes from 199.98.132.131: seq=2 ttl=63 time=1.008 ms --- 199.98.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/1.829/3.224 ms 2026-01-27 20:35:07,497 - INFO - Ping to IP 199.98.132.131 from VM ctest-TestBasicPolicy-34613785-03756075 passed 2026-01-27 20:35:07,665 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d60e2eca-b654-4917-95fa-0dba6c8102f0", "href": "http://10.0.0.33:8082/network-policy/d60e2eca-b654-4917-95fa-0dba6c8102f0"}} 2026-01-27 20:35:07,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:35:07,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.98.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-27 20:35:07,665 - DEBUG - ping -s 56 -c 3 -W 1 199.98.132.131 2026-01-27 20:35:10,872 - DEBUG - PING 199.98.132.131 (199.98.132.131): 56 data bytes --- 199.98.132.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-27 20:35:10,872 - WARNING - Ping to IP 199.98.132.131 from VM ctest-TestBasicPolicy-34613785-03756075 failed 2026-01-27 20:35:10,873 - INFO - Deleting VM ctest-TestBasicPolicy-34613785-90842007 2026-01-27 20:35:10,946 - INFO - Deleting VM ctest-TestBasicPolicy-34613785-03756075 2026-01-27 20:35:11,337 - INFO - Deleted policy ctest-policy-allow-all-50042906 2026-01-27 20:35:11,337 - INFO - Deleting VN ctest-vn-69054911 2026-01-27 20:35:11,380 - DEBUG - VN 5e0403f8-857f-45f6-a3ed-c44a532a9e3c still in use: Unable to complete operation on network 5e0403f8-857f-45f6-a3ed-c44a532a9e3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3fb02031-2986-40e9-952d-87596872fc21'] 2026-01-27 20:35:11,380 - WARNING - Deleting VN ctest-vn-69054911 failed..Will retry 2026-01-27 20:35:13,480 - DEBUG - Response for deleting network () 2026-01-27 20:35:13,481 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ff17116-17e2-41f1-acf6-37c0e81ea3e2 2026-01-27 20:35:13,486 - DEBUG - Response Code: 404 2026-01-27 20:35:13,486 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:35:13,493 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:35:13,547 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:35:13,626 - INFO - Validated that VN ctest-vn-69054911 is not found in API Server 2026-01-27 20:35:13,636 - DEBUG - VN ctest-vn-69054911 is not present in Agent 10.0.0.33 2026-01-27 20:35:13,636 - INFO - Validated that VN ctest-vn-69054911 is not in any agent 2026-01-27 20:35:13,650 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69054911 info 2026-01-27 20:35:13,651 - INFO - Deleting VN ctest-vn-19589101 2026-01-27 20:35:13,773 - DEBUG - Response for deleting network () 2026-01-27 20:35:13,773 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/086076e6-7599-40cc-9f7f-4a155a7f2202 2026-01-27 20:35:13,778 - DEBUG - Response Code: 404 2026-01-27 20:35:13,778 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-27 20:35:13,783 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56c911da-18d0-450d-9291-741a08145a6d 2026-01-27 20:35:13,834 - DEBUG - Requesting: http://10.0.0.33:8082/project/fc83a16d-0f37-4eff-b991-3a15e1e7f7cc 2026-01-27 20:35:13,908 - INFO - Validated that VN ctest-vn-19589101 is not found in API Server 2026-01-27 20:35:13,917 - DEBUG - VN ctest-vn-19589101 is not present in Agent 10.0.0.33 2026-01-27 20:35:13,917 - INFO - Validated that VN ctest-vn-19589101 is not in any agent 2026-01-27 20:35:13,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19589101 info 2026-01-27 20:35:14,186 - DEBUG - No XMPP flaps were noticed during the test 2026-01-27 20:35:14,186 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-27 20:35:14,186 - INFO - -------------------------------------------------------------------------------- 2026-01-27 20:35:14,888 - INFO - Deleted project: ctest-TestBasicPolicy-34613785, ID : fc83a16d-0f37-4eff-b991-3a15e1e7f7cc