2025-10-28 08:55:43,562 - INFO - Reading existing Domain with UUID 3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:55:43,574 - INFO - Using existing domain ['admin_domain'](3e60116d-6a4a-4c62-bccd-443e6f5e662f) 2025-10-28 08:55:43,773 - INFO - Project ctest-TestBasicPolicy-63597536 not found, creating it 2025-10-28 08:55:44,250 - INFO - Created Project:ctest-TestBasicPolicy-63597536, ID : e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:55:46,067 - INFO - ================================================================================ 2025-10-28 08:55:46,067 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 08:55:46,067 - 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-10-28 08:55:46,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-10-28 08:55:46,462 - INFO - Initial checks done. Running the testcase now 2025-10-28 08:55:46,462 - INFO - 2025-10-28 08:55:47,253 - DEBUG - Response for create_network : {'network': {'id': '4a2c58be-3804-451a-9d37-89ca2c47a4f0', 'name': 'ctest-vn-29677455', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-vn-29677455'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:55:47,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e15b5fcc-b7bd-4d4c-a72f-a94dc03f3659', 'name': '', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'network_id': '4a2c58be-3804-451a-9d37-89ca2c47a4f0', 'ip_version': 4, 'cidr': '87.74.83.0/26', 'allocation_pools': [{'start': '87.74.83.2', 'end': '87.74.83.62'}], 'gateway_ip': '87.74.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:55:47.422848', 'updated_at': '2025-10-28T08:55:47.422848', 'dns_server_address': '87.74.83.2', 'tags': [], 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8'}} 2025-10-28 08:55:47,590 - INFO - Created VN ctest-vn-29677455 2025-10-28 08:55:47,644 - DEBUG - VN ctest-vn-29677455 UUID is 4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:48,157 - DEBUG - Response for create_network : {'network': {'id': '8ab43bb2-c206-4eed-ab21-c263ce9d3f78', 'name': 'ctest-vn-47828702', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-vn-47828702'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:55:48,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f26451c1-5961-43c8-9bbd-07232fc7ac38', 'name': '', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'network_id': '8ab43bb2-c206-4eed-ab21-c263ce9d3f78', 'ip_version': 4, 'cidr': '193.201.176.128/26', 'allocation_pools': [{'start': '193.201.176.130', 'end': '193.201.176.190'}], 'gateway_ip': '193.201.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:55:48.314236', 'updated_at': '2025-10-28T08:55:48.314236', 'dns_server_address': '193.201.176.130', 'tags': [], 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8'}} 2025-10-28 08:55:48,478 - INFO - Created VN ctest-vn-47828702 2025-10-28 08:55:48,532 - DEBUG - VN ctest-vn-47828702 UUID is 8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:48,760 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455, 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-63597536:ctest-vn-47828702, 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-10-28 08:55:49,172 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a2c58be-3804-451a-9d37-89ca2c47a4f0', 'name': 'ctest-vn-29677455', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e15b5fcc-b7bd-4d4c-a72f-a94dc03f3659'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-vn-29677455'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-policy-allow-all-80846161']], 'subnet_ipam': [{'subnet_cidr': '87.74.83.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-28T08:55:47.176610', 'updated_at': '2025-10-28T08:55:47.437633'}} 2025-10-28 08:55:49,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ab43bb2-c206-4eed-ab21-c263ce9d3f78', 'name': 'ctest-vn-47828702', 'tenant_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'project_id': 'e1d3eb0ca456470688b5e22f6ce7dff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f26451c1-5961-43c8-9bbd-07232fc7ac38'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-vn-47828702'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-policy-allow-all-80846161']], 'subnet_ipam': [{'subnet_cidr': '193.201.176.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-28T08:55:48.078999', 'updated_at': '2025-10-28T08:55:48.325901'}} 2025-10-28 08:55:49,748 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:55:50,110 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:55:50,193 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:55:50,250 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:55:50,329 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:50,387 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:50,442 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:55:50,497 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:55:50,549 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/1439051a-f007-4ffb-a2c7-1a55edbbea1d 2025-10-28 08:55:50,601 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 08:55:50,601 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:50,658 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:55:50,723 - INFO - Verified VN network id 11 for VN 4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:50,723 - INFO - Verifications in API Server for VN ctest-vn-29677455 passed 2025-10-28 08:55:50,723 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:50,778 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:55:50,829 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:55:50,885 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/1439051a-f007-4ffb-a2c7-1a55edbbea1d 2025-10-28 08:55:50,990 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63597536', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5344744431788770586', 'uuid-lslong': '11328674889093063920'}, 'enable': 'true', 'created': '2025-10-28T08:55:47', 'last-modified': '2025-10-28T08:55:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.845090'} 2025-10-28 08:55:51,044 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 08:55:51,045 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29677455 passed 2025-10-28 08:55:51,045 - DEBUG - ====Verifying policy data for ctest-vn-29677455 in API_Server ====== 2025-10-28 08:55:51,045 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:55:51,097 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:55:51,159 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:55:51,237 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/4a2c58be-3804-451a-9d37-89ca2c47a4f0 2025-10-28 08:55:51,294 - DEBUG - ==>Verifying data for policy with id: c67ff618-48ec-47f8-a558-9d6447cc7df7, fqn: ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-policy-allow-all-80846161'] 2025-10-28 08:55:51,294 - INFO - VN ctest-vn-29677455 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 08:55:51,294 - DEBUG - Verifying the vn in opserver 2025-10-28 08:55:51,294 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455 virtual network link through opserver 10.0.0.38 2025-10-28 08:55:51,294 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-28 08:55:51,656 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-28 08:55:51,789 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455?flat'} 2025-10-28 08:55:51,789 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455 is found in opserver 2025-10-28 08:55:51,889 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 08:55:51,941 - DEBUG - VRF ids for VN ctest-vn-29677455: {} 2025-10-28 08:55:51,941 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:55:51,993 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:55:52,053 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:55:52,130 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:52,191 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:52,246 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:55:52,305 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:55:52,362 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/0d44a149-0821-4f82-bcb9-39d22ccf1e54 2025-10-28 08:55:52,417 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 08:55:52,417 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:52,475 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:55:52,539 - INFO - Verified VN network id 12 for VN 8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:52,539 - INFO - Verifications in API Server for VN ctest-vn-47828702 passed 2025-10-28 08:55:52,539 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:52,598 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:55:52,653 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:55:52,710 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/0d44a149-0821-4f82-bcb9-39d22ccf1e54 2025-10-28 08:55:52,817 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-47828702', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63597536', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9994679111987384045', 'uuid-lslong': '12331350988641091448'}, 'enable': 'true', 'created': '2025-10-28T08:55:48', 'last-modified': '2025-10-28T08:55:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.323684'} 2025-10-28 08:55:52,870 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 08:55:52,870 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47828702 passed 2025-10-28 08:55:52,870 - DEBUG - ====Verifying policy data for ctest-vn-47828702 in API_Server ====== 2025-10-28 08:55:52,870 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:55:52,925 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:55:52,981 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:55:53,074 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/8ab43bb2-c206-4eed-ab21-c263ce9d3f78 2025-10-28 08:55:53,130 - DEBUG - ==>Verifying data for policy with id: c67ff618-48ec-47f8-a558-9d6447cc7df7, fqn: ['admin_domain', 'ctest-TestBasicPolicy-63597536', 'ctest-policy-allow-all-80846161'] 2025-10-28 08:55:53,130 - INFO - VN ctest-vn-47828702 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 08:55:53,130 - DEBUG - Verifying the vn in opserver 2025-10-28 08:55:53,130 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-47828702 virtual network link through opserver 10.0.0.38 2025-10-28 08:55:53,130 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-28 08:55:53,185 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-47828702', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-47828702?flat'} 2025-10-28 08:55:53,185 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-47828702 is found in opserver 2025-10-28 08:55:53,285 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 08:55:53,337 - DEBUG - VRF ids for VN ctest-vn-47828702: {} 2025-10-28 08:55:53,407 - DEBUG - Services list from nova: [, , ] 2025-10-28 08:55:54,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:55:55,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:55:55,932 - INFO - Waiting for VM ctest-TestBasicPolicy-63597536-05790248 to be up.. 2025-10-28 08:55:56,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 08:56:01,228 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:56:01,228 - INFO - VM name : ctest-TestBasicPolicy-63597536-05790248 2025-10-28 08:56:01,373 - DEBUG - VM ctest-TestBasicPolicy-63597536-05790248 ID is 7978c5b1-7ad8-48d8-b87e-54930da8a6ab 2025-10-28 08:56:01,403 - DEBUG - VM ctest-TestBasicPolicy-63597536-05790248 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:56:01,537 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/7978c5b1-7ad8-48d8-b87e-54930da8a6ab 2025-10-28 08:56:01,589 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/6729fda6-01e3-4042-90ab-3e28e59d15da 2025-10-28 08:56:05,085 - 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 1033ms') 2025-10-28 08:56:05,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63597536-05790248 failed! 2025-10-28 08:56:05,144 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-63597536:ctest-vn-29677455 is 87.74.83.1 and allocation pool is NOT set 2025-10-28 08:56:07,243 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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.962/3.938/5.914/1.976 ms') 2025-10-28 08:56:07,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63597536-05790248 passed 2025-10-28 08:56:07,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:56:07,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63597536-05790248, IP 87.74.83.3, Port 22 2025-10-28 08:56:07,498 - 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-10-28 08:56:07,640 - DEBUG - VM ctest-TestBasicPolicy-63597536-05790248 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-28 08:56:12,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:56:12,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63597536-05790248, IP 87.74.83.3, Port 22 2025-10-28 08:56:12,866 - DEBUG - VM ctest-TestBasicPolicy-63597536-05790248 is ready for SSH connections 2025-10-28 08:56:12,866 - INFO - Waiting for VM ctest-TestBasicPolicy-63597536-60855443 to be up.. 2025-10-28 08:56:13,007 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:56:13,007 - INFO - VM name : ctest-TestBasicPolicy-63597536-60855443 2025-10-28 08:56:13,150 - DEBUG - VM ctest-TestBasicPolicy-63597536-60855443 ID is e51a12b4-e9c8-484c-900b-7ec140317482 2025-10-28 08:56:13,150 - DEBUG - VM ctest-TestBasicPolicy-63597536-60855443 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:56:13,291 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/e51a12b4-e9c8-484c-900b-7ec140317482 2025-10-28 08:56:13,345 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/1712ba1d-44de-4da4-bdca-5e6757481771 2025-10-28 08:56:14,792 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/2.098/3.691/1.593 ms') 2025-10-28 08:56:14,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63597536-60855443 passed 2025-10-28 08:56:14,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:56:14,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63597536-60855443, IP 193.201.176.131, Port 22 2025-10-28 08:56:15,171 - DEBUG - VM ctest-TestBasicPolicy-63597536-60855443 is ready for SSH connections 2025-10-28 08:56:15,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:56:15,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.201.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:56:15,171 - DEBUG - ping -s 56 -c 3 -W 1 193.201.176.131 2025-10-28 08:56:19,280 - DEBUG - PING 193.201.176.131 (193.201.176.131): 56 data bytes 64 bytes from 193.201.176.131: seq=0 ttl=63 time=3.354 ms 64 bytes from 193.201.176.131: seq=1 ttl=63 time=1.248 ms 64 bytes from 193.201.176.131: seq=2 ttl=63 time=1.035 ms --- 193.201.176.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/1.879/3.354 ms 2025-10-28 08:56:19,280 - INFO - Ping to IP 193.201.176.131 from VM ctest-TestBasicPolicy-63597536-05790248 passed 2025-10-28 08:56:19,460 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c67ff618-48ec-47f8-a558-9d6447cc7df7", "href": "https://10.0.0.38:8082/network-policy/c67ff618-48ec-47f8-a558-9d6447cc7df7"}} 2025-10-28 08:56:19,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:56:19,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.201.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:56:19,460 - DEBUG - ping -s 56 -c 3 -W 1 193.201.176.131 2025-10-28 08:56:22,703 - DEBUG - PING 193.201.176.131 (193.201.176.131): 56 data bytes --- 193.201.176.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 08:56:22,704 - WARNING - Ping to IP 193.201.176.131 from VM ctest-TestBasicPolicy-63597536-05790248 failed 2025-10-28 08:56:22,704 - INFO - Deleting VM ctest-TestBasicPolicy-63597536-60855443 2025-10-28 08:56:22,814 - INFO - Deleting VM ctest-TestBasicPolicy-63597536-05790248 2025-10-28 08:56:23,541 - INFO - Deleted policy ctest-policy-allow-all-80846161 2025-10-28 08:56:23,541 - INFO - Deleting VN ctest-vn-47828702 2025-10-28 08:56:23,679 - DEBUG - VN 8ab43bb2-c206-4eed-ab21-c263ce9d3f78 still in use: Unable to complete operation on network 8ab43bb2-c206-4eed-ab21-c263ce9d3f78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc6994d4-6daa-4906-a06c-af4c08335090'] 2025-10-28 08:56:23,679 - WARNING - Deleting VN ctest-vn-47828702 failed..Will retry 2025-10-28 08:56:25,892 - DEBUG - Response for deleting network () 2025-10-28 08:56:25,892 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/8f457336-91bf-472a-ba9c-4be32fa5dd7d 2025-10-28 08:56:25,944 - DEBUG - Response Code: 404 2025-10-28 08:56:25,944 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:56:25,997 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:56:26,053 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:56:26,137 - INFO - Validated that VN ctest-vn-47828702 is not found in API Server 2025-10-28 08:56:26,241 - DEBUG - VN ctest-vn-47828702 is not present in Agent 10.0.0.38 2025-10-28 08:56:26,241 - INFO - Validated that VN ctest-vn-47828702 is not in any agent 2025-10-28 08:56:26,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47828702 info 2025-10-28 08:56:26,393 - INFO - Deleting VN ctest-vn-29677455 2025-10-28 08:56:26,576 - DEBUG - Response for deleting network () 2025-10-28 08:56:26,576 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/fdb1f4b1-f2b4-46e9-bc4d-40b5951aec3c 2025-10-28 08:56:26,632 - DEBUG - Response Code: 404 2025-10-28 08:56:26,632 - DEBUG - Requesting: https://10.0.0.38:8082/domains 2025-10-28 08:56:26,693 - DEBUG - Requesting: https://10.0.0.38:8082/domain/3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:56:26,753 - DEBUG - Requesting: https://10.0.0.38:8082/project/e1d3eb0c-a456-4706-88b5-e22f6ce7dff8 2025-10-28 08:56:26,842 - INFO - Validated that VN ctest-vn-29677455 is not found in API Server 2025-10-28 08:56:26,945 - DEBUG - VN ctest-vn-29677455 is not present in Agent 10.0.0.38 2025-10-28 08:56:26,945 - INFO - Validated that VN ctest-vn-29677455 is not in any agent 2025-10-28 08:56:27,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29677455 info 2025-10-28 08:56:27,497 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 08:56:27,497 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2025-10-28 08:56:27,497 - INFO - -------------------------------------------------------------------------------- 2025-10-28 08:56:28,346 - INFO - Deleted project: ctest-TestBasicPolicy-63597536, ID : e1d3eb0c-a456-4706-88b5-e22f6ce7dff8