2026-04-02 12:59:21,183 - INFO - Domain Default found not creating 2026-04-02 12:59:21,347 - INFO - Project ctest-TestBasicPolicy-06811372 not found, creating it 2026-04-02 12:59:21,802 - INFO - Created Project:ctest-TestBasicPolicy-06811372, ID : 43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:23,253 - INFO - ================================================================================ 2026-04-02 12:59:23,254 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 12:59:23,254 - 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-04-02 12:59:23,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-04-02 12:59:23,509 - INFO - Initial checks done. Running the testcase now 2026-04-02 12:59:23,509 - INFO - 2026-04-02 12:59:24,095 - DEBUG - Response for create_network : {'network': {'id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'name': 'ctest-vn-28368952', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-28368952'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:59:24,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c52cc7d-eeef-4342-9f76-e51a0bfffd21', 'name': '', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'network_id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'ip_version': 4, 'cidr': '152.106.86.192/26', 'allocation_pools': [{'start': '152.106.86.194', 'end': '152.106.86.254'}], 'gateway_ip': '152.106.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.106.86.194', 'tags': [], 'project_id': '43ceb231208841dc934d6c4124b7c6b6'}} 2026-04-02 12:59:24,322 - INFO - Created VN ctest-vn-28368952 2026-04-02 12:59:24,375 - DEBUG - VN ctest-vn-28368952 UUID is 59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:24,699 - DEBUG - Response for create_network : {'network': {'id': '90d3aa95-5622-479b-a590-864c84d313ac', 'name': 'ctest-vn-39525694', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-39525694'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:59:24,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '99002889-e590-4f21-be3f-318c82ca7f7b', 'name': '', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'network_id': '90d3aa95-5622-479b-a590-864c84d313ac', 'ip_version': 4, 'cidr': '204.31.108.128/26', 'allocation_pools': [{'start': '204.31.108.130', 'end': '204.31.108.190'}], 'gateway_ip': '204.31.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.31.108.130', 'tags': [], 'project_id': '43ceb231208841dc934d6c4124b7c6b6'}} 2026-04-02 12:59:24,923 - INFO - Created VN ctest-vn-39525694 2026-04-02 12:59:24,975 - DEBUG - VN ctest-vn-39525694 UUID is 90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:25,127 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952, 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-06811372:ctest-vn-39525694, 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-04-02 12:59:25,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'name': 'ctest-vn-28368952', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c52cc7d-eeef-4342-9f76-e51a0bfffd21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-28368952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']], 'subnet_ipam': [{'subnet_cidr': '152.106.86.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:59:25,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90d3aa95-5622-479b-a590-864c84d313ac', 'name': 'ctest-vn-39525694', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99002889-e590-4f21-be3f-318c82ca7f7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-39525694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']], 'subnet_ipam': [{'subnet_cidr': '204.31.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:59:25,803 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:26,103 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:26,140 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:26,152 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:26,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,248 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:26,256 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:26,263 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc90a218-89a3-4153-a193-16c0c8a5ab98 2026-04-02 12:59:26,270 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 12:59:26,270 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,279 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:26,294 - INFO - Verified VN network id 11 for VN 59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,294 - INFO - Verifications in API Server for VN ctest-vn-28368952 passed 2026-04-02 12:59:26,294 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,303 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:26,310 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:26,317 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc90a218-89a3-4153-a193-16c0c8a5ab98 2026-04-02 12:59:26,329 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06811372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6479180143548514416', 'uuid-lslong': '10854631798303969075'}, 'enable': 'true', 'created': '2026-04-02T12:59:24', 'last-modified': '2026-04-02T12:59:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931853'} 2026-04-02 12:59:26,335 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 12:59:26,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28368952 passed 2026-04-02 12:59:26,335 - DEBUG - ====Verifying policy data for ctest-vn-28368952 in API_Server ====== 2026-04-02 12:59:26,335 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:26,341 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:26,352 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:26,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33 2026-04-02 12:59:26,434 - DEBUG - ==>Verifying data for policy with id: 9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350'] 2026-04-02 12:59:26,434 - INFO - VN ctest-vn-28368952 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 12:59:26,434 - DEBUG - Verifying the vn in opserver 2026-04-02 12:59:26,434 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952 virtual network link through opserver 10.0.0.33 2026-04-02 12:59:26,434 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-02 12:59:26,733 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-02 12:59:26,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952?flat'} 2026-04-02 12:59:26,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952 is found in opserver 2026-04-02 12:59:26,808 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 12:59:26,812 - DEBUG - VRF ids for VN ctest-vn-28368952: {} 2026-04-02 12:59:26,812 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:26,817 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:26,827 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:26,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:26,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:26,920 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:26,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:26,935 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/02fe4972-27ce-4364-9cb9-4db788a9e46a 2026-04-02 12:59:26,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 12:59:26,943 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:26,952 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:26,966 - INFO - Verified VN network id 12 for VN 90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:26,966 - INFO - Verifications in API Server for VN ctest-vn-39525694 passed 2026-04-02 12:59:26,966 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:26,975 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:26,982 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:26,989 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/02fe4972-27ce-4364-9cb9-4db788a9e46a 2026-04-02 12:59:27,002 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06811372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10435872319919507355', 'uuid-lslong': '11930183076108506028'}, 'enable': 'true', 'created': '2026-04-02T12:59:24', 'last-modified': '2026-04-02T12:59:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375294'} 2026-04-02 12:59:27,007 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 12:59:27,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39525694 passed 2026-04-02 12:59:27,008 - DEBUG - ====Verifying policy data for ctest-vn-39525694 in API_Server ====== 2026-04-02 12:59:27,008 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:27,013 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:27,025 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:27,095 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac 2026-04-02 12:59:27,103 - DEBUG - ==>Verifying data for policy with id: 9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350'] 2026-04-02 12:59:27,103 - INFO - VN ctest-vn-39525694 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 12:59:27,104 - DEBUG - Verifying the vn in opserver 2026-04-02 12:59:27,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694 virtual network link through opserver 10.0.0.33 2026-04-02 12:59:27,104 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-02 12:59:27,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694?flat'} 2026-04-02 12:59:27,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694 is found in opserver 2026-04-02 12:59:27,122 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 12:59:27,126 - DEBUG - VRF ids for VN ctest-vn-39525694: {} 2026-04-02 12:59:27,182 - DEBUG - Services list from nova: [, , ] 2026-04-02 12:59:28,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5582-1) 2026-04-02 12:59:29,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5582-1) 2026-04-02 12:59:29,366 - INFO - Waiting for VM ctest-TestBasicPolicy-06811372-72523058 to be up.. 2026-04-02 12:59:29,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 12:59:34,538 - DEBUG - VM is in ACTIVE state now 2026-04-02 12:59:34,538 - INFO - VM name : ctest-TestBasicPolicy-06811372-72523058 2026-04-02 12:59:34,613 - DEBUG - VM ctest-TestBasicPolicy-06811372-72523058 ID is 85214814-5954-452a-b953-4e1246d05e81 2026-04-02 12:59:34,634 - DEBUG - VM ctest-TestBasicPolicy-06811372-72523058 launched on Node cn-jenkins-deploy-platform-ansible-os-5582-1 2026-04-02 12:59:34,712 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/85214814-5954-452a-b953-4e1246d05e81 2026-04-02 12:59:34,722 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/50b6e1c5-4a87-4d87-a5a2-0c8cb8d5b2ba 2026-04-02 12:59:37,986 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-04-02 12:59:37,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06811372-72523058 failed! 2026-04-02 12:59:38,048 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952 is 152.106.86.193 and allocation pool is NOT set 2026-04-02 12:59:40,114 - 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=7.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/3.770/7.109/3.339 ms') 2026-04-02 12:59:40,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06811372-72523058 passed 2026-04-02 12:59:40,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:59:40,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06811372-72523058, IP 152.106.86.195, Port 22 2026-04-02 12:59:40,422 - DEBUG - VM ctest-TestBasicPolicy-06811372-72523058 is ready for SSH connections 2026-04-02 12:59:40,422 - INFO - Waiting for VM ctest-TestBasicPolicy-06811372-41765250 to be up.. 2026-04-02 12:59:40,499 - DEBUG - VM is in ACTIVE state now 2026-04-02 12:59:40,499 - INFO - VM name : ctest-TestBasicPolicy-06811372-41765250 2026-04-02 12:59:40,578 - DEBUG - VM ctest-TestBasicPolicy-06811372-41765250 ID is 985e6772-dd81-4ca7-86d9-65e16c199fb8 2026-04-02 12:59:40,578 - DEBUG - VM ctest-TestBasicPolicy-06811372-41765250 launched on Node cn-jenkins-deploy-platform-ansible-os-5582-1 2026-04-02 12:59:40,650 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/985e6772-dd81-4ca7-86d9-65e16c199fb8 2026-04-02 12:59:40,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6c476116-37a9-4f40-b2e1-1e6ee2163220 2026-04-02 12:59:41,899 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.199/2.565/3.931/1.366 ms') 2026-04-02 12:59:41,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06811372-41765250 passed 2026-04-02 12:59:42,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:59:42,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06811372-41765250, IP 204.31.108.131, Port 22 2026-04-02 12:59:42,203 - DEBUG - VM ctest-TestBasicPolicy-06811372-41765250 is ready for SSH connections 2026-04-02 12:59:42,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:59:42,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.31.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-02 12:59:42,203 - DEBUG - ping -s 56 -c 3 -W 1 204.31.108.131 2026-04-02 12:59:46,250 - DEBUG - PING 204.31.108.131 (204.31.108.131): 56 data bytes 64 bytes from 204.31.108.131: seq=0 ttl=63 time=3.612 ms 64 bytes from 204.31.108.131: seq=1 ttl=63 time=0.995 ms 64 bytes from 204.31.108.131: seq=2 ttl=63 time=0.775 ms --- 204.31.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.794/3.612 ms 2026-04-02 12:59:46,250 - INFO - Ping to IP 204.31.108.131 from VM ctest-TestBasicPolicy-06811372-72523058 passed 2026-04-02 12:59:46,419 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c", "href": "http://10.0.0.33:8082/network-policy/9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c"}} 2026-04-02 12:59:46,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:59:46,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.31.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-02 12:59:46,419 - DEBUG - ping -s 56 -c 3 -W 1 204.31.108.131 2026-04-02 12:59:49,651 - DEBUG - PING 204.31.108.131 (204.31.108.131): 56 data bytes --- 204.31.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 12:59:49,651 - WARNING - Ping to IP 204.31.108.131 from VM ctest-TestBasicPolicy-06811372-72523058 failed 2026-04-02 12:59:49,651 - INFO - Deleting VM ctest-TestBasicPolicy-06811372-41765250 2026-04-02 12:59:49,739 - INFO - Deleting VM ctest-TestBasicPolicy-06811372-72523058 2026-04-02 12:59:50,163 - INFO - Deleted policy ctest-policy-allow-all-10446350 2026-04-02 12:59:50,163 - INFO - Deleting VN ctest-vn-39525694 2026-04-02 12:59:50,246 - DEBUG - VN 90d3aa95-5622-479b-a590-864c84d313ac still in use: Unable to complete operation on network 90d3aa95-5622-479b-a590-864c84d313ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77305f36-7c80-435c-b601-4e81a5277b21'] 2026-04-02 12:59:50,246 - WARNING - Deleting VN ctest-vn-39525694 failed..Will retry 2026-04-02 12:59:52,343 - DEBUG - Response for deleting network () 2026-04-02 12:59:52,344 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf 2026-04-02 12:59:52,349 - DEBUG - Response Code: 404 2026-04-02 12:59:52,349 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:52,355 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:52,408 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:52,483 - INFO - Validated that VN ctest-vn-39525694 is not found in API Server 2026-04-02 12:59:52,493 - DEBUG - VN ctest-vn-39525694 is not present in Agent 10.0.0.33 2026-04-02 12:59:52,493 - INFO - Validated that VN ctest-vn-39525694 is not in any agent 2026-04-02 12:59:52,507 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39525694 info 2026-04-02 12:59:52,508 - INFO - Deleting VN ctest-vn-28368952 2026-04-02 12:59:52,621 - DEBUG - Response for deleting network () 2026-04-02 12:59:52,621 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6 2026-04-02 12:59:52,628 - DEBUG - Response Code: 404 2026-04-02 12:59:52,628 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-02 12:59:52,634 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290 2026-04-02 12:59:52,689 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6 2026-04-02 12:59:52,762 - INFO - Validated that VN ctest-vn-28368952 is not found in API Server 2026-04-02 12:59:52,773 - DEBUG - VN ctest-vn-28368952 is not present in Agent 10.0.0.33 2026-04-02 12:59:52,773 - INFO - Validated that VN ctest-vn-28368952 is not in any agent 2026-04-02 12:59:52,789 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28368952 info 2026-04-02 12:59:53,044 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 12:59:53,045 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-02 12:59:53,045 - INFO - -------------------------------------------------------------------------------- 2026-04-02 12:59:53,719 - INFO - Deleted project: ctest-TestBasicPolicy-06811372, ID : 43ceb231-2088-41dc-934d-6c4124b7c6b6