2026-11-16 14:38:28,611 - INFO - Domain Default found not creating 2026-11-16 14:38:28,772 - INFO - Project ctest-TestBasicPolicy-77279270 not found, creating it 2026-11-16 14:38:29,262 - INFO - Created Project:ctest-TestBasicPolicy-77279270, ID : 13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:38:31,002 - INFO - ================================================================================ 2026-11-16 14:38:31,002 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-16 14:38:31,002 - 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-11-16 14:38:31,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.254': '0'}} with 2026-11-16 14:38:31,270 - INFO - Initial checks done. Running the testcase now 2026-11-16 14:38:31,270 - INFO - 2026-11-16 14:38:31,910 - DEBUG - Response for create_network : {'network': {'id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'name': 'ctest-vn-80495939', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-80495939'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 14:38:32,136 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eadf4768-a7ca-4b3f-a8e3-ecb70149c16c', 'name': '', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'network_id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'ip_version': 4, 'cidr': '74.119.193.192/26', 'allocation_pools': [{'start': '74.119.193.194', 'end': '74.119.193.254'}], 'gateway_ip': '74.119.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.119.193.194', 'tags': [], 'project_id': '13780425b5674e1e826b87fc4ef341aa'}} 2026-11-16 14:38:32,157 - INFO - Created VN ctest-vn-80495939 2026-11-16 14:38:32,212 - DEBUG - VN ctest-vn-80495939 UUID is 89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:32,505 - DEBUG - Response for create_network : {'network': {'id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'name': 'ctest-vn-11209519', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-11209519'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 14:38:32,714 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f01e2085-0fdf-4c1c-b0db-b836fc20515c', 'name': '', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'network_id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'ip_version': 4, 'cidr': '147.95.138.128/26', 'allocation_pools': [{'start': '147.95.138.130', 'end': '147.95.138.190'}], 'gateway_ip': '147.95.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.95.138.130', 'tags': [], 'project_id': '13780425b5674e1e826b87fc4ef341aa'}} 2026-11-16 14:38:32,730 - INFO - Created VN ctest-vn-11209519 2026-11-16 14:38:32,784 - DEBUG - VN ctest-vn-11209519 UUID is 9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:32,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939, 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-77279270:ctest-vn-11209519, 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-11-16 14:38:33,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'name': 'ctest-vn-80495939', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eadf4768-a7ca-4b3f-a8e3-ecb70149c16c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-80495939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']], 'subnet_ipam': [{'subnet_cidr': '74.119.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 14:38:33,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'name': 'ctest-vn-11209519', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f01e2085-0fdf-4c1c-b0db-b836fc20515c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-11209519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']], 'subnet_ipam': [{'subnet_cidr': '147.95.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 14:38:33,624 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:38:33,998 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:38:34,027 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:38:34,042 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:38:34,126 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,142 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,154 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:38:34,162 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:38:34,171 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/fc44b142-d5d5-4f0b-aef6-cf0189730960 2026-11-16 14:38:34,179 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 14:38:34,179 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,191 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:38:34,206 - INFO - Verified VN network id 12 for VN 89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,207 - INFO - Verifications in API Server for VN ctest-vn-80495939 passed 2026-11-16 14:38:34,207 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,215 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:38:34,221 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:38:34,226 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/fc44b142-d5d5-4f0b-aef6-cf0189730960 2026-11-16 14:38:34,237 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77279270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9931492905091681217', 'uuid-lslong': '10907035831365298973'}, 'enable': 'true', 'created': '2026-11-16T14:38:31', 'last-modified': '2026-11-16T14:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055162'} 2026-11-16 14:38:34,243 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 14:38:34,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80495939 passed 2026-11-16 14:38:34,244 - DEBUG - ====Verifying policy data for ctest-vn-80495939 in API_Server ====== 2026-11-16 14:38:34,244 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:38:34,249 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:38:34,258 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:38:34,333 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d 2026-11-16 14:38:34,343 - DEBUG - ==>Verifying data for policy with id: 1341d3f5-a983-4306-b8c3-87942330894d, fqn: ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332'] 2026-11-16 14:38:34,343 - INFO - VN ctest-vn-80495939 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 14:38:34,343 - DEBUG - Verifying the vn in opserver 2026-11-16 14:38:34,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939 virtual network link through opserver 10.0.0.186 2026-11-16 14:38:34,343 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-16 14:38:34,705 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-16 14:38:34,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939?flat'} 2026-11-16 14:38:34,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939 is found in opserver 2026-11-16 14:38:34,773 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 14:38:34,778 - DEBUG - VRF ids for VN ctest-vn-80495939: {} 2026-11-16 14:38:34,778 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:38:34,783 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:38:34,794 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:38:34,870 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:34,885 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:34,896 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:38:34,906 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:38:34,915 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/8d0be49c-cc97-44b5-a241-c4fbfd65b244 2026-11-16 14:38:34,922 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-16 14:38:34,922 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:34,932 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:38:34,946 - INFO - Verified VN network id 13 for VN 9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:34,946 - INFO - Verifications in API Server for VN ctest-vn-11209519 passed 2026-11-16 14:38:34,946 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:34,956 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:38:34,963 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:38:34,972 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/8d0be49c-cc97-44b5-a241-c4fbfd65b244 2026-11-16 14:38:34,986 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77279270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11457132895346706979', 'uuid-lslong': '13159433171568662662'}, 'enable': 'true', 'created': '2026-11-16T14:38:32', 'last-modified': '2026-11-16T14:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541652'} 2026-11-16 14:38:34,993 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-16 14:38:34,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11209519 passed 2026-11-16 14:38:34,993 - DEBUG - ====Verifying policy data for ctest-vn-11209519 in API_Server ====== 2026-11-16 14:38:34,993 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:38:34,999 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:38:35,010 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:38:35,089 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886 2026-11-16 14:38:35,100 - DEBUG - ==>Verifying data for policy with id: 1341d3f5-a983-4306-b8c3-87942330894d, fqn: ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332'] 2026-11-16 14:38:35,100 - INFO - VN ctest-vn-11209519 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 14:38:35,100 - DEBUG - Verifying the vn in opserver 2026-11-16 14:38:35,100 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519 virtual network link through opserver 10.0.0.186 2026-11-16 14:38:35,100 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-16 14:38:35,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519?flat'} 2026-11-16 14:38:35,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519 is found in opserver 2026-11-16 14:38:35,119 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 14:38:35,123 - DEBUG - VRF ids for VN ctest-vn-11209519: {} 2026-11-16 14:38:35,176 - DEBUG - Services list from nova: [, , ] 2026-11-16 14:38:35,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6506-1) 2026-11-16 14:38:36,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6506-1) 2026-11-16 14:38:36,020 - INFO - Waiting for VM ctest-TestBasicPolicy-77279270-74536778 to be up.. 2026-11-16 14:38:36,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:38:41,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:38:46,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:38:51,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:38:56,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:39:01,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:39:06,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:39:11,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 14:39:16,813 - DEBUG - VM is in ACTIVE state now 2026-11-16 14:39:16,813 - INFO - VM name : ctest-TestBasicPolicy-77279270-74536778 2026-11-16 14:39:16,901 - DEBUG - VM ctest-TestBasicPolicy-77279270-74536778 ID is 7aecd855-140a-4ded-8e02-8dcfdbf5f7af 2026-11-16 14:39:16,928 - DEBUG - VM ctest-TestBasicPolicy-77279270-74536778 launched on Node cn-jenkins-deploy-platform-ansible-os-6506-1 2026-11-16 14:39:17,027 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/7aecd855-140a-4ded-8e02-8dcfdbf5f7af 2026-11-16 14:39:17,037 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/4d410d2c-9bce-4f0d-a98a-ed8c9e2bd46b 2026-11-16 14:39:20,331 - 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 1034ms') 2026-11-16 14:39:20,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77279270-74536778 failed! 2026-11-16 14:39:20,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939 is 74.119.193.193 and allocation pool is NOT set 2026-11-16 14:39:22,456 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/6.665/12.876/6.211 ms') 2026-11-16 14:39:22,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77279270-74536778 passed 2026-11-16 14:39:22,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 14:39:22,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77279270-74536778, IP 74.119.193.195, Port 22 2026-11-16 14:39:22,674 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-16 14:39:22,757 - DEBUG - VM ctest-TestBasicPolicy-77279270-74536778 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 14:39:27,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 14:39:27,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77279270-74536778, IP 74.119.193.195, Port 22 2026-11-16 14:39:27,926 - DEBUG - VM ctest-TestBasicPolicy-77279270-74536778 is ready for SSH connections 2026-11-16 14:39:27,926 - INFO - Waiting for VM ctest-TestBasicPolicy-77279270-65793504 to be up.. 2026-11-16 14:39:28,010 - DEBUG - VM is in ACTIVE state now 2026-11-16 14:39:28,010 - INFO - VM name : ctest-TestBasicPolicy-77279270-65793504 2026-11-16 14:39:28,088 - DEBUG - VM ctest-TestBasicPolicy-77279270-65793504 ID is 4b153e9b-d725-4292-88bb-2fb6feb79822 2026-11-16 14:39:28,089 - DEBUG - VM ctest-TestBasicPolicy-77279270-65793504 launched on Node cn-jenkins-deploy-platform-ansible-os-6506-1 2026-11-16 14:39:28,166 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/4b153e9b-d725-4292-88bb-2fb6feb79822 2026-11-16 14:39:28,174 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/66a4a024-c973-4fb7-99a6-7ea84a501c2c 2026-11-16 14:39:29,413 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/2.175/3.928/1.753 ms') 2026-11-16 14:39:29,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77279270-65793504 passed 2026-11-16 14:39:29,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 14:39:29,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77279270-65793504, IP 147.95.138.131, Port 22 2026-11-16 14:39:29,734 - DEBUG - VM ctest-TestBasicPolicy-77279270-65793504 is ready for SSH connections 2026-11-16 14:39:29,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 14:39:29,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.95.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-11-16 14:39:29,734 - DEBUG - ping -s 56 -c 3 -W 1 147.95.138.131 2026-11-16 14:39:33,825 - DEBUG - PING 147.95.138.131 (147.95.138.131): 56 data bytes 64 bytes from 147.95.138.131: seq=0 ttl=63 time=4.485 ms 64 bytes from 147.95.138.131: seq=1 ttl=63 time=0.997 ms 64 bytes from 147.95.138.131: seq=2 ttl=63 time=1.061 ms --- 147.95.138.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/2.181/4.485 ms 2026-11-16 14:39:33,826 - INFO - Ping to IP 147.95.138.131 from VM ctest-TestBasicPolicy-77279270-74536778 passed 2026-11-16 14:39:34,008 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1341d3f5-a983-4306-b8c3-87942330894d", "href": "http://10.0.0.186:8082/network-policy/1341d3f5-a983-4306-b8c3-87942330894d"}} 2026-11-16 14:39:34,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 14:39:34,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.95.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-11-16 14:39:34,008 - DEBUG - ping -s 56 -c 3 -W 1 147.95.138.131 2026-11-16 14:39:37,148 - DEBUG - PING 147.95.138.131 (147.95.138.131): 56 data bytes 64 bytes from 147.95.138.131: seq=0 ttl=63 time=1.458 ms --- 147.95.138.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.458/1.458/1.458 ms 2026-11-16 14:39:37,148 - WARNING - Ping to IP 147.95.138.131 from VM ctest-TestBasicPolicy-77279270-74536778 failed 2026-11-16 14:39:37,148 - INFO - Deleting VM ctest-TestBasicPolicy-77279270-65793504 2026-11-16 14:39:37,222 - INFO - Deleting VM ctest-TestBasicPolicy-77279270-74536778 2026-11-16 14:39:37,573 - INFO - Deleted policy ctest-policy-allow-all-00884332 2026-11-16 14:39:37,573 - INFO - Deleting VN ctest-vn-11209519 2026-11-16 14:39:37,609 - DEBUG - VN 9effe9aa-7395-4a23-b69f-b2bf74d79886 still in use: Unable to complete operation on network 9effe9aa-7395-4a23-b69f-b2bf74d79886. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd4fda40-00eb-481f-857d-b6b29b9f0c2f'] 2026-11-16 14:39:37,609 - WARNING - Deleting VN ctest-vn-11209519 failed..Will retry 2026-11-16 14:39:39,647 - DEBUG - VN 9effe9aa-7395-4a23-b69f-b2bf74d79886 still in use: Unable to complete operation on network 9effe9aa-7395-4a23-b69f-b2bf74d79886. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1b68727-5681-4e0b-a8da-05c4045ac162'] 2026-11-16 14:39:39,648 - WARNING - Deleting VN ctest-vn-11209519 failed..Will retry 2026-11-16 14:39:41,774 - DEBUG - Response for deleting network () 2026-11-16 14:39:41,774 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0 2026-11-16 14:39:41,780 - DEBUG - Response Code: 404 2026-11-16 14:39:41,780 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:39:41,786 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:39:41,843 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:39:41,919 - INFO - Validated that VN ctest-vn-11209519 is not found in API Server 2026-11-16 14:39:41,931 - DEBUG - VN ctest-vn-11209519 is not present in Agent 10.0.0.186 2026-11-16 14:39:41,931 - INFO - Validated that VN ctest-vn-11209519 is not in any agent 2026-11-16 14:39:41,948 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11209519 info 2026-11-16 14:39:41,948 - INFO - Deleting VN ctest-vn-80495939 2026-11-16 14:39:42,084 - DEBUG - Response for deleting network () 2026-11-16 14:39:42,084 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56 2026-11-16 14:39:42,090 - DEBUG - Response Code: 404 2026-11-16 14:39:42,091 - DEBUG - Requesting: http://10.0.0.186:8082/domains 2026-11-16 14:39:42,097 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a 2026-11-16 14:39:42,154 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa 2026-11-16 14:39:42,240 - INFO - Validated that VN ctest-vn-80495939 is not found in API Server 2026-11-16 14:39:42,251 - DEBUG - VN ctest-vn-80495939 is not present in Agent 10.0.0.186 2026-11-16 14:39:42,251 - INFO - Validated that VN ctest-vn-80495939 is not in any agent 2026-11-16 14:39:42,271 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80495939 info 2026-11-16 14:39:42,534 - DEBUG - No XMPP flaps were noticed during the test 2026-11-16 14:39:42,534 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-11-16 14:39:42,534 - INFO - -------------------------------------------------------------------------------- 2026-11-16 14:39:43,291 - INFO - Deleted project: ctest-TestBasicPolicy-77279270, ID : 13780425-b567-4e1e-826b-87fc4ef341aa