2025-10-08 16:48:48,240 - INFO - Domain Default found not creating 2025-10-08 16:48:48,406 - INFO - Project ctest-TestBasicPolicy-89384783 not found, creating it 2025-10-08 16:48:48,882 - INFO - Created Project:ctest-TestBasicPolicy-89384783, ID : fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:48:50,391 - INFO - ================================================================================ 2025-10-08 16:48:50,391 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 16:48:50,392 - 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-08 16:48:50,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0'}} with 2025-10-08 16:48:50,663 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:48:50,663 - INFO - 2025-10-08 16:48:51,222 - DEBUG - Response for create_network : {'network': {'id': '36462b86-4f52-4bfc-a9ef-793db6f32309', 'name': 'ctest-vn-00423073', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-vn-00423073'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:48:51,376 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9660bf7-8565-4df8-bcaf-7fdb43e43a6d', 'name': '', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'network_id': '36462b86-4f52-4bfc-a9ef-793db6f32309', 'ip_version': 4, 'cidr': '35.120.101.64/26', 'allocation_pools': [{'start': '35.120.101.66', 'end': '35.120.101.126'}], 'gateway_ip': '35.120.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.120.101.66', 'tags': [], 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6'}} 2025-10-08 16:48:51,395 - INFO - Created VN ctest-vn-00423073 2025-10-08 16:48:51,446 - DEBUG - VN ctest-vn-00423073 UUID is 36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:51,743 - DEBUG - Response for create_network : {'network': {'id': '456bca41-0e71-4a61-b17b-f3068f8563c7', 'name': 'ctest-vn-59599161', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-vn-59599161'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:48:51,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '10760251-21c6-4277-bfa0-e826563d524a', 'name': '', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'network_id': '456bca41-0e71-4a61-b17b-f3068f8563c7', 'ip_version': 4, 'cidr': '147.97.239.0/26', 'allocation_pools': [{'start': '147.97.239.2', 'end': '147.97.239.62'}], 'gateway_ip': '147.97.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.97.239.2', 'tags': [], 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6'}} 2025-10-08 16:48:51,931 - INFO - Created VN ctest-vn-59599161 2025-10-08 16:48:51,982 - DEBUG - VN ctest-vn-59599161 UUID is 456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:52,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073, 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-89384783:ctest-vn-59599161, 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-08 16:48:52,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36462b86-4f52-4bfc-a9ef-793db6f32309', 'name': 'ctest-vn-00423073', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9660bf7-8565-4df8-bcaf-7fdb43e43a6d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-vn-00423073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-policy-allow-all-94224650']], 'subnet_ipam': [{'subnet_cidr': '35.120.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:48:52,652 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '456bca41-0e71-4a61-b17b-f3068f8563c7', 'name': 'ctest-vn-59599161', 'tenant_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'project_id': 'fb581e02ea264e13aeff7fcd53e386b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10760251-21c6-4277-bfa0-e826563d524a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-vn-59599161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-policy-allow-all-94224650']], 'subnet_ipam': [{'subnet_cidr': '147.97.239.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:48:52,814 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:48:53,110 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:48:53,139 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:48:53,153 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:48:53,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,245 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,256 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:48:53,263 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:48:53,270 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c347c69a-2de8-46a9-a2f2-2fce709d8551 2025-10-08 16:48:53,277 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 16:48:53,277 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,286 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:48:53,300 - INFO - Verified VN network id 11 for VN 36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,301 - INFO - Verifications in API Server for VN ctest-vn-00423073 passed 2025-10-08 16:48:53,301 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,312 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:48:53,320 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:48:53,329 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c347c69a-2de8-46a9-a2f2-2fce709d8551 2025-10-08 16:48:53,342 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89384783', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3910861182274259964', 'uuid-lslong': '12245139217813021449'}, 'enable': 'true', 'created': '2025-10-08T16:48:51', 'last-modified': '2025-10-08T16:48:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954395'} 2025-10-08 16:48:53,348 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 16:48:53,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00423073 passed 2025-10-08 16:48:53,348 - DEBUG - ====Verifying policy data for ctest-vn-00423073 in API_Server ====== 2025-10-08 16:48:53,348 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:48:53,354 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:48:53,364 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:48:53,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/36462b86-4f52-4bfc-a9ef-793db6f32309 2025-10-08 16:48:53,442 - DEBUG - ==>Verifying data for policy with id: cc137f42-bf08-4fa1-a7ee-47e7da81ad4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-policy-allow-all-94224650'] 2025-10-08 16:48:53,442 - INFO - VN ctest-vn-00423073 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 16:48:53,442 - DEBUG - Verifying the vn in opserver 2025-10-08 16:48:53,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073 virtual network link through opserver 10.0.0.22 2025-10-08 16:48:53,443 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-08 16:48:53,739 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-08 16:48:53,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073?flat'} 2025-10-08 16:48:53,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073 is found in opserver 2025-10-08 16:48:53,809 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 16:48:53,814 - DEBUG - VRF ids for VN ctest-vn-00423073: {} 2025-10-08 16:48:53,814 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:48:53,819 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:48:53,832 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:48:53,913 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:53,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:53,934 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:48:53,941 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:48:53,948 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/75a0a39b-5fab-4a60-9f15-5c634616746b 2025-10-08 16:48:53,955 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 16:48:53,955 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:53,965 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:48:53,979 - INFO - Verified VN network id 12 for VN 456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:53,979 - INFO - Verifications in API Server for VN ctest-vn-59599161 passed 2025-10-08 16:48:53,979 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:53,988 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:48:53,995 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:48:54,001 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/75a0a39b-5fab-4a60-9f15-5c634616746b 2025-10-08 16:48:54,013 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-59599161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89384783', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5002314191889058401', 'uuid-lslong': '12789082776351892423'}, 'enable': 'true', 'created': '2025-10-08T16:48:51', 'last-modified': '2025-10-08T16:48:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.382561'} 2025-10-08 16:48:54,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 16:48:54,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59599161 passed 2025-10-08 16:48:54,018 - DEBUG - ====Verifying policy data for ctest-vn-59599161 in API_Server ====== 2025-10-08 16:48:54,018 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:48:54,024 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:48:54,035 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:48:54,106 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/456bca41-0e71-4a61-b17b-f3068f8563c7 2025-10-08 16:48:54,118 - DEBUG - ==>Verifying data for policy with id: cc137f42-bf08-4fa1-a7ee-47e7da81ad4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-89384783', 'ctest-policy-allow-all-94224650'] 2025-10-08 16:48:54,118 - INFO - VN ctest-vn-59599161 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 16:48:54,118 - DEBUG - Verifying the vn in opserver 2025-10-08 16:48:54,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-59599161 virtual network link through opserver 10.0.0.22 2025-10-08 16:48:54,118 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-08 16:48:54,132 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-59599161', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-59599161?flat'} 2025-10-08 16:48:54,132 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-59599161 is found in opserver 2025-10-08 16:48:54,143 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 16:48:54,148 - DEBUG - VRF ids for VN ctest-vn-59599161: {} 2025-10-08 16:48:54,210 - DEBUG - Services list from nova: [, , ] 2025-10-08 16:48:55,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4240-1) 2025-10-08 16:48:56,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4240-1) 2025-10-08 16:48:56,377 - INFO - Waiting for VM ctest-TestBasicPolicy-89384783-90411749 to be up.. 2025-10-08 16:48:56,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 16:49:01,553 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:49:01,553 - INFO - VM name : ctest-TestBasicPolicy-89384783-90411749 2025-10-08 16:49:01,647 - DEBUG - VM ctest-TestBasicPolicy-89384783-90411749 ID is ce5e9b89-2c41-4a18-ab13-8b9d0a0cdd45 2025-10-08 16:49:01,675 - DEBUG - VM ctest-TestBasicPolicy-89384783-90411749 launched on Node cn-jenkins-deploy-platform-ansible-os-4240-1 2025-10-08 16:49:01,763 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ce5e9b89-2c41-4a18-ab13-8b9d0a0cdd45 2025-10-08 16:49:01,771 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/65155147-6eea-4e6f-9ef9-14a8b32e4ff8 2025-10-08 16:49:05,041 - 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 1010ms') 2025-10-08 16:49:05,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89384783-90411749 failed! 2025-10-08 16:49:05,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89384783:ctest-vn-00423073 is 35.120.101.65 and allocation pool is NOT set 2025-10-08 16:49:07,168 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.344 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.344/6.445/12.546/6.101 ms') 2025-10-08 16:49:07,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89384783-90411749 passed 2025-10-08 16:49:07,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:49:07,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89384783-90411749, IP 35.120.101.67, Port 22 2025-10-08 16:49:07,478 - DEBUG - VM ctest-TestBasicPolicy-89384783-90411749 is ready for SSH connections 2025-10-08 16:49:07,478 - INFO - Waiting for VM ctest-TestBasicPolicy-89384783-54816165 to be up.. 2025-10-08 16:49:07,556 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:49:07,556 - INFO - VM name : ctest-TestBasicPolicy-89384783-54816165 2025-10-08 16:49:07,632 - DEBUG - VM ctest-TestBasicPolicy-89384783-54816165 ID is 81680fc7-b5d4-4be5-8745-59b3d71e4ec3 2025-10-08 16:49:07,632 - DEBUG - VM ctest-TestBasicPolicy-89384783-54816165 launched on Node cn-jenkins-deploy-platform-ansible-os-4240-1 2025-10-08 16:49:07,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/81680fc7-b5d4-4be5-8745-59b3d71e4ec3 2025-10-08 16:49:07,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/addfd794-60f9-4f02-a97d-244b0ba0b7e2 2025-10-08 16:49:08,952 - 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=4.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.76 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 = 1.763/3.299/4.836/1.536 ms') 2025-10-08 16:49:08,952 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89384783-54816165 passed 2025-10-08 16:49:09,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:49:09,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89384783-54816165, IP 147.97.239.3, Port 22 2025-10-08 16:49:09,269 - DEBUG - VM ctest-TestBasicPolicy-89384783-54816165 is ready for SSH connections 2025-10-08 16:49:09,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:49:09,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.97.239.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-08 16:49:09,269 - DEBUG - ping -s 56 -c 3 -W 1 147.97.239.3 2025-10-08 16:49:13,309 - DEBUG - PING 147.97.239.3 (147.97.239.3): 56 data bytes 64 bytes from 147.97.239.3: seq=0 ttl=63 time=4.636 ms 64 bytes from 147.97.239.3: seq=1 ttl=63 time=0.809 ms 64 bytes from 147.97.239.3: seq=2 ttl=63 time=1.053 ms --- 147.97.239.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/2.166/4.636 ms 2025-10-08 16:49:13,309 - INFO - Ping to IP 147.97.239.3 from VM ctest-TestBasicPolicy-89384783-90411749 passed 2025-10-08 16:49:13,486 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cc137f42-bf08-4fa1-a7ee-47e7da81ad4a", "href": "http://10.0.0.22:8082/network-policy/cc137f42-bf08-4fa1-a7ee-47e7da81ad4a"}} 2025-10-08 16:49:13,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:49:13,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.97.239.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-08 16:49:13,486 - DEBUG - ping -s 56 -c 3 -W 1 147.97.239.3 2025-10-08 16:49:16,736 - DEBUG - PING 147.97.239.3 (147.97.239.3): 56 data bytes --- 147.97.239.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:49:16,736 - WARNING - Ping to IP 147.97.239.3 from VM ctest-TestBasicPolicy-89384783-90411749 failed 2025-10-08 16:49:16,736 - INFO - Deleting VM ctest-TestBasicPolicy-89384783-54816165 2025-10-08 16:49:16,807 - INFO - Deleting VM ctest-TestBasicPolicy-89384783-90411749 2025-10-08 16:49:17,189 - INFO - Deleted policy ctest-policy-allow-all-94224650 2025-10-08 16:49:17,189 - INFO - Deleting VN ctest-vn-59599161 2025-10-08 16:49:17,235 - DEBUG - VN 456bca41-0e71-4a61-b17b-f3068f8563c7 still in use: Unable to complete operation on network 456bca41-0e71-4a61-b17b-f3068f8563c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2150c44-9c8c-420a-ba36-2fd65c651b9a'] 2025-10-08 16:49:17,235 - WARNING - Deleting VN ctest-vn-59599161 failed..Will retry 2025-10-08 16:49:19,333 - DEBUG - Response for deleting network () 2025-10-08 16:49:19,333 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6963596-8c58-402e-b551-5337244999d3 2025-10-08 16:49:19,341 - DEBUG - Response Code: 404 2025-10-08 16:49:19,341 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:49:19,347 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:49:19,404 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:49:19,476 - INFO - Validated that VN ctest-vn-59599161 is not found in API Server 2025-10-08 16:49:19,485 - DEBUG - VN ctest-vn-59599161 is not present in Agent 10.0.0.22 2025-10-08 16:49:19,485 - INFO - Validated that VN ctest-vn-59599161 is not in any agent 2025-10-08 16:49:19,497 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59599161 info 2025-10-08 16:49:19,497 - INFO - Deleting VN ctest-vn-00423073 2025-10-08 16:49:19,593 - DEBUG - Response for deleting network () 2025-10-08 16:49:19,593 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6046f585-1a14-41dc-ac6b-5222608cbbd3 2025-10-08 16:49:19,603 - DEBUG - Response Code: 404 2025-10-08 16:49:19,603 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-08 16:49:19,609 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a5b04897-686f-489f-9bee-43a751ea5f97 2025-10-08 16:49:19,667 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb581e02-ea26-4e13-aeff-7fcd53e386b6 2025-10-08 16:49:19,736 - INFO - Validated that VN ctest-vn-00423073 is not found in API Server 2025-10-08 16:49:19,745 - DEBUG - VN ctest-vn-00423073 is not present in Agent 10.0.0.22 2025-10-08 16:49:19,745 - INFO - Validated that VN ctest-vn-00423073 is not in any agent 2025-10-08 16:49:19,758 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00423073 info 2025-10-08 16:49:20,026 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 16:49:20,026 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-08 16:49:20,026 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:49:20,702 - INFO - Deleted project: ctest-TestBasicPolicy-89384783, ID : fb581e02-ea26-4e13-aeff-7fcd53e386b6