2026-05-28 01:53:02,110 - INFO - Reading existing Domain with UUID 1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:02,121 - INFO - Using existing domain ['admin_domain'](1d5ccdab-3b8a-46cd-977b-65a3c3aa09af) 2026-05-28 01:53:02,311 - INFO - Project ctest-TestBasicPolicy-47848042 not found, creating it 2026-05-28 01:53:02,822 - INFO - Created Project:ctest-TestBasicPolicy-47848042, ID : f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:04,534 - INFO - ================================================================================ 2026-05-28 01:53:04,535 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 01:53:04,535 - 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-05-28 01:53:04,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2026-05-28 01:53:04,916 - INFO - Initial checks done. Running the testcase now 2026-05-28 01:53:04,916 - INFO - 2026-05-28 01:53:05,748 - DEBUG - Response for create_network : {'network': {'id': 'a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3', 'name': 'ctest-vn-13191873', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'project_id': 'f33922bbf412459f99d9275e6eca7150', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-vn-13191873'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-28 01:53:06,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c45b4e99-5413-4210-a8ca-b9bd19b25f54', 'name': '', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'network_id': 'a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3', 'ip_version': 4, 'cidr': '70.204.68.0/26', 'allocation_pools': [{'start': '70.204.68.2', 'end': '70.204.68.62'}], 'gateway_ip': '70.204.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-28T01:53:05.886671', 'updated_at': '2026-05-28T01:53:05.886671', 'dns_server_address': '70.204.68.2', 'tags': [], 'project_id': 'f33922bbf412459f99d9275e6eca7150'}} 2026-05-28 01:53:06,072 - INFO - Created VN ctest-vn-13191873 2026-05-28 01:53:06,130 - DEBUG - VN ctest-vn-13191873 UUID is a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:06,630 - DEBUG - Response for create_network : {'network': {'id': '1194c03e-0f03-49fb-a50f-ddaec7ff4f66', 'name': 'ctest-vn-10101354', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'project_id': 'f33922bbf412459f99d9275e6eca7150', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-vn-10101354'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-28 01:53:06,866 - DEBUG - Response for create_subnet : {'subnet': {'id': '119ac6b4-9bd9-40b5-ab49-36e38da37c3d', 'name': '', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'network_id': '1194c03e-0f03-49fb-a50f-ddaec7ff4f66', 'ip_version': 4, 'cidr': '18.231.227.192/26', 'allocation_pools': [{'start': '18.231.227.194', 'end': '18.231.227.254'}], 'gateway_ip': '18.231.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-28T01:53:06.757052', 'updated_at': '2026-05-28T01:53:06.757052', 'dns_server_address': '18.231.227.194', 'tags': [], 'project_id': 'f33922bbf412459f99d9275e6eca7150'}} 2026-05-28 01:53:06,932 - INFO - Created VN ctest-vn-10101354 2026-05-28 01:53:06,986 - DEBUG - VN ctest-vn-10101354 UUID is 1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:07,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873, 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-47848042:ctest-vn-10101354, 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-05-28 01:53:07,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3', 'name': 'ctest-vn-13191873', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'project_id': 'f33922bbf412459f99d9275e6eca7150', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c45b4e99-5413-4210-a8ca-b9bd19b25f54'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-vn-13191873'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-policy-allow-all-55710448']], 'subnet_ipam': [{'subnet_cidr': '70.204.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-28T01:53:05.659203', 'updated_at': '2026-05-28T01:53:05.905216'}} 2026-05-28 01:53:07,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1194c03e-0f03-49fb-a50f-ddaec7ff4f66', 'name': 'ctest-vn-10101354', 'tenant_id': 'f33922bbf412459f99d9275e6eca7150', 'project_id': 'f33922bbf412459f99d9275e6eca7150', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['119ac6b4-9bd9-40b5-ab49-36e38da37c3d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-vn-10101354'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-policy-allow-all-55710448']], 'subnet_ipam': [{'subnet_cidr': '18.231.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-28T01:53:06.552202', 'updated_at': '2026-05-28T01:53:06.771746'}} 2026-05-28 01:53:08,130 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:08,484 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:08,566 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:08,623 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:08,699 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:08,760 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:08,820 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:08,876 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:08,931 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/a6456eaf-a92b-41d0-b850-bb8d0bc65d69 2026-05-28 01:53:08,987 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 01:53:08,987 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:09,044 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:09,113 - INFO - Verified VN network id 11 for VN a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:09,113 - INFO - Verifications in API Server for VN ctest-vn-13191873 passed 2026-05-28 01:53:09,113 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:09,167 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:09,219 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:09,271 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/a6456eaf-a92b-41d0-b850-bb8d0bc65d69 2026-05-28 01:53:09,379 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47848042', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12005256267796401363', 'uuid-lslong': '13770489887978082515'}, 'enable': 'true', 'created': '2026-05-28T01:53:05', 'last-modified': '2026-05-28T01:53:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.805305'} 2026-05-28 01:53:09,432 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 01:53:09,432 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13191873 passed 2026-05-28 01:53:09,432 - DEBUG - ====Verifying policy data for ctest-vn-13191873 in API_Server ====== 2026-05-28 01:53:09,432 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:09,482 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:09,543 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:09,632 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/a69b3cf8-0f89-4cd3-bf1a-9b980c0ad0d3 2026-05-28 01:53:09,692 - DEBUG - ==>Verifying data for policy with id: 29e3594e-172c-407a-8d11-cac7689e4ba6, fqn: ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-policy-allow-all-55710448'] 2026-05-28 01:53:09,693 - INFO - VN ctest-vn-13191873 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 01:53:09,693 - DEBUG - Verifying the vn in opserver 2026-05-28 01:53:09,693 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873 virtual network link through opserver 10.0.0.23 2026-05-28 01:53:09,693 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 01:53:10,039 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 01:53:10,150 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873?flat'} 2026-05-28 01:53:10,151 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873 is found in opserver 2026-05-28 01:53:10,246 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 01:53:10,296 - DEBUG - VRF ids for VN ctest-vn-13191873: {} 2026-05-28 01:53:10,296 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:10,350 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:10,406 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:10,483 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:10,543 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:10,599 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:10,655 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:10,706 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/b8550c4f-839f-4206-a8d0-3fe28c4cf4d4 2026-05-28 01:53:10,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 01:53:10,763 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:10,822 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:10,883 - INFO - Verified VN network id 12 for VN 1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:10,883 - INFO - Verifications in API Server for VN ctest-vn-10101354 passed 2026-05-28 01:53:10,883 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:10,943 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:10,995 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:11,051 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/b8550c4f-839f-4206-a8d0-3fe28c4cf4d4 2026-05-28 01:53:11,151 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-10101354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47848042', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1266848767970331131', 'uuid-lslong': '11893968883658215270'}, 'enable': 'true', 'created': '2026-05-28T01:53:06', 'last-modified': '2026-05-28T01:53:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.225489'} 2026-05-28 01:53:11,199 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 01:53:11,199 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10101354 passed 2026-05-28 01:53:11,199 - DEBUG - ====Verifying policy data for ctest-vn-10101354 in API_Server ====== 2026-05-28 01:53:11,200 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:11,250 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:11,307 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:11,387 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/1194c03e-0f03-49fb-a50f-ddaec7ff4f66 2026-05-28 01:53:11,444 - DEBUG - ==>Verifying data for policy with id: 29e3594e-172c-407a-8d11-cac7689e4ba6, fqn: ['admin_domain', 'ctest-TestBasicPolicy-47848042', 'ctest-policy-allow-all-55710448'] 2026-05-28 01:53:11,444 - INFO - VN ctest-vn-10101354 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 01:53:11,444 - DEBUG - Verifying the vn in opserver 2026-05-28 01:53:11,444 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-10101354 virtual network link through opserver 10.0.0.23 2026-05-28 01:53:11,444 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 01:53:11,502 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-10101354', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-10101354?flat'} 2026-05-28 01:53:11,503 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-10101354 is found in opserver 2026-05-28 01:53:11,602 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 01:53:11,650 - DEBUG - VRF ids for VN ctest-vn-10101354: {} 2026-05-28 01:53:11,717 - DEBUG - Services list from nova: [, , ] 2026-05-28 01:53:12,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-707-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-707-1) 2026-05-28 01:53:14,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-707-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-707-1) 2026-05-28 01:53:14,107 - INFO - Waiting for VM ctest-TestBasicPolicy-47848042-43420169 to be up.. 2026-05-28 01:53:14,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:53:19,402 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:53:19,403 - INFO - VM name : ctest-TestBasicPolicy-47848042-43420169 2026-05-28 01:53:19,533 - DEBUG - VM ctest-TestBasicPolicy-47848042-43420169 ID is 1d208bfb-412d-4f3f-bcc7-8f60a734b891 2026-05-28 01:53:19,566 - DEBUG - VM ctest-TestBasicPolicy-47848042-43420169 launched on Node cn-jenkins-deploy-platform-juju-os-707-1 2026-05-28 01:53:19,701 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/1d208bfb-412d-4f3f-bcc7-8f60a734b891 2026-05-28 01:53:19,754 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/dafb6c54-320b-43f6-9029-dcbadc7d3144 2026-05-28 01:53:23,232 - 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 1022ms') 2026-05-28 01:53:23,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47848042-43420169 failed! 2026-05-28 01:53:23,290 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-47848042:ctest-vn-13191873 is 70.204.68.1 and allocation pool is NOT set 2026-05-28 01:53:25,389 - 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=7.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=9.15 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 = 7.218/8.182/9.147/0.964 ms') 2026-05-28 01:53:25,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47848042-43420169 passed 2026-05-28 01:53:25,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:53:25,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47848042-43420169, IP 70.204.68.3, Port 22 2026-05-28 01:53:25,638 - 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-05-28 01:53:25,785 - DEBUG - VM ctest-TestBasicPolicy-47848042-43420169 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:53:30,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:53:30,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47848042-43420169, IP 70.204.68.3, Port 22 2026-05-28 01:53:31,000 - DEBUG - VM ctest-TestBasicPolicy-47848042-43420169 is ready for SSH connections 2026-05-28 01:53:31,000 - INFO - Waiting for VM ctest-TestBasicPolicy-47848042-16101577 to be up.. 2026-05-28 01:53:31,132 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:53:31,132 - INFO - VM name : ctest-TestBasicPolicy-47848042-16101577 2026-05-28 01:53:31,268 - DEBUG - VM ctest-TestBasicPolicy-47848042-16101577 ID is 3b8d05a4-f80a-4c2b-b613-1fd664516f6b 2026-05-28 01:53:31,268 - DEBUG - VM ctest-TestBasicPolicy-47848042-16101577 launched on Node cn-jenkins-deploy-platform-juju-os-707-1 2026-05-28 01:53:31,399 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/3b8d05a4-f80a-4c2b-b613-1fd664516f6b 2026-05-28 01:53:31,451 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/d15213fb-74d6-4309-9285-beae3a72b573 2026-05-28 01:53:32,898 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.836/3.212/1.376 ms') 2026-05-28 01:53:32,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47848042-16101577 passed 2026-05-28 01:53:33,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:53:33,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47848042-16101577, IP 18.231.227.195, Port 22 2026-05-28 01:53:33,268 - DEBUG - VM ctest-TestBasicPolicy-47848042-16101577 is ready for SSH connections 2026-05-28 01:53:33,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:53:33,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.231.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-28 01:53:33,268 - DEBUG - ping -s 56 -c 3 -W 1 18.231.227.195 2026-05-28 01:53:37,317 - DEBUG - PING 18.231.227.195 (18.231.227.195): 56 data bytes 64 bytes from 18.231.227.195: seq=0 ttl=63 time=4.014 ms 64 bytes from 18.231.227.195: seq=1 ttl=63 time=0.995 ms 64 bytes from 18.231.227.195: seq=2 ttl=63 time=0.795 ms --- 18.231.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.934/4.014 ms 2026-05-28 01:53:37,317 - INFO - Ping to IP 18.231.227.195 from VM ctest-TestBasicPolicy-47848042-43420169 passed 2026-05-28 01:53:37,501 - DEBUG - Policy Update Response {"network-policy": {"uuid": "29e3594e-172c-407a-8d11-cac7689e4ba6", "href": "https://10.0.0.23:8082/network-policy/29e3594e-172c-407a-8d11-cac7689e4ba6"}} 2026-05-28 01:53:37,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:53:37,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.231.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-28 01:53:37,502 - DEBUG - ping -s 56 -c 3 -W 1 18.231.227.195 2026-05-28 01:53:40,716 - DEBUG - PING 18.231.227.195 (18.231.227.195): 56 data bytes 64 bytes from 18.231.227.195: seq=0 ttl=63 time=1.520 ms --- 18.231.227.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.520/1.520/1.520 ms 2026-05-28 01:53:40,716 - WARNING - Ping to IP 18.231.227.195 from VM ctest-TestBasicPolicy-47848042-43420169 failed 2026-05-28 01:53:40,716 - INFO - Deleting VM ctest-TestBasicPolicy-47848042-16101577 2026-05-28 01:53:40,818 - INFO - Deleting VM ctest-TestBasicPolicy-47848042-43420169 2026-05-28 01:53:41,518 - INFO - Deleted policy ctest-policy-allow-all-55710448 2026-05-28 01:53:41,519 - INFO - Deleting VN ctest-vn-10101354 2026-05-28 01:53:41,661 - DEBUG - VN 1194c03e-0f03-49fb-a50f-ddaec7ff4f66 still in use: Unable to complete operation on network 1194c03e-0f03-49fb-a50f-ddaec7ff4f66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ebad377-8941-461c-831a-2286d99810aa'] 2026-05-28 01:53:41,661 - WARNING - Deleting VN ctest-vn-10101354 failed..Will retry 2026-05-28 01:53:43,835 - DEBUG - Response for deleting network () 2026-05-28 01:53:43,835 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/599202e8-3e20-482a-add8-5ffc1a93f21f 2026-05-28 01:53:43,890 - DEBUG - Response Code: 404 2026-05-28 01:53:43,890 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:43,943 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:44,007 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:44,091 - INFO - Validated that VN ctest-vn-10101354 is not found in API Server 2026-05-28 01:53:44,194 - DEBUG - VN ctest-vn-10101354 is not present in Agent 10.0.0.23 2026-05-28 01:53:44,195 - INFO - Validated that VN ctest-vn-10101354 is not in any agent 2026-05-28 01:53:44,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10101354 info 2026-05-28 01:53:44,347 - INFO - Deleting VN ctest-vn-13191873 2026-05-28 01:53:44,517 - DEBUG - Response for deleting network () 2026-05-28 01:53:44,517 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/45aba36f-d188-497e-8b89-2c9f49bce941 2026-05-28 01:53:44,574 - DEBUG - Response Code: 404 2026-05-28 01:53:44,574 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-05-28 01:53:44,626 - DEBUG - Requesting: https://10.0.0.23:8082/domain/1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:53:44,683 - DEBUG - Requesting: https://10.0.0.23:8082/project/f33922bb-f412-459f-99d9-275e6eca7150 2026-05-28 01:53:44,767 - INFO - Validated that VN ctest-vn-13191873 is not found in API Server 2026-05-28 01:53:44,871 - DEBUG - VN ctest-vn-13191873 is not present in Agent 10.0.0.23 2026-05-28 01:53:44,871 - INFO - Validated that VN ctest-vn-13191873 is not in any agent 2026-05-28 01:53:45,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13191873 info 2026-05-28 01:53:45,435 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 01:53:45,435 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-05-28 01:53:45,435 - INFO - -------------------------------------------------------------------------------- 2026-05-28 01:53:46,218 - INFO - Deleted project: ctest-TestBasicPolicy-47848042, ID : f33922bb-f412-459f-99d9-275e6eca7150