2026-10-22 21:00:13,161 - INFO - Domain Default found not creating 2026-10-22 21:00:13,350 - INFO - Project ctest-TestBasicPolicy-16257648 not found, creating it 2026-10-22 21:00:13,836 - INFO - Created Project:ctest-TestBasicPolicy-16257648, ID : 91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:00:15,604 - INFO - ================================================================================ 2026-10-22 21:00:15,604 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-22 21:00:15,604 - 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-10-22 21:00:15,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-10-22 21:00:15,869 - INFO - Initial checks done. Running the testcase now 2026-10-22 21:00:15,869 - INFO - 2026-10-22 21:00:16,512 - DEBUG - Response for create_network : {'network': {'id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'name': 'ctest-vn-17495722', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-17495722'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 21:00:16,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af7e0f2b-86f8-455a-9941-f16a5c073561', 'name': '', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'network_id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'ip_version': 4, 'cidr': '123.15.108.128/26', 'allocation_pools': [{'start': '123.15.108.130', 'end': '123.15.108.190'}], 'gateway_ip': '123.15.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.15.108.130', 'tags': [], 'project_id': '91644a2126cd4dd580c1200f5a3554aa'}} 2026-10-22 21:00:16,735 - INFO - Created VN ctest-vn-17495722 2026-10-22 21:00:16,788 - DEBUG - VN ctest-vn-17495722 UUID is c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:17,095 - DEBUG - Response for create_network : {'network': {'id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'name': 'ctest-vn-13713379', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-13713379'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 21:00:17,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ce9ea6-b902-4ec6-a970-64c1c614ca8c', 'name': '', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'network_id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'ip_version': 4, 'cidr': '197.181.53.128/26', 'allocation_pools': [{'start': '197.181.53.130', 'end': '197.181.53.190'}], 'gateway_ip': '197.181.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.181.53.130', 'tags': [], 'project_id': '91644a2126cd4dd580c1200f5a3554aa'}} 2026-10-22 21:00:17,276 - INFO - Created VN ctest-vn-13713379 2026-10-22 21:00:17,328 - DEBUG - VN ctest-vn-13713379 UUID is ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:17,453 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722, 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-16257648:ctest-vn-13713379, 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-10-22 21:00:17,761 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'name': 'ctest-vn-17495722', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['af7e0f2b-86f8-455a-9941-f16a5c073561'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-17495722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']], 'subnet_ipam': [{'subnet_cidr': '123.15.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 21:00:17,997 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'name': 'ctest-vn-13713379', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['54ce9ea6-b902-4ec6-a970-64c1c614ca8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-13713379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']], 'subnet_ipam': [{'subnet_cidr': '197.181.53.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 21:00:18,164 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:00:18,527 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:00:18,555 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:00:18,567 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:00:18,644 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,654 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,663 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:00:18,670 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:00:18,676 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/71150ff5-81f4-4f6a-9a72-079dacb58a0e 2026-10-22 21:00:18,682 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 21:00:18,682 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,691 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:00:18,705 - INFO - Verified VN network id 12 for VN c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,705 - INFO - Verifications in API Server for VN ctest-vn-17495722 passed 2026-10-22 21:00:18,705 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,714 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:00:18,721 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:00:18,729 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/71150ff5-81f4-4f6a-9a72-079dacb58a0e 2026-10-22 21:00:18,741 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16257648', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13988038265475318319', 'uuid-lslong': '11777928796392176793'}, 'enable': 'true', 'created': '2026-10-22T21:00:16', 'last-modified': '2026-10-22T21:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008479'} 2026-10-22 21:00:18,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 21:00:18,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17495722 passed 2026-10-22 21:00:18,748 - DEBUG - ====Verifying policy data for ctest-vn-17495722 in API_Server ====== 2026-10-22 21:00:18,749 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:00:18,755 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:00:18,766 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:00:18,846 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99 2026-10-22 21:00:18,855 - DEBUG - ==>Verifying data for policy with id: 9cabb49e-2fd6-4f0d-998e-615841eae1d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983'] 2026-10-22 21:00:18,855 - INFO - VN ctest-vn-17495722 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 21:00:18,856 - DEBUG - Verifying the vn in opserver 2026-10-22 21:00:18,856 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722 virtual network link through opserver 10.0.0.162 2026-10-22 21:00:18,856 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-22 21:00:19,225 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-22 21:00:19,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722?flat'} 2026-10-22 21:00:19,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722 is found in opserver 2026-10-22 21:00:19,290 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 21:00:19,296 - DEBUG - VRF ids for VN ctest-vn-17495722: {} 2026-10-22 21:00:19,296 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:00:19,302 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:00:19,312 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:00:19,388 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,402 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,411 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:00:19,419 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:00:19,426 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b9acc045-c047-4f98-9032-71e880a81fd8 2026-10-22 21:00:19,433 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 21:00:19,433 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,441 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:00:19,456 - INFO - Verified VN network id 13 for VN ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,456 - INFO - Verifications in API Server for VN ctest-vn-13713379 passed 2026-10-22 21:00:19,456 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,464 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:00:19,472 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:00:19,481 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b9acc045-c047-4f98-9032-71e880a81fd8 2026-10-22 21:00:19,493 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16257648', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13413867638253243502', 'uuid-lslong': '13153143358429557653'}, 'enable': 'true', 'created': '2026-10-22T21:00:17', 'last-modified': '2026-10-22T21:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516804'} 2026-10-22 21:00:19,500 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 21:00:19,500 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13713379 passed 2026-10-22 21:00:19,500 - DEBUG - ====Verifying policy data for ctest-vn-13713379 in API_Server ====== 2026-10-22 21:00:19,500 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:00:19,507 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:00:19,522 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:00:19,600 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395 2026-10-22 21:00:19,618 - DEBUG - ==>Verifying data for policy with id: 9cabb49e-2fd6-4f0d-998e-615841eae1d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983'] 2026-10-22 21:00:19,618 - INFO - VN ctest-vn-13713379 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 21:00:19,618 - DEBUG - Verifying the vn in opserver 2026-10-22 21:00:19,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379 virtual network link through opserver 10.0.0.162 2026-10-22 21:00:19,618 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-10-22 21:00:19,632 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379?flat'} 2026-10-22 21:00:19,632 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379 is found in opserver 2026-10-22 21:00:19,644 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 21:00:19,649 - DEBUG - VRF ids for VN ctest-vn-13713379: {} 2026-10-22 21:00:19,713 - DEBUG - Services list from nova: [, , ] 2026-10-22 21:00:20,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6388-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6388-1) 2026-10-22 21:00:20,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6388-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6388-1) 2026-10-22 21:00:20,650 - INFO - Waiting for VM ctest-TestBasicPolicy-16257648-82061941 to be up.. 2026-10-22 21:00:20,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:25,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:30,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:35,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:41,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:46,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:51,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:00:56,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 21:01:01,336 - DEBUG - VM is in ACTIVE state now 2026-10-22 21:01:01,336 - INFO - VM name : ctest-TestBasicPolicy-16257648-82061941 2026-10-22 21:01:01,413 - DEBUG - VM ctest-TestBasicPolicy-16257648-82061941 ID is d7ed4f71-4a40-48ed-83ca-2a11781e47f8 2026-10-22 21:01:01,434 - DEBUG - VM ctest-TestBasicPolicy-16257648-82061941 launched on Node cn-jenkins-deploy-platform-ansible-os-6388-1 2026-10-22 21:01:01,519 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/d7ed4f71-4a40-48ed-83ca-2a11781e47f8 2026-10-22 21:01:01,529 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/04939015-29e7-432d-8026-05f3ed8d770e 2026-10-22 21:01:02,798 - 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=14.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.107/8.271/14.436/6.164 ms') 2026-10-22 21:01:02,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16257648-82061941 passed 2026-10-22 21:01:02,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 21:01:02,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16257648-82061941, IP 123.15.108.131, Port 22 2026-10-22 21:01:03,147 - DEBUG - VM ctest-TestBasicPolicy-16257648-82061941 is ready for SSH connections 2026-10-22 21:01:03,147 - INFO - Waiting for VM ctest-TestBasicPolicy-16257648-21660598 to be up.. 2026-10-22 21:01:03,247 - DEBUG - VM is in ACTIVE state now 2026-10-22 21:01:03,247 - INFO - VM name : ctest-TestBasicPolicy-16257648-21660598 2026-10-22 21:01:03,335 - DEBUG - VM ctest-TestBasicPolicy-16257648-21660598 ID is ff27a5a1-b89d-4ffa-8939-3f721e6982b4 2026-10-22 21:01:03,335 - DEBUG - VM ctest-TestBasicPolicy-16257648-21660598 launched on Node cn-jenkins-deploy-platform-ansible-os-6388-1 2026-10-22 21:01:03,416 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/ff27a5a1-b89d-4ffa-8939-3f721e6982b4 2026-10-22 21:01:03,425 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/d93bc0c0-9bd9-4814-bb99-aed3f2072d18 2026-10-22 21:01:06,702 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-10-22 21:01:06,702 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16257648-21660598 failed! 2026-10-22 21:01:06,756 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379 is 197.181.53.129 and allocation pool is NOT set 2026-10-22 21:01:10,824 - 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=2 ttl=63 time=9.97 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 9.968/9.968/9.968/0.000 ms') 2026-10-22 21:01:10,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16257648-21660598 passed 2026-10-22 21:01:10,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 21:01:10,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16257648-21660598, IP 197.181.53.131, Port 22 2026-10-22 21:01:11,132 - DEBUG - VM ctest-TestBasicPolicy-16257648-21660598 is ready for SSH connections 2026-10-22 21:01:11,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 21:01:11,132 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.181.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-10-22 21:01:11,133 - DEBUG - ping -s 56 -c 3 -W 1 197.181.53.131 2026-10-22 21:01:15,144 - DEBUG - PING 197.181.53.131 (197.181.53.131): 56 data bytes 64 bytes from 197.181.53.131: seq=0 ttl=63 time=4.446 ms 64 bytes from 197.181.53.131: seq=1 ttl=63 time=1.020 ms 64 bytes from 197.181.53.131: seq=2 ttl=63 time=1.003 ms --- 197.181.53.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.003/2.156/4.446 ms 2026-10-22 21:01:15,144 - INFO - Ping to IP 197.181.53.131 from VM ctest-TestBasicPolicy-16257648-82061941 passed 2026-10-22 21:01:15,327 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9cabb49e-2fd6-4f0d-998e-615841eae1d0", "href": "http://10.0.0.162:8082/network-policy/9cabb49e-2fd6-4f0d-998e-615841eae1d0"}} 2026-10-22 21:01:15,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 21:01:15,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.181.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-10-22 21:01:15,328 - DEBUG - ping -s 56 -c 3 -W 1 197.181.53.131 2026-10-22 21:01:18,459 - DEBUG - PING 197.181.53.131 (197.181.53.131): 56 data bytes 64 bytes from 197.181.53.131: seq=0 ttl=63 time=1.469 ms --- 197.181.53.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.469/1.469/1.469 ms 2026-10-22 21:01:18,459 - WARNING - Ping to IP 197.181.53.131 from VM ctest-TestBasicPolicy-16257648-82061941 failed 2026-10-22 21:01:18,459 - INFO - Deleting VM ctest-TestBasicPolicy-16257648-21660598 2026-10-22 21:01:18,526 - INFO - Deleting VM ctest-TestBasicPolicy-16257648-82061941 2026-10-22 21:01:18,939 - INFO - Deleted policy ctest-policy-allow-all-01396983 2026-10-22 21:01:18,939 - INFO - Deleting VN ctest-vn-13713379 2026-10-22 21:01:18,973 - DEBUG - VN ba27a18c-1a31-4c6e-b689-5a3236fb7395 still in use: Unable to complete operation on network ba27a18c-1a31-4c6e-b689-5a3236fb7395. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11fc17f3-3a4e-4bd3-8a71-91f7796194bb'] 2026-10-22 21:01:18,973 - WARNING - Deleting VN ctest-vn-13713379 failed..Will retry 2026-10-22 21:01:21,013 - DEBUG - VN ba27a18c-1a31-4c6e-b689-5a3236fb7395 still in use: Unable to complete operation on network ba27a18c-1a31-4c6e-b689-5a3236fb7395. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b4f9542-6e56-4f09-b8c7-e79ec97e4933'] 2026-10-22 21:01:21,013 - WARNING - Deleting VN ctest-vn-13713379 failed..Will retry 2026-10-22 21:01:23,129 - DEBUG - Response for deleting network () 2026-10-22 21:01:23,129 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc 2026-10-22 21:01:23,136 - DEBUG - Response Code: 404 2026-10-22 21:01:23,136 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:01:23,142 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:01:23,196 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:01:23,267 - INFO - Validated that VN ctest-vn-13713379 is not found in API Server 2026-10-22 21:01:23,284 - DEBUG - VN ctest-vn-13713379 is not present in Agent 10.0.0.162 2026-10-22 21:01:23,284 - INFO - Validated that VN ctest-vn-13713379 is not in any agent 2026-10-22 21:01:23,301 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13713379 info 2026-10-22 21:01:23,301 - INFO - Deleting VN ctest-vn-17495722 2026-10-22 21:01:23,431 - DEBUG - Response for deleting network () 2026-10-22 21:01:23,431 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7 2026-10-22 21:01:23,438 - DEBUG - Response Code: 404 2026-10-22 21:01:23,439 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-10-22 21:01:23,444 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041 2026-10-22 21:01:23,497 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa 2026-10-22 21:01:23,576 - INFO - Validated that VN ctest-vn-17495722 is not found in API Server 2026-10-22 21:01:23,587 - DEBUG - VN ctest-vn-17495722 is not present in Agent 10.0.0.162 2026-10-22 21:01:23,587 - INFO - Validated that VN ctest-vn-17495722 is not in any agent 2026-10-22 21:01:23,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17495722 info 2026-10-22 21:01:23,876 - DEBUG - No XMPP flaps were noticed during the test
2026-10-22 21:01:23,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08]
2026-10-22 21:01:23,876 - INFO - -------------------------------------------------------------------------------- 2026-10-22 21:01:24,624 - INFO - Deleted project: ctest-TestBasicPolicy-16257648, ID : 91644a21-26cd-4dd5-80c1-200f5a3554aa