2026-06-04 02:13:57,243 - INFO - Reading existing Domain with UUID 4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:13:57,254 - INFO - Using existing domain ['admin_domain'](4bbd272f-f102-4983-a587-c5578191c0aa) 2026-06-04 02:13:57,501 - INFO - Project ctest-TestBasicPolicy-38596169 not found, creating it 2026-06-04 02:13:58,091 - INFO - Created Project:ctest-TestBasicPolicy-38596169, ID : b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:13:59,803 - INFO - ================================================================================ 2026-06-04 02:13:59,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 02:13:59,804 - 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-06-04 02:14:00,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-06-04 02:14:00,191 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:14:00,191 - INFO - 2026-06-04 02:14:01,013 - DEBUG - Response for create_network : {'network': {'id': '422c263d-03af-454e-8e72-f0eb983621b7', 'name': 'ctest-vn-87723291', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-87723291'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-04 02:14:01,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4c055ae-366a-4f39-8ae2-10f6cc772d24', 'name': '', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'network_id': '422c263d-03af-454e-8e72-f0eb983621b7', 'ip_version': 4, 'cidr': '182.179.171.64/26', 'allocation_pools': [{'start': '182.179.171.66', 'end': '182.179.171.126'}], 'gateway_ip': '182.179.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:14:01.155401', 'updated_at': '2026-06-04T02:14:01.155401', 'dns_server_address': '182.179.171.66', 'tags': [], 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc'}} 2026-06-04 02:14:01,315 - INFO - Created VN ctest-vn-87723291 2026-06-04 02:14:01,369 - DEBUG - VN ctest-vn-87723291 UUID is 422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:01,873 - DEBUG - Response for create_network : {'network': {'id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'name': 'ctest-vn-81562680', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-81562680'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-04 02:14:02,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '69974022-b594-4cc4-b94a-3d951ad19319', 'name': '', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'network_id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'ip_version': 4, 'cidr': '3.6.217.64/26', 'allocation_pools': [{'start': '3.6.217.66', 'end': '3.6.217.126'}], 'gateway_ip': '3.6.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:14:02.030114', 'updated_at': '2026-06-04T02:14:02.030114', 'dns_server_address': '3.6.217.66', 'tags': [], 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc'}} 2026-06-04 02:14:02,199 - INFO - Created VN ctest-vn-81562680 2026-06-04 02:14:02,253 - DEBUG - VN ctest-vn-81562680 UUID is 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:02,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680, 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-06-04 02:14:02,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '422c263d-03af-454e-8e72-f0eb983621b7', 'name': 'ctest-vn-87723291', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4c055ae-366a-4f39-8ae2-10f6cc772d24'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-87723291'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']], 'subnet_ipam': [{'subnet_cidr': '182.179.171.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:14:00.937276', 'updated_at': '2026-06-04T02:14:01.169010'}} 2026-06-04 02:14:03,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b5b4c3d-dab6-4adc-a968-a6fdf10336fe', 'name': 'ctest-vn-81562680', 'tenant_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'project_id': 'b84e2f1ddd254745812a32cfdb5653dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69974022-b594-4cc4-b94a-3d951ad19319'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-vn-81562680'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601']], 'subnet_ipam': [{'subnet_cidr': '3.6.217.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:14:01.798633', 'updated_at': '2026-06-04T02:14:02.043344'}} 2026-06-04 02:14:03,377 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:03,715 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:03,793 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:03,850 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:03,935 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:03,994 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:04,051 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:04,106 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:04,158 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/d594dd56-6c3d-405b-bf86-76637f297513 2026-06-04 02:14:04,213 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 02:14:04,214 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:04,271 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:04,334 - INFO - Verified VN network id 11 for VN 422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:04,334 - INFO - Verifications in API Server for VN ctest-vn-87723291 passed 2026-06-04 02:14:04,334 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:04,390 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:04,445 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:04,501 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/d594dd56-6c3d-405b-bf86-76637f297513 2026-06-04 02:14:04,602 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38596169', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4768228148975191374', 'uuid-lslong': '10264531395392446903'}, 'enable': 'true', 'created': '2026-06-04T02:14:00', 'last-modified': '2026-06-04T02:14:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.766212'} 2026-06-04 02:14:04,655 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 02:14:04,655 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87723291 passed 2026-06-04 02:14:04,656 - DEBUG - ====Verifying policy data for ctest-vn-87723291 in API_Server ====== 2026-06-04 02:14:04,656 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:04,713 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:04,770 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:04,850 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/422c263d-03af-454e-8e72-f0eb983621b7 2026-06-04 02:14:04,906 - DEBUG - ==>Verifying data for policy with id: 5d05a779-3ffc-4789-8a6f-0d97032645ee, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601'] 2026-06-04 02:14:04,906 - INFO - VN ctest-vn-87723291 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 02:14:04,906 - DEBUG - Verifying the vn in opserver 2026-06-04 02:14:04,906 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 virtual network link through opserver 10.0.0.129 2026-06-04 02:14:04,907 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 02:14:05,254 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 02:14:05,373 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291?flat'} 2026-06-04 02:14:05,373 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 is found in opserver 2026-06-04 02:14:05,469 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 02:14:05,522 - DEBUG - VRF ids for VN ctest-vn-87723291: {} 2026-06-04 02:14:05,522 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:05,577 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:05,634 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:05,719 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:05,779 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:05,834 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:05,890 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:05,945 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/c985e79c-581c-4d20-adce-da96bb1051c4 2026-06-04 02:14:06,002 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 02:14:06,002 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:06,058 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:06,123 - INFO - Verified VN network id 12 for VN 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:06,123 - INFO - Verifications in API Server for VN ctest-vn-81562680 passed 2026-06-04 02:14:06,123 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:06,178 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:06,233 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:06,286 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/c985e79c-581c-4d20-adce-da96bb1051c4 2026-06-04 02:14:06,398 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38596169', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3124174595057666780', 'uuid-lslong': '12207190399588185854'}, 'enable': 'true', 'created': '2026-06-04T02:14:01', 'last-modified': '2026-06-04T02:14:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.218206'} 2026-06-04 02:14:06,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 02:14:06,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81562680 passed 2026-06-04 02:14:06,448 - DEBUG - ====Verifying policy data for ctest-vn-81562680 in API_Server ====== 2026-06-04 02:14:06,448 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:06,501 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:06,558 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:06,642 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/2b5b4c3d-dab6-4adc-a968-a6fdf10336fe 2026-06-04 02:14:06,698 - DEBUG - ==>Verifying data for policy with id: 5d05a779-3ffc-4789-8a6f-0d97032645ee, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38596169', 'ctest-policy-allow-all-00290601'] 2026-06-04 02:14:06,698 - INFO - VN ctest-vn-81562680 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 02:14:06,698 - DEBUG - Verifying the vn in opserver 2026-06-04 02:14:06,699 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680 virtual network link through opserver 10.0.0.129 2026-06-04 02:14:06,699 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 02:14:06,754 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680?flat'} 2026-06-04 02:14:06,754 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-81562680 is found in opserver 2026-06-04 02:14:06,853 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 02:14:06,901 - DEBUG - VRF ids for VN ctest-vn-81562680: {} 2026-06-04 02:14:07,089 - DEBUG - Services list from nova: [, , ] 2026-06-04 02:14:08,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-709-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-709-1) 2026-06-04 02:14:09,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-709-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-709-1) 2026-06-04 02:14:09,990 - INFO - Waiting for VM ctest-TestBasicPolicy-38596169-23591285 to be up.. 2026-06-04 02:14:10,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:14:15,447 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:14:15,447 - INFO - VM name : ctest-TestBasicPolicy-38596169-23591285 2026-06-04 02:14:15,695 - DEBUG - VM ctest-TestBasicPolicy-38596169-23591285 ID is 64780c89-2b77-4fba-ac37-294d3b3e7bc3 2026-06-04 02:14:15,785 - DEBUG - VM ctest-TestBasicPolicy-38596169-23591285 launched on Node cn-jenkins-deploy-platform-juju-os-709-1 2026-06-04 02:14:16,054 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/64780c89-2b77-4fba-ac37-294d3b3e7bc3 2026-06-04 02:14:16,114 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/4893bb90-6a2d-4fd7-8c32-cbdcf3b87954 2026-06-04 02:14:19,647 - 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 1027ms') 2026-06-04 02:14:19,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38596169-23591285 failed! 2026-06-04 02:14:19,720 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 is 182.179.171.65 and allocation pool is NOT set 2026-06-04 02:14:23,829 - 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 1025ms') 2026-06-04 02:14:23,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38596169-23591285 failed! 2026-06-04 02:14:23,897 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-38596169:ctest-vn-87723291 is 182.179.171.65 and allocation pool is NOT set 2026-06-04 02:14:25,988 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.115/6.300/11.485/5.185 ms') 2026-06-04 02:14:25,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38596169-23591285 passed 2026-06-04 02:14:26,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:14:26,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38596169-23591285, IP 182.179.171.67, Port 22 2026-06-04 02:14:26,456 - DEBUG - VM ctest-TestBasicPolicy-38596169-23591285 is ready for SSH connections 2026-06-04 02:14:26,457 - INFO - Waiting for VM ctest-TestBasicPolicy-38596169-83030779 to be up.. 2026-06-04 02:14:26,632 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:14:26,632 - INFO - VM name : ctest-TestBasicPolicy-38596169-83030779 2026-06-04 02:14:26,812 - DEBUG - VM ctest-TestBasicPolicy-38596169-83030779 ID is 8e6fafad-79f9-4a0d-8033-87649c962dfc 2026-06-04 02:14:26,812 - DEBUG - VM ctest-TestBasicPolicy-38596169-83030779 launched on Node cn-jenkins-deploy-platform-juju-os-709-1 2026-06-04 02:14:26,969 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/8e6fafad-79f9-4a0d-8033-87649c962dfc 2026-06-04 02:14:27,029 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/12e1bf12-b2e1-4876-9caf-841efe96cfeb 2026-06-04 02:14:28,510 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.03 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 = 3.029/4.377/5.726/1.348 ms') 2026-06-04 02:14:28,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38596169-83030779 passed 2026-06-04 02:14:28,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:14:28,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38596169-83030779, IP 3.6.217.67, Port 22 2026-06-04 02:14:28,773 - 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-06-04 02:14:28,938 - DEBUG - VM ctest-TestBasicPolicy-38596169-83030779 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 02:14:33,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:14:33,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38596169-83030779, IP 3.6.217.67, Port 22 2026-06-04 02:14:34,163 - DEBUG - VM ctest-TestBasicPolicy-38596169-83030779 is ready for SSH connections 2026-06-04 02:14:34,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:14:34,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.6.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-04 02:14:34,163 - DEBUG - ping -s 56 -c 3 -W 1 3.6.217.67 2026-06-04 02:14:37,877 - DEBUG - PING 3.6.217.67 (3.6.217.67): 56 data bytes 64 bytes from 3.6.217.67: seq=0 ttl=63 time=3.975 ms 64 bytes from 3.6.217.67: seq=1 ttl=63 time=1.048 ms 64 bytes from 3.6.217.67: seq=2 ttl=63 time=1.077 ms --- 3.6.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.048/2.033/3.975 ms 2026-06-04 02:14:37,877 - INFO - Ping to IP 3.6.217.67 from VM ctest-TestBasicPolicy-38596169-23591285 passed 2026-06-04 02:14:38,056 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d05a779-3ffc-4789-8a6f-0d97032645ee", "href": "https://10.0.0.129:8082/network-policy/5d05a779-3ffc-4789-8a6f-0d97032645ee"}} 2026-06-04 02:14:38,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:14:38,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.6.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-04 02:14:38,057 - DEBUG - ping -s 56 -c 3 -W 1 3.6.217.67 2026-06-04 02:14:41,299 - DEBUG - PING 3.6.217.67 (3.6.217.67): 56 data bytes --- 3.6.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 02:14:41,300 - WARNING - Ping to IP 3.6.217.67 from VM ctest-TestBasicPolicy-38596169-23591285 failed 2026-06-04 02:14:41,300 - INFO - Deleting VM ctest-TestBasicPolicy-38596169-83030779 2026-06-04 02:14:41,410 - INFO - Deleting VM ctest-TestBasicPolicy-38596169-23591285 2026-06-04 02:14:42,125 - INFO - Deleted policy ctest-policy-allow-all-00290601 2026-06-04 02:14:42,125 - INFO - Deleting VN ctest-vn-81562680 2026-06-04 02:14:42,276 - DEBUG - VN 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe still in use: Unable to complete operation on network 2b5b4c3d-dab6-4adc-a968-a6fdf10336fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33f58d27-c370-4e87-bd3e-1bc2e2263bd4'] 2026-06-04 02:14:42,276 - WARNING - Deleting VN ctest-vn-81562680 failed..Will retry 2026-06-04 02:14:44,443 - DEBUG - Response for deleting network () 2026-06-04 02:14:44,444 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/dba9a4d1-a743-48dd-a71d-f68afcbfa792 2026-06-04 02:14:44,500 - DEBUG - Response Code: 404 2026-06-04 02:14:44,501 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:44,553 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:44,609 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:44,686 - INFO - Validated that VN ctest-vn-81562680 is not found in API Server 2026-06-04 02:14:44,789 - DEBUG - VN ctest-vn-81562680 is not present in Agent 10.0.0.129 2026-06-04 02:14:44,789 - INFO - Validated that VN ctest-vn-81562680 is not in any agent 2026-06-04 02:14:44,941 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81562680 info 2026-06-04 02:14:44,942 - INFO - Deleting VN ctest-vn-87723291 2026-06-04 02:14:45,140 - DEBUG - Response for deleting network () 2026-06-04 02:14:45,140 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/863c1ebe-b6c8-41ad-9811-84776544cc95 2026-06-04 02:14:45,193 - DEBUG - Response Code: 404 2026-06-04 02:14:45,193 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-04 02:14:45,245 - DEBUG - Requesting: https://10.0.0.129:8082/domain/4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:14:45,301 - DEBUG - Requesting: https://10.0.0.129:8082/project/b84e2f1d-dd25-4745-812a-32cfdb5653dc 2026-06-04 02:14:45,381 - INFO - Validated that VN ctest-vn-87723291 is not found in API Server 2026-06-04 02:14:45,477 - DEBUG - VN ctest-vn-87723291 is not present in Agent 10.0.0.129 2026-06-04 02:14:45,477 - INFO - Validated that VN ctest-vn-87723291 is not in any agent 2026-06-04 02:14:45,625 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87723291 info 2026-06-04 02:14:46,009 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 02:14:46,010 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:47] 2026-06-04 02:14:46,010 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:14:46,771 - INFO - Deleted project: ctest-TestBasicPolicy-38596169, ID : b84e2f1d-dd25-4745-812a-32cfdb5653dc