2026-01-29 22:29:11,927 - INFO - Domain Default found not creating 2026-01-29 22:29:12,106 - INFO - Project ctest-TestBasicPolicy-10003168 not found, creating it 2026-01-29 22:29:12,561 - INFO - Created Project:ctest-TestBasicPolicy-10003168, ID : 1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:14,078 - INFO - ================================================================================ 2026-01-29 22:29:14,078 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 22:29:14,078 - 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-29 22:29:14,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-29 22:29:14,335 - INFO - Initial checks done. Running the testcase now 2026-01-29 22:29:14,335 - INFO - 2026-01-29 22:29:14,886 - DEBUG - Response for create_network : {'network': {'id': '720cb48c-cb36-4a79-9717-4b4da93fa3d5', 'name': 'ctest-vn-49395750', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'project_id': '1ea3d121cdde456dac149831fbaa129d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-vn-49395750'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:15,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e097903-33b4-4d38-99dc-71d58e530e0a', 'name': '', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'network_id': '720cb48c-cb36-4a79-9717-4b4da93fa3d5', 'ip_version': 4, 'cidr': '18.251.161.128/26', 'allocation_pools': [{'start': '18.251.161.130', 'end': '18.251.161.190'}], 'gateway_ip': '18.251.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.251.161.130', 'tags': [], 'project_id': '1ea3d121cdde456dac149831fbaa129d'}} 2026-01-29 22:29:15,118 - INFO - Created VN ctest-vn-49395750 2026-01-29 22:29:15,171 - DEBUG - VN ctest-vn-49395750 UUID is 720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:15,454 - DEBUG - Response for create_network : {'network': {'id': '675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e', 'name': 'ctest-vn-20975474', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'project_id': '1ea3d121cdde456dac149831fbaa129d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-vn-20975474'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:15,623 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4bedfac-1baa-4e20-9874-ce63b44b03bc', 'name': '', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'network_id': '675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e', 'ip_version': 4, 'cidr': '124.198.246.64/26', 'allocation_pools': [{'start': '124.198.246.66', 'end': '124.198.246.126'}], 'gateway_ip': '124.198.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.198.246.66', 'tags': [], 'project_id': '1ea3d121cdde456dac149831fbaa129d'}} 2026-01-29 22:29:15,643 - INFO - Created VN ctest-vn-20975474 2026-01-29 22:29:15,694 - DEBUG - VN ctest-vn-20975474 UUID is 675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:15,847 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750, 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-10003168:ctest-vn-20975474, 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-29 22:29:16,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '720cb48c-cb36-4a79-9717-4b4da93fa3d5', 'name': 'ctest-vn-49395750', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'project_id': '1ea3d121cdde456dac149831fbaa129d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e097903-33b4-4d38-99dc-71d58e530e0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-vn-49395750'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-policy-allow-all-20629421']], 'subnet_ipam': [{'subnet_cidr': '18.251.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:16,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e', 'name': 'ctest-vn-20975474', 'tenant_id': '1ea3d121cdde456dac149831fbaa129d', 'project_id': '1ea3d121cdde456dac149831fbaa129d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4bedfac-1baa-4e20-9874-ce63b44b03bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-vn-20975474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-policy-allow-all-20629421']], 'subnet_ipam': [{'subnet_cidr': '124.198.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 22:29:16,556 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:16,874 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:16,923 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:16,935 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:17,011 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,027 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,039 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:17,047 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:17,054 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b41b58db-c740-48fe-8490-b724a679a2dd 2026-01-29 22:29:17,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 22:29:17,060 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,069 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:17,082 - INFO - Verified VN network id 12 for VN 720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,082 - INFO - Verifications in API Server for VN ctest-vn-49395750 passed 2026-01-29 22:29:17,082 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,092 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:17,098 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:17,104 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b41b58db-c740-48fe-8490-b724a679a2dd 2026-01-29 22:29:17,116 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10003168', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8218141936842066553', 'uuid-lslong': '10887253421115548629'}, 'enable': 'true', 'created': '2026-01-29T22:29:14', 'last-modified': '2026-01-29T22:29:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004255'} 2026-01-29 22:29:17,121 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 22:29:17,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49395750 passed 2026-01-29 22:29:17,121 - DEBUG - ====Verifying policy data for ctest-vn-49395750 in API_Server ====== 2026-01-29 22:29:17,121 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:17,126 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:17,136 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:17,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/720cb48c-cb36-4a79-9717-4b4da93fa3d5 2026-01-29 22:29:17,216 - DEBUG - ==>Verifying data for policy with id: 42b132cb-bfd4-41ac-902b-5eefec44fb58, fqn: ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-policy-allow-all-20629421'] 2026-01-29 22:29:17,216 - INFO - VN ctest-vn-49395750 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 22:29:17,216 - DEBUG - Verifying the vn in opserver 2026-01-29 22:29:17,216 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750 virtual network link through opserver 10.0.0.22 2026-01-29 22:29:17,216 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 22:29:17,524 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 22:29:17,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750?flat'} 2026-01-29 22:29:17,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750 is found in opserver 2026-01-29 22:29:17,595 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 22:29:17,600 - DEBUG - VRF ids for VN ctest-vn-49395750: {} 2026-01-29 22:29:17,600 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:17,606 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:17,616 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:17,685 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,696 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,704 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:17,709 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:17,715 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e436c3df-32fe-4764-8572-21bbd8965649 2026-01-29 22:29:17,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 22:29:17,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,728 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:17,741 - INFO - Verified VN network id 13 for VN 675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,741 - INFO - Verifications in API Server for VN ctest-vn-20975474 passed 2026-01-29 22:29:17,741 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,750 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:17,758 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:17,765 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e436c3df-32fe-4764-8572-21bbd8965649 2026-01-29 22:29:17,775 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-20975474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10003168', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7448343324894580407', 'uuid-lslong': '13427488866513427854'}, 'enable': 'true', 'created': '2026-01-29T22:29:15', 'last-modified': '2026-01-29T22:29:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438404'} 2026-01-29 22:29:17,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 22:29:17,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20975474 passed 2026-01-29 22:29:17,780 - DEBUG - ====Verifying policy data for ctest-vn-20975474 in API_Server ====== 2026-01-29 22:29:17,780 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:17,786 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:17,796 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:17,869 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e 2026-01-29 22:29:17,880 - DEBUG - ==>Verifying data for policy with id: 42b132cb-bfd4-41ac-902b-5eefec44fb58, fqn: ['default-domain', 'ctest-TestBasicPolicy-10003168', 'ctest-policy-allow-all-20629421'] 2026-01-29 22:29:17,880 - INFO - VN ctest-vn-20975474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 22:29:17,880 - DEBUG - Verifying the vn in opserver 2026-01-29 22:29:17,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-20975474 virtual network link through opserver 10.0.0.22 2026-01-29 22:29:17,880 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 22:29:17,891 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-20975474', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-20975474?flat'} 2026-01-29 22:29:17,891 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-20975474 is found in opserver 2026-01-29 22:29:17,901 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 22:29:17,905 - DEBUG - VRF ids for VN ctest-vn-20975474: {} 2026-01-29 22:29:17,966 - DEBUG - Services list from nova: [, , ] 2026-01-29 22:29:19,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5138-1) 2026-01-29 22:29:20,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5138-1) 2026-01-29 22:29:20,184 - INFO - Waiting for VM ctest-TestBasicPolicy-10003168-13120797 to be up.. 2026-01-29 22:29:20,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 22:29:25,351 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:29:25,351 - INFO - VM name : ctest-TestBasicPolicy-10003168-13120797 2026-01-29 22:29:25,423 - DEBUG - VM ctest-TestBasicPolicy-10003168-13120797 ID is 117b6cdb-ef76-4365-b82b-3cadc46ae673 2026-01-29 22:29:25,445 - DEBUG - VM ctest-TestBasicPolicy-10003168-13120797 launched on Node cn-jenkins-deploy-platform-ansible-os-5138-1 2026-01-29 22:29:25,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/117b6cdb-ef76-4365-b82b-3cadc46ae673 2026-01-29 22:29:25,559 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/61ff704f-f3e9-451e-96e4-2d0476d832c9 2026-01-29 22:29:28,808 - 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 1005ms') 2026-01-29 22:29:28,808 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10003168-13120797 failed! 2026-01-29 22:29:28,863 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10003168:ctest-vn-49395750 is 18.251.161.129 and allocation pool is NOT set 2026-01-29 22:29:30,922 - 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=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/4.413/8.300/3.886 ms') 2026-01-29 22:29:30,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10003168-13120797 passed 2026-01-29 22:29:31,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:31,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10003168-13120797, IP 18.251.161.131, Port 22 2026-01-29 22:29:31,230 - DEBUG - VM ctest-TestBasicPolicy-10003168-13120797 is ready for SSH connections 2026-01-29 22:29:31,230 - INFO - Waiting for VM ctest-TestBasicPolicy-10003168-45067956 to be up.. 2026-01-29 22:29:31,326 - DEBUG - VM is in ACTIVE state now 2026-01-29 22:29:31,327 - INFO - VM name : ctest-TestBasicPolicy-10003168-45067956 2026-01-29 22:29:31,399 - DEBUG - VM ctest-TestBasicPolicy-10003168-45067956 ID is c4222d51-ff34-447b-adfa-bf1d933d5ad2 2026-01-29 22:29:31,400 - DEBUG - VM ctest-TestBasicPolicy-10003168-45067956 launched on Node cn-jenkins-deploy-platform-ansible-os-5138-1 2026-01-29 22:29:31,480 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c4222d51-ff34-447b-adfa-bf1d933d5ad2 2026-01-29 22:29:31,488 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1917a5dc-80be-405d-84b3-6ffd4776669e 2026-01-29 22:29:32,730 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.999 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.999/3.350/5.701/2.351 ms') 2026-01-29 22:29:32,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10003168-45067956 passed 2026-01-29 22:29:32,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:32,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10003168-45067956, IP 124.198.246.67, Port 22 2026-01-29 22:29:33,053 - DEBUG - VM ctest-TestBasicPolicy-10003168-45067956 is ready for SSH connections 2026-01-29 22:29:33,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:33,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.198.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 22:29:33,054 - DEBUG - ping -s 56 -c 3 -W 1 124.198.246.67 2026-01-29 22:29:37,075 - DEBUG - PING 124.198.246.67 (124.198.246.67): 56 data bytes 64 bytes from 124.198.246.67: seq=0 ttl=63 time=5.369 ms 64 bytes from 124.198.246.67: seq=1 ttl=63 time=1.231 ms 64 bytes from 124.198.246.67: seq=2 ttl=63 time=0.970 ms --- 124.198.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.523/5.369 ms 2026-01-29 22:29:37,076 - INFO - Ping to IP 124.198.246.67 from VM ctest-TestBasicPolicy-10003168-13120797 passed 2026-01-29 22:29:37,254 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42b132cb-bfd4-41ac-902b-5eefec44fb58", "href": "http://10.0.0.22:8082/network-policy/42b132cb-bfd4-41ac-902b-5eefec44fb58"}} 2026-01-29 22:29:37,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 22:29:37,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.198.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 22:29:37,255 - DEBUG - ping -s 56 -c 3 -W 1 124.198.246.67 2026-01-29 22:29:40,473 - DEBUG - PING 124.198.246.67 (124.198.246.67): 56 data bytes --- 124.198.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 22:29:40,473 - WARNING - Ping to IP 124.198.246.67 from VM ctest-TestBasicPolicy-10003168-13120797 failed 2026-01-29 22:29:40,473 - INFO - Deleting VM ctest-TestBasicPolicy-10003168-45067956 2026-01-29 22:29:40,536 - INFO - Deleting VM ctest-TestBasicPolicy-10003168-13120797 2026-01-29 22:29:40,948 - INFO - Deleted policy ctest-policy-allow-all-20629421 2026-01-29 22:29:40,948 - INFO - Deleting VN ctest-vn-20975474 2026-01-29 22:29:40,984 - DEBUG - VN 675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e still in use: Unable to complete operation on network 675dd4ca-7d7e-4eb7-ba58-05fb720b9d8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fc90f6e-621e-4322-995e-47551eb4ef2c'] 2026-01-29 22:29:40,984 - WARNING - Deleting VN ctest-vn-20975474 failed..Will retry 2026-01-29 22:29:43,084 - DEBUG - Response for deleting network () 2026-01-29 22:29:43,084 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/34c8ef47-93db-4ef3-81b8-698501d3b171 2026-01-29 22:29:43,090 - DEBUG - Response Code: 404 2026-01-29 22:29:43,091 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:43,097 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:43,152 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:43,224 - INFO - Validated that VN ctest-vn-20975474 is not found in API Server 2026-01-29 22:29:43,233 - DEBUG - VN ctest-vn-20975474 is not present in Agent 10.0.0.22 2026-01-29 22:29:43,233 - INFO - Validated that VN ctest-vn-20975474 is not in any agent 2026-01-29 22:29:43,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20975474 info 2026-01-29 22:29:43,248 - INFO - Deleting VN ctest-vn-49395750 2026-01-29 22:29:43,343 - DEBUG - Response for deleting network () 2026-01-29 22:29:43,344 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e1c5cc0-76a8-42d6-8494-8f7181bed507 2026-01-29 22:29:43,349 - DEBUG - Response Code: 404 2026-01-29 22:29:43,349 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 22:29:43,354 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5b6fd286-2383-48fe-a82a-afef3ddc1cfe 2026-01-29 22:29:43,407 - DEBUG - Requesting: http://10.0.0.22:8082/project/1ea3d121-cdde-456d-ac14-9831fbaa129d 2026-01-29 22:29:43,476 - INFO - Validated that VN ctest-vn-49395750 is not found in API Server 2026-01-29 22:29:43,486 - DEBUG - VN ctest-vn-49395750 is not present in Agent 10.0.0.22 2026-01-29 22:29:43,486 - INFO - Validated that VN ctest-vn-49395750 is not in any agent 2026-01-29 22:29:43,499 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49395750 info 2026-01-29 22:29:43,751 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 22:29:43,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-29 22:29:43,752 - INFO - -------------------------------------------------------------------------------- 2026-01-29 22:29:44,443 - INFO - Deleted project: ctest-TestBasicPolicy-10003168, ID : 1ea3d121-cdde-456d-ac14-9831fbaa129d