2025-10-30 09:46:31,513 - INFO - Domain Default found not creating 2025-10-30 09:46:31,655 - INFO - Project ctest-TestBasicPolicy-19661635 not found, creating it 2025-10-30 09:46:32,087 - INFO - Created Project:ctest-TestBasicPolicy-19661635, ID : e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:46:33,468 - INFO - ================================================================================ 2025-10-30 09:46:33,468 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 09:46:33,469 - 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-30 09:46:33,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.5': '0'}} with 2025-10-30 09:46:33,721 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:46:33,721 - INFO - 2025-10-30 09:46:34,251 - DEBUG - Response for create_network : {'network': {'id': '27ceee21-d44c-4fc9-bb59-35c20e63d709', 'name': 'ctest-vn-08522907', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'project_id': 'e22b45aff8724b92a5863619997aa3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-vn-08522907'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:46:34,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '20c3b0fc-be02-44d6-b887-d6847f1bf6d6', 'name': '', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'network_id': '27ceee21-d44c-4fc9-bb59-35c20e63d709', 'ip_version': 4, 'cidr': '200.207.122.0/26', 'allocation_pools': [{'start': '200.207.122.2', 'end': '200.207.122.62'}], 'gateway_ip': '200.207.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.207.122.2', 'tags': [], 'project_id': 'e22b45aff8724b92a5863619997aa3d3'}} 2025-10-30 09:46:34,408 - INFO - Created VN ctest-vn-08522907 2025-10-30 09:46:34,461 - DEBUG - VN ctest-vn-08522907 UUID is 27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:35,047 - DEBUG - Response for create_network : {'network': {'id': 'c6221c43-3271-4724-b0ec-53bf678db04d', 'name': 'ctest-vn-88119040', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'project_id': 'e22b45aff8724b92a5863619997aa3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-vn-88119040'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:46:35,198 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2babd1e-3538-4bd8-a91f-71c1e2e7f814', 'name': '', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'network_id': 'c6221c43-3271-4724-b0ec-53bf678db04d', 'ip_version': 4, 'cidr': '50.31.96.0/26', 'allocation_pools': [{'start': '50.31.96.2', 'end': '50.31.96.62'}], 'gateway_ip': '50.31.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.31.96.2', 'tags': [], 'project_id': 'e22b45aff8724b92a5863619997aa3d3'}} 2025-10-30 09:46:35,217 - INFO - Created VN ctest-vn-88119040 2025-10-30 09:46:35,273 - DEBUG - VN ctest-vn-88119040 UUID is c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:35,417 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907, 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-19661635:ctest-vn-88119040, 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-30 09:46:35,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27ceee21-d44c-4fc9-bb59-35c20e63d709', 'name': 'ctest-vn-08522907', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'project_id': 'e22b45aff8724b92a5863619997aa3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20c3b0fc-be02-44d6-b887-d6847f1bf6d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-vn-08522907'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-policy-allow-all-60287565']], 'subnet_ipam': [{'subnet_cidr': '200.207.122.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:46:35,990 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6221c43-3271-4724-b0ec-53bf678db04d', 'name': 'ctest-vn-88119040', 'tenant_id': 'e22b45aff8724b92a5863619997aa3d3', 'project_id': 'e22b45aff8724b92a5863619997aa3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2babd1e-3538-4bd8-a91f-71c1e2e7f814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-vn-88119040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-policy-allow-all-60287565']], 'subnet_ipam': [{'subnet_cidr': '50.31.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:46:36,137 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:46:36,439 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:46:36,465 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:46:36,476 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:46:36,545 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,554 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,562 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:46:36,568 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:46:36,573 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9d34d044-7737-46eb-b0fd-81ef2b4aaf10 2025-10-30 09:46:36,578 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:46:36,578 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,585 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:46:36,596 - INFO - Verified VN network id 10 for VN 27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,596 - INFO - Verifications in API Server for VN ctest-vn-08522907 passed 2025-10-30 09:46:36,596 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,603 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:46:36,608 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:46:36,613 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9d34d044-7737-46eb-b0fd-81ef2b4aaf10 2025-10-30 09:46:36,623 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19661635', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2868491841744687049', 'uuid-lslong': '13499880465601124105'}, 'enable': 'true', 'created': '2025-10-30T09:46:34', 'last-modified': '2025-10-30T09:46:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930254'} 2025-10-30 09:46:36,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:46:36,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08522907 passed 2025-10-30 09:46:36,628 - DEBUG - ====Verifying policy data for ctest-vn-08522907 in API_Server ====== 2025-10-30 09:46:36,628 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:46:36,632 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:46:36,640 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:46:36,715 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/27ceee21-d44c-4fc9-bb59-35c20e63d709 2025-10-30 09:46:36,723 - DEBUG - ==>Verifying data for policy with id: f1cb2567-f949-4bae-b542-441c08e2d3fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-policy-allow-all-60287565'] 2025-10-30 09:46:36,723 - INFO - VN ctest-vn-08522907 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:46:36,723 - DEBUG - Verifying the vn in opserver 2025-10-30 09:46:36,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907 virtual network link through opserver 10.0.0.242 2025-10-30 09:46:36,724 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 09:46:37,018 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 09:46:37,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907?flat'} 2025-10-30 09:46:37,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907 is found in opserver 2025-10-30 09:46:37,083 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:46:37,087 - DEBUG - VRF ids for VN ctest-vn-08522907: {} 2025-10-30 09:46:37,087 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:46:37,091 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:46:37,101 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:46:37,173 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,194 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:46:37,201 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:46:37,210 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cbe9edda-6b9c-49b0-ac2b-f0fa7c6a8dcd 2025-10-30 09:46:37,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:46:37,219 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,228 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:46:37,240 - INFO - Verified VN network id 11 for VN c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,240 - INFO - Verifications in API Server for VN ctest-vn-88119040 passed 2025-10-30 09:46:37,240 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,249 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:46:37,256 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:46:37,262 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cbe9edda-6b9c-49b0-ac2b-f0fa7c6a8dcd 2025-10-30 09:46:37,273 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-88119040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19661635', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14277004843652564772', 'uuid-lslong': '12748656726720229453'}, 'enable': 'true', 'created': '2025-10-30T09:46:34', 'last-modified': '2025-10-30T09:46:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351026'} 2025-10-30 09:46:37,278 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:46:37,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88119040 passed 2025-10-30 09:46:37,278 - DEBUG - ====Verifying policy data for ctest-vn-88119040 in API_Server ====== 2025-10-30 09:46:37,278 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:46:37,283 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:46:37,292 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:46:37,359 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c6221c43-3271-4724-b0ec-53bf678db04d 2025-10-30 09:46:37,369 - DEBUG - ==>Verifying data for policy with id: f1cb2567-f949-4bae-b542-441c08e2d3fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-19661635', 'ctest-policy-allow-all-60287565'] 2025-10-30 09:46:37,369 - INFO - VN ctest-vn-88119040 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:46:37,369 - DEBUG - Verifying the vn in opserver 2025-10-30 09:46:37,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-88119040 virtual network link through opserver 10.0.0.242 2025-10-30 09:46:37,369 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 09:46:37,377 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-88119040', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-88119040?flat'} 2025-10-30 09:46:37,377 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-88119040 is found in opserver 2025-10-30 09:46:37,387 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:46:37,391 - DEBUG - VRF ids for VN ctest-vn-88119040: {} 2025-10-30 09:46:37,449 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:46:38,494 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:46:39,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:46:39,760 - INFO - Waiting for VM ctest-TestBasicPolicy-19661635-14535457 to be up.. 2025-10-30 09:46:39,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:46:44,903 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:46:44,903 - INFO - VM name : ctest-TestBasicPolicy-19661635-14535457 2025-10-30 09:46:44,968 - DEBUG - VM ctest-TestBasicPolicy-19661635-14535457 ID is b7c1f3d6-e5e8-43b5-9141-d70afdca8fcc 2025-10-30 09:46:44,988 - DEBUG - VM ctest-TestBasicPolicy-19661635-14535457 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:46:45,053 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b7c1f3d6-e5e8-43b5-9141-d70afdca8fcc 2025-10-30 09:46:45,061 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8ec1610c-2e24-42bd-90e1-b314b1c7d61c 2025-10-30 09:46:48,295 - 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 1011ms') 2025-10-30 09:46:48,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19661635-14535457 failed! 2025-10-30 09:46:48,349 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19661635:ctest-vn-08522907 is 200.207.122.1 and allocation pool is NOT set 2025-10-30 09:46:50,408 - 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=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.486/1.722/2.959/1.236 ms') 2025-10-30 09:46:50,408 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19661635-14535457 passed 2025-10-30 09:46:50,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:50,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19661635-14535457, IP 200.207.122.3, Port 22 2025-10-30 09:46:50,708 - DEBUG - VM ctest-TestBasicPolicy-19661635-14535457 is ready for SSH connections 2025-10-30 09:46:50,708 - INFO - Waiting for VM ctest-TestBasicPolicy-19661635-99892916 to be up.. 2025-10-30 09:46:50,785 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:46:50,785 - INFO - VM name : ctest-TestBasicPolicy-19661635-99892916 2025-10-30 09:46:50,853 - DEBUG - VM ctest-TestBasicPolicy-19661635-99892916 ID is 4dce3b88-76ae-4d90-9b1c-d6d8df2dbf2c 2025-10-30 09:46:50,853 - DEBUG - VM ctest-TestBasicPolicy-19661635-99892916 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:46:50,920 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4dce3b88-76ae-4d90-9b1c-d6d8df2dbf2c 2025-10-30 09:46:50,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c8c3ae18-80a6-4877-9da2-6047aca64fa8 2025-10-30 09:46:52,154 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.745/2.956/1.210 ms') 2025-10-30 09:46:52,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19661635-99892916 passed 2025-10-30 09:46:52,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:52,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19661635-99892916, IP 50.31.96.3, Port 22 2025-10-30 09:46:52,471 - DEBUG - VM ctest-TestBasicPolicy-19661635-99892916 is ready for SSH connections 2025-10-30 09:46:52,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:52,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.31.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:46:52,471 - DEBUG - ping -s 56 -c 3 -W 1 50.31.96.3 2025-10-30 09:46:56,167 - DEBUG - PING 50.31.96.3 (50.31.96.3): 56 data bytes 64 bytes from 50.31.96.3: seq=0 ttl=63 time=3.269 ms 64 bytes from 50.31.96.3: seq=1 ttl=63 time=0.910 ms 64 bytes from 50.31.96.3: seq=2 ttl=63 time=0.810 ms --- 50.31.96.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.663/3.269 ms 2025-10-30 09:46:56,167 - INFO - Ping to IP 50.31.96.3 from VM ctest-TestBasicPolicy-19661635-14535457 passed 2025-10-30 09:46:56,336 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f1cb2567-f949-4bae-b542-441c08e2d3fb", "href": "http://10.0.0.242:8082/network-policy/f1cb2567-f949-4bae-b542-441c08e2d3fb"}} 2025-10-30 09:46:56,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:56,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.31.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:46:56,337 - DEBUG - ping -s 56 -c 3 -W 1 50.31.96.3 2025-10-30 09:46:59,560 - DEBUG - PING 50.31.96.3 (50.31.96.3): 56 data bytes --- 50.31.96.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:46:59,561 - WARNING - Ping to IP 50.31.96.3 from VM ctest-TestBasicPolicy-19661635-14535457 failed 2025-10-30 09:46:59,561 - INFO - Deleting VM ctest-TestBasicPolicy-19661635-99892916 2025-10-30 09:46:59,635 - INFO - Deleting VM ctest-TestBasicPolicy-19661635-14535457 2025-10-30 09:47:00,024 - INFO - Deleted policy ctest-policy-allow-all-60287565 2025-10-30 09:47:00,024 - INFO - Deleting VN ctest-vn-88119040 2025-10-30 09:47:00,057 - DEBUG - VN c6221c43-3271-4724-b0ec-53bf678db04d still in use: Unable to complete operation on network c6221c43-3271-4724-b0ec-53bf678db04d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35bda69b-cb9d-48b5-8cdc-4ed5616f5b92'] 2025-10-30 09:47:00,057 - WARNING - Deleting VN ctest-vn-88119040 failed..Will retry 2025-10-30 09:47:02,161 - DEBUG - Response for deleting network () 2025-10-30 09:47:02,161 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b1a00c56-204e-4b94-9ba3-11da09649495 2025-10-30 09:47:02,166 - DEBUG - Response Code: 404 2025-10-30 09:47:02,169 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:47:02,176 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:47:02,230 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:47:02,302 - INFO - Validated that VN ctest-vn-88119040 is not found in API Server 2025-10-30 09:47:02,314 - DEBUG - VN ctest-vn-88119040 is not present in Agent 10.0.0.242 2025-10-30 09:47:02,314 - INFO - Validated that VN ctest-vn-88119040 is not in any agent 2025-10-30 09:47:02,327 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88119040 info 2025-10-30 09:47:02,327 - INFO - Deleting VN ctest-vn-08522907 2025-10-30 09:47:02,423 - DEBUG - Response for deleting network () 2025-10-30 09:47:02,423 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9173b3a-9442-4a56-8add-afb84b4e0317 2025-10-30 09:47:02,432 - DEBUG - Response Code: 404 2025-10-30 09:47:02,432 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 09:47:02,437 - DEBUG - Requesting: http://10.0.0.242:8082/domain/604772ea-63e8-432b-8e76-1ba839bd0071 2025-10-30 09:47:02,491 - DEBUG - Requesting: http://10.0.0.242:8082/project/e22b45af-f872-4b92-a586-3619997aa3d3 2025-10-30 09:47:02,562 - INFO - Validated that VN ctest-vn-08522907 is not found in API Server 2025-10-30 09:47:02,571 - DEBUG - VN ctest-vn-08522907 is not present in Agent 10.0.0.242 2025-10-30 09:47:02,571 - INFO - Validated that VN ctest-vn-08522907 is not in any agent 2025-10-30 09:47:02,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08522907 info 2025-10-30 09:47:02,847 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:47:02,847 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-30 09:47:02,847 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:47:03,509 - INFO - Deleted project: ctest-TestBasicPolicy-19661635, ID : e22b45af-f872-4b92-a586-3619997aa3d3