2026-02-24 16:39:22,481 - INFO - Domain Default found not creating 2026-02-24 16:39:22,643 - INFO - Project ctest-TestBasicPolicy-43994074 not found, creating it 2026-02-24 16:39:23,069 - INFO - Created Project:ctest-TestBasicPolicy-43994074, ID : 29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:24,475 - INFO - ================================================================================ 2026-02-24 16:39:24,476 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-24 16:39:24,476 - 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-02-24 16:39:24,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-24 16:39:24,729 - INFO - Initial checks done. Running the testcase now 2026-02-24 16:39:24,729 - INFO - 2026-02-24 16:39:25,252 - DEBUG - Response for create_network : {'network': {'id': 'ec315f39-9a7b-4767-91c9-29cedc89da00', 'name': 'ctest-vn-58780704', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'project_id': '29748ccdecd04867a9bbf79aeb488e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-vn-58780704'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:39:25,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '535bc578-6aec-4703-96d4-7efd64d3e8e0', 'name': '', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'network_id': 'ec315f39-9a7b-4767-91c9-29cedc89da00', 'ip_version': 4, 'cidr': '174.215.145.64/26', 'allocation_pools': [{'start': '174.215.145.66', 'end': '174.215.145.126'}], 'gateway_ip': '174.215.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.215.145.66', 'tags': [], 'project_id': '29748ccdecd04867a9bbf79aeb488e13'}} 2026-02-24 16:39:25,426 - INFO - Created VN ctest-vn-58780704 2026-02-24 16:39:25,476 - DEBUG - VN ctest-vn-58780704 UUID is ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:25,808 - DEBUG - Response for create_network : {'network': {'id': '7f6da93e-ab39-44fe-be4c-0effa09a2377', 'name': 'ctest-vn-83168457', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'project_id': '29748ccdecd04867a9bbf79aeb488e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-vn-83168457'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:39:25,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a01b86-ee07-4bd4-812a-c944731b9791', 'name': '', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'network_id': '7f6da93e-ab39-44fe-be4c-0effa09a2377', 'ip_version': 4, 'cidr': '164.134.27.128/26', 'allocation_pools': [{'start': '164.134.27.130', 'end': '164.134.27.190'}], 'gateway_ip': '164.134.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.134.27.130', 'tags': [], 'project_id': '29748ccdecd04867a9bbf79aeb488e13'}} 2026-02-24 16:39:26,014 - INFO - Created VN ctest-vn-83168457 2026-02-24 16:39:26,064 - DEBUG - VN ctest-vn-83168457 UUID is 7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:26,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704, 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-43994074:ctest-vn-83168457, 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-02-24 16:39:26,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec315f39-9a7b-4767-91c9-29cedc89da00', 'name': 'ctest-vn-58780704', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'project_id': '29748ccdecd04867a9bbf79aeb488e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['535bc578-6aec-4703-96d4-7efd64d3e8e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-vn-58780704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-policy-allow-all-68775685']], 'subnet_ipam': [{'subnet_cidr': '174.215.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:39:26,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f6da93e-ab39-44fe-be4c-0effa09a2377', 'name': 'ctest-vn-83168457', 'tenant_id': '29748ccdecd04867a9bbf79aeb488e13', 'project_id': '29748ccdecd04867a9bbf79aeb488e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8a01b86-ee07-4bd4-812a-c944731b9791'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-vn-83168457'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-policy-allow-all-68775685']], 'subnet_ipam': [{'subnet_cidr': '164.134.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:39:26,860 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:27,152 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:27,177 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:27,187 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:27,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:27,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:27,277 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0cfc03c-ebeb-43a2-aaa2-7343749172d5 2026-02-24 16:39:27,282 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 16:39:27,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:27,302 - INFO - Verified VN network id 9 for VN ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,302 - INFO - Verifications in API Server for VN ctest-vn-58780704 passed 2026-02-24 16:39:27,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:27,316 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:27,321 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0cfc03c-ebeb-43a2-aaa2-7343749172d5 2026-02-24 16:39:27,330 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43994074', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17019489167819360103', 'uuid-lslong': '10504973574258416128'}, 'enable': 'true', 'created': '2026-02-24T16:39:25', 'last-modified': '2026-02-24T16:39:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866674'} 2026-02-24 16:39:27,334 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 16:39:27,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58780704 passed 2026-02-24 16:39:27,335 - DEBUG - ====Verifying policy data for ctest-vn-58780704 in API_Server ====== 2026-02-24 16:39:27,335 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:27,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:27,347 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:27,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec315f39-9a7b-4767-91c9-29cedc89da00 2026-02-24 16:39:27,421 - DEBUG - ==>Verifying data for policy with id: 97f87896-e38c-4be1-a9fc-0b07c0252da8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-policy-allow-all-68775685'] 2026-02-24 16:39:27,421 - INFO - VN ctest-vn-58780704 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 16:39:27,421 - DEBUG - Verifying the vn in opserver 2026-02-24 16:39:27,421 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704 virtual network link through opserver 10.0.0.38 2026-02-24 16:39:27,422 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 16:39:27,710 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 16:39:27,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704?flat'} 2026-02-24 16:39:27,765 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704 is found in opserver 2026-02-24 16:39:27,774 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 16:39:27,779 - DEBUG - VRF ids for VN ctest-vn-58780704: {} 2026-02-24 16:39:27,779 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:27,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:27,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:27,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:27,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:27,876 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:27,882 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:27,888 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1bc77522-1ac9-486e-8d29-5ce4177f29cc 2026-02-24 16:39:27,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 16:39:27,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:27,900 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:27,909 - INFO - Verified VN network id 10 for VN 7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:27,910 - INFO - Verifications in API Server for VN ctest-vn-83168457 passed 2026-02-24 16:39:27,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:27,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:27,921 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:27,926 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1bc77522-1ac9-486e-8d29-5ce4177f29cc 2026-02-24 16:39:27,935 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-83168457', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43994074', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9182181301904033022', 'uuid-lslong': '13712351456510223223'}, 'enable': 'true', 'created': '2026-02-24T16:39:25', 'last-modified': '2026-02-24T16:39:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.251824'} 2026-02-24 16:39:27,940 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 16:39:27,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83168457 passed 2026-02-24 16:39:27,941 - DEBUG - ====Verifying policy data for ctest-vn-83168457 in API_Server ====== 2026-02-24 16:39:27,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:27,945 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:27,953 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:28,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7f6da93e-ab39-44fe-be4c-0effa09a2377 2026-02-24 16:39:28,026 - DEBUG - ==>Verifying data for policy with id: 97f87896-e38c-4be1-a9fc-0b07c0252da8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43994074', 'ctest-policy-allow-all-68775685'] 2026-02-24 16:39:28,026 - INFO - VN ctest-vn-83168457 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 16:39:28,026 - DEBUG - Verifying the vn in opserver 2026-02-24 16:39:28,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-83168457 virtual network link through opserver 10.0.0.38 2026-02-24 16:39:28,026 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-24 16:39:28,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-83168457', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-83168457?flat'} 2026-02-24 16:39:28,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-83168457 is found in opserver 2026-02-24 16:39:28,042 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 16:39:28,046 - DEBUG - VRF ids for VN ctest-vn-83168457: {} 2026-02-24 16:39:28,094 - DEBUG - Services list from nova: [, , ] 2026-02-24 16:39:29,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5394-1) 2026-02-24 16:39:30,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5394-1) 2026-02-24 16:39:30,132 - INFO - Waiting for VM ctest-TestBasicPolicy-43994074-45857361 to be up.. 2026-02-24 16:39:30,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 16:39:35,275 - DEBUG - VM is in ACTIVE state now 2026-02-24 16:39:35,275 - INFO - VM name : ctest-TestBasicPolicy-43994074-45857361 2026-02-24 16:39:35,342 - DEBUG - VM ctest-TestBasicPolicy-43994074-45857361 ID is c975b12b-64bb-44e0-a791-270add02e7a4 2026-02-24 16:39:35,358 - DEBUG - VM ctest-TestBasicPolicy-43994074-45857361 launched on Node cn-jenkins-deploy-platform-ansible-os-5394-1 2026-02-24 16:39:35,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c975b12b-64bb-44e0-a791-270add02e7a4 2026-02-24 16:39:35,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02435562-de94-464a-9dd9-85f52e4931cd 2026-02-24 16:39:38,680 - 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 1015ms') 2026-02-24 16:39:38,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43994074-45857361 failed! 2026-02-24 16:39:38,732 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43994074:ctest-vn-58780704 is 174.215.145.65 and allocation pool is NOT set 2026-02-24 16:39:40,796 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.406/1.576/2.746/1.170 ms') 2026-02-24 16:39:40,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43994074-45857361 passed 2026-02-24 16:39:40,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:40,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43994074-45857361, IP 174.215.145.67, Port 22 2026-02-24 16:39:41,107 - DEBUG - VM ctest-TestBasicPolicy-43994074-45857361 is ready for SSH connections 2026-02-24 16:39:41,107 - INFO - Waiting for VM ctest-TestBasicPolicy-43994074-75421283 to be up.. 2026-02-24 16:39:41,174 - DEBUG - VM is in ACTIVE state now 2026-02-24 16:39:41,174 - INFO - VM name : ctest-TestBasicPolicy-43994074-75421283 2026-02-24 16:39:41,246 - DEBUG - VM ctest-TestBasicPolicy-43994074-75421283 ID is 6dc79644-ab24-4c75-a4e3-4e1b0964c0d6 2026-02-24 16:39:41,246 - DEBUG - VM ctest-TestBasicPolicy-43994074-75421283 launched on Node cn-jenkins-deploy-platform-ansible-os-5394-1 2026-02-24 16:39:41,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6dc79644-ab24-4c75-a4e3-4e1b0964c0d6 2026-02-24 16:39:41,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f03f586-c9ac-4c98-a555-54c9455adcc6 2026-02-24 16:39:42,635 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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.367/2.839/4.311/1.472 ms') 2026-02-24 16:39:42,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43994074-75421283 passed 2026-02-24 16:39:42,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:42,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43994074-75421283, IP 164.134.27.131, Port 22 2026-02-24 16:39:42,854 - 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-02-24 16:39:42,924 - DEBUG - VM ctest-TestBasicPolicy-43994074-75421283 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-24 16:39:47,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:47,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43994074-75421283, IP 164.134.27.131, Port 22 2026-02-24 16:39:48,080 - DEBUG - VM ctest-TestBasicPolicy-43994074-75421283 is ready for SSH connections 2026-02-24 16:39:48,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:48,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.134.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 16:39:48,080 - DEBUG - ping -s 56 -c 3 -W 1 164.134.27.131 2026-02-24 16:39:51,751 - DEBUG - PING 164.134.27.131 (164.134.27.131): 56 data bytes 64 bytes from 164.134.27.131: seq=0 ttl=63 time=3.518 ms 64 bytes from 164.134.27.131: seq=1 ttl=63 time=0.699 ms 64 bytes from 164.134.27.131: seq=2 ttl=63 time=0.765 ms --- 164.134.27.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.660/3.518 ms 2026-02-24 16:39:51,751 - INFO - Ping to IP 164.134.27.131 from VM ctest-TestBasicPolicy-43994074-45857361 passed 2026-02-24 16:39:51,924 - DEBUG - Policy Update Response {"network-policy": {"uuid": "97f87896-e38c-4be1-a9fc-0b07c0252da8", "href": "http://10.0.0.38:8082/network-policy/97f87896-e38c-4be1-a9fc-0b07c0252da8"}} 2026-02-24 16:39:51,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:51,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.134.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 16:39:51,924 - DEBUG - ping -s 56 -c 3 -W 1 164.134.27.131 2026-02-24 16:39:55,143 - DEBUG - PING 164.134.27.131 (164.134.27.131): 56 data bytes --- 164.134.27.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-24 16:39:55,144 - WARNING - Ping to IP 164.134.27.131 from VM ctest-TestBasicPolicy-43994074-45857361 failed 2026-02-24 16:39:55,144 - INFO - Deleting VM ctest-TestBasicPolicy-43994074-75421283 2026-02-24 16:39:55,201 - INFO - Deleting VM ctest-TestBasicPolicy-43994074-45857361 2026-02-24 16:39:55,501 - INFO - Deleted policy ctest-policy-allow-all-68775685 2026-02-24 16:39:55,501 - INFO - Deleting VN ctest-vn-83168457 2026-02-24 16:39:55,538 - DEBUG - VN 7f6da93e-ab39-44fe-be4c-0effa09a2377 still in use: Unable to complete operation on network 7f6da93e-ab39-44fe-be4c-0effa09a2377. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5935a2fa-9a51-4e7a-8ae3-3f60d1e50d3b'] 2026-02-24 16:39:55,538 - WARNING - Deleting VN ctest-vn-83168457 failed..Will retry 2026-02-24 16:39:57,629 - DEBUG - Response for deleting network () 2026-02-24 16:39:57,629 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36109c44-9e7e-4373-bbf2-4e6ef8d839d2 2026-02-24 16:39:57,634 - DEBUG - Response Code: 404 2026-02-24 16:39:57,634 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:57,638 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:57,694 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:57,760 - INFO - Validated that VN ctest-vn-83168457 is not found in API Server 2026-02-24 16:39:57,770 - DEBUG - VN ctest-vn-83168457 is not present in Agent 10.0.0.38 2026-02-24 16:39:57,770 - INFO - Validated that VN ctest-vn-83168457 is not in any agent 2026-02-24 16:39:57,781 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83168457 info 2026-02-24 16:39:57,781 - INFO - Deleting VN ctest-vn-58780704 2026-02-24 16:39:57,864 - DEBUG - Response for deleting network () 2026-02-24 16:39:57,864 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7a78bd9-354c-438a-8e9e-016ca7caa50b 2026-02-24 16:39:57,869 - DEBUG - Response Code: 404 2026-02-24 16:39:57,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-24 16:39:57,873 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f29418f6-8f55-4029-bf91-65876e64923f 2026-02-24 16:39:57,924 - DEBUG - Requesting: http://10.0.0.38:8082/project/29748ccd-ecd0-4867-a9bb-f79aeb488e13 2026-02-24 16:39:57,997 - INFO - Validated that VN ctest-vn-58780704 is not found in API Server 2026-02-24 16:39:58,007 - DEBUG - VN ctest-vn-58780704 is not present in Agent 10.0.0.38 2026-02-24 16:39:58,007 - INFO - Validated that VN ctest-vn-58780704 is not in any agent 2026-02-24 16:39:58,018 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58780704 info 2026-02-24 16:39:58,277 - DEBUG - No XMPP flaps were noticed during the test 2026-02-24 16:39:58,277 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-24 16:39:58,277 - INFO - -------------------------------------------------------------------------------- 2026-02-24 16:39:58,920 - INFO - Deleted project: ctest-TestBasicPolicy-43994074, ID : 29748ccd-ecd0-4867-a9bb-f79aeb488e13