2026-09-22 13:04:51,678 - INFO - Domain Default found not creating 2026-09-22 13:04:51,881 - INFO - Project ctest-TestBasicPolicy-40787480 not found, creating it 2026-09-22 13:04:52,410 - INFO - Created Project:ctest-TestBasicPolicy-40787480, ID : 43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:04:54,265 - INFO - ================================================================================ 2026-09-22 13:04:54,265 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-22 13:04:54,265 - 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-22 13:04:54,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-22 13:04:54,542 - INFO - Initial checks done. Running the testcase now 2026-09-22 13:04:54,542 - INFO - 2026-09-22 13:04:55,235 - DEBUG - Response for create_network : {'network': {'id': 'f574a2ab-24bd-41d0-b539-f531ade33e57', 'name': 'ctest-vn-13654694', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-vn-13654694'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:04:55,416 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be4b9876-8145-4f8c-8b30-5f2101e249ac', 'name': '', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'network_id': 'f574a2ab-24bd-41d0-b539-f531ade33e57', 'ip_version': 4, 'cidr': '36.237.195.64/26', 'allocation_pools': [{'start': '36.237.195.66', 'end': '36.237.195.126'}], 'gateway_ip': '36.237.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.237.195.66', 'tags': [], 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7'}} 2026-09-22 13:04:55,442 - INFO - Created VN ctest-vn-13654694 2026-09-22 13:04:55,499 - DEBUG - VN ctest-vn-13654694 UUID is f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:55,863 - DEBUG - Response for create_network : {'network': {'id': 'e8e2ba38-4f12-4d54-9024-d217924e5f39', 'name': 'ctest-vn-71123132', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-vn-71123132'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:04:56,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c415a96b-c733-469c-a680-ccb095629d9a', 'name': '', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'network_id': 'e8e2ba38-4f12-4d54-9024-d217924e5f39', 'ip_version': 4, 'cidr': '31.159.152.64/26', 'allocation_pools': [{'start': '31.159.152.66', 'end': '31.159.152.126'}], 'gateway_ip': '31.159.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.159.152.66', 'tags': [], 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7'}} 2026-09-22 13:04:56,115 - INFO - Created VN ctest-vn-71123132 2026-09-22 13:04:56,171 - DEBUG - VN ctest-vn-71123132 UUID is e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:56,301 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694, 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-40787480:ctest-vn-71123132, 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-22 13:04:56,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f574a2ab-24bd-41d0-b539-f531ade33e57', 'name': 'ctest-vn-13654694', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['be4b9876-8145-4f8c-8b30-5f2101e249ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-vn-13654694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-policy-allow-all-11288978']], 'subnet_ipam': [{'subnet_cidr': '36.237.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:04:56,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8e2ba38-4f12-4d54-9024-d217924e5f39', 'name': 'ctest-vn-71123132', 'tenant_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'project_id': '43b5f423bc5b4e739df57ff0ef1d1bc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c415a96b-c733-469c-a680-ccb095629d9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-vn-71123132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-policy-allow-all-11288978']], 'subnet_ipam': [{'subnet_cidr': '31.159.152.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:04:57,087 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:04:57,471 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:04:57,508 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:04:57,526 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:04:57,618 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,633 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,646 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:04:57,658 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:04:57,670 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8802fa55-7ab1-471c-a38c-773d5e334369 2026-09-22 13:04:57,680 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 13:04:57,680 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,693 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:04:57,712 - INFO - Verified VN network id 12 for VN f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,712 - INFO - Verifications in API Server for VN ctest-vn-13654694 passed 2026-09-22 13:04:57,712 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,725 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:04:57,736 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:04:57,747 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8802fa55-7ab1-471c-a38c-773d5e334369 2026-09-22 13:04:57,765 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40787480', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17686940492530270672', 'uuid-lslong': '13058738188257017431'}, 'enable': 'true', 'created': '2026-09-22T13:04:55', 'last-modified': '2026-09-22T13:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.152827'} 2026-09-22 13:04:57,774 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 13:04:57,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13654694 passed 2026-09-22 13:04:57,775 - DEBUG - ====Verifying policy data for ctest-vn-13654694 in API_Server ====== 2026-09-22 13:04:57,775 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:04:57,782 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:04:57,795 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:04:57,878 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f574a2ab-24bd-41d0-b539-f531ade33e57 2026-09-22 13:04:57,890 - DEBUG - ==>Verifying data for policy with id: d207e5ef-9edc-4ab8-9b97-99c451314c50, fqn: ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-policy-allow-all-11288978'] 2026-09-22 13:04:57,890 - INFO - VN ctest-vn-13654694 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 13:04:57,890 - DEBUG - Verifying the vn in opserver 2026-09-22 13:04:57,890 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694 virtual network link through opserver 10.0.0.161 2026-09-22 13:04:57,890 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 13:04:58,258 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 13:04:58,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694?flat'} 2026-09-22 13:04:58,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694 is found in opserver 2026-09-22 13:04:58,338 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 13:04:58,345 - DEBUG - VRF ids for VN ctest-vn-13654694: {} 2026-09-22 13:04:58,345 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:04:58,352 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:04:58,364 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:04:58,457 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,475 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,492 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:04:58,504 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:04:58,515 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/0c79d8fd-1372-4adf-965b-66ef8b571ef4 2026-09-22 13:04:58,523 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 13:04:58,523 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,536 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:04:58,555 - INFO - Verified VN network id 13 for VN e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,555 - INFO - Verifications in API Server for VN ctest-vn-71123132 passed 2026-09-22 13:04:58,555 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,568 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:04:58,578 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:04:58,587 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/0c79d8fd-1372-4adf-965b-66ef8b571ef4 2026-09-22 13:04:58,603 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-71123132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40787480', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16781179912543423828', 'uuid-lslong': '10386657639303896889'}, 'enable': 'true', 'created': '2026-09-22T13:04:55', 'last-modified': '2026-09-22T13:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.727638'} 2026-09-22 13:04:58,612 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 13:04:58,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71123132 passed 2026-09-22 13:04:58,612 - DEBUG - ====Verifying policy data for ctest-vn-71123132 in API_Server ====== 2026-09-22 13:04:58,612 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:04:58,619 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:04:58,633 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:04:58,713 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e8e2ba38-4f12-4d54-9024-d217924e5f39 2026-09-22 13:04:58,726 - DEBUG - ==>Verifying data for policy with id: d207e5ef-9edc-4ab8-9b97-99c451314c50, fqn: ['default-domain', 'ctest-TestBasicPolicy-40787480', 'ctest-policy-allow-all-11288978'] 2026-09-22 13:04:58,726 - INFO - VN ctest-vn-71123132 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 13:04:58,726 - DEBUG - Verifying the vn in opserver 2026-09-22 13:04:58,726 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-71123132 virtual network link through opserver 10.0.0.161 2026-09-22 13:04:58,726 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 13:04:58,740 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-71123132', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-71123132?flat'} 2026-09-22 13:04:58,740 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-71123132 is found in opserver 2026-09-22 13:04:58,755 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 13:04:58,761 - DEBUG - VRF ids for VN ctest-vn-71123132: {} 2026-09-22 13:04:58,839 - DEBUG - Services list from nova: [, , ] 2026-09-22 13:04:59,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6318-1) 2026-09-22 13:04:59,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6318-1) 2026-09-22 13:04:59,740 - INFO - Waiting for VM ctest-TestBasicPolicy-40787480-81069806 to be up.. 2026-09-22 13:04:59,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:04,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:10,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:15,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:20,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:25,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:30,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:35,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:05:40,682 - DEBUG - VM is in ACTIVE state now 2026-09-22 13:05:40,682 - INFO - VM name : ctest-TestBasicPolicy-40787480-81069806 2026-09-22 13:05:40,816 - DEBUG - VM ctest-TestBasicPolicy-40787480-81069806 ID is bfc88d06-30a1-46ef-ac64-dfd5f6967141 2026-09-22 13:05:40,846 - DEBUG - VM ctest-TestBasicPolicy-40787480-81069806 launched on Node cn-jenkins-deploy-platform-ansible-os-6318-1 2026-09-22 13:05:40,962 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/bfc88d06-30a1-46ef-ac64-dfd5f6967141 2026-09-22 13:05:40,978 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0b0d31a2-a2e6-48ca-a0f6-5498c023749a 2026-09-22 13:05:44,273 - 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 1023ms') 2026-09-22 13:05:44,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40787480-81069806 failed! 2026-09-22 13:05:44,332 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694 is 36.237.195.65 and allocation pool is NOT set 2026-09-22 13:05:48,404 - 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 1006ms') 2026-09-22 13:05:48,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40787480-81069806 failed! 2026-09-22 13:05:48,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40787480:ctest-vn-13654694 is 36.237.195.65 and allocation pool is NOT set 2026-09-22 13:05:50,536 - 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=6.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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 = 2.758/4.522/6.286/1.764 ms') 2026-09-22 13:05:50,536 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40787480-81069806 passed 2026-09-22 13:05:50,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:05:50,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40787480-81069806, IP 36.237.195.67, Port 22 2026-09-22 13:05:50,766 - 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-22 13:05:50,870 - DEBUG - VM ctest-TestBasicPolicy-40787480-81069806 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-22 13:05:55,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:05:55,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40787480-81069806, IP 36.237.195.67, Port 22 2026-09-22 13:05:56,041 - DEBUG - VM ctest-TestBasicPolicy-40787480-81069806 is ready for SSH connections 2026-09-22 13:05:56,041 - INFO - Waiting for VM ctest-TestBasicPolicy-40787480-51814043 to be up.. 2026-09-22 13:05:56,140 - DEBUG - VM is in ACTIVE state now 2026-09-22 13:05:56,140 - INFO - VM name : ctest-TestBasicPolicy-40787480-51814043 2026-09-22 13:05:56,243 - DEBUG - VM ctest-TestBasicPolicy-40787480-51814043 ID is 1698afa2-7adf-4ce6-9d8d-8483ad436d3d 2026-09-22 13:05:56,243 - DEBUG - VM ctest-TestBasicPolicy-40787480-51814043 launched on Node cn-jenkins-deploy-platform-ansible-os-6318-1 2026-09-22 13:05:56,343 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1698afa2-7adf-4ce6-9d8d-8483ad436d3d 2026-09-22 13:05:56,355 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c6f85ae1-a1a2-4ea8-add6-c4b3023e9530 2026-09-22 13:05:57,617 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.612 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.612/2.684/4.756/2.072 ms') 2026-09-22 13:05:57,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40787480-51814043 passed 2026-09-22 13:05:57,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:05:57,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40787480-51814043, IP 31.159.152.67, Port 22 2026-09-22 13:05:57,954 - DEBUG - VM ctest-TestBasicPolicy-40787480-51814043 is ready for SSH connections 2026-09-22 13:05:57,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:05:57,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.159.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-22 13:05:57,955 - DEBUG - ping -s 56 -c 3 -W 1 31.159.152.67 2026-09-22 13:06:02,196 - DEBUG - PING 31.159.152.67 (31.159.152.67): 56 data bytes 64 bytes from 31.159.152.67: seq=0 ttl=63 time=5.014 ms 64 bytes from 31.159.152.67: seq=1 ttl=63 time=1.791 ms 64 bytes from 31.159.152.67: seq=2 ttl=63 time=1.501 ms --- 31.159.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.501/2.768/5.014 ms 2026-09-22 13:06:02,196 - INFO - Ping to IP 31.159.152.67 from VM ctest-TestBasicPolicy-40787480-81069806 passed 2026-09-22 13:06:02,411 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d207e5ef-9edc-4ab8-9b97-99c451314c50", "href": "http://10.0.0.161:8082/network-policy/d207e5ef-9edc-4ab8-9b97-99c451314c50"}} 2026-09-22 13:06:02,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:06:02,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.159.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-22 13:06:02,412 - DEBUG - ping -s 56 -c 3 -W 1 31.159.152.67 2026-09-22 13:06:05,566 - DEBUG - PING 31.159.152.67 (31.159.152.67): 56 data bytes 64 bytes from 31.159.152.67: seq=0 ttl=63 time=1.961 ms --- 31.159.152.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.961/1.961/1.961 ms 2026-09-22 13:06:05,566 - WARNING - Ping to IP 31.159.152.67 from VM ctest-TestBasicPolicy-40787480-81069806 failed 2026-09-22 13:06:05,567 - INFO - Deleting VM ctest-TestBasicPolicy-40787480-51814043 2026-09-22 13:06:05,668 - INFO - Deleting VM ctest-TestBasicPolicy-40787480-81069806 2026-09-22 13:06:06,148 - INFO - Deleted policy ctest-policy-allow-all-11288978 2026-09-22 13:06:06,149 - INFO - Deleting VN ctest-vn-71123132 2026-09-22 13:06:06,207 - DEBUG - VN e8e2ba38-4f12-4d54-9024-d217924e5f39 still in use: Unable to complete operation on network e8e2ba38-4f12-4d54-9024-d217924e5f39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84bdce8e-fa70-40e5-b315-550986674d0d'] 2026-09-22 13:06:06,208 - WARNING - Deleting VN ctest-vn-71123132 failed..Will retry 2026-09-22 13:06:08,354 - DEBUG - Response for deleting network () 2026-09-22 13:06:08,354 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c6f66275-226e-42b2-98e5-075635260c4e 2026-09-22 13:06:08,361 - DEBUG - Response Code: 404 2026-09-22 13:06:08,361 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:06:08,368 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:06:08,432 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:06:08,527 - INFO - Validated that VN ctest-vn-71123132 is not found in API Server 2026-09-22 13:06:08,540 - DEBUG - VN ctest-vn-71123132 is not present in Agent 10.0.0.161 2026-09-22 13:06:08,540 - INFO - Validated that VN ctest-vn-71123132 is not in any agent 2026-09-22 13:06:08,561 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71123132 info 2026-09-22 13:06:08,562 - INFO - Deleting VN ctest-vn-13654694 2026-09-22 13:06:08,697 - DEBUG - Response for deleting network () 2026-09-22 13:06:08,697 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/86fd3516-dde7-4b42-a4ed-f53118bceb40 2026-09-22 13:06:08,705 - DEBUG - Response Code: 404 2026-09-22 13:06:08,705 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 13:06:08,713 - DEBUG - Requesting: http://10.0.0.161:8082/domain/52470d27-c64d-497f-8284-bebfa72a7bc7 2026-09-22 13:06:08,770 - DEBUG - Requesting: http://10.0.0.161:8082/project/43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7 2026-09-22 13:06:08,862 - INFO - Validated that VN ctest-vn-13654694 is not found in API Server 2026-09-22 13:06:08,877 - DEBUG - VN ctest-vn-13654694 is not present in Agent 10.0.0.161 2026-09-22 13:06:08,877 - INFO - Validated that VN ctest-vn-13654694 is not in any agent 2026-09-22 13:06:08,897 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13654694 info 2026-09-22 13:06:09,175 - DEBUG - No XMPP flaps were noticed during the test
2026-09-22 13:06:09,175 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15]
2026-09-22 13:06:09,175 - INFO - -------------------------------------------------------------------------------- 2026-09-22 13:06:10,078 - INFO - Deleted project: ctest-TestBasicPolicy-40787480, ID : 43b5f423-bc5b-4e73-9df5-7ff0ef1d1bc7