2026-03-12 01:50:29,996 - INFO - Reading existing Domain with UUID d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:50:30,008 - INFO - Using existing domain ['admin_domain'](d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a) 2026-03-12 01:50:30,226 - INFO - Project ctest-TestBasicPolicy-80153832 not found, creating it 2026-03-12 01:50:30,726 - INFO - Created Project:ctest-TestBasicPolicy-80153832, ID : 0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:50:32,517 - INFO - ================================================================================ 2026-03-12 01:50:32,517 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-12 01:50:32,517 - 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-12 01:50:32,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-03-12 01:50:32,910 - INFO - Initial checks done. Running the testcase now 2026-03-12 01:50:32,911 - INFO - 2026-03-12 01:50:33,742 - DEBUG - Response for create_network : {'network': {'id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'name': 'ctest-vn-56582956', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-56582956'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-12 01:50:33,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '72484626-fee1-4296-84ad-ee59a6d77c8d', 'name': '', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'network_id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'ip_version': 4, 'cidr': '13.26.18.0/26', 'allocation_pools': [{'start': '13.26.18.2', 'end': '13.26.18.62'}], 'gateway_ip': '13.26.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:50:33.900390', 'updated_at': '2026-03-12T01:50:33.900390', 'dns_server_address': '13.26.18.2', 'tags': [], 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496'}} 2026-03-12 01:50:34,067 - INFO - Created VN ctest-vn-56582956 2026-03-12 01:50:34,121 - DEBUG - VN ctest-vn-56582956 UUID is 1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:34,643 - DEBUG - Response for create_network : {'network': {'id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'name': 'ctest-vn-54634627', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-54634627'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-12 01:50:34,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '1831ca78-f3e3-46d5-a404-65bec5aa448d', 'name': '', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'network_id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'ip_version': 4, 'cidr': '22.178.57.64/26', 'allocation_pools': [{'start': '22.178.57.66', 'end': '22.178.57.126'}], 'gateway_ip': '22.178.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:50:34.788286', 'updated_at': '2026-03-12T01:50:34.788286', 'dns_server_address': '22.178.57.66', 'tags': [], 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496'}} 2026-03-12 01:50:34,951 - INFO - Created VN ctest-vn-54634627 2026-03-12 01:50:35,009 - DEBUG - VN ctest-vn-54634627 UUID is eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:35,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956, 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-80153832:ctest-vn-54634627, 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-12 01:50:35,665 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'name': 'ctest-vn-56582956', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72484626-fee1-4296-84ad-ee59a6d77c8d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-56582956'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']], 'subnet_ipam': [{'subnet_cidr': '13.26.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-12T01:50:33.657573', 'updated_at': '2026-03-12T01:50:33.913724'}} 2026-03-12 01:50:36,011 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'name': 'ctest-vn-54634627', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1831ca78-f3e3-46d5-a404-65bec5aa448d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-54634627'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']], 'subnet_ipam': [{'subnet_cidr': '22.178.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-12T01:50:34.556185', 'updated_at': '2026-03-12T01:50:34.800593'}} 2026-03-12 01:50:36,209 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:50:36,563 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:50:36,646 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:50:36,710 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:50:36,798 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:36,859 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:36,919 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:50:36,975 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:50:37,030 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/64c001fe-119f-46e3-812c-e021f9b8f2db 2026-03-12 01:50:37,082 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 01:50:37,082 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:37,139 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:50:37,207 - INFO - Verified VN network id 11 for VN 1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:37,207 - INFO - Verifications in API Server for VN ctest-vn-56582956 passed 2026-03-12 01:50:37,207 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:37,263 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:50:37,318 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:50:37,374 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/64c001fe-119f-46e3-812c-e021f9b8f2db 2026-03-12 01:50:37,480 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80153832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1186641722764247240', 'uuid-lslong': '13064501609926904095'}, 'enable': 'true', 'created': '2026-03-12T01:50:33', 'last-modified': '2026-03-12T01:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.859280'} 2026-03-12 01:50:37,532 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 01:50:37,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56582956 passed 2026-03-12 01:50:37,533 - DEBUG - ====Verifying policy data for ctest-vn-56582956 in API_Server ====== 2026-03-12 01:50:37,533 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:50:37,585 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:50:37,646 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:50:37,727 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f 2026-03-12 01:50:37,783 - DEBUG - ==>Verifying data for policy with id: a99913b8-ae92-403b-a325-61b0b2fbb00e, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592'] 2026-03-12 01:50:37,783 - INFO - VN ctest-vn-56582956 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 01:50:37,783 - DEBUG - Verifying the vn in opserver 2026-03-12 01:50:37,783 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956 virtual network link through opserver 10.0.0.41 2026-03-12 01:50:37,783 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-12 01:50:38,138 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-12 01:50:38,269 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956?flat'} 2026-03-12 01:50:38,269 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956 is found in opserver 2026-03-12 01:50:38,374 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 01:50:38,421 - DEBUG - VRF ids for VN ctest-vn-56582956: {} 2026-03-12 01:50:38,421 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:50:38,479 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:50:38,548 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:50:38,638 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:38,699 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:38,755 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:50:38,814 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:50:38,870 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84276066-f356-4c45-a75a-f936a528c116 2026-03-12 01:50:38,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 01:50:38,922 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:38,979 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:50:39,046 - INFO - Verified VN network id 12 for VN eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:39,046 - INFO - Verifications in API Server for VN ctest-vn-54634627 passed 2026-03-12 01:50:39,047 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:39,107 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:50:39,162 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:50:39,222 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84276066-f356-4c45-a75a-f936a528c116 2026-03-12 01:50:39,330 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80153832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16971026080237440017', 'uuid-lslong': '12418548804200281687'}, 'enable': 'true', 'created': '2026-03-12T01:50:34', 'last-modified': '2026-03-12T01:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.346560'} 2026-03-12 01:50:39,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 01:50:39,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54634627 passed 2026-03-12 01:50:39,387 - DEBUG - ====Verifying policy data for ctest-vn-54634627 in API_Server ====== 2026-03-12 01:50:39,387 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:50:39,437 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:50:39,502 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:50:39,578 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657 2026-03-12 01:50:39,643 - DEBUG - ==>Verifying data for policy with id: a99913b8-ae92-403b-a325-61b0b2fbb00e, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592'] 2026-03-12 01:50:39,643 - INFO - VN ctest-vn-54634627 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 01:50:39,643 - DEBUG - Verifying the vn in opserver 2026-03-12 01:50:39,643 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627 virtual network link through opserver 10.0.0.41 2026-03-12 01:50:39,643 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-12 01:50:39,701 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627?flat'} 2026-03-12 01:50:39,701 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627 is found in opserver 2026-03-12 01:50:39,805 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 01:50:39,858 - DEBUG - VRF ids for VN ctest-vn-54634627: {} 2026-03-12 01:50:39,932 - DEBUG - Services list from nova: [, , ] 2026-03-12 01:50:41,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-684-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-684-1) 2026-03-12 01:50:42,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-684-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-684-1) 2026-03-12 01:50:42,558 - INFO - Waiting for VM ctest-TestBasicPolicy-80153832-39470611 to be up.. 2026-03-12 01:50:42,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 01:50:47,855 - DEBUG - VM is in ACTIVE state now 2026-03-12 01:50:47,855 - INFO - VM name : ctest-TestBasicPolicy-80153832-39470611 2026-03-12 01:50:48,007 - DEBUG - VM ctest-TestBasicPolicy-80153832-39470611 ID is 75af39f7-38c4-487c-8902-308c5d712465 2026-03-12 01:50:48,034 - DEBUG - VM ctest-TestBasicPolicy-80153832-39470611 launched on Node cn-jenkins-deploy-platform-juju-os-684-1 2026-03-12 01:50:48,188 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/75af39f7-38c4-487c-8902-308c5d712465 2026-03-12 01:50:48,246 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/00ab7f50-d70a-4920-83bf-3672ac513089 2026-03-12 01:50:51,733 - 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 1028ms') 2026-03-12 01:50:51,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80153832-39470611 failed! 2026-03-12 01:50:51,793 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956 is 13.26.18.1 and allocation pool is NOT set 2026-03-12 01:50:53,880 - 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=9.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.483/6.227/9.971/3.744 ms') 2026-03-12 01:50:53,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80153832-39470611 passed 2026-03-12 01:50:54,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:50:54,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80153832-39470611, IP 13.26.18.3, Port 22 2026-03-12 01:50:54,123 - 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-12 01:50:54,266 - DEBUG - VM ctest-TestBasicPolicy-80153832-39470611 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 01:50:59,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:50:59,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80153832-39470611, IP 13.26.18.3, Port 22 2026-03-12 01:50:59,486 - DEBUG - VM ctest-TestBasicPolicy-80153832-39470611 is ready for SSH connections 2026-03-12 01:50:59,486 - INFO - Waiting for VM ctest-TestBasicPolicy-80153832-27404781 to be up.. 2026-03-12 01:50:59,631 - DEBUG - VM is in ACTIVE state now 2026-03-12 01:50:59,631 - INFO - VM name : ctest-TestBasicPolicy-80153832-27404781 2026-03-12 01:50:59,769 - DEBUG - VM ctest-TestBasicPolicy-80153832-27404781 ID is a826ad61-bf1e-4fb8-a657-1846cd495dcd 2026-03-12 01:50:59,769 - DEBUG - VM ctest-TestBasicPolicy-80153832-27404781 launched on Node cn-jenkins-deploy-platform-juju-os-684-1 2026-03-12 01:50:59,911 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/a826ad61-bf1e-4fb8-a657-1846cd495dcd 2026-03-12 01:50:59,966 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/c26b5f42-5942-4840-968c-49026db5b411 2026-03-12 01:51:01,439 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/1.437/2.286/0.848 ms') 2026-03-12 01:51:01,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80153832-27404781 passed 2026-03-12 01:51:01,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:51:01,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80153832-27404781, IP 22.178.57.67, Port 22 2026-03-12 01:51:01,836 - DEBUG - VM ctest-TestBasicPolicy-80153832-27404781 is ready for SSH connections 2026-03-12 01:51:01,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:51:01,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.178.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-12 01:51:01,836 - DEBUG - ping -s 56 -c 3 -W 1 22.178.57.67 2026-03-12 01:51:05,965 - DEBUG - PING 22.178.57.67 (22.178.57.67): 56 data bytes 64 bytes from 22.178.57.67: seq=0 ttl=63 time=3.680 ms 64 bytes from 22.178.57.67: seq=1 ttl=63 time=0.958 ms 64 bytes from 22.178.57.67: seq=2 ttl=63 time=1.031 ms --- 22.178.57.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.889/3.680 ms 2026-03-12 01:51:05,966 - INFO - Ping to IP 22.178.57.67 from VM ctest-TestBasicPolicy-80153832-39470611 passed 2026-03-12 01:51:06,233 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a99913b8-ae92-403b-a325-61b0b2fbb00e", "href": "https://10.0.0.41:8082/network-policy/a99913b8-ae92-403b-a325-61b0b2fbb00e"}} 2026-03-12 01:51:06,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:51:06,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.178.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-12 01:51:06,233 - DEBUG - ping -s 56 -c 3 -W 1 22.178.57.67 2026-03-12 01:51:09,468 - DEBUG - PING 22.178.57.67 (22.178.57.67): 56 data bytes --- 22.178.57.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-12 01:51:09,469 - WARNING - Ping to IP 22.178.57.67 from VM ctest-TestBasicPolicy-80153832-39470611 failed 2026-03-12 01:51:09,469 - INFO - Deleting VM ctest-TestBasicPolicy-80153832-27404781 2026-03-12 01:51:09,581 - INFO - Deleting VM ctest-TestBasicPolicy-80153832-39470611 2026-03-12 01:51:10,334 - INFO - Deleted policy ctest-policy-allow-all-77326592 2026-03-12 01:51:10,334 - INFO - Deleting VN ctest-vn-54634627 2026-03-12 01:51:10,488 - DEBUG - VN eb85324d-ba71-4c11-ac57-8c575435b657 still in use: Unable to complete operation on network eb85324d-ba71-4c11-ac57-8c575435b657. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27005842-c3d8-4029-95ed-d77979344b89'] 2026-03-12 01:51:10,489 - WARNING - Deleting VN ctest-vn-54634627 failed..Will retry 2026-03-12 01:51:12,794 - DEBUG - Response for deleting network () 2026-03-12 01:51:12,794 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5 2026-03-12 01:51:12,849 - DEBUG - Response Code: 404 2026-03-12 01:51:12,849 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:51:12,901 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:51:12,962 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:51:13,043 - INFO - Validated that VN ctest-vn-54634627 is not found in API Server 2026-03-12 01:51:13,141 - DEBUG - VN ctest-vn-54634627 is not present in Agent 10.0.0.41 2026-03-12 01:51:13,141 - INFO - Validated that VN ctest-vn-54634627 is not in any agent 2026-03-12 01:51:13,290 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54634627 info 2026-03-12 01:51:13,290 - INFO - Deleting VN ctest-vn-56582956 2026-03-12 01:51:13,465 - DEBUG - Response for deleting network () 2026-03-12 01:51:13,465 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774 2026-03-12 01:51:13,521 - DEBUG - Response Code: 404 2026-03-12 01:51:13,521 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-12 01:51:13,574 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:51:13,630 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496 2026-03-12 01:51:13,711 - INFO - Validated that VN ctest-vn-56582956 is not found in API Server 2026-03-12 01:51:13,813 - DEBUG - VN ctest-vn-56582956 is not present in Agent 10.0.0.41 2026-03-12 01:51:13,813 - INFO - Validated that VN ctest-vn-56582956 is not in any agent 2026-03-12 01:51:13,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56582956 info 2026-03-12 01:51:14,374 - DEBUG - No XMPP flaps were noticed during the test 2026-03-12 01:51:14,374 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42] 2026-03-12 01:51:14,374 - INFO - -------------------------------------------------------------------------------- 2026-03-12 01:51:15,142 - INFO - Deleted project: ctest-TestBasicPolicy-80153832, ID : 0cbbe601-474e-4ef6-8a5e-e8ce659c7496