2025-10-22 23:33:10,504 - INFO - Domain Default found not creating 2025-10-22 23:33:10,655 - INFO - Project ctest-TestBasicPolicy-82120025 not found, creating it 2025-10-22 23:33:11,091 - INFO - Created Project:ctest-TestBasicPolicy-82120025, ID : 285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:12,608 - INFO - ================================================================================ 2025-10-22 23:33:12,608 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 23:33:12,608 - 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-22 23:33:12,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 23:33:12,871 - INFO - Initial checks done. Running the testcase now 2025-10-22 23:33:12,871 - INFO - 2025-10-22 23:33:13,445 - DEBUG - Response for create_network : {'network': {'id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'name': 'ctest-vn-66634780', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-66634780'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:33:13,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f56d8ed5-9daa-4773-93f0-aa37d6b80ca5', 'name': '', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'network_id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'ip_version': 4, 'cidr': '11.162.112.192/26', 'allocation_pools': [{'start': '11.162.112.194', 'end': '11.162.112.254'}], 'gateway_ip': '11.162.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.162.112.194', 'tags': [], 'project_id': '285c21ea712148ae8698e53c09da5b82'}} 2025-10-22 23:33:13,620 - INFO - Created VN ctest-vn-66634780 2025-10-22 23:33:13,673 - DEBUG - VN ctest-vn-66634780 UUID is fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:13,976 - DEBUG - Response for create_network : {'network': {'id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'name': 'ctest-vn-11692087', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-11692087'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:33:14,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '5966a2b5-6eab-4675-ba00-f6cf57208968', 'name': '', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'network_id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'ip_version': 4, 'cidr': '215.225.63.128/26', 'allocation_pools': [{'start': '215.225.63.130', 'end': '215.225.63.190'}], 'gateway_ip': '215.225.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.225.63.130', 'tags': [], 'project_id': '285c21ea712148ae8698e53c09da5b82'}} 2025-10-22 23:33:14,223 - INFO - Created VN ctest-vn-11692087 2025-10-22 23:33:14,273 - DEBUG - VN ctest-vn-11692087 UUID is 703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:14,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087, 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-22 23:33:14,694 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'name': 'ctest-vn-66634780', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f56d8ed5-9daa-4773-93f0-aa37d6b80ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-66634780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']], 'subnet_ipam': [{'subnet_cidr': '11.162.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:33:14,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'name': 'ctest-vn-11692087', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5966a2b5-6eab-4675-ba00-f6cf57208968'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-11692087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']], 'subnet_ipam': [{'subnet_cidr': '215.225.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:33:15,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:15,415 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:15,445 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:15,457 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:15,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,548 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:15,555 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:15,561 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5390269-2311-4bb0-80da-f4fc99aa0075 2025-10-22 23:33:15,568 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 23:33:15,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,579 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:15,594 - INFO - Verified VN network id 10 for VN fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,595 - INFO - Verifications in API Server for VN ctest-vn-66634780 passed 2025-10-22 23:33:15,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,604 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:15,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:15,619 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5390269-2311-4bb0-80da-f4fc99aa0075 2025-10-22 23:33:15,632 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82120025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18106281210200409907', 'uuid-lslong': '13367934839593139727'}, 'enable': 'true', 'created': '2025-10-22T23:33:13', 'last-modified': '2025-10-22T23:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967114'} 2025-10-22 23:33:15,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 23:33:15,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66634780 passed 2025-10-22 23:33:15,639 - DEBUG - ====Verifying policy data for ctest-vn-66634780 in API_Server ====== 2025-10-22 23:33:15,639 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:15,645 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:15,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:15,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f 2025-10-22 23:33:15,737 - DEBUG - ==>Verifying data for policy with id: 0646af8a-f887-46cb-a66b-c9ad543c12af, fqn: ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107'] 2025-10-22 23:33:15,737 - INFO - VN ctest-vn-66634780 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 23:33:15,737 - DEBUG - Verifying the vn in opserver 2025-10-22 23:33:15,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780 virtual network link through opserver 10.0.0.38 2025-10-22 23:33:15,737 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 23:33:16,045 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 23:33:16,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780?flat'} 2025-10-22 23:33:16,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780 is found in opserver 2025-10-22 23:33:16,122 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 23:33:16,127 - DEBUG - VRF ids for VN ctest-vn-66634780: {} 2025-10-22 23:33:16,127 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:16,133 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:16,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:16,217 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:16,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:16,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0b45399-64d7-49aa-9068-42886463292e 2025-10-22 23:33:16,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 23:33:16,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,272 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:16,289 - INFO - Verified VN network id 11 for VN 703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,289 - INFO - Verifications in API Server for VN ctest-vn-11692087 passed 2025-10-22 23:33:16,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:16,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:16,314 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0b45399-64d7-49aa-9068-42886463292e 2025-10-22 23:33:16,327 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82120025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8087121951348050180', 'uuid-lslong': '10381664223207026806'}, 'enable': 'true', 'created': '2025-10-22T23:33:13', 'last-modified': '2025-10-22T23:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410017'} 2025-10-22 23:33:16,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 23:33:16,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11692087 passed 2025-10-22 23:33:16,333 - DEBUG - ====Verifying policy data for ctest-vn-11692087 in API_Server ====== 2025-10-22 23:33:16,333 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:16,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:16,349 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:16,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076 2025-10-22 23:33:16,429 - DEBUG - ==>Verifying data for policy with id: 0646af8a-f887-46cb-a66b-c9ad543c12af, fqn: ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107'] 2025-10-22 23:33:16,429 - INFO - VN ctest-vn-11692087 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 23:33:16,429 - DEBUG - Verifying the vn in opserver 2025-10-22 23:33:16,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087 virtual network link through opserver 10.0.0.38 2025-10-22 23:33:16,429 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 23:33:16,439 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087?flat'} 2025-10-22 23:33:16,439 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087 is found in opserver 2025-10-22 23:33:16,449 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 23:33:16,453 - DEBUG - VRF ids for VN ctest-vn-11692087: {} 2025-10-22 23:33:16,509 - DEBUG - Services list from nova: [, , ] 2025-10-22 23:33:17,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4445-1) 2025-10-22 23:33:18,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4445-1) 2025-10-22 23:33:18,730 - INFO - Waiting for VM ctest-TestBasicPolicy-82120025-38519129 to be up.. 2025-10-22 23:33:18,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 23:33:23,891 - DEBUG - VM is in ACTIVE state now 2025-10-22 23:33:23,891 - INFO - VM name : ctest-TestBasicPolicy-82120025-38519129 2025-10-22 23:33:23,963 - DEBUG - VM ctest-TestBasicPolicy-82120025-38519129 ID is a80587eb-cec3-4b36-a263-4f1ce3bbff49 2025-10-22 23:33:23,983 - DEBUG - VM ctest-TestBasicPolicy-82120025-38519129 launched on Node cn-jenkins-deploy-platform-ansible-os-4445-1 2025-10-22 23:33:24,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a80587eb-cec3-4b36-a263-4f1ce3bbff49 2025-10-22 23:33:24,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ff863f53-5740-4cf6-976b-77ffec9d6e0b 2025-10-22 23:33:27,347 - 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 1022ms') 2025-10-22 23:33:27,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82120025-38519129 failed! 2025-10-22 23:33:27,401 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780 is 11.162.112.193 and allocation pool is NOT set 2025-10-22 23:33:29,466 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.436/4.984/9.532/4.548 ms') 2025-10-22 23:33:29,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82120025-38519129 passed 2025-10-22 23:33:29,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:33:29,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82120025-38519129, IP 11.162.112.195, Port 22 2025-10-22 23:33:29,787 - DEBUG - VM ctest-TestBasicPolicy-82120025-38519129 is ready for SSH connections 2025-10-22 23:33:29,787 - INFO - Waiting for VM ctest-TestBasicPolicy-82120025-35084771 to be up.. 2025-10-22 23:33:29,863 - DEBUG - VM is in ACTIVE state now 2025-10-22 23:33:29,863 - INFO - VM name : ctest-TestBasicPolicy-82120025-35084771 2025-10-22 23:33:29,952 - DEBUG - VM ctest-TestBasicPolicy-82120025-35084771 ID is bf2a331c-8bfe-43bc-bc56-2972c4add639 2025-10-22 23:33:29,952 - DEBUG - VM ctest-TestBasicPolicy-82120025-35084771 launched on Node cn-jenkins-deploy-platform-ansible-os-4445-1 2025-10-22 23:33:30,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf2a331c-8bfe-43bc-bc56-2972c4add639 2025-10-22 23:33:30,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5dac1fbb-98d6-4773-8cda-150533bae656 2025-10-22 23:33:31,295 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.808/3.184/1.376 ms') 2025-10-22 23:33:31,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82120025-35084771 passed 2025-10-22 23:33:31,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:33:31,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82120025-35084771, IP 215.225.63.131, Port 22 2025-10-22 23:33:31,615 - DEBUG - VM ctest-TestBasicPolicy-82120025-35084771 is ready for SSH connections 2025-10-22 23:33:31,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:33:31,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.225.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 23:33:31,616 - DEBUG - ping -s 56 -c 3 -W 1 215.225.63.131 2025-10-22 23:33:35,650 - DEBUG - PING 215.225.63.131 (215.225.63.131): 56 data bytes 64 bytes from 215.225.63.131: seq=0 ttl=63 time=3.260 ms 64 bytes from 215.225.63.131: seq=1 ttl=63 time=0.927 ms 64 bytes from 215.225.63.131: seq=2 ttl=63 time=0.869 ms --- 215.225.63.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/1.685/3.260 ms 2025-10-22 23:33:35,651 - INFO - Ping to IP 215.225.63.131 from VM ctest-TestBasicPolicy-82120025-38519129 passed 2025-10-22 23:33:35,817 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0646af8a-f887-46cb-a66b-c9ad543c12af", "href": "http://10.0.0.38:8082/network-policy/0646af8a-f887-46cb-a66b-c9ad543c12af"}} 2025-10-22 23:33:35,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:33:35,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.225.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 23:33:35,817 - DEBUG - ping -s 56 -c 3 -W 1 215.225.63.131 2025-10-22 23:33:39,026 - DEBUG - PING 215.225.63.131 (215.225.63.131): 56 data bytes --- 215.225.63.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 23:33:39,027 - WARNING - Ping to IP 215.225.63.131 from VM ctest-TestBasicPolicy-82120025-38519129 failed 2025-10-22 23:33:39,027 - INFO - Deleting VM ctest-TestBasicPolicy-82120025-35084771 2025-10-22 23:33:39,094 - INFO - Deleting VM ctest-TestBasicPolicy-82120025-38519129 2025-10-22 23:33:39,458 - INFO - Deleted policy ctest-policy-allow-all-67246107 2025-10-22 23:33:39,458 - INFO - Deleting VN ctest-vn-11692087 2025-10-22 23:33:39,492 - DEBUG - VN 703b3a91-3d5d-4904-9013-149b49a2f076 still in use: Unable to complete operation on network 703b3a91-3d5d-4904-9013-149b49a2f076. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9266d805-da99-4c28-8a48-a045fb4fc627'] 2025-10-22 23:33:39,492 - WARNING - Deleting VN ctest-vn-11692087 failed..Will retry 2025-10-22 23:33:41,588 - DEBUG - Response for deleting network () 2025-10-22 23:33:41,588 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb 2025-10-22 23:33:41,595 - DEBUG - Response Code: 404 2025-10-22 23:33:41,595 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:41,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:41,654 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:41,721 - INFO - Validated that VN ctest-vn-11692087 is not found in API Server 2025-10-22 23:33:41,730 - DEBUG - VN ctest-vn-11692087 is not present in Agent 10.0.0.38 2025-10-22 23:33:41,730 - INFO - Validated that VN ctest-vn-11692087 is not in any agent 2025-10-22 23:33:41,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11692087 info 2025-10-22 23:33:41,743 - INFO - Deleting VN ctest-vn-66634780 2025-10-22 23:33:41,838 - DEBUG - Response for deleting network () 2025-10-22 23:33:41,838 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc 2025-10-22 23:33:41,848 - DEBUG - Response Code: 404 2025-10-22 23:33:41,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 23:33:41,853 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0 2025-10-22 23:33:41,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82 2025-10-22 23:33:41,978 - INFO - Validated that VN ctest-vn-66634780 is not found in API Server 2025-10-22 23:33:41,986 - DEBUG - VN ctest-vn-66634780 is not present in Agent 10.0.0.38 2025-10-22 23:33:41,986 - INFO - Validated that VN ctest-vn-66634780 is not in any agent 2025-10-22 23:33:41,999 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66634780 info 2025-10-22 23:33:42,254 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 23:33:42,255 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-22 23:33:42,255 - INFO - -------------------------------------------------------------------------------- 2025-10-22 23:33:42,938 - INFO - Deleted project: ctest-TestBasicPolicy-82120025, ID : 285c21ea-7121-48ae-8698-e53c09da5b82