2025-11-05 16:27:05,932 - INFO - Domain Default found not creating 2025-11-05 16:27:06,072 - INFO - Project ctest-TestBasicPolicy-62821570 not found, creating it 2025-11-05 16:27:06,493 - INFO - Created Project:ctest-TestBasicPolicy-62821570, ID : 3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:07,869 - INFO - ================================================================================ 2025-11-05 16:27:07,869 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 16:27:07,869 - 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-11-05 16:27:08,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:27:08,123 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:27:08,123 - INFO - 2025-11-05 16:27:08,641 - DEBUG - Response for create_network : {'network': {'id': '2bf35336-a3b3-47bb-918c-ef82384b98dd', 'name': 'ctest-vn-34574656', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'project_id': '3d945142f8ad465dac978bfb9ed7256e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-vn-34574656'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:08,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af678f8c-439c-481a-857f-b89f0345cea1', 'name': '', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'network_id': '2bf35336-a3b3-47bb-918c-ef82384b98dd', 'ip_version': 4, 'cidr': '14.250.253.64/26', 'allocation_pools': [{'start': '14.250.253.66', 'end': '14.250.253.126'}], 'gateway_ip': '14.250.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.250.253.66', 'tags': [], 'project_id': '3d945142f8ad465dac978bfb9ed7256e'}} 2025-11-05 16:27:08,830 - INFO - Created VN ctest-vn-34574656 2025-11-05 16:27:08,882 - DEBUG - VN ctest-vn-34574656 UUID is 2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:09,176 - DEBUG - Response for create_network : {'network': {'id': '805bef57-6433-4c74-ba7e-3ee8e0e1810c', 'name': 'ctest-vn-74336551', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'project_id': '3d945142f8ad465dac978bfb9ed7256e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-vn-74336551'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:09,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3cbc6c9-894d-4147-b266-164fb1aca202', 'name': '', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'network_id': '805bef57-6433-4c74-ba7e-3ee8e0e1810c', 'ip_version': 4, 'cidr': '42.163.31.64/26', 'allocation_pools': [{'start': '42.163.31.66', 'end': '42.163.31.126'}], 'gateway_ip': '42.163.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.163.31.66', 'tags': [], 'project_id': '3d945142f8ad465dac978bfb9ed7256e'}} 2025-11-05 16:27:09,357 - INFO - Created VN ctest-vn-74336551 2025-11-05 16:27:09,410 - DEBUG - VN ctest-vn-74336551 UUID is 805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:09,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656, 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-62821570:ctest-vn-74336551, 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-11-05 16:27:09,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bf35336-a3b3-47bb-918c-ef82384b98dd', 'name': 'ctest-vn-34574656', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'project_id': '3d945142f8ad465dac978bfb9ed7256e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af678f8c-439c-481a-857f-b89f0345cea1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-vn-34574656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-policy-allow-all-77958976']], 'subnet_ipam': [{'subnet_cidr': '14.250.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:10,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '805bef57-6433-4c74-ba7e-3ee8e0e1810c', 'name': 'ctest-vn-74336551', 'tenant_id': '3d945142f8ad465dac978bfb9ed7256e', 'project_id': '3d945142f8ad465dac978bfb9ed7256e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3cbc6c9-894d-4147-b266-164fb1aca202'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-vn-74336551'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-policy-allow-all-77958976']], 'subnet_ipam': [{'subnet_cidr': '42.163.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:10,254 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:10,547 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:10,571 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:10,582 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:10,652 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,662 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,671 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:10,677 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:10,682 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/30d2c43a-0189-4a55-a1fe-d27da0c5e6a0 2025-11-05 16:27:10,687 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:27:10,687 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,694 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:10,705 - INFO - Verified VN network id 12 for VN 2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,705 - INFO - Verifications in API Server for VN ctest-vn-34574656 passed 2025-11-05 16:27:10,705 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,712 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:10,718 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:10,724 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/30d2c43a-0189-4a55-a1fe-d27da0c5e6a0 2025-11-05 16:27:10,735 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62821570', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3166966457111365563', 'uuid-lslong': '10488020974808307933'}, 'enable': 'true', 'created': '2025-11-05T16:27:08', 'last-modified': '2025-11-05T16:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916953'} 2025-11-05 16:27:10,742 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:27:10,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34574656 passed 2025-11-05 16:27:10,742 - DEBUG - ====Verifying policy data for ctest-vn-34574656 in API_Server ====== 2025-11-05 16:27:10,742 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:10,749 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:10,759 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:10,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2bf35336-a3b3-47bb-918c-ef82384b98dd 2025-11-05 16:27:10,834 - DEBUG - ==>Verifying data for policy with id: 26995440-caca-401c-b111-d229c79942a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-policy-allow-all-77958976'] 2025-11-05 16:27:10,835 - INFO - VN ctest-vn-34574656 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:27:10,835 - DEBUG - Verifying the vn in opserver 2025-11-05 16:27:10,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656 virtual network link through opserver 10.0.0.242 2025-11-05 16:27:10,835 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 16:27:11,127 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 16:27:11,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656?flat'} 2025-11-05 16:27:11,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656 is found in opserver 2025-11-05 16:27:11,187 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:27:11,191 - DEBUG - VRF ids for VN ctest-vn-34574656: {} 2025-11-05 16:27:11,191 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:11,196 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:11,205 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:11,278 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,289 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,296 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:11,303 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:11,309 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92a8748b-19f4-4155-a82c-e41acbc73621 2025-11-05 16:27:11,315 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:27:11,315 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,323 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:11,334 - INFO - Verified VN network id 13 for VN 805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,335 - INFO - Verifications in API Server for VN ctest-vn-74336551 passed 2025-11-05 16:27:11,335 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,342 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:11,348 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:11,353 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92a8748b-19f4-4155-a82c-e41acbc73621 2025-11-05 16:27:11,363 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-74336551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62821570', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9249249418357722228', 'uuid-lslong': '13438247508046348556'}, 'enable': 'true', 'created': '2025-11-05T16:27:09', 'last-modified': '2025-11-05T16:27:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323782'} 2025-11-05 16:27:11,368 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:27:11,368 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74336551 passed 2025-11-05 16:27:11,368 - DEBUG - ====Verifying policy data for ctest-vn-74336551 in API_Server ====== 2025-11-05 16:27:11,368 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:11,373 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:11,382 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:11,449 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/805bef57-6433-4c74-ba7e-3ee8e0e1810c 2025-11-05 16:27:11,456 - DEBUG - ==>Verifying data for policy with id: 26995440-caca-401c-b111-d229c79942a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62821570', 'ctest-policy-allow-all-77958976'] 2025-11-05 16:27:11,457 - INFO - VN ctest-vn-74336551 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:27:11,457 - DEBUG - Verifying the vn in opserver 2025-11-05 16:27:11,457 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-74336551 virtual network link through opserver 10.0.0.242 2025-11-05 16:27:11,457 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 16:27:11,465 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-74336551', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-74336551?flat'} 2025-11-05 16:27:11,465 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-74336551 is found in opserver 2025-11-05 16:27:11,474 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:27:11,478 - DEBUG - VRF ids for VN ctest-vn-74336551: {} 2025-11-05 16:27:11,529 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:27:12,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:27:13,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:27:13,591 - INFO - Waiting for VM ctest-TestBasicPolicy-62821570-38166163 to be up.. 2025-11-05 16:27:13,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:27:18,745 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:27:18,745 - INFO - VM name : ctest-TestBasicPolicy-62821570-38166163 2025-11-05 16:27:18,828 - DEBUG - VM ctest-TestBasicPolicy-62821570-38166163 ID is a39e790b-9bc9-4e15-83b5-f60b84d9d5d8 2025-11-05 16:27:18,851 - DEBUG - VM ctest-TestBasicPolicy-62821570-38166163 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:27:18,928 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a39e790b-9bc9-4e15-83b5-f60b84d9d5d8 2025-11-05 16:27:18,937 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a1ba65c2-1274-49cb-a755-0b212e75eedd 2025-11-05 16:27:22,204 - 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 1009ms') 2025-11-05 16:27:22,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62821570-38166163 failed! 2025-11-05 16:27:22,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62821570:ctest-vn-34574656 is 14.250.253.65 and allocation pool is NOT set 2025-11-05 16:27:24,323 - 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=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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 = 0.586/1.907/3.228/1.321 ms') 2025-11-05 16:27:24,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62821570-38166163 passed 2025-11-05 16:27:24,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:24,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62821570-38166163, IP 14.250.253.67, Port 22 2025-11-05 16:27:24,634 - DEBUG - VM ctest-TestBasicPolicy-62821570-38166163 is ready for SSH connections 2025-11-05 16:27:24,634 - INFO - Waiting for VM ctest-TestBasicPolicy-62821570-23758428 to be up.. 2025-11-05 16:27:24,705 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:27:24,705 - INFO - VM name : ctest-TestBasicPolicy-62821570-23758428 2025-11-05 16:27:24,770 - DEBUG - VM ctest-TestBasicPolicy-62821570-23758428 ID is 0f97ccc0-e79a-4767-be16-65b79e5d580f 2025-11-05 16:27:24,770 - DEBUG - VM ctest-TestBasicPolicy-62821570-23758428 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:27:24,837 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0f97ccc0-e79a-4767-be16-65b79e5d580f 2025-11-05 16:27:24,846 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ad510482-43f8-4660-ac8b-55a55b0460eb 2025-11-05 16:27:26,082 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/2.302/4.194/1.892 ms') 2025-11-05 16:27:26,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62821570-23758428 passed 2025-11-05 16:27:26,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:26,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62821570-23758428, IP 42.163.31.67, Port 22 2025-11-05 16:27:26,390 - DEBUG - VM ctest-TestBasicPolicy-62821570-23758428 is ready for SSH connections 2025-11-05 16:27:26,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:26,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.163.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:27:26,390 - DEBUG - ping -s 56 -c 3 -W 1 42.163.31.67 2025-11-05 16:27:30,072 - DEBUG - PING 42.163.31.67 (42.163.31.67): 56 data bytes 64 bytes from 42.163.31.67: seq=0 ttl=63 time=3.306 ms 64 bytes from 42.163.31.67: seq=1 ttl=63 time=0.921 ms 64 bytes from 42.163.31.67: seq=2 ttl=63 time=0.915 ms --- 42.163.31.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/1.714/3.306 ms 2025-11-05 16:27:30,072 - INFO - Ping to IP 42.163.31.67 from VM ctest-TestBasicPolicy-62821570-38166163 passed 2025-11-05 16:27:30,282 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26995440-caca-401c-b111-d229c79942a9", "href": "http://10.0.0.242:8082/network-policy/26995440-caca-401c-b111-d229c79942a9"}} 2025-11-05 16:27:30,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:30,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.163.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:27:30,282 - DEBUG - ping -s 56 -c 3 -W 1 42.163.31.67 2025-11-05 16:27:33,499 - DEBUG - PING 42.163.31.67 (42.163.31.67): 56 data bytes --- 42.163.31.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:27:33,499 - WARNING - Ping to IP 42.163.31.67 from VM ctest-TestBasicPolicy-62821570-38166163 failed 2025-11-05 16:27:33,499 - INFO - Deleting VM ctest-TestBasicPolicy-62821570-23758428 2025-11-05 16:27:33,560 - INFO - Deleting VM ctest-TestBasicPolicy-62821570-38166163 2025-11-05 16:27:33,913 - INFO - Deleted policy ctest-policy-allow-all-77958976 2025-11-05 16:27:33,913 - INFO - Deleting VN ctest-vn-74336551 2025-11-05 16:27:33,944 - DEBUG - VN 805bef57-6433-4c74-ba7e-3ee8e0e1810c still in use: Unable to complete operation on network 805bef57-6433-4c74-ba7e-3ee8e0e1810c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3861701c-150d-4740-a99e-8b468eb73a28'] 2025-11-05 16:27:33,944 - WARNING - Deleting VN ctest-vn-74336551 failed..Will retry 2025-11-05 16:27:36,042 - DEBUG - Response for deleting network () 2025-11-05 16:27:36,042 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d758e375-f7a2-4617-8dfb-c984406c1b4e 2025-11-05 16:27:36,047 - DEBUG - Response Code: 404 2025-11-05 16:27:36,048 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:36,052 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:36,107 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:36,188 - INFO - Validated that VN ctest-vn-74336551 is not found in API Server 2025-11-05 16:27:36,197 - DEBUG - VN ctest-vn-74336551 is not present in Agent 10.0.0.242 2025-11-05 16:27:36,197 - INFO - Validated that VN ctest-vn-74336551 is not in any agent 2025-11-05 16:27:36,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74336551 info 2025-11-05 16:27:36,209 - INFO - Deleting VN ctest-vn-34574656 2025-11-05 16:27:36,321 - DEBUG - Response for deleting network () 2025-11-05 16:27:36,321 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a7629b2d-1bd4-4d6d-846f-9b96d4ecd5fe 2025-11-05 16:27:36,327 - DEBUG - Response Code: 404 2025-11-05 16:27:36,327 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 16:27:36,332 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d843e358-7eb4-4378-93a6-b1f6a91ea261 2025-11-05 16:27:36,387 - DEBUG - Requesting: http://10.0.0.242:8082/project/3d945142-f8ad-465d-ac97-8bfb9ed7256e 2025-11-05 16:27:36,468 - INFO - Validated that VN ctest-vn-34574656 is not found in API Server 2025-11-05 16:27:36,476 - DEBUG - VN ctest-vn-34574656 is not present in Agent 10.0.0.242 2025-11-05 16:27:36,476 - INFO - Validated that VN ctest-vn-34574656 is not in any agent 2025-11-05 16:27:36,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34574656 info 2025-11-05 16:27:36,742 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:27:36,742 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-05 16:27:36,742 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:27:37,381 - INFO - Deleted project: ctest-TestBasicPolicy-62821570, ID : 3d945142-f8ad-465d-ac97-8bfb9ed7256e