2026-05-14 02:12:17,878 - INFO - Reading existing Domain with UUID d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:12:17,900 - INFO - Using existing domain ['admin_domain'](d251bbb1-a677-4b52-8c85-ab79c9809042) 2026-05-14 02:12:18,311 - INFO - Project ctest-TestBasicPolicy-38089295 not found, creating it 2026-05-14 02:12:19,460 - INFO - Created Project:ctest-TestBasicPolicy-38089295, ID : 2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:12:21,988 - INFO - ================================================================================ 2026-05-14 02:12:21,988 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 02:12:21,988 - 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-14 02:12:22,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-05-14 02:12:22,417 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:12:22,417 - INFO - 2026-05-14 02:12:23,450 - DEBUG - Response for create_network : {'network': {'id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'name': 'ctest-vn-21862224', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-21862224'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-14 02:12:23,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '612b5f9a-5446-4727-9d4a-8b99d743d62b', 'name': '', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'network_id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'ip_version': 4, 'cidr': '105.6.127.192/26', 'allocation_pools': [{'start': '105.6.127.194', 'end': '105.6.127.254'}], 'gateway_ip': '105.6.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:12:23.629262', 'updated_at': '2026-05-14T02:12:23.629262', 'dns_server_address': '105.6.127.194', 'tags': [], 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94'}} 2026-05-14 02:12:23,898 - INFO - Created VN ctest-vn-21862224 2026-05-14 02:12:23,960 - DEBUG - VN ctest-vn-21862224 UUID is e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:24,610 - DEBUG - Response for create_network : {'network': {'id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'name': 'ctest-vn-82693657', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-82693657'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-14 02:12:24,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9c071a8-cb51-4067-9fd4-35d0a1c18bdf', 'name': '', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'network_id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'ip_version': 4, 'cidr': '64.154.218.64/26', 'allocation_pools': [{'start': '64.154.218.66', 'end': '64.154.218.126'}], 'gateway_ip': '64.154.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:12:24.775525', 'updated_at': '2026-05-14T02:12:24.775525', 'dns_server_address': '64.154.218.66', 'tags': [], 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94'}} 2026-05-14 02:12:25,033 - INFO - Created VN ctest-vn-82693657 2026-05-14 02:12:25,092 - DEBUG - VN ctest-vn-82693657 UUID is 19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:25,342 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224, 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-38089295:ctest-vn-82693657, 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-14 02:12:25,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0cd6a89-e58c-43bf-9888-5dc293e61c9e', 'name': 'ctest-vn-21862224', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['612b5f9a-5446-4727-9d4a-8b99d743d62b'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-21862224'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']], 'subnet_ipam': [{'subnet_cidr': '105.6.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:12:23.338218', 'updated_at': '2026-05-14T02:12:23.652849'}} 2026-05-14 02:12:26,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19b9fc11-ba18-4b1a-8c25-50a1e020b446', 'name': 'ctest-vn-82693657', 'tenant_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'project_id': '2cb29de9f15241c3afef43d1fbbf4a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9c071a8-cb51-4067-9fd4-35d0a1c18bdf'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-vn-82693657'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741']], 'subnet_ipam': [{'subnet_cidr': '64.154.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:12:24.513046', 'updated_at': '2026-05-14T02:12:24.809460'}} 2026-05-14 02:12:26,574 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:12:26,970 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:12:27,062 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:12:27,124 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:12:27,219 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:27,290 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:27,352 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:12:27,412 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:12:27,479 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f3a61e28-b84c-4d03-af32-bc5717cd8c3c 2026-05-14 02:12:27,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 02:12:27,539 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:27,604 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:12:27,675 - INFO - Verified VN network id 11 for VN e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:27,675 - INFO - Verifications in API Server for VN ctest-vn-21862224 passed 2026-05-14 02:12:27,675 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:27,743 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:12:27,806 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:12:27,867 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f3a61e28-b84c-4d03-af32-bc5717cd8c3c 2026-05-14 02:12:27,985 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38089295', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16198720575215780799', 'uuid-lslong': '10991137980884065438'}, 'enable': 'true', 'created': '2026-05-14T02:12:23', 'last-modified': '2026-05-14T02:12:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.170321'} 2026-05-14 02:12:28,041 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 02:12:28,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21862224 passed 2026-05-14 02:12:28,042 - DEBUG - ====Verifying policy data for ctest-vn-21862224 in API_Server ====== 2026-05-14 02:12:28,042 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:12:28,099 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:12:28,164 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:12:28,267 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/e0cd6a89-e58c-43bf-9888-5dc293e61c9e 2026-05-14 02:12:28,336 - DEBUG - ==>Verifying data for policy with id: ac25ec5f-ac04-4ac7-a902-320ae46f0942, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741'] 2026-05-14 02:12:28,336 - INFO - VN ctest-vn-21862224 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 02:12:28,336 - DEBUG - Verifying the vn in opserver 2026-05-14 02:12:28,336 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224 virtual network link through opserver 10.0.0.241 2026-05-14 02:12:28,336 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-14 02:12:28,684 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-14 02:12:28,811 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224?flat'} 2026-05-14 02:12:28,811 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224 is found in opserver 2026-05-14 02:12:28,915 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 02:12:28,963 - DEBUG - VRF ids for VN ctest-vn-21862224: {} 2026-05-14 02:12:28,963 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:12:29,022 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:12:29,084 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:12:29,179 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:29,245 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:29,308 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:12:29,368 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:12:29,427 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/8a886931-f2de-4d70-a5c6-4f077edf1b0b 2026-05-14 02:12:29,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 02:12:29,483 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:29,549 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:12:29,620 - INFO - Verified VN network id 12 for VN 19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:29,621 - INFO - Verifications in API Server for VN ctest-vn-82693657 passed 2026-05-14 02:12:29,621 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:29,680 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:12:29,737 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:12:29,799 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/8a886931-f2de-4d70-a5c6-4f077edf1b0b 2026-05-14 02:12:29,912 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38089295', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1853789874706467610', 'uuid-lslong': '10098566395628401734'}, 'enable': 'true', 'created': '2026-05-14T02:12:24', 'last-modified': '2026-05-14T02:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.601518'} 2026-05-14 02:12:29,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 02:12:29,969 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82693657 passed 2026-05-14 02:12:29,969 - DEBUG - ====Verifying policy data for ctest-vn-82693657 in API_Server ====== 2026-05-14 02:12:29,969 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:12:30,026 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:12:30,092 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:12:30,188 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/19b9fc11-ba18-4b1a-8c25-50a1e020b446 2026-05-14 02:12:30,249 - DEBUG - ==>Verifying data for policy with id: ac25ec5f-ac04-4ac7-a902-320ae46f0942, fqn: ['admin_domain', 'ctest-TestBasicPolicy-38089295', 'ctest-policy-allow-all-26167741'] 2026-05-14 02:12:30,250 - INFO - VN ctest-vn-82693657 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 02:12:30,250 - DEBUG - Verifying the vn in opserver 2026-05-14 02:12:30,250 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657 virtual network link through opserver 10.0.0.241 2026-05-14 02:12:30,250 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-14 02:12:30,315 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657?flat'} 2026-05-14 02:12:30,315 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-82693657 is found in opserver 2026-05-14 02:12:30,418 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 02:12:30,471 - DEBUG - VRF ids for VN ctest-vn-82693657: {} 2026-05-14 02:12:30,563 - DEBUG - Services list from nova: [, , ] 2026-05-14 02:12:31,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1) 2026-05-14 02:12:33,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1) 2026-05-14 02:12:33,644 - INFO - Waiting for VM ctest-TestBasicPolicy-38089295-12284149 to be up.. 2026-05-14 02:12:33,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:12:39,102 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:12:39,102 - INFO - VM name : ctest-TestBasicPolicy-38089295-12284149 2026-05-14 02:12:39,242 - DEBUG - VM ctest-TestBasicPolicy-38089295-12284149 ID is 8cca6a75-45ed-4ea3-ba9e-2bb5c60db4ee 2026-05-14 02:12:39,267 - DEBUG - VM ctest-TestBasicPolicy-38089295-12284149 launched on Node cn-jenkins-deploy-platform-juju-os-703-1 2026-05-14 02:12:39,413 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/8cca6a75-45ed-4ea3-ba9e-2bb5c60db4ee 2026-05-14 02:12:39,467 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/f5319be5-48c0-4f2f-9675-e885d8112a2f 2026-05-14 02:12:42,922 - 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 1004ms') 2026-05-14 02:12:42,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38089295-12284149 failed! 2026-05-14 02:12:42,978 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-38089295:ctest-vn-21862224 is 105.6.127.193 and allocation pool is NOT set 2026-05-14 02:12:45,080 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.594/2.946/5.298/2.352 ms') 2026-05-14 02:12:45,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38089295-12284149 passed 2026-05-14 02:12:45,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:12:45,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38089295-12284149, IP 105.6.127.195, Port 22 2026-05-14 02:12:45,343 - 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-14 02:12:45,487 - DEBUG - VM ctest-TestBasicPolicy-38089295-12284149 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 02:12:50,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:12:50,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38089295-12284149, IP 105.6.127.195, Port 22 2026-05-14 02:12:50,708 - DEBUG - VM ctest-TestBasicPolicy-38089295-12284149 is ready for SSH connections 2026-05-14 02:12:50,708 - INFO - Waiting for VM ctest-TestBasicPolicy-38089295-13839914 to be up.. 2026-05-14 02:12:50,851 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:12:50,851 - INFO - VM name : ctest-TestBasicPolicy-38089295-13839914 2026-05-14 02:12:50,992 - DEBUG - VM ctest-TestBasicPolicy-38089295-13839914 ID is 24e2bb7d-760a-49aa-a39f-49bdfe108131 2026-05-14 02:12:50,992 - DEBUG - VM ctest-TestBasicPolicy-38089295-13839914 launched on Node cn-jenkins-deploy-platform-juju-os-703-1 2026-05-14 02:12:51,135 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/24e2bb7d-760a-49aa-a39f-49bdfe108131 2026-05-14 02:12:51,191 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/bc56f84d-021e-43ee-b46c-ef8fd223e56a 2026-05-14 02:12:52,650 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.783/3.092/1.308 ms') 2026-05-14 02:12:52,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38089295-13839914 passed 2026-05-14 02:12:52,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:12:52,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38089295-13839914, IP 64.154.218.67, Port 22 2026-05-14 02:12:53,024 - DEBUG - VM ctest-TestBasicPolicy-38089295-13839914 is ready for SSH connections 2026-05-14 02:12:53,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:12:53,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.154.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-14 02:12:53,025 - DEBUG - ping -s 56 -c 3 -W 1 64.154.218.67 2026-05-14 02:12:57,281 - DEBUG - PING 64.154.218.67 (64.154.218.67): 56 data bytes 64 bytes from 64.154.218.67: seq=0 ttl=63 time=3.629 ms 64 bytes from 64.154.218.67: seq=1 ttl=63 time=1.031 ms 64 bytes from 64.154.218.67: seq=2 ttl=63 time=0.963 ms --- 64.154.218.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/1.874/3.629 ms 2026-05-14 02:12:57,281 - INFO - Ping to IP 64.154.218.67 from VM ctest-TestBasicPolicy-38089295-12284149 passed 2026-05-14 02:12:57,474 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac25ec5f-ac04-4ac7-a902-320ae46f0942", "href": "https://10.0.0.241:8082/network-policy/ac25ec5f-ac04-4ac7-a902-320ae46f0942"}} 2026-05-14 02:12:57,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:12:57,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.154.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-14 02:12:57,474 - DEBUG - ping -s 56 -c 3 -W 1 64.154.218.67 2026-05-14 02:13:00,689 - DEBUG - PING 64.154.218.67 (64.154.218.67): 56 data bytes 64 bytes from 64.154.218.67: seq=0 ttl=63 time=1.572 ms --- 64.154.218.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.572/1.572/1.572 ms 2026-05-14 02:13:00,689 - WARNING - Ping to IP 64.154.218.67 from VM ctest-TestBasicPolicy-38089295-12284149 failed 2026-05-14 02:13:00,689 - INFO - Deleting VM ctest-TestBasicPolicy-38089295-13839914 2026-05-14 02:13:00,824 - INFO - Deleting VM ctest-TestBasicPolicy-38089295-12284149 2026-05-14 02:13:01,617 - INFO - Deleted policy ctest-policy-allow-all-26167741 2026-05-14 02:13:01,617 - INFO - Deleting VN ctest-vn-82693657 2026-05-14 02:13:01,790 - DEBUG - VN 19b9fc11-ba18-4b1a-8c25-50a1e020b446 still in use: Unable to complete operation on network 19b9fc11-ba18-4b1a-8c25-50a1e020b446. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9aa581c6-05b8-4f97-8e69-2d2650e2f666'] 2026-05-14 02:13:01,790 - WARNING - Deleting VN ctest-vn-82693657 failed..Will retry 2026-05-14 02:13:03,964 - DEBUG - Response for deleting network () 2026-05-14 02:13:03,964 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/959fb74e-0343-443e-9233-a59e3edcd334 2026-05-14 02:13:04,018 - DEBUG - Response Code: 404 2026-05-14 02:13:04,018 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:13:04,075 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:13:04,131 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:13:04,227 - INFO - Validated that VN ctest-vn-82693657 is not found in API Server 2026-05-14 02:13:04,339 - DEBUG - VN ctest-vn-82693657 is not present in Agent 10.0.0.241 2026-05-14 02:13:04,339 - INFO - Validated that VN ctest-vn-82693657 is not in any agent 2026-05-14 02:13:04,499 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82693657 info 2026-05-14 02:13:04,499 - INFO - Deleting VN ctest-vn-21862224 2026-05-14 02:13:04,709 - DEBUG - Response for deleting network () 2026-05-14 02:13:04,710 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7c117345-d47d-4b24-bbe5-9e027c695776 2026-05-14 02:13:04,770 - DEBUG - Response Code: 404 2026-05-14 02:13:04,770 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-14 02:13:04,827 - DEBUG - Requesting: https://10.0.0.241:8082/domain/d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:13:04,887 - DEBUG - Requesting: https://10.0.0.241:8082/project/2cb29de9-f152-41c3-afef-43d1fbbf4a94 2026-05-14 02:13:04,971 - INFO - Validated that VN ctest-vn-21862224 is not found in API Server 2026-05-14 02:13:05,079 - DEBUG - VN ctest-vn-21862224 is not present in Agent 10.0.0.241 2026-05-14 02:13:05,079 - INFO - Validated that VN ctest-vn-21862224 is not in any agent 2026-05-14 02:13:05,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21862224 info 2026-05-14 02:13:05,619 - DEBUG - No XMPP flaps were noticed during the test 2026-05-14 02:13:05,619 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:44] 2026-05-14 02:13:05,619 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:13:06,393 - INFO - Deleted project: ctest-TestBasicPolicy-38089295, ID : 2cb29de9-f152-41c3-afef-43d1fbbf4a94