2026-03-19 02:13:15,347 - INFO - Reading existing Domain with UUID 935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:15,358 - INFO - Using existing domain ['admin_domain'](935bc1a1-2451-4f6c-b0bc-2e43d3120885) 2026-03-19 02:13:15,575 - INFO - Project ctest-TestBasicPolicy-81793372 not found, creating it 2026-03-19 02:13:16,101 - INFO - Created Project:ctest-TestBasicPolicy-81793372, ID : 0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:17,798 - INFO - ================================================================================ 2026-03-19 02:13:17,798 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 02:13:17,798 - 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-03-19 02:13:18,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-03-19 02:13:18,183 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:13:18,183 - INFO - 2026-03-19 02:13:18,955 - DEBUG - Response for create_network : {'network': {'id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'name': 'ctest-vn-42469681', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-42469681'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-19 02:13:19,213 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e190129b-f107-4d69-a8dc-8d4f1745686f', 'name': '', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'network_id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'ip_version': 4, 'cidr': '43.123.62.0/26', 'allocation_pools': [{'start': '43.123.62.2', 'end': '43.123.62.62'}], 'gateway_ip': '43.123.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-19T02:13:19.121256', 'updated_at': '2026-03-19T02:13:19.121256', 'dns_server_address': '43.123.62.2', 'tags': [], 'project_id': '0174d5801d774b158f9baacd07b1dac1'}} 2026-03-19 02:13:19,279 - INFO - Created VN ctest-vn-42469681 2026-03-19 02:13:19,333 - DEBUG - VN ctest-vn-42469681 UUID is f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:19,813 - DEBUG - Response for create_network : {'network': {'id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'name': 'ctest-vn-79834661', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-79834661'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-19 02:13:20,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd8ffcff-c61a-4801-998e-c904396d7b4e', 'name': '', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'network_id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'ip_version': 4, 'cidr': '182.200.5.192/26', 'allocation_pools': [{'start': '182.200.5.194', 'end': '182.200.5.254'}], 'gateway_ip': '182.200.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-19T02:13:19.953058', 'updated_at': '2026-03-19T02:13:19.953058', 'dns_server_address': '182.200.5.194', 'tags': [], 'project_id': '0174d5801d774b158f9baacd07b1dac1'}} 2026-03-19 02:13:20,115 - INFO - Created VN ctest-vn-79834661 2026-03-19 02:13:20,169 - DEBUG - VN ctest-vn-79834661 UUID is 6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:20,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681, 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-81793372:ctest-vn-79834661, 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-03-19 02:13:20,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3b846e2-8ce0-461b-9416-10661dd7f3a4', 'name': 'ctest-vn-42469681', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e190129b-f107-4d69-a8dc-8d4f1745686f'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-42469681'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']], 'subnet_ipam': [{'subnet_cidr': '43.123.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-19T02:13:18.871711', 'updated_at': '2026-03-19T02:13:19.134226'}} 2026-03-19 02:13:21,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c750b1f-1192-4e79-aa74-b9ba43d95b5f', 'name': 'ctest-vn-79834661', 'tenant_id': '0174d5801d774b158f9baacd07b1dac1', 'project_id': '0174d5801d774b158f9baacd07b1dac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd8ffcff-c61a-4801-998e-c904396d7b4e'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-vn-79834661'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525']], 'subnet_ipam': [{'subnet_cidr': '182.200.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-19T02:13:19.744257', 'updated_at': '2026-03-19T02:13:19.964939'}} 2026-03-19 02:13:21,365 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:21,718 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:21,797 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:21,857 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:21,934 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:21,991 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:22,046 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:22,101 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:22,154 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/abb1202f-9474-4770-9ee1-7325ccdcd20f 2026-03-19 02:13:22,206 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:13:22,206 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:22,262 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:22,322 - INFO - Verified VN network id 11 for VN f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:22,322 - INFO - Verifications in API Server for VN ctest-vn-42469681 passed 2026-03-19 02:13:22,322 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:22,379 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:22,434 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:22,493 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/abb1202f-9474-4770-9ee1-7325ccdcd20f 2026-03-19 02:13:22,598 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81793372', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17561864685771310619', 'uuid-lslong': '10670734397874369444'}, 'enable': 'true', 'created': '2026-03-19T02:13:18', 'last-modified': '2026-03-19T02:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.824334'} 2026-03-19 02:13:22,651 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:13:22,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42469681 passed 2026-03-19 02:13:22,651 - DEBUG - ====Verifying policy data for ctest-vn-42469681 in API_Server ====== 2026-03-19 02:13:22,651 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:22,701 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:22,758 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:22,834 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f3b846e2-8ce0-461b-9416-10661dd7f3a4 2026-03-19 02:13:22,891 - DEBUG - ==>Verifying data for policy with id: 8fb9c033-d204-40d2-9b7a-d897aa104448, fqn: ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525'] 2026-03-19 02:13:22,891 - INFO - VN ctest-vn-42469681 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:13:22,891 - DEBUG - Verifying the vn in opserver 2026-03-19 02:13:22,891 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681 virtual network link through opserver 10.0.0.129 2026-03-19 02:13:22,891 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-19 02:13:23,238 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-19 02:13:23,365 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681?flat'} 2026-03-19 02:13:23,365 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681 is found in opserver 2026-03-19 02:13:23,466 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:13:23,517 - DEBUG - VRF ids for VN ctest-vn-42469681: {} 2026-03-19 02:13:23,517 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:23,569 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:23,626 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:23,702 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:23,758 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:23,818 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:23,874 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:23,930 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e1b1aacc-8c45-44bc-9e98-885ad2b7645e 2026-03-19 02:13:23,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:13:23,982 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:24,038 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:24,103 - INFO - Verified VN network id 12 for VN 6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:24,103 - INFO - Verifications in API Server for VN ctest-vn-79834661 passed 2026-03-19 02:13:24,103 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:24,160 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:24,214 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:24,266 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e1b1aacc-8c45-44bc-9e98-885ad2b7645e 2026-03-19 02:13:24,374 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81793372', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7815164956438056569', 'uuid-lslong': '12282646293399559007'}, 'enable': 'true', 'created': '2026-03-19T02:13:19', 'last-modified': '2026-03-19T02:13:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.236944'} 2026-03-19 02:13:24,423 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:13:24,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79834661 passed 2026-03-19 02:13:24,423 - DEBUG - ====Verifying policy data for ctest-vn-79834661 in API_Server ====== 2026-03-19 02:13:24,423 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:24,473 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:24,530 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:24,610 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6c750b1f-1192-4e79-aa74-b9ba43d95b5f 2026-03-19 02:13:24,670 - DEBUG - ==>Verifying data for policy with id: 8fb9c033-d204-40d2-9b7a-d897aa104448, fqn: ['admin_domain', 'ctest-TestBasicPolicy-81793372', 'ctest-policy-allow-all-71826525'] 2026-03-19 02:13:24,670 - INFO - VN ctest-vn-79834661 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:13:24,670 - DEBUG - Verifying the vn in opserver 2026-03-19 02:13:24,671 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661 virtual network link through opserver 10.0.0.129 2026-03-19 02:13:24,671 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-03-19 02:13:24,726 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661?flat'} 2026-03-19 02:13:24,726 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-79834661 is found in opserver 2026-03-19 02:13:24,826 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:13:24,877 - DEBUG - VRF ids for VN ctest-vn-79834661: {} 2026-03-19 02:13:24,951 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:13:26,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-686-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-686-1) 2026-03-19 02:13:27,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-686-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-686-1) 2026-03-19 02:13:27,471 - INFO - Waiting for VM ctest-TestBasicPolicy-81793372-98026926 to be up.. 2026-03-19 02:13:27,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:13:32,755 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:13:32,755 - INFO - VM name : ctest-TestBasicPolicy-81793372-98026926 2026-03-19 02:13:32,906 - DEBUG - VM ctest-TestBasicPolicy-81793372-98026926 ID is fcf7c76e-3bca-43e6-8e8a-951238bd85a0 2026-03-19 02:13:32,940 - DEBUG - VM ctest-TestBasicPolicy-81793372-98026926 launched on Node cn-jenkins-deploy-platform-juju-os-686-1 2026-03-19 02:13:33,083 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/fcf7c76e-3bca-43e6-8e8a-951238bd85a0 2026-03-19 02:13:33,146 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/61d419b8-6dff-45af-a09f-4594cc24d4ed 2026-03-19 02:13:36,623 - 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 1015ms') 2026-03-19 02:13:36,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81793372-98026926 failed! 2026-03-19 02:13:36,681 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-81793372:ctest-vn-42469681 is 43.123.62.1 and allocation pool is NOT set 2026-03-19 02:13:38,769 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.881/3.224/4.568/1.343 ms') 2026-03-19 02:13:38,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81793372-98026926 passed 2026-03-19 02:13:38,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:13:38,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81793372-98026926, IP 43.123.62.3, Port 22 2026-03-19 02:13:39,015 - 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-03-19 02:13:39,158 - DEBUG - VM ctest-TestBasicPolicy-81793372-98026926 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:13:44,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:13:44,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81793372-98026926, IP 43.123.62.3, Port 22 2026-03-19 02:13:44,386 - DEBUG - VM ctest-TestBasicPolicy-81793372-98026926 is ready for SSH connections 2026-03-19 02:13:44,386 - INFO - Waiting for VM ctest-TestBasicPolicy-81793372-61521364 to be up.. 2026-03-19 02:13:44,526 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:13:44,526 - INFO - VM name : ctest-TestBasicPolicy-81793372-61521364 2026-03-19 02:13:44,676 - DEBUG - VM ctest-TestBasicPolicy-81793372-61521364 ID is 0262f6ab-e1d1-48ab-9239-b6a45afae8cd 2026-03-19 02:13:44,676 - DEBUG - VM ctest-TestBasicPolicy-81793372-61521364 launched on Node cn-jenkins-deploy-platform-juju-os-686-1 2026-03-19 02:13:44,822 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/0262f6ab-e1d1-48ab-9239-b6a45afae8cd 2026-03-19 02:13:44,882 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/c2fec35d-33fb-4bc0-b8c7-7d0a08fe00c7 2026-03-19 02:13:46,341 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.618 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.618/1.708/2.798/1.090 ms') 2026-03-19 02:13:46,341 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81793372-61521364 passed 2026-03-19 02:13:46,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:13:46,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81793372-61521364, IP 182.200.5.195, Port 22 2026-03-19 02:13:46,712 - DEBUG - VM ctest-TestBasicPolicy-81793372-61521364 is ready for SSH connections 2026-03-19 02:13:46,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:13:46,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.200.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-19 02:13:46,713 - DEBUG - ping -s 56 -c 3 -W 1 182.200.5.195 2026-03-19 02:13:50,762 - DEBUG - PING 182.200.5.195 (182.200.5.195): 56 data bytes 64 bytes from 182.200.5.195: seq=0 ttl=63 time=3.702 ms 64 bytes from 182.200.5.195: seq=1 ttl=63 time=0.915 ms 64 bytes from 182.200.5.195: seq=2 ttl=63 time=1.059 ms --- 182.200.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/1.892/3.702 ms 2026-03-19 02:13:50,762 - INFO - Ping to IP 182.200.5.195 from VM ctest-TestBasicPolicy-81793372-98026926 passed 2026-03-19 02:13:50,953 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8fb9c033-d204-40d2-9b7a-d897aa104448", "href": "https://10.0.0.129:8082/network-policy/8fb9c033-d204-40d2-9b7a-d897aa104448"}} 2026-03-19 02:13:50,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:13:50,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.200.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-19 02:13:50,953 - DEBUG - ping -s 56 -c 3 -W 1 182.200.5.195 2026-03-19 02:13:54,207 - DEBUG - PING 182.200.5.195 (182.200.5.195): 56 data bytes --- 182.200.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 02:13:54,208 - WARNING - Ping to IP 182.200.5.195 from VM ctest-TestBasicPolicy-81793372-98026926 failed 2026-03-19 02:13:54,208 - INFO - Deleting VM ctest-TestBasicPolicy-81793372-61521364 2026-03-19 02:13:54,356 - INFO - Deleting VM ctest-TestBasicPolicy-81793372-98026926 2026-03-19 02:13:55,147 - INFO - Deleted policy ctest-policy-allow-all-71826525 2026-03-19 02:13:55,147 - INFO - Deleting VN ctest-vn-79834661 2026-03-19 02:13:55,296 - DEBUG - VN 6c750b1f-1192-4e79-aa74-b9ba43d95b5f still in use: Unable to complete operation on network 6c750b1f-1192-4e79-aa74-b9ba43d95b5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7810ab4-b3f9-4c4c-a45b-ab6b3d2db291'] 2026-03-19 02:13:55,296 - WARNING - Deleting VN ctest-vn-79834661 failed..Will retry 2026-03-19 02:13:57,473 - DEBUG - Response for deleting network () 2026-03-19 02:13:57,473 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/eae684a3-cf37-420a-be76-60a5e2efa7a9 2026-03-19 02:13:57,525 - DEBUG - Response Code: 404 2026-03-19 02:13:57,525 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:57,577 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:57,634 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:57,710 - INFO - Validated that VN ctest-vn-79834661 is not found in API Server 2026-03-19 02:13:57,809 - DEBUG - VN ctest-vn-79834661 is not present in Agent 10.0.0.129 2026-03-19 02:13:57,809 - INFO - Validated that VN ctest-vn-79834661 is not in any agent 2026-03-19 02:13:57,958 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79834661 info 2026-03-19 02:13:57,958 - INFO - Deleting VN ctest-vn-42469681 2026-03-19 02:13:58,133 - DEBUG - Response for deleting network () 2026-03-19 02:13:58,133 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/7643996b-91cf-4203-a5eb-706560f2b63a 2026-03-19 02:13:58,193 - DEBUG - Response Code: 404 2026-03-19 02:13:58,193 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-03-19 02:13:58,245 - DEBUG - Requesting: https://10.0.0.129:8082/domain/935bc1a1-2451-4f6c-b0bc-2e43d3120885 2026-03-19 02:13:58,302 - DEBUG - Requesting: https://10.0.0.129:8082/project/0174d580-1d77-4b15-8f9b-aacd07b1dac1 2026-03-19 02:13:58,382 - INFO - Validated that VN ctest-vn-42469681 is not found in API Server 2026-03-19 02:13:58,485 - DEBUG - VN ctest-vn-42469681 is not present in Agent 10.0.0.129 2026-03-19 02:13:58,485 - INFO - Validated that VN ctest-vn-42469681 is not in any agent 2026-03-19 02:13:58,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42469681 info 2026-03-19 02:13:59,018 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 02:13:59,018 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42]
2026-03-19 02:13:59,018 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:13:59,770 - INFO - Deleted project: ctest-TestBasicPolicy-81793372, ID : 0174d580-1d77-4b15-8f9b-aacd07b1dac1