2026-04-27 17:49:48,934 - INFO - Domain Default found not creating 2026-04-27 17:49:49,136 - INFO - Project ctest-TestBasicPolicy-66597932 not found, creating it 2026-04-27 17:49:49,625 - INFO - Created Project:ctest-TestBasicPolicy-66597932, ID : 8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:49:51,212 - INFO - ================================================================================ 2026-04-27 17:49:51,213 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-27 17:49:51,213 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-27 17:49:51,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-27 17:49:51,473 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:49:51,474 - INFO - 2026-04-27 17:49:52,057 - DEBUG - Response for create_network : {'network': {'id': 'f7e5b20c-2ad2-4549-9cc3-171d29e106b9', 'name': 'ctest-vn-64298110', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'project_id': '8a032473f412468f823e13e820fbf586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-vn-64298110'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:52,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '50016274-31d2-42b2-a2af-4e6156963162', 'name': '', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'network_id': 'f7e5b20c-2ad2-4549-9cc3-171d29e106b9', 'ip_version': 4, 'cidr': '146.151.54.128/26', 'allocation_pools': [{'start': '146.151.54.130', 'end': '146.151.54.190'}], 'gateway_ip': '146.151.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.151.54.130', 'tags': [], 'project_id': '8a032473f412468f823e13e820fbf586'}} 2026-04-27 17:49:52,267 - INFO - Created VN ctest-vn-64298110 2026-04-27 17:49:52,319 - DEBUG - VN ctest-vn-64298110 UUID is f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:52,620 - DEBUG - Response for create_network : {'network': {'id': '0ead2fc7-827c-4edf-9a22-ec4fb1fb3727', 'name': 'ctest-vn-15047568', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'project_id': '8a032473f412468f823e13e820fbf586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-vn-15047568'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:52,794 - DEBUG - Response for create_subnet : {'subnet': {'id': '32708fbd-ec33-44fe-9a35-f558d157c0c9', 'name': '', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'network_id': '0ead2fc7-827c-4edf-9a22-ec4fb1fb3727', 'ip_version': 4, 'cidr': '23.220.110.128/26', 'allocation_pools': [{'start': '23.220.110.130', 'end': '23.220.110.190'}], 'gateway_ip': '23.220.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.220.110.130', 'tags': [], 'project_id': '8a032473f412468f823e13e820fbf586'}} 2026-04-27 17:49:52,815 - INFO - Created VN ctest-vn-15047568 2026-04-27 17:49:52,871 - DEBUG - VN ctest-vn-15047568 UUID is 0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:52,988 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110, 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-66597932:ctest-vn-15047568, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-27 17:49:53,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f7e5b20c-2ad2-4549-9cc3-171d29e106b9', 'name': 'ctest-vn-64298110', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'project_id': '8a032473f412468f823e13e820fbf586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50016274-31d2-42b2-a2af-4e6156963162'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-vn-64298110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-policy-allow-all-40990942']], 'subnet_ipam': [{'subnet_cidr': '146.151.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:53,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ead2fc7-827c-4edf-9a22-ec4fb1fb3727', 'name': 'ctest-vn-15047568', 'tenant_id': '8a032473f412468f823e13e820fbf586', 'project_id': '8a032473f412468f823e13e820fbf586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32708fbd-ec33-44fe-9a35-f558d157c0c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-vn-15047568'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-policy-allow-all-40990942']], 'subnet_ipam': [{'subnet_cidr': '23.220.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:53,695 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:49:54,010 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:49:54,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:49:54,064 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:49:54,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,162 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:49:54,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:49:54,178 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5a252b5-a2c2-4f3f-9c62-7583a18a352b 2026-04-27 17:49:54,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 17:49:54,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,197 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:49:54,212 - INFO - Verified VN network id 11 for VN f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,213 - INFO - Verifications in API Server for VN ctest-vn-64298110 passed 2026-04-27 17:49:54,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,225 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:49:54,233 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:49:54,241 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5a252b5-a2c2-4f3f-9c62-7583a18a352b 2026-04-27 17:49:54,255 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66597932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17862879262362715465', 'uuid-lslong': '11295897704399439545'}, 'enable': 'true', 'created': '2026-04-27T17:49:52', 'last-modified': '2026-04-27T17:49:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974209'} 2026-04-27 17:49:54,261 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 17:49:54,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64298110 passed 2026-04-27 17:49:54,262 - DEBUG - ====Verifying policy data for ctest-vn-64298110 in API_Server ====== 2026-04-27 17:49:54,262 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:49:54,269 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:49:54,281 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:49:54,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f7e5b20c-2ad2-4549-9cc3-171d29e106b9 2026-04-27 17:49:54,363 - DEBUG - ==>Verifying data for policy with id: 59544907-4dc1-4a95-9682-3053fd23b61b, fqn: ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-policy-allow-all-40990942'] 2026-04-27 17:49:54,363 - INFO - VN ctest-vn-64298110 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 17:49:54,363 - DEBUG - Verifying the vn in opserver 2026-04-27 17:49:54,364 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110 virtual network link through opserver 10.0.0.38 2026-04-27 17:49:54,364 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 17:49:54,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 17:49:54,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110?flat'} 2026-04-27 17:49:54,741 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110 is found in opserver 2026-04-27 17:49:54,751 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 17:49:54,757 - DEBUG - VRF ids for VN ctest-vn-64298110: {} 2026-04-27 17:49:54,757 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:49:54,765 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:49:54,778 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:49:54,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:54,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:54,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:49:54,887 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:49:54,895 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/944b068a-c5bd-4444-a9ee-542ff6405aa8 2026-04-27 17:49:54,902 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 17:49:54,903 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:54,912 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:49:54,929 - INFO - Verified VN network id 12 for VN 0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:54,930 - INFO - Verifications in API Server for VN ctest-vn-15047568 passed 2026-04-27 17:49:54,930 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:54,939 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:49:54,947 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:49:54,957 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/944b068a-c5bd-4444-a9ee-542ff6405aa8 2026-04-27 17:49:54,971 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-15047568', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66597932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1057554021436116703', 'uuid-lslong': '11106699458081666855'}, 'enable': 'true', 'created': '2026-04-27T17:49:52', 'last-modified': '2026-04-27T17:49:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462388'} 2026-04-27 17:49:54,977 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 17:49:54,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15047568 passed 2026-04-27 17:49:54,978 - DEBUG - ====Verifying policy data for ctest-vn-15047568 in API_Server ====== 2026-04-27 17:49:54,978 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:49:54,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:49:54,997 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:49:55,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 2026-04-27 17:49:55,080 - DEBUG - ==>Verifying data for policy with id: 59544907-4dc1-4a95-9682-3053fd23b61b, fqn: ['default-domain', 'ctest-TestBasicPolicy-66597932', 'ctest-policy-allow-all-40990942'] 2026-04-27 17:49:55,080 - INFO - VN ctest-vn-15047568 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 17:49:55,080 - DEBUG - Verifying the vn in opserver 2026-04-27 17:49:55,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-15047568 virtual network link through opserver 10.0.0.38 2026-04-27 17:49:55,080 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 17:49:55,091 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-15047568', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-15047568?flat'} 2026-04-27 17:49:55,091 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-15047568 is found in opserver 2026-04-27 17:49:55,103 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 17:49:55,108 - DEBUG - VRF ids for VN ctest-vn-15047568: {} 2026-04-27 17:49:55,179 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:49:56,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:49:57,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:49:57,520 - INFO - Waiting for VM ctest-TestBasicPolicy-66597932-52534273 to be up.. 2026-04-27 17:49:57,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:50:02,716 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:50:02,716 - INFO - VM name : ctest-TestBasicPolicy-66597932-52534273 2026-04-27 17:50:02,821 - DEBUG - VM ctest-TestBasicPolicy-66597932-52534273 ID is 1f1e3dee-96d9-489d-b82a-af78444f0c34 2026-04-27 17:50:02,853 - DEBUG - VM ctest-TestBasicPolicy-66597932-52534273 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:50:02,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1f1e3dee-96d9-489d-b82a-af78444f0c34 2026-04-27 17:50:02,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00bbc906-8462-482a-9864-63515aa22fbf 2026-04-27 17:50:06,227 - 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 1029ms') 2026-04-27 17:50:06,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66597932-52534273 failed! 2026-04-27 17:50:06,287 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66597932:ctest-vn-64298110 is 146.151.54.129 and allocation pool is NOT set 2026-04-27 17:50:08,346 - 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=3.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/2.115/3.842/1.727 ms') 2026-04-27 17:50:08,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66597932-52534273 passed 2026-04-27 17:50:08,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:50:08,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66597932-52534273, IP 146.151.54.131, Port 22 2026-04-27 17:50:08,669 - DEBUG - VM ctest-TestBasicPolicy-66597932-52534273 is ready for SSH connections 2026-04-27 17:50:08,669 - INFO - Waiting for VM ctest-TestBasicPolicy-66597932-09260865 to be up.. 2026-04-27 17:50:08,757 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:50:08,757 - INFO - VM name : ctest-TestBasicPolicy-66597932-09260865 2026-04-27 17:50:08,839 - DEBUG - VM ctest-TestBasicPolicy-66597932-09260865 ID is 16cd9324-a0ff-42a8-82f4-cb7e78210220 2026-04-27 17:50:08,840 - DEBUG - VM ctest-TestBasicPolicy-66597932-09260865 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:50:08,930 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/16cd9324-a0ff-42a8-82f4-cb7e78210220 2026-04-27 17:50:08,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ec192723-bde7-4103-a07e-240c512416e9 2026-04-27 17:50:10,187 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.965 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.965/3.358/5.752/2.393 ms') 2026-04-27 17:50:10,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66597932-09260865 passed 2026-04-27 17:50:10,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:50:10,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66597932-09260865, IP 23.220.110.131, Port 22 2026-04-27 17:50:10,409 - 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-04-27 17:50:10,501 - DEBUG - VM ctest-TestBasicPolicy-66597932-09260865 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 17:50:15,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:50:15,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66597932-09260865, IP 23.220.110.131, Port 22 2026-04-27 17:50:15,673 - DEBUG - VM ctest-TestBasicPolicy-66597932-09260865 is ready for SSH connections 2026-04-27 17:50:15,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:50:15,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.220.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:50:15,674 - DEBUG - ping -s 56 -c 3 -W 1 23.220.110.131 2026-04-27 17:50:19,786 - DEBUG - PING 23.220.110.131 (23.220.110.131): 56 data bytes 64 bytes from 23.220.110.131: seq=0 ttl=63 time=4.326 ms 64 bytes from 23.220.110.131: seq=1 ttl=63 time=1.269 ms 64 bytes from 23.220.110.131: seq=2 ttl=63 time=1.334 ms --- 23.220.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.269/2.309/4.326 ms 2026-04-27 17:50:19,786 - INFO - Ping to IP 23.220.110.131 from VM ctest-TestBasicPolicy-66597932-52534273 passed 2026-04-27 17:50:19,983 - DEBUG - Policy Update Response {"network-policy": {"uuid": "59544907-4dc1-4a95-9682-3053fd23b61b", "href": "http://10.0.0.38:8082/network-policy/59544907-4dc1-4a95-9682-3053fd23b61b"}} 2026-04-27 17:50:19,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:50:19,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.220.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:50:19,983 - DEBUG - ping -s 56 -c 3 -W 1 23.220.110.131 2026-04-27 17:50:23,226 - DEBUG - PING 23.220.110.131 (23.220.110.131): 56 data bytes --- 23.220.110.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 17:50:23,226 - WARNING - Ping to IP 23.220.110.131 from VM ctest-TestBasicPolicy-66597932-52534273 failed 2026-04-27 17:50:23,226 - INFO - Deleting VM ctest-TestBasicPolicy-66597932-09260865 2026-04-27 17:50:23,335 - INFO - Deleting VM ctest-TestBasicPolicy-66597932-52534273 2026-04-27 17:50:23,787 - INFO - Deleted policy ctest-policy-allow-all-40990942 2026-04-27 17:50:23,787 - INFO - Deleting VN ctest-vn-15047568 2026-04-27 17:50:23,833 - DEBUG - VN 0ead2fc7-827c-4edf-9a22-ec4fb1fb3727 still in use: Unable to complete operation on network 0ead2fc7-827c-4edf-9a22-ec4fb1fb3727. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45d1dd4f-76a2-4c3a-9d0e-4b9cc7b1c63c'] 2026-04-27 17:50:23,833 - WARNING - Deleting VN ctest-vn-15047568 failed..Will retry 2026-04-27 17:50:25,952 - DEBUG - Response for deleting network () 2026-04-27 17:50:25,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47cf52ce-56fd-4465-a195-8f6472cbc31f 2026-04-27 17:50:25,958 - DEBUG - Response Code: 404 2026-04-27 17:50:25,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:50:25,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:50:26,023 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:50:26,094 - INFO - Validated that VN ctest-vn-15047568 is not found in API Server 2026-04-27 17:50:26,106 - DEBUG - VN ctest-vn-15047568 is not present in Agent 10.0.0.38 2026-04-27 17:50:26,106 - INFO - Validated that VN ctest-vn-15047568 is not in any agent 2026-04-27 17:50:26,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15047568 info 2026-04-27 17:50:26,124 - INFO - Deleting VN ctest-vn-64298110 2026-04-27 17:50:26,239 - DEBUG - Response for deleting network () 2026-04-27 17:50:26,239 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/20cbd90b-4a69-4cac-99ce-eb79d02016c4 2026-04-27 17:50:26,246 - DEBUG - Response Code: 404 2026-04-27 17:50:26,247 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 17:50:26,253 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d6733a4-9353-4790-885b-e35ea19ee8ed 2026-04-27 17:50:26,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/8a032473-f412-468f-823e-13e820fbf586 2026-04-27 17:50:26,380 - INFO - Validated that VN ctest-vn-64298110 is not found in API Server 2026-04-27 17:50:26,391 - DEBUG - VN ctest-vn-64298110 is not present in Agent 10.0.0.38 2026-04-27 17:50:26,391 - INFO - Validated that VN ctest-vn-64298110 is not in any agent 2026-04-27 17:50:26,405 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64298110 info 2026-04-27 17:50:26,662 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:50:26,662 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-27 17:50:26,662 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:50:27,408 - INFO - Deleted project: ctest-TestBasicPolicy-66597932, ID : 8a032473-f412-468f-823e-13e820fbf586