2026-09-21 21:55:43,529 - INFO - Domain Default found not creating 2026-09-21 21:55:43,720 - INFO - Project ctest-TestBasicPolicy-28544775 not found, creating it 2026-09-21 21:55:44,292 - INFO - Created Project:ctest-TestBasicPolicy-28544775, ID : b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:55:46,984 - INFO - ================================================================================ 2026-09-21 21:55:46,984 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-21 21:55:46,984 - 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-09-21 21:55:47,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-21 21:55:47,259 - INFO - Initial checks done. Running the testcase now 2026-09-21 21:55:47,259 - INFO - 2026-09-21 21:55:48,016 - DEBUG - Response for create_network : {'network': {'id': '196e1ae3-2eb8-4582-bc30-d429c5b35fd5', 'name': 'ctest-vn-45834307', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-vn-45834307'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:55:48,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf4bd488-dd87-4302-b41c-2f9b610ab70e', 'name': '', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'network_id': '196e1ae3-2eb8-4582-bc30-d429c5b35fd5', 'ip_version': 4, 'cidr': '91.66.204.192/26', 'allocation_pools': [{'start': '91.66.204.194', 'end': '91.66.204.254'}], 'gateway_ip': '91.66.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.66.204.194', 'tags': [], 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e'}} 2026-09-21 21:55:48,293 - INFO - Created VN ctest-vn-45834307 2026-09-21 21:55:48,346 - DEBUG - VN ctest-vn-45834307 UUID is 196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:48,714 - DEBUG - Response for create_network : {'network': {'id': 'b38bbf7c-e141-494a-a5cf-ca096b49532b', 'name': 'ctest-vn-77574597', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-vn-77574597'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:55:48,936 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2e3d5c0-d1fb-463f-b8f0-8fe6374ccd06', 'name': '', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'network_id': 'b38bbf7c-e141-494a-a5cf-ca096b49532b', 'ip_version': 4, 'cidr': '98.52.147.0/26', 'allocation_pools': [{'start': '98.52.147.2', 'end': '98.52.147.62'}], 'gateway_ip': '98.52.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.52.147.2', 'tags': [], 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e'}} 2026-09-21 21:55:48,963 - INFO - Created VN ctest-vn-77574597 2026-09-21 21:55:49,018 - DEBUG - VN ctest-vn-77574597 UUID is b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:49,149 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307, 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-28544775:ctest-vn-77574597, 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-09-21 21:55:49,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '196e1ae3-2eb8-4582-bc30-d429c5b35fd5', 'name': 'ctest-vn-45834307', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bf4bd488-dd87-4302-b41c-2f9b610ab70e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-vn-45834307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-policy-allow-all-86646725']], 'subnet_ipam': [{'subnet_cidr': '91.66.204.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:55:49,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b38bbf7c-e141-494a-a5cf-ca096b49532b', 'name': 'ctest-vn-77574597', 'tenant_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'project_id': 'b05c474afcda48ca8a89d74fd38aad0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d2e3d5c0-d1fb-463f-b8f0-8fe6374ccd06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-vn-77574597'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-policy-allow-all-86646725']], 'subnet_ipam': [{'subnet_cidr': '98.52.147.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:55:49,954 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:55:50,347 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:55:50,382 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:55:50,396 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:55:50,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,495 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,506 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:55:50,518 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:55:50,526 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/3f6e49ad-c91e-4229-8853-d40e22599c00 2026-09-21 21:55:50,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-21 21:55:50,534 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,545 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:55:50,563 - INFO - Verified VN network id 12 for VN 196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,563 - INFO - Verifications in API Server for VN ctest-vn-45834307 passed 2026-09-21 21:55:50,563 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,575 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:55:50,585 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:55:50,595 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/3f6e49ad-c91e-4229-8853-d40e22599c00 2026-09-21 21:55:50,611 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28544775', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1832431661430097282', 'uuid-lslong': '13560571753888178133'}, 'enable': 'true', 'created': '2026-09-21T21:55:47', 'last-modified': '2026-09-21T21:55:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.136422'} 2026-09-21 21:55:50,621 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-21 21:55:50,621 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45834307 passed 2026-09-21 21:55:50,621 - DEBUG - ====Verifying policy data for ctest-vn-45834307 in API_Server ====== 2026-09-21 21:55:50,621 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:55:50,629 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:55:50,642 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:55:50,725 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/196e1ae3-2eb8-4582-bc30-d429c5b35fd5 2026-09-21 21:55:50,739 - DEBUG - ==>Verifying data for policy with id: aaf06421-08c1-434f-8e5f-40b2974b4620, fqn: ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-policy-allow-all-86646725'] 2026-09-21 21:55:50,739 - INFO - VN ctest-vn-45834307 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-21 21:55:50,739 - DEBUG - Verifying the vn in opserver 2026-09-21 21:55:50,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307 virtual network link through opserver 10.0.0.161 2026-09-21 21:55:50,739 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 21:55:51,126 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 21:55:51,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307?flat'} 2026-09-21 21:55:51,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307 is found in opserver 2026-09-21 21:55:51,199 - DEBUG - Do not have enough data to verify VN in agent 2026-09-21 21:55:51,204 - DEBUG - VRF ids for VN ctest-vn-45834307: {} 2026-09-21 21:55:51,204 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:55:51,210 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:55:51,222 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:55:51,307 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,324 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,336 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:55:51,347 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:55:51,356 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/84c82df9-3a52-4857-93ea-9273102d7346 2026-09-21 21:55:51,365 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-21 21:55:51,365 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,378 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:55:51,397 - INFO - Verified VN network id 13 for VN b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,397 - INFO - Verifications in API Server for VN ctest-vn-77574597 passed 2026-09-21 21:55:51,398 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,414 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:55:51,423 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:55:51,434 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/84c82df9-3a52-4857-93ea-9273102d7346 2026-09-21 21:55:51,451 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-77574597', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28544775', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12937644897627883850', 'uuid-lslong': '11947990478240699179'}, 'enable': 'true', 'created': '2026-09-21T21:55:48', 'last-modified': '2026-09-21T21:55:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.697331'} 2026-09-21 21:55:51,459 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-21 21:55:51,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77574597 passed 2026-09-21 21:55:51,460 - DEBUG - ====Verifying policy data for ctest-vn-77574597 in API_Server ====== 2026-09-21 21:55:51,460 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:55:51,468 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:55:51,481 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:55:51,573 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b38bbf7c-e141-494a-a5cf-ca096b49532b 2026-09-21 21:55:51,584 - DEBUG - ==>Verifying data for policy with id: aaf06421-08c1-434f-8e5f-40b2974b4620, fqn: ['default-domain', 'ctest-TestBasicPolicy-28544775', 'ctest-policy-allow-all-86646725'] 2026-09-21 21:55:51,584 - INFO - VN ctest-vn-77574597 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-21 21:55:51,584 - DEBUG - Verifying the vn in opserver 2026-09-21 21:55:51,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-77574597 virtual network link through opserver 10.0.0.161 2026-09-21 21:55:51,584 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 21:55:51,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-77574597', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-77574597?flat'} 2026-09-21 21:55:51,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-77574597 is found in opserver 2026-09-21 21:55:51,612 - DEBUG - Do not have enough data to verify VN in agent 2026-09-21 21:55:51,619 - DEBUG - VRF ids for VN ctest-vn-77574597: {} 2026-09-21 21:55:51,705 - DEBUG - Services list from nova: [, , ] 2026-09-21 21:55:52,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6316-1) 2026-09-21 21:55:52,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6316-1) 2026-09-21 21:55:52,718 - INFO - Waiting for VM ctest-TestBasicPolicy-28544775-98127527 to be up.. 2026-09-21 21:55:52,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:55:57,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:02,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:08,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:13,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:18,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:23,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:28,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:56:33,630 - DEBUG - VM is in ACTIVE state now 2026-09-21 21:56:33,630 - INFO - VM name : ctest-TestBasicPolicy-28544775-98127527 2026-09-21 21:56:33,740 - DEBUG - VM ctest-TestBasicPolicy-28544775-98127527 ID is 23bed5a7-e4c9-40fa-ba49-36b8a6f65dc0 2026-09-21 21:56:33,776 - DEBUG - VM ctest-TestBasicPolicy-28544775-98127527 launched on Node cn-jenkins-deploy-platform-ansible-os-6316-1 2026-09-21 21:56:33,890 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/23bed5a7-e4c9-40fa-ba49-36b8a6f65dc0 2026-09-21 21:56:33,903 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1fd334a2-a58e-4b29-be96-a2d1fdf5e635 2026-09-21 21:56:37,206 - 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 1017ms') 2026-09-21 21:56:37,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28544775-98127527 failed! 2026-09-21 21:56:37,266 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28544775:ctest-vn-45834307 is 91.66.204.193 and allocation pool is NOT set 2026-09-21 21:56:39,337 - 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=16.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.469/9.821/16.174/6.352 ms') 2026-09-21 21:56:39,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28544775-98127527 passed 2026-09-21 21:56:39,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:56:39,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28544775-98127527, IP 91.66.204.195, Port 22 2026-09-21 21:56:39,565 - 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-09-21 21:56:39,671 - DEBUG - VM ctest-TestBasicPolicy-28544775-98127527 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-21 21:56:44,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:56:44,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28544775-98127527, IP 91.66.204.195, Port 22 2026-09-21 21:56:44,849 - DEBUG - VM ctest-TestBasicPolicy-28544775-98127527 is ready for SSH connections 2026-09-21 21:56:44,849 - INFO - Waiting for VM ctest-TestBasicPolicy-28544775-42851079 to be up.. 2026-09-21 21:56:44,969 - DEBUG - VM is in ACTIVE state now 2026-09-21 21:56:44,969 - INFO - VM name : ctest-TestBasicPolicy-28544775-42851079 2026-09-21 21:56:45,095 - DEBUG - VM ctest-TestBasicPolicy-28544775-42851079 ID is 0a2801f8-5a00-4b61-9faa-24b1d101000a 2026-09-21 21:56:45,095 - DEBUG - VM ctest-TestBasicPolicy-28544775-42851079 launched on Node cn-jenkins-deploy-platform-ansible-os-6316-1 2026-09-21 21:56:45,216 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/0a2801f8-5a00-4b61-9faa-24b1d101000a 2026-09-21 21:56:45,231 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/d499b4aa-2c71-4c68-8f62-7b899f146e43 2026-09-21 21:56:46,507 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.804 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.804/3.199/5.595/2.395 ms') 2026-09-21 21:56:46,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28544775-42851079 passed 2026-09-21 21:56:46,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:56:46,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28544775-42851079, IP 98.52.147.3, Port 22 2026-09-21 21:56:46,852 - DEBUG - VM ctest-TestBasicPolicy-28544775-42851079 is ready for SSH connections 2026-09-21 21:56:46,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:56:46,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.52.147.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 21:56:46,852 - DEBUG - ping -s 56 -c 3 -W 1 98.52.147.3 2026-09-21 21:56:51,124 - DEBUG - PING 98.52.147.3 (98.52.147.3): 56 data bytes 64 bytes from 98.52.147.3: seq=0 ttl=63 time=5.038 ms 64 bytes from 98.52.147.3: seq=1 ttl=63 time=1.494 ms 64 bytes from 98.52.147.3: seq=2 ttl=63 time=1.397 ms --- 98.52.147.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.397/2.643/5.038 ms 2026-09-21 21:56:51,124 - INFO - Ping to IP 98.52.147.3 from VM ctest-TestBasicPolicy-28544775-98127527 passed 2026-09-21 21:56:51,338 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aaf06421-08c1-434f-8e5f-40b2974b4620", "href": "http://10.0.0.161:8082/network-policy/aaf06421-08c1-434f-8e5f-40b2974b4620"}} 2026-09-21 21:56:51,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:56:51,338 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.52.147.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 21:56:51,338 - DEBUG - ping -s 56 -c 3 -W 1 98.52.147.3 2026-09-21 21:56:54,505 - DEBUG - PING 98.52.147.3 (98.52.147.3): 56 data bytes 64 bytes from 98.52.147.3: seq=0 ttl=63 time=2.440 ms --- 98.52.147.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.440/2.440/2.440 ms 2026-09-21 21:56:54,505 - WARNING - Ping to IP 98.52.147.3 from VM ctest-TestBasicPolicy-28544775-98127527 failed 2026-09-21 21:56:54,505 - INFO - Deleting VM ctest-TestBasicPolicy-28544775-42851079 2026-09-21 21:56:54,597 - INFO - Deleting VM ctest-TestBasicPolicy-28544775-98127527 2026-09-21 21:56:55,190 - INFO - Deleted policy ctest-policy-allow-all-86646725 2026-09-21 21:56:55,190 - INFO - Deleting VN ctest-vn-77574597 2026-09-21 21:56:55,253 - DEBUG - VN b38bbf7c-e141-494a-a5cf-ca096b49532b still in use: Unable to complete operation on network b38bbf7c-e141-494a-a5cf-ca096b49532b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e32aba2-aaa8-44b2-9a87-1055cc9492c7'] 2026-09-21 21:56:55,254 - WARNING - Deleting VN ctest-vn-77574597 failed..Will retry 2026-09-21 21:56:57,430 - DEBUG - Response for deleting network () 2026-09-21 21:56:57,430 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/416f3ee8-b15f-4478-ad56-3ec9b8441ae0 2026-09-21 21:56:57,441 - DEBUG - Response Code: 404 2026-09-21 21:56:57,441 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:56:57,451 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:56:57,512 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:56:57,608 - INFO - Validated that VN ctest-vn-77574597 is not found in API Server 2026-09-21 21:56:57,629 - DEBUG - VN ctest-vn-77574597 is not present in Agent 10.0.0.161 2026-09-21 21:56:57,631 - INFO - Validated that VN ctest-vn-77574597 is not in any agent 2026-09-21 21:56:57,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77574597 info 2026-09-21 21:56:57,656 - INFO - Deleting VN ctest-vn-45834307 2026-09-21 21:56:57,834 - DEBUG - Response for deleting network () 2026-09-21 21:56:57,834 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89affec8-571a-4cfd-9a6d-a13944695eb4 2026-09-21 21:56:57,842 - DEBUG - Response Code: 404 2026-09-21 21:56:57,843 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 21:56:57,854 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ff1525e9-65bc-4bb1-ba43-a4fad53c01fa 2026-09-21 21:56:57,912 - DEBUG - Requesting: http://10.0.0.161:8082/project/b05c474a-fcda-48ca-8a89-d74fd38aad0e 2026-09-21 21:56:58,023 - INFO - Validated that VN ctest-vn-45834307 is not found in API Server 2026-09-21 21:56:58,040 - DEBUG - VN ctest-vn-45834307 is not present in Agent 10.0.0.161 2026-09-21 21:56:58,040 - INFO - Validated that VN ctest-vn-45834307 is not in any agent 2026-09-21 21:56:58,063 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45834307 info 2026-09-21 21:56:58,351 - DEBUG - No XMPP flaps were noticed during the test 2026-09-21 21:56:58,351 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-09-21 21:56:58,351 - INFO - -------------------------------------------------------------------------------- 2026-09-21 21:56:59,282 - INFO - Deleted project: ctest-TestBasicPolicy-28544775, ID : b05c474a-fcda-48ca-8a89-d74fd38aad0e