2025-06-23 01:53:24,807 - INFO - Reading existing Domain with UUID e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:53:24,820 - INFO - Using existing domain ['admin_domain'](e8d391b1-ca64-4945-8ae2-167d3ed268f0) 2025-06-23 01:53:25,051 - INFO - Project ctest-TestBasicPolicy-34869912 not found, creating it 2025-06-23 01:53:25,600 - INFO - Created Project:ctest-TestBasicPolicy-34869912, ID : 0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:53:27,515 - INFO - ================================================================================ 2025-06-23 01:53:27,515 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 01:53:27,515 - 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 2025-06-23 01:53:27,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-06-23 01:53:27,911 - INFO - Initial checks done. Running the testcase now 2025-06-23 01:53:27,911 - INFO - 2025-06-23 01:53:28,750 - DEBUG - Response for create_network : {'network': {'id': 'a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8', 'name': 'ctest-vn-96934248', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'project_id': '0f43a6b55d3a48a88506d70b68577d3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-vn-96934248'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-23 01:53:29,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd1f09e6-6531-48d1-ac8e-76be494dced0', 'name': '', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'network_id': 'a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8', 'ip_version': 4, 'cidr': '118.110.94.64/26', 'allocation_pools': [{'start': '118.110.94.66', 'end': '118.110.94.126'}], 'gateway_ip': '118.110.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-23T01:53:28.916682', 'updated_at': '2025-06-23T01:53:28.916682', 'dns_server_address': '118.110.94.66', 'tags': [], 'project_id': '0f43a6b55d3a48a88506d70b68577d3a'}} 2025-06-23 01:53:29,091 - INFO - Created VN ctest-vn-96934248 2025-06-23 01:53:29,149 - DEBUG - VN ctest-vn-96934248 UUID is a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:29,674 - DEBUG - Response for create_network : {'network': {'id': '6d768b61-04ca-45c3-b46f-4f26f6a95363', 'name': 'ctest-vn-76372152', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'project_id': '0f43a6b55d3a48a88506d70b68577d3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-vn-76372152'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-23 01:53:29,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df93b027-c4e8-44b7-9e9d-ae86a47c8088', 'name': '', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'network_id': '6d768b61-04ca-45c3-b46f-4f26f6a95363', 'ip_version': 4, 'cidr': '222.7.14.64/26', 'allocation_pools': [{'start': '222.7.14.66', 'end': '222.7.14.126'}], 'gateway_ip': '222.7.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-23T01:53:29.850216', 'updated_at': '2025-06-23T01:53:29.850216', 'dns_server_address': '222.7.14.66', 'tags': [], 'project_id': '0f43a6b55d3a48a88506d70b68577d3a'}} 2025-06-23 01:53:30,039 - INFO - Created VN ctest-vn-76372152 2025-06-23 01:53:30,097 - DEBUG - VN ctest-vn-76372152 UUID is 6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:30,323 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248, 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-34869912:ctest-vn-76372152, 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] 2025-06-23 01:53:30,785 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8', 'name': 'ctest-vn-96934248', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'project_id': '0f43a6b55d3a48a88506d70b68577d3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd1f09e6-6531-48d1-ac8e-76be494dced0'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-vn-96934248'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-policy-allow-all-32066213']], 'subnet_ipam': [{'subnet_cidr': '118.110.94.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-23T01:53:28.669591', 'updated_at': '2025-06-23T01:53:28.933059'}} 2025-06-23 01:53:31,149 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d768b61-04ca-45c3-b46f-4f26f6a95363', 'name': 'ctest-vn-76372152', 'tenant_id': '0f43a6b55d3a48a88506d70b68577d3a', 'project_id': '0f43a6b55d3a48a88506d70b68577d3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['df93b027-c4e8-44b7-9e9d-ae86a47c8088'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-vn-76372152'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-policy-allow-all-32066213']], 'subnet_ipam': [{'subnet_cidr': '222.7.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-23T01:53:29.591351', 'updated_at': '2025-06-23T01:53:29.865334'}} 2025-06-23 01:53:31,365 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:53:31,765 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:53:31,858 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:53:31,927 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:53:32,019 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:32,080 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:32,143 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:53:32,202 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:53:32,278 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/6bc7abca-429b-4047-b584-839843e8412f 2025-06-23 01:53:32,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 01:53:32,334 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:32,391 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:53:32,464 - INFO - Verified VN network id 7 for VN a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:32,464 - INFO - Verifications in API Server for VN ctest-vn-96934248 passed 2025-06-23 01:53:32,464 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:32,528 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:53:32,582 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:53:32,638 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/6bc7abca-429b-4047-b584-839843e8412f 2025-06-23 01:53:32,750 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34869912', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11741996716275878435', 'uuid-lslong': '11226978844669701848'}, 'enable': 'true', 'created': '2025-06-23T01:53:28', 'last-modified': '2025-06-23T01:53:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.004908'} 2025-06-23 01:53:32,804 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 01:53:32,804 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96934248 passed 2025-06-23 01:53:32,804 - DEBUG - ====Verifying policy data for ctest-vn-96934248 in API_Server ====== 2025-06-23 01:53:32,804 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:53:32,862 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:53:32,930 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:53:33,035 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/a2f3f3cd-3b6d-4a23-9bce-3dc6b15ceed8 2025-06-23 01:53:33,091 - DEBUG - ==>Verifying data for policy with id: 105a9989-3745-4710-a094-1b0e01f7eb31, fqn: ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-policy-allow-all-32066213'] 2025-06-23 01:53:33,091 - INFO - VN ctest-vn-96934248 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 01:53:33,092 - DEBUG - Verifying the vn in opserver 2025-06-23 01:53:33,092 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248 virtual network link through opserver 10.0.0.22 2025-06-23 01:53:33,092 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-23 01:53:33,480 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-23 01:53:33,598 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248?flat'} 2025-06-23 01:53:33,598 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248 is found in opserver 2025-06-23 01:53:33,702 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 01:53:33,754 - DEBUG - VRF ids for VN ctest-vn-96934248: {} 2025-06-23 01:53:33,754 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:53:33,806 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:53:33,867 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:53:33,951 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,011 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,068 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:53:34,122 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:53:34,178 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/bf36e642-3b47-43f0-8ff7-ac15da26ec43 2025-06-23 01:53:34,234 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 01:53:34,234 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,291 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:53:34,355 - INFO - Verified VN network id 8 for VN 6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,356 - INFO - Verifications in API Server for VN ctest-vn-76372152 passed 2025-06-23 01:53:34,356 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,412 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:53:34,466 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:53:34,526 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/bf36e642-3b47-43f0-8ff7-ac15da26ec43 2025-06-23 01:53:34,638 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-76372152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34869912', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7887645046194456003', 'uuid-lslong': '13001697678007554915'}, 'enable': 'true', 'created': '2025-06-23T01:53:29', 'last-modified': '2025-06-23T01:53:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.523398'} 2025-06-23 01:53:34,691 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 01:53:34,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76372152 passed 2025-06-23 01:53:34,692 - DEBUG - ====Verifying policy data for ctest-vn-76372152 in API_Server ====== 2025-06-23 01:53:34,692 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:53:34,746 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:53:34,807 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:53:34,895 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/6d768b61-04ca-45c3-b46f-4f26f6a95363 2025-06-23 01:53:34,951 - DEBUG - ==>Verifying data for policy with id: 105a9989-3745-4710-a094-1b0e01f7eb31, fqn: ['admin_domain', 'ctest-TestBasicPolicy-34869912', 'ctest-policy-allow-all-32066213'] 2025-06-23 01:53:34,951 - INFO - VN ctest-vn-76372152 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 01:53:34,952 - DEBUG - Verifying the vn in opserver 2025-06-23 01:53:34,952 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-76372152 virtual network link through opserver 10.0.0.22 2025-06-23 01:53:34,952 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-23 01:53:35,010 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-76372152', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-76372152?flat'} 2025-06-23 01:53:35,010 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-76372152 is found in opserver 2025-06-23 01:53:35,114 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 01:53:35,166 - DEBUG - VRF ids for VN ctest-vn-76372152: {} 2025-06-23 01:53:35,233 - DEBUG - Services list from nova: [, , ] 2025-06-23 01:53:36,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-548-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-548-1) 2025-06-23 01:53:37,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-548-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-548-1) 2025-06-23 01:53:37,905 - INFO - Waiting for VM ctest-TestBasicPolicy-34869912-04935817 to be up.. 2025-06-23 01:53:38,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 01:53:43,250 - DEBUG - VM is in ACTIVE state now 2025-06-23 01:53:43,250 - INFO - VM name : ctest-TestBasicPolicy-34869912-04935817 2025-06-23 01:53:43,399 - DEBUG - VM ctest-TestBasicPolicy-34869912-04935817 ID is fd4bb750-453c-4ba4-b3df-e3ded3bc0ba2 2025-06-23 01:53:43,425 - DEBUG - VM ctest-TestBasicPolicy-34869912-04935817 launched on Node cn-jenkins-deploy-platform-juju-os-548-1 2025-06-23 01:53:43,581 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/fd4bb750-453c-4ba4-b3df-e3ded3bc0ba2 2025-06-23 01:53:43,642 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/4da66e19-c72b-48b8-94eb-9abf86f9d10a 2025-06-23 01:53:47,125 - 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 1006ms') 2025-06-23 01:53:47,125 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34869912-04935817 failed! 2025-06-23 01:53:47,185 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-34869912:ctest-vn-96934248 is 118.110.94.65 and allocation pool is NOT set 2025-06-23 01:53:49,279 - 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=23.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.354/12.304/23.254/10.950 ms') 2025-06-23 01:53:49,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34869912-04935817 passed 2025-06-23 01:53:49,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:53:49,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34869912-04935817, IP 118.110.94.67, Port 22 2025-06-23 01:53:49,537 - 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': ''} 2025-06-23 01:53:49,695 - DEBUG - VM ctest-TestBasicPolicy-34869912-04935817 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-23 01:53:54,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:53:54,698 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34869912-04935817, IP 118.110.94.67, Port 22 2025-06-23 01:53:54,915 - DEBUG - VM ctest-TestBasicPolicy-34869912-04935817 is ready for SSH connections 2025-06-23 01:53:54,915 - INFO - Waiting for VM ctest-TestBasicPolicy-34869912-81485491 to be up.. 2025-06-23 01:53:55,070 - DEBUG - VM is in ACTIVE state now 2025-06-23 01:53:55,071 - INFO - VM name : ctest-TestBasicPolicy-34869912-81485491 2025-06-23 01:53:55,222 - DEBUG - VM ctest-TestBasicPolicy-34869912-81485491 ID is fa17a1ff-2e14-4614-bb7d-2797e2152c91 2025-06-23 01:53:55,222 - DEBUG - VM ctest-TestBasicPolicy-34869912-81485491 launched on Node cn-jenkins-deploy-platform-juju-os-548-1 2025-06-23 01:53:55,379 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/fa17a1ff-2e14-4614-bb7d-2797e2152c91 2025-06-23 01:53:55,438 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/e268844e-edf8-4eed-8012-7dab8cb512f0 2025-06-23 01:53:56,906 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.763/3.118/1.355 ms') 2025-06-23 01:53:56,906 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34869912-81485491 passed 2025-06-23 01:53:57,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:53:57,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34869912-81485491, IP 222.7.14.67, Port 22 2025-06-23 01:53:57,275 - DEBUG - VM ctest-TestBasicPolicy-34869912-81485491 is ready for SSH connections 2025-06-23 01:53:57,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:53:57,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.7.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-23 01:53:57,275 - DEBUG - ping -s 56 -c 3 -W 1 222.7.14.67 2025-06-23 01:54:01,440 - DEBUG - PING 222.7.14.67 (222.7.14.67): 56 data bytes 64 bytes from 222.7.14.67: seq=0 ttl=63 time=4.012 ms 64 bytes from 222.7.14.67: seq=1 ttl=63 time=1.073 ms 64 bytes from 222.7.14.67: seq=2 ttl=63 time=1.120 ms --- 222.7.14.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.068/4.012 ms 2025-06-23 01:54:01,440 - INFO - Ping to IP 222.7.14.67 from VM ctest-TestBasicPolicy-34869912-04935817 passed 2025-06-23 01:54:01,633 - DEBUG - Policy Update Response {"network-policy": {"uuid": "105a9989-3745-4710-a094-1b0e01f7eb31", "href": "https://10.0.0.22:8082/network-policy/105a9989-3745-4710-a094-1b0e01f7eb31"}} 2025-06-23 01:54:01,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:54:01,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.7.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-23 01:54:01,633 - DEBUG - ping -s 56 -c 3 -W 1 222.7.14.67 2025-06-23 01:54:04,868 - DEBUG - PING 222.7.14.67 (222.7.14.67): 56 data bytes --- 222.7.14.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 01:54:04,868 - WARNING - Ping to IP 222.7.14.67 from VM ctest-TestBasicPolicy-34869912-04935817 failed 2025-06-23 01:54:04,868 - INFO - Deleting VM ctest-TestBasicPolicy-34869912-81485491 2025-06-23 01:54:04,982 - INFO - Deleting VM ctest-TestBasicPolicy-34869912-04935817 2025-06-23 01:54:05,826 - INFO - Deleted policy ctest-policy-allow-all-32066213 2025-06-23 01:54:05,826 - INFO - Deleting VN ctest-vn-76372152 2025-06-23 01:54:05,972 - DEBUG - VN 6d768b61-04ca-45c3-b46f-4f26f6a95363 still in use: Unable to complete operation on network 6d768b61-04ca-45c3-b46f-4f26f6a95363. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6de6857e-2ebd-4131-9854-6e47f39fbf04'] 2025-06-23 01:54:05,973 - WARNING - Deleting VN ctest-vn-76372152 failed..Will retry 2025-06-23 01:54:08,151 - DEBUG - Response for deleting network () 2025-06-23 01:54:08,152 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/84b485bd-1dc2-4c47-85f1-890b4c2fc5a7 2025-06-23 01:54:08,209 - DEBUG - Response Code: 404 2025-06-23 01:54:08,209 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:54:08,261 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:54:08,322 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:54:08,403 - INFO - Validated that VN ctest-vn-76372152 is not found in API Server 2025-06-23 01:54:08,506 - DEBUG - VN ctest-vn-76372152 is not present in Agent 10.0.0.22 2025-06-23 01:54:08,506 - INFO - Validated that VN ctest-vn-76372152 is not in any agent 2025-06-23 01:54:08,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76372152 info 2025-06-23 01:54:08,663 - INFO - Deleting VN ctest-vn-96934248 2025-06-23 01:54:08,954 - DEBUG - Response for deleting network () 2025-06-23 01:54:08,954 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/ca6b1a4b-fbf8-4a26-be2c-0b3a905f7ec6 2025-06-23 01:54:09,013 - DEBUG - Response Code: 404 2025-06-23 01:54:09,013 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-06-23 01:54:09,065 - DEBUG - Requesting: https://10.0.0.22:8082/domain/e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:54:09,126 - DEBUG - Requesting: https://10.0.0.22:8082/project/0f43a6b5-5d3a-48a8-8506-d70b68577d3a 2025-06-23 01:54:09,206 - INFO - Validated that VN ctest-vn-96934248 is not found in API Server 2025-06-23 01:54:09,310 - DEBUG - VN ctest-vn-96934248 is not present in Agent 10.0.0.22 2025-06-23 01:54:09,310 - INFO - Validated that VN ctest-vn-96934248 is not in any agent 2025-06-23 01:54:09,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96934248 info 2025-06-23 01:54:09,866 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 01:54:09,866 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42] 2025-06-23 01:54:09,866 - INFO - -------------------------------------------------------------------------------- 2025-06-23 01:54:10,697 - INFO - Deleted project: ctest-TestBasicPolicy-34869912, ID : 0f43a6b5-5d3a-48a8-8506-d70b68577d3a