2026-03-24 09:40:10,123 - INFO - Domain Default found not creating 2026-03-24 09:40:10,299 - INFO - Project ctest-TestBasicPolicy-19526105 not found, creating it 2026-03-24 09:40:10,787 - INFO - Created Project:ctest-TestBasicPolicy-19526105, ID : 71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:12,247 - INFO - ================================================================================ 2026-03-24 09:40:12,247 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 09:40:12,247 - 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-03-24 09:40:12,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-24 09:40:12,507 - INFO - Initial checks done. Running the testcase now 2026-03-24 09:40:12,507 - INFO - 2026-03-24 09:40:13,064 - DEBUG - Response for create_network : {'network': {'id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'name': 'ctest-vn-94992023', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-94992023'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 09:40:13,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '1be13935-945d-480e-b817-b5f774f86375', 'name': '', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'network_id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'ip_version': 4, 'cidr': '45.214.86.64/26', 'allocation_pools': [{'start': '45.214.86.66', 'end': '45.214.86.126'}], 'gateway_ip': '45.214.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.214.86.66', 'tags': [], 'project_id': '71ba5fb99b8843edaa869519860f3f8f'}} 2026-03-24 09:40:13,275 - INFO - Created VN ctest-vn-94992023 2026-03-24 09:40:13,325 - DEBUG - VN ctest-vn-94992023 UUID is 23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:13,635 - DEBUG - Response for create_network : {'network': {'id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'name': 'ctest-vn-20378580', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-20378580'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 09:40:13,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c5742e3-d5a3-48c0-9d29-2c6fc550f463', 'name': '', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'network_id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'ip_version': 4, 'cidr': '205.110.11.0/26', 'allocation_pools': [{'start': '205.110.11.2', 'end': '205.110.11.62'}], 'gateway_ip': '205.110.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.110.11.2', 'tags': [], 'project_id': '71ba5fb99b8843edaa869519860f3f8f'}} 2026-03-24 09:40:13,831 - INFO - Created VN ctest-vn-20378580 2026-03-24 09:40:13,881 - DEBUG - VN ctest-vn-20378580 UUID is 55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:14,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023, 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-19526105:ctest-vn-20378580, 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-03-24 09:40:14,336 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'name': 'ctest-vn-94992023', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1be13935-945d-480e-b817-b5f774f86375'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-94992023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']], 'subnet_ipam': [{'subnet_cidr': '45.214.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 09:40:14,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'name': 'ctest-vn-20378580', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c5742e3-d5a3-48c0-9d29-2c6fc550f463'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-20378580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']], 'subnet_ipam': [{'subnet_cidr': '205.110.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 09:40:14,713 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:15,023 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:15,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:15,068 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:15,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:15,170 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:15,177 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c292c374-9f8d-4af8-8e88-09d1953ac954 2026-03-24 09:40:15,186 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 09:40:15,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,195 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:15,210 - INFO - Verified VN network id 11 for VN 23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,210 - INFO - Verifications in API Server for VN ctest-vn-94992023 passed 2026-03-24 09:40:15,210 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,220 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:15,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:15,235 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c292c374-9f8d-4af8-8e88-09d1953ac954 2026-03-24 09:40:15,246 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19526105', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2590517849549063627', 'uuid-lslong': '9895951648595405651'}, 'enable': 'true', 'created': '2026-03-24T09:40:13', 'last-modified': '2026-03-24T09:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945504'} 2026-03-24 09:40:15,252 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 09:40:15,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94992023 passed 2026-03-24 09:40:15,253 - DEBUG - ====Verifying policy data for ctest-vn-94992023 in API_Server ====== 2026-03-24 09:40:15,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:15,258 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:15,270 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:15,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53 2026-03-24 09:40:15,348 - DEBUG - ==>Verifying data for policy with id: 520ab027-e89d-4f2d-b6ed-42e82c860367, fqn: ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550'] 2026-03-24 09:40:15,348 - INFO - VN ctest-vn-94992023 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 09:40:15,348 - DEBUG - Verifying the vn in opserver 2026-03-24 09:40:15,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023 virtual network link through opserver 10.0.0.50 2026-03-24 09:40:15,349 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 09:40:15,642 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 09:40:15,713 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023?flat'} 2026-03-24 09:40:15,713 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023 is found in opserver 2026-03-24 09:40:15,725 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 09:40:15,730 - DEBUG - VRF ids for VN ctest-vn-94992023: {} 2026-03-24 09:40:15,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:15,736 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:15,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:15,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:15,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:15,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:15,848 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:15,856 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f0cdd3-ae8b-4938-8220-40da969d0310 2026-03-24 09:40:15,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 09:40:15,864 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:15,874 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:15,889 - INFO - Verified VN network id 12 for VN 55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:15,889 - INFO - Verifications in API Server for VN ctest-vn-20378580 passed 2026-03-24 09:40:15,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:15,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:15,906 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:15,916 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f0cdd3-ae8b-4938-8220-40da969d0310 2026-03-24 09:40:15,928 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19526105', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6181748816103229459', 'uuid-lslong': '12319421841920303709'}, 'enable': 'true', 'created': '2026-03-24T09:40:13', 'last-modified': '2026-03-24T09:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397265'} 2026-03-24 09:40:15,934 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 09:40:15,934 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20378580 passed 2026-03-24 09:40:15,934 - DEBUG - ====Verifying policy data for ctest-vn-20378580 in API_Server ====== 2026-03-24 09:40:15,934 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:15,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:15,952 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:16,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d 2026-03-24 09:40:16,032 - DEBUG - ==>Verifying data for policy with id: 520ab027-e89d-4f2d-b6ed-42e82c860367, fqn: ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550'] 2026-03-24 09:40:16,032 - INFO - VN ctest-vn-20378580 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 09:40:16,032 - DEBUG - Verifying the vn in opserver 2026-03-24 09:40:16,032 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580 virtual network link through opserver 10.0.0.50 2026-03-24 09:40:16,032 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 09:40:16,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580?flat'} 2026-03-24 09:40:16,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580 is found in opserver 2026-03-24 09:40:16,052 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 09:40:16,057 - DEBUG - VRF ids for VN ctest-vn-20378580: {} 2026-03-24 09:40:16,126 - DEBUG - Services list from nova: [, , ] 2026-03-24 09:40:17,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5526-1) 2026-03-24 09:40:18,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5526-1) 2026-03-24 09:40:18,355 - INFO - Waiting for VM ctest-TestBasicPolicy-19526105-77648630 to be up.. 2026-03-24 09:40:18,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 09:40:23,536 - DEBUG - VM is in ACTIVE state now 2026-03-24 09:40:23,536 - INFO - VM name : ctest-TestBasicPolicy-19526105-77648630 2026-03-24 09:40:23,620 - DEBUG - VM ctest-TestBasicPolicy-19526105-77648630 ID is ca5af905-c767-4a7a-914b-d0d11ebfb09b 2026-03-24 09:40:23,640 - DEBUG - VM ctest-TestBasicPolicy-19526105-77648630 launched on Node cn-jenkins-deploy-platform-ansible-os-5526-1 2026-03-24 09:40:23,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca5af905-c767-4a7a-914b-d0d11ebfb09b 2026-03-24 09:40:23,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a847b59-b7f0-46ce-a766-f8788deec1bc 2026-03-24 09:40:26,967 - 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 1011ms') 2026-03-24 09:40:26,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19526105-77648630 failed! 2026-03-24 09:40:27,022 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023 is 45.214.86.65 and allocation pool is NOT set 2026-03-24 09:40:29,089 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.627 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.627/4.806/8.986/4.179 ms') 2026-03-24 09:40:29,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19526105-77648630 passed 2026-03-24 09:40:29,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 09:40:29,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19526105-77648630, IP 45.214.86.67, Port 22 2026-03-24 09:40:29,397 - DEBUG - VM ctest-TestBasicPolicy-19526105-77648630 is ready for SSH connections 2026-03-24 09:40:29,397 - INFO - Waiting for VM ctest-TestBasicPolicy-19526105-39117680 to be up.. 2026-03-24 09:40:29,470 - DEBUG - VM is in ACTIVE state now 2026-03-24 09:40:29,470 - INFO - VM name : ctest-TestBasicPolicy-19526105-39117680 2026-03-24 09:40:29,546 - DEBUG - VM ctest-TestBasicPolicy-19526105-39117680 ID is d2f56bf9-1a9c-4502-823e-16b1d07b41be 2026-03-24 09:40:29,546 - DEBUG - VM ctest-TestBasicPolicy-19526105-39117680 launched on Node cn-jenkins-deploy-platform-ansible-os-5526-1 2026-03-24 09:40:29,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d2f56bf9-1a9c-4502-823e-16b1d07b41be 2026-03-24 09:40:29,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8e9fd308-7da2-43fe-9ce7-165abfef922e 2026-03-24 09:40:30,873 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=7.80 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 = 3.539/5.670/7.801/2.131 ms') 2026-03-24 09:40:30,873 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19526105-39117680 passed 2026-03-24 09:40:31,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 09:40:31,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19526105-39117680, IP 205.110.11.3, Port 22 2026-03-24 09:40:31,087 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-24 09:40:31,168 - DEBUG - VM ctest-TestBasicPolicy-19526105-39117680 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-24 09:40:36,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 09:40:36,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19526105-39117680, IP 205.110.11.3, Port 22 2026-03-24 09:40:36,324 - DEBUG - VM ctest-TestBasicPolicy-19526105-39117680 is ready for SSH connections 2026-03-24 09:40:36,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 09:40:36,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.110.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 09:40:36,325 - DEBUG - ping -s 56 -c 3 -W 1 205.110.11.3 2026-03-24 09:40:40,373 - DEBUG - PING 205.110.11.3 (205.110.11.3): 56 data bytes 64 bytes from 205.110.11.3: seq=0 ttl=63 time=4.187 ms 64 bytes from 205.110.11.3: seq=1 ttl=63 time=0.880 ms 64 bytes from 205.110.11.3: seq=2 ttl=63 time=1.223 ms --- 205.110.11.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.096/4.187 ms 2026-03-24 09:40:40,374 - INFO - Ping to IP 205.110.11.3 from VM ctest-TestBasicPolicy-19526105-77648630 passed 2026-03-24 09:40:40,557 - DEBUG - Policy Update Response {"network-policy": {"uuid": "520ab027-e89d-4f2d-b6ed-42e82c860367", "href": "http://10.0.0.50:8082/network-policy/520ab027-e89d-4f2d-b6ed-42e82c860367"}} 2026-03-24 09:40:40,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 09:40:40,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.110.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 09:40:40,558 - DEBUG - ping -s 56 -c 3 -W 1 205.110.11.3 2026-03-24 09:40:43,805 - DEBUG - PING 205.110.11.3 (205.110.11.3): 56 data bytes --- 205.110.11.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 09:40:43,805 - WARNING - Ping to IP 205.110.11.3 from VM ctest-TestBasicPolicy-19526105-77648630 failed 2026-03-24 09:40:43,806 - INFO - Deleting VM ctest-TestBasicPolicy-19526105-39117680 2026-03-24 09:40:43,887 - INFO - Deleting VM ctest-TestBasicPolicy-19526105-77648630 2026-03-24 09:40:44,287 - INFO - Deleted policy ctest-policy-allow-all-23976550 2026-03-24 09:40:44,287 - INFO - Deleting VN ctest-vn-20378580 2026-03-24 09:40:44,338 - DEBUG - VN 55c9fbcb-c286-4813-aaf7-60e4e5d9225d still in use: Unable to complete operation on network 55c9fbcb-c286-4813-aaf7-60e4e5d9225d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8211171-ad84-4e29-8202-6f8f6237c741'] 2026-03-24 09:40:44,338 - WARNING - Deleting VN ctest-vn-20378580 failed..Will retry 2026-03-24 09:40:46,439 - DEBUG - Response for deleting network () 2026-03-24 09:40:46,439 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47 2026-03-24 09:40:46,445 - DEBUG - Response Code: 404 2026-03-24 09:40:46,445 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:46,451 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:46,504 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:46,578 - INFO - Validated that VN ctest-vn-20378580 is not found in API Server 2026-03-24 09:40:46,591 - DEBUG - VN ctest-vn-20378580 is not present in Agent 10.0.0.50 2026-03-24 09:40:46,591 - INFO - Validated that VN ctest-vn-20378580 is not in any agent 2026-03-24 09:40:46,608 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20378580 info 2026-03-24 09:40:46,608 - INFO - Deleting VN ctest-vn-94992023 2026-03-24 09:40:46,726 - DEBUG - Response for deleting network () 2026-03-24 09:40:46,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f 2026-03-24 09:40:46,734 - DEBUG - Response Code: 404 2026-03-24 09:40:46,734 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 09:40:46,739 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302 2026-03-24 09:40:46,790 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f 2026-03-24 09:40:46,861 - INFO - Validated that VN ctest-vn-94992023 is not found in API Server 2026-03-24 09:40:46,871 - DEBUG - VN ctest-vn-94992023 is not present in Agent 10.0.0.50 2026-03-24 09:40:46,871 - INFO - Validated that VN ctest-vn-94992023 is not in any agent 2026-03-24 09:40:46,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94992023 info 2026-03-24 09:40:47,142 - DEBUG - No XMPP flaps were noticed during the test 2026-03-24 09:40:47,142 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-24 09:40:47,142 - INFO - -------------------------------------------------------------------------------- 2026-03-24 09:40:48,469 - INFO - Deleted project: ctest-TestBasicPolicy-19526105, ID : 71ba5fb9-9b88-43ed-aa86-9519860f3f8f