2026-04-20 01:52:07,599 - INFO - Reading existing Domain with UUID 44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:07,612 - INFO - Using existing domain ['admin_domain'](44568180-4456-4d24-a723-60c17b729be7) 2026-04-20 01:52:07,865 - INFO - Project ctest-TestBasicPolicy-29170469 not found, creating it 2026-04-20 01:52:08,387 - INFO - Created Project:ctest-TestBasicPolicy-29170469, ID : 3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:10,288 - INFO - ================================================================================ 2026-04-20 01:52:10,288 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 01:52:10,288 - 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-04-20 01:52:10,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-20 01:52:10,692 - INFO - Initial checks done. Running the testcase now 2026-04-20 01:52:10,692 - INFO - 2026-04-20 01:52:11,526 - DEBUG - Response for create_network : {'network': {'id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'name': 'ctest-vn-08450531', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-08450531'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-20 01:52:11,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '38737230-530a-4078-b461-36761617a9fd', 'name': '', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'network_id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'ip_version': 4, 'cidr': '19.157.181.192/26', 'allocation_pools': [{'start': '19.157.181.194', 'end': '19.157.181.254'}], 'gateway_ip': '19.157.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:52:11.650214', 'updated_at': '2026-04-20T01:52:11.650214', 'dns_server_address': '19.157.181.194', 'tags': [], 'project_id': '3fc0a848645d4580a8e11d961c987cdb'}} 2026-04-20 01:52:11,824 - INFO - Created VN ctest-vn-08450531 2026-04-20 01:52:11,881 - DEBUG - VN ctest-vn-08450531 UUID is f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:12,415 - DEBUG - Response for create_network : {'network': {'id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'name': 'ctest-vn-77264691', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-77264691'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-20 01:52:12,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '97599519-2097-49e4-99a1-2fe478bcd818', 'name': '', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'network_id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'ip_version': 4, 'cidr': '109.66.58.0/26', 'allocation_pools': [{'start': '109.66.58.2', 'end': '109.66.58.62'}], 'gateway_ip': '109.66.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:52:12.573129', 'updated_at': '2026-04-20T01:52:12.573129', 'dns_server_address': '109.66.58.2', 'tags': [], 'project_id': '3fc0a848645d4580a8e11d961c987cdb'}} 2026-04-20 01:52:12,752 - INFO - Created VN ctest-vn-77264691 2026-04-20 01:52:12,805 - DEBUG - VN ctest-vn-77264691 UUID is 4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:13,027 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531, 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-29170469:ctest-vn-77264691, 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-04-20 01:52:13,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'name': 'ctest-vn-08450531', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38737230-530a-4078-b461-36761617a9fd'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-08450531'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']], 'subnet_ipam': [{'subnet_cidr': '19.157.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-20T01:52:11.438875', 'updated_at': '2026-04-20T01:52:11.664349'}} 2026-04-20 01:52:13,882 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'name': 'ctest-vn-77264691', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97599519-2097-49e4-99a1-2fe478bcd818'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-77264691'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']], 'subnet_ipam': [{'subnet_cidr': '109.66.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-20T01:52:12.335786', 'updated_at': '2026-04-20T01:52:12.587056'}} 2026-04-20 01:52:14,150 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:14,547 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:14,642 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:14,702 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:14,804 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:14,867 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:14,923 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:14,978 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:15,035 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/95413972-3d7c-4b5c-8c61-51c4c3bc43ae 2026-04-20 01:52:15,090 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 01:52:15,090 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:15,147 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:15,213 - INFO - Verified VN network id 11 for VN f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:15,213 - INFO - Verifications in API Server for VN ctest-vn-08450531 passed 2026-04-20 01:52:15,213 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:15,271 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:15,330 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:15,386 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/95413972-3d7c-4b5c-8c61-51c4c3bc43ae 2026-04-20 01:52:15,495 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29170469', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17642222629734794474', 'uuid-lslong': '13441056886185010936'}, 'enable': 'true', 'created': '2026-04-20T01:52:11', 'last-modified': '2026-04-20T01:52:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.076553'} 2026-04-20 01:52:15,548 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 01:52:15,548 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08450531 passed 2026-04-20 01:52:15,549 - DEBUG - ====Verifying policy data for ctest-vn-08450531 in API_Server ====== 2026-04-20 01:52:15,549 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:15,602 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:15,662 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:15,763 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8 2026-04-20 01:52:15,833 - DEBUG - ==>Verifying data for policy with id: 9b340966-5e4b-4e93-88fe-82750f4efd0f, fqn: ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955'] 2026-04-20 01:52:15,833 - INFO - VN ctest-vn-08450531 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 01:52:15,833 - DEBUG - Verifying the vn in opserver 2026-04-20 01:52:15,833 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 virtual network link through opserver 10.0.0.129 2026-04-20 01:52:15,833 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-20 01:52:16,195 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-20 01:52:16,318 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531?flat'} 2026-04-20 01:52:16,318 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 is found in opserver 2026-04-20 01:52:16,422 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 01:52:16,470 - DEBUG - VRF ids for VN ctest-vn-08450531: {} 2026-04-20 01:52:16,470 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:16,526 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:16,587 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:16,675 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:16,735 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:16,791 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:16,848 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:16,903 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/0f7dc78f-34ec-4327-ba26-beff7e35a689 2026-04-20 01:52:16,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 01:52:16,962 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:17,021 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:17,091 - INFO - Verified VN network id 12 for VN 4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:17,091 - INFO - Verifications in API Server for VN ctest-vn-77264691 passed 2026-04-20 01:52:17,092 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:17,152 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:17,206 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:17,266 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/0f7dc78f-34ec-4327-ba26-beff7e35a689 2026-04-20 01:52:17,375 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29170469', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5714169127536968006', 'uuid-lslong': '12748089881721154029'}, 'enable': 'true', 'created': '2026-04-20T01:52:12', 'last-modified': '2026-04-20T01:52:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.523728'} 2026-04-20 01:52:17,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 01:52:17,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77264691 passed 2026-04-20 01:52:17,428 - DEBUG - ====Verifying policy data for ctest-vn-77264691 in API_Server ====== 2026-04-20 01:52:17,428 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:17,482 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:17,542 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:17,627 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed 2026-04-20 01:52:17,687 - DEBUG - ==>Verifying data for policy with id: 9b340966-5e4b-4e93-88fe-82750f4efd0f, fqn: ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955'] 2026-04-20 01:52:17,687 - INFO - VN ctest-vn-77264691 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 01:52:17,687 - DEBUG - Verifying the vn in opserver 2026-04-20 01:52:17,687 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691 virtual network link through opserver 10.0.0.129 2026-04-20 01:52:17,687 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-04-20 01:52:17,742 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691?flat'} 2026-04-20 01:52:17,742 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691 is found in opserver 2026-04-20 01:52:17,846 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 01:52:17,903 - DEBUG - VRF ids for VN ctest-vn-77264691: {} 2026-04-20 01:52:17,991 - DEBUG - Services list from nova: [, , ] 2026-04-20 01:52:19,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-695-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-695-1) 2026-04-20 01:52:21,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-695-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-695-1) 2026-04-20 01:52:21,229 - INFO - Waiting for VM ctest-TestBasicPolicy-29170469-22888291 to be up.. 2026-04-20 01:52:21,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 01:52:26,681 - DEBUG - VM is in ACTIVE state now 2026-04-20 01:52:26,681 - INFO - VM name : ctest-TestBasicPolicy-29170469-22888291 2026-04-20 01:52:27,102 - DEBUG - VM ctest-TestBasicPolicy-29170469-22888291 ID is 39435b90-f14d-41d0-8a86-541803b9a787 2026-04-20 01:52:27,615 - DEBUG - VM ctest-TestBasicPolicy-29170469-22888291 launched on Node cn-jenkins-deploy-platform-juju-os-695-1 2026-04-20 01:52:27,984 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/39435b90-f14d-41d0-8a86-541803b9a787 2026-04-20 01:52:28,083 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/ab132f9b-6afd-475d-94ce-c14b88cce41c 2026-04-20 01:52:31,700 - 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 1008ms') 2026-04-20 01:52:31,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29170469-22888291 failed! 2026-04-20 01:52:31,774 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 is 19.157.181.193 and allocation pool is NOT set 2026-04-20 01:52:35,983 - 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 1017ms') 2026-04-20 01:52:35,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29170469-22888291 failed! 2026-04-20 01:52:36,059 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 is 19.157.181.193 and allocation pool is NOT set 2026-04-20 01:52:40,174 - 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=2 ttl=63 time=4.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.312/4.312/4.312/0.000 ms') 2026-04-20 01:52:40,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29170469-22888291 passed 2026-04-20 01:52:40,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:52:40,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29170469-22888291, IP 19.157.181.195, Port 22 2026-04-20 01:52:40,587 - 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-04-20 01:52:40,781 - DEBUG - VM ctest-TestBasicPolicy-29170469-22888291 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 01:52:45,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:52:45,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29170469-22888291, IP 19.157.181.195, Port 22 2026-04-20 01:52:46,019 - DEBUG - VM ctest-TestBasicPolicy-29170469-22888291 is ready for SSH connections 2026-04-20 01:52:46,019 - INFO - Waiting for VM ctest-TestBasicPolicy-29170469-33816348 to be up.. 2026-04-20 01:52:46,179 - DEBUG - VM is in ACTIVE state now 2026-04-20 01:52:46,179 - INFO - VM name : ctest-TestBasicPolicy-29170469-33816348 2026-04-20 01:52:46,359 - DEBUG - VM ctest-TestBasicPolicy-29170469-33816348 ID is 3b9350eb-cc49-4d9f-b38b-efc0aeff0830 2026-04-20 01:52:46,359 - DEBUG - VM ctest-TestBasicPolicy-29170469-33816348 launched on Node cn-jenkins-deploy-platform-juju-os-695-1 2026-04-20 01:52:46,576 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/3b9350eb-cc49-4d9f-b38b-efc0aeff0830 2026-04-20 01:52:46,634 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/8d3d5aad-41cc-4f16-bfb0-fba603b47f9a 2026-04-20 01:52:48,103 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/1.865/3.145/1.279 ms') 2026-04-20 01:52:48,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29170469-33816348 passed 2026-04-20 01:52:48,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:52:48,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29170469-33816348, IP 109.66.58.3, Port 22 2026-04-20 01:52:48,494 - DEBUG - VM ctest-TestBasicPolicy-29170469-33816348 is ready for SSH connections 2026-04-20 01:52:48,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:52:48,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.66.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-20 01:52:48,495 - DEBUG - ping -s 56 -c 3 -W 1 109.66.58.3 2026-04-20 01:52:52,270 - DEBUG - PING 109.66.58.3 (109.66.58.3): 56 data bytes 64 bytes from 109.66.58.3: seq=0 ttl=63 time=4.261 ms 64 bytes from 109.66.58.3: seq=1 ttl=63 time=1.283 ms 64 bytes from 109.66.58.3: seq=2 ttl=63 time=1.012 ms --- 109.66.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.012/2.185/4.261 ms 2026-04-20 01:52:52,270 - INFO - Ping to IP 109.66.58.3 from VM ctest-TestBasicPolicy-29170469-22888291 passed 2026-04-20 01:52:52,509 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b340966-5e4b-4e93-88fe-82750f4efd0f", "href": "https://10.0.0.129:8082/network-policy/9b340966-5e4b-4e93-88fe-82750f4efd0f"}} 2026-04-20 01:52:52,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:52:52,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.66.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-20 01:52:52,509 - DEBUG - ping -s 56 -c 3 -W 1 109.66.58.3 2026-04-20 01:52:55,757 - DEBUG - PING 109.66.58.3 (109.66.58.3): 56 data bytes --- 109.66.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 01:52:55,757 - WARNING - Ping to IP 109.66.58.3 from VM ctest-TestBasicPolicy-29170469-22888291 failed 2026-04-20 01:52:55,757 - INFO - Deleting VM ctest-TestBasicPolicy-29170469-33816348 2026-04-20 01:52:55,880 - INFO - Deleting VM ctest-TestBasicPolicy-29170469-22888291 2026-04-20 01:52:56,681 - INFO - Deleted policy ctest-policy-allow-all-64605955 2026-04-20 01:52:56,681 - INFO - Deleting VN ctest-vn-77264691 2026-04-20 01:52:56,841 - DEBUG - VN 4f4cce8b-e958-4146-b0ea-503484bda9ed still in use: Unable to complete operation on network 4f4cce8b-e958-4146-b0ea-503484bda9ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-841ba7bf-59b1-46db-8772-a29565f8d3ef'] 2026-04-20 01:52:56,842 - WARNING - Deleting VN ctest-vn-77264691 failed..Will retry 2026-04-20 01:52:59,029 - DEBUG - Response for deleting network () 2026-04-20 01:52:59,029 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc 2026-04-20 01:52:59,082 - DEBUG - Response Code: 404 2026-04-20 01:52:59,082 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:59,134 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:59,194 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:52:59,271 - INFO - Validated that VN ctest-vn-77264691 is not found in API Server 2026-04-20 01:52:59,378 - DEBUG - VN ctest-vn-77264691 is not present in Agent 10.0.0.129 2026-04-20 01:52:59,378 - INFO - Validated that VN ctest-vn-77264691 is not in any agent 2026-04-20 01:52:59,542 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77264691 info 2026-04-20 01:52:59,542 - INFO - Deleting VN ctest-vn-08450531 2026-04-20 01:52:59,791 - DEBUG - Response for deleting network () 2026-04-20 01:52:59,791 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb 2026-04-20 01:52:59,845 - DEBUG - Response Code: 404 2026-04-20 01:52:59,845 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-04-20 01:52:59,906 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:52:59,967 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb 2026-04-20 01:53:00,050 - INFO - Validated that VN ctest-vn-08450531 is not found in API Server 2026-04-20 01:53:00,155 - DEBUG - VN ctest-vn-08450531 is not present in Agent 10.0.0.129 2026-04-20 01:53:00,155 - INFO - Validated that VN ctest-vn-08450531 is not in any agent 2026-04-20 01:53:00,315 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08450531 info 2026-04-20 01:53:00,742 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 01:53:00,742 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:50]
2026-04-20 01:53:00,742 - INFO - -------------------------------------------------------------------------------- 2026-04-20 01:53:01,647 - INFO - Deleted project: ctest-TestBasicPolicy-29170469, ID : 3fc0a848-645d-4580-a8e1-1d961c987cdb