2025-10-31 20:04:18,912 - INFO - Domain Default found not creating 2025-10-31 20:04:19,062 - INFO - Project ctest-TestBasicPolicy-71758473 not found, creating it 2025-10-31 20:04:19,508 - INFO - Created Project:ctest-TestBasicPolicy-71758473, ID : 9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:20,863 - INFO - ================================================================================ 2025-10-31 20:04:20,863 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 20:04:20,863 - 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-31 20:04:21,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-31 20:04:21,119 - INFO - Initial checks done. Running the testcase now 2025-10-31 20:04:21,119 - INFO - 2025-10-31 20:04:21,651 - DEBUG - Response for create_network : {'network': {'id': '706e841b-75f0-4374-80f7-75dd572bcc6c', 'name': 'ctest-vn-59233859', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'project_id': '9d404459906748b8af1ce07ab2a31039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-vn-59233859'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:04:21,806 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e98cf3d-2e62-4b06-a5c8-2406190c25c4', 'name': '', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'network_id': '706e841b-75f0-4374-80f7-75dd572bcc6c', 'ip_version': 4, 'cidr': '80.190.147.128/26', 'allocation_pools': [{'start': '80.190.147.130', 'end': '80.190.147.190'}], 'gateway_ip': '80.190.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.190.147.130', 'tags': [], 'project_id': '9d404459906748b8af1ce07ab2a31039'}} 2025-10-31 20:04:21,821 - INFO - Created VN ctest-vn-59233859 2025-10-31 20:04:21,878 - DEBUG - VN ctest-vn-59233859 UUID is 706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:22,200 - DEBUG - Response for create_network : {'network': {'id': '44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7', 'name': 'ctest-vn-59092389', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'project_id': '9d404459906748b8af1ce07ab2a31039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-vn-59092389'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:04:22,392 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5a6f1c1-ecce-4db8-9029-b8bed210ffe2', 'name': '', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'network_id': '44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7', 'ip_version': 4, 'cidr': '16.5.56.128/26', 'allocation_pools': [{'start': '16.5.56.130', 'end': '16.5.56.190'}], 'gateway_ip': '16.5.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.5.56.130', 'tags': [], 'project_id': '9d404459906748b8af1ce07ab2a31039'}} 2025-10-31 20:04:22,409 - INFO - Created VN ctest-vn-59092389 2025-10-31 20:04:22,458 - DEBUG - VN ctest-vn-59092389 UUID is 44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:22,614 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859, 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-71758473:ctest-vn-59092389, 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-31 20:04:22,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '706e841b-75f0-4374-80f7-75dd572bcc6c', 'name': 'ctest-vn-59233859', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'project_id': '9d404459906748b8af1ce07ab2a31039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e98cf3d-2e62-4b06-a5c8-2406190c25c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-vn-59233859'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-policy-allow-all-85897924']], 'subnet_ipam': [{'subnet_cidr': '80.190.147.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:04:23,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7', 'name': 'ctest-vn-59092389', 'tenant_id': '9d404459906748b8af1ce07ab2a31039', 'project_id': '9d404459906748b8af1ce07ab2a31039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5a6f1c1-ecce-4db8-9029-b8bed210ffe2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-vn-59092389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-policy-allow-all-85897924']], 'subnet_ipam': [{'subnet_cidr': '16.5.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:04:23,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:23,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:23,623 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:23,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,720 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:23,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:23,731 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c1722419-dcf0-44d7-9f3f-ecdcb675a4af 2025-10-31 20:04:23,736 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 20:04:23,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,744 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:23,755 - INFO - Verified VN network id 10 for VN 706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,756 - INFO - Verifications in API Server for VN ctest-vn-59233859 passed 2025-10-31 20:04:23,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:23,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:23,774 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c1722419-dcf0-44d7-9f3f-ecdcb675a4af 2025-10-31 20:04:23,784 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71758473', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8101558033163764596', 'uuid-lslong': '9293025949613018220'}, 'enable': 'true', 'created': '2025-10-31T20:04:21', 'last-modified': '2025-10-31T20:04:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904135'} 2025-10-31 20:04:23,790 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 20:04:23,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59233859 passed 2025-10-31 20:04:23,790 - DEBUG - ====Verifying policy data for ctest-vn-59233859 in API_Server ====== 2025-10-31 20:04:23,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:23,794 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:23,803 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:23,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/706e841b-75f0-4374-80f7-75dd572bcc6c 2025-10-31 20:04:23,881 - DEBUG - ==>Verifying data for policy with id: a3474ba6-5abc-41c1-a478-d7bd5d9b75ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-policy-allow-all-85897924'] 2025-10-31 20:04:23,881 - INFO - VN ctest-vn-59233859 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 20:04:23,881 - DEBUG - Verifying the vn in opserver 2025-10-31 20:04:23,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859 virtual network link through opserver 10.0.0.38 2025-10-31 20:04:23,881 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-31 20:04:24,167 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-31 20:04:24,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859?flat'} 2025-10-31 20:04:24,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859 is found in opserver 2025-10-31 20:04:24,226 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 20:04:24,230 - DEBUG - VRF ids for VN ctest-vn-59233859: {} 2025-10-31 20:04:24,230 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:24,235 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:24,244 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:24,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,326 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:24,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:24,337 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/17de929a-34d7-41be-bbfa-0266ff953d6d 2025-10-31 20:04:24,342 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 20:04:24,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,350 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:24,362 - INFO - Verified VN network id 11 for VN 44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,362 - INFO - Verifications in API Server for VN ctest-vn-59092389 passed 2025-10-31 20:04:24,362 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:24,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:24,381 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/17de929a-34d7-41be-bbfa-0266ff953d6d 2025-10-31 20:04:24,391 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59092389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71758473', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4956828996955032442', 'uuid-lslong': '10591967934246506743'}, 'enable': 'true', 'created': '2025-10-31T20:04:22', 'last-modified': '2025-10-31T20:04:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293198'} 2025-10-31 20:04:24,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 20:04:24,395 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59092389 passed 2025-10-31 20:04:24,396 - DEBUG - ====Verifying policy data for ctest-vn-59092389 in API_Server ====== 2025-10-31 20:04:24,396 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:24,400 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:24,409 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:24,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 2025-10-31 20:04:24,487 - DEBUG - ==>Verifying data for policy with id: a3474ba6-5abc-41c1-a478-d7bd5d9b75ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-71758473', 'ctest-policy-allow-all-85897924'] 2025-10-31 20:04:24,487 - INFO - VN ctest-vn-59092389 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 20:04:24,487 - DEBUG - Verifying the vn in opserver 2025-10-31 20:04:24,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59092389 virtual network link through opserver 10.0.0.38 2025-10-31 20:04:24,487 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-31 20:04:24,495 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59092389', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59092389?flat'} 2025-10-31 20:04:24,495 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59092389 is found in opserver 2025-10-31 20:04:24,503 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 20:04:24,507 - DEBUG - VRF ids for VN ctest-vn-59092389: {} 2025-10-31 20:04:24,561 - DEBUG - Services list from nova: [, , ] 2025-10-31 20:04:25,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:04:26,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:04:26,630 - INFO - Waiting for VM ctest-TestBasicPolicy-71758473-21126933 to be up.. 2025-10-31 20:04:26,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 20:04:31,778 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:04:31,778 - INFO - VM name : ctest-TestBasicPolicy-71758473-21126933 2025-10-31 20:04:31,847 - DEBUG - VM ctest-TestBasicPolicy-71758473-21126933 ID is 2aeb7c5c-4778-4e32-9f35-4a30caf4ecd2 2025-10-31 20:04:31,866 - DEBUG - VM ctest-TestBasicPolicy-71758473-21126933 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:04:31,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2aeb7c5c-4778-4e32-9f35-4a30caf4ecd2 2025-10-31 20:04:31,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/694da5b6-27d4-466c-9277-049ddf9e0cc1 2025-10-31 20:04:35,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 1015ms') 2025-10-31 20:04:35,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71758473-21126933 failed! 2025-10-31 20:04:35,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71758473:ctest-vn-59233859 is 80.190.147.129 and allocation pool is NOT set 2025-10-31 20:04:37,324 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/1.785/3.103/1.317 ms') 2025-10-31 20:04:37,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71758473-21126933 passed 2025-10-31 20:04:37,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:04:37,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71758473-21126933, IP 80.190.147.131, Port 22 2025-10-31 20:04:37,629 - DEBUG - VM ctest-TestBasicPolicy-71758473-21126933 is ready for SSH connections 2025-10-31 20:04:37,629 - INFO - Waiting for VM ctest-TestBasicPolicy-71758473-65055920 to be up.. 2025-10-31 20:04:37,696 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:04:37,696 - INFO - VM name : ctest-TestBasicPolicy-71758473-65055920 2025-10-31 20:04:37,771 - DEBUG - VM ctest-TestBasicPolicy-71758473-65055920 ID is 4cd140ad-9b63-420a-bd36-bb91fe386278 2025-10-31 20:04:37,771 - DEBUG - VM ctest-TestBasicPolicy-71758473-65055920 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:04:37,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cd140ad-9b63-420a-bd36-bb91fe386278 2025-10-31 20:04:37,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6f9cf824-51bc-44ed-ae7c-0a90da0e91af 2025-10-31 20:04:39,086 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.926/3.422/1.495 ms') 2025-10-31 20:04:39,086 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71758473-65055920 passed 2025-10-31 20:04:39,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:04:39,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71758473-65055920, IP 16.5.56.131, Port 22 2025-10-31 20:04:39,393 - DEBUG - VM ctest-TestBasicPolicy-71758473-65055920 is ready for SSH connections 2025-10-31 20:04:39,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:04:39,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.5.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:04:39,393 - DEBUG - ping -s 56 -c 3 -W 1 16.5.56.131 2025-10-31 20:04:43,070 - DEBUG - PING 16.5.56.131 (16.5.56.131): 56 data bytes 64 bytes from 16.5.56.131: seq=0 ttl=63 time=3.148 ms 64 bytes from 16.5.56.131: seq=1 ttl=63 time=0.781 ms 64 bytes from 16.5.56.131: seq=2 ttl=63 time=0.747 ms --- 16.5.56.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.558/3.148 ms 2025-10-31 20:04:43,071 - INFO - Ping to IP 16.5.56.131 from VM ctest-TestBasicPolicy-71758473-21126933 passed 2025-10-31 20:04:43,249 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3474ba6-5abc-41c1-a478-d7bd5d9b75ad", "href": "http://10.0.0.38:8082/network-policy/a3474ba6-5abc-41c1-a478-d7bd5d9b75ad"}} 2025-10-31 20:04:43,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:04:43,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.5.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:04:43,250 - DEBUG - ping -s 56 -c 3 -W 1 16.5.56.131 2025-10-31 20:04:46,466 - DEBUG - PING 16.5.56.131 (16.5.56.131): 56 data bytes --- 16.5.56.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 20:04:46,466 - WARNING - Ping to IP 16.5.56.131 from VM ctest-TestBasicPolicy-71758473-21126933 failed 2025-10-31 20:04:46,466 - INFO - Deleting VM ctest-TestBasicPolicy-71758473-65055920 2025-10-31 20:04:46,531 - INFO - Deleting VM ctest-TestBasicPolicy-71758473-21126933 2025-10-31 20:04:46,893 - INFO - Deleted policy ctest-policy-allow-all-85897924 2025-10-31 20:04:46,894 - INFO - Deleting VN ctest-vn-59092389 2025-10-31 20:04:46,927 - DEBUG - VN 44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7 still in use: Unable to complete operation on network 44ca31b5-d7dc-4b7a-92fe-3ab7b11750f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c3e4eb4-b3d4-4784-93f4-983fb17923aa'] 2025-10-31 20:04:46,927 - WARNING - Deleting VN ctest-vn-59092389 failed..Will retry 2025-10-31 20:04:49,020 - DEBUG - Response for deleting network () 2025-10-31 20:04:49,020 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c60f9b68-d67a-4ced-8e2b-302f77091fa9 2025-10-31 20:04:49,026 - DEBUG - Response Code: 404 2025-10-31 20:04:49,026 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:49,031 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:49,083 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:49,154 - INFO - Validated that VN ctest-vn-59092389 is not found in API Server 2025-10-31 20:04:49,163 - DEBUG - VN ctest-vn-59092389 is not present in Agent 10.0.0.38 2025-10-31 20:04:49,163 - INFO - Validated that VN ctest-vn-59092389 is not in any agent 2025-10-31 20:04:49,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59092389 info 2025-10-31 20:04:49,175 - INFO - Deleting VN ctest-vn-59233859 2025-10-31 20:04:49,270 - DEBUG - Response for deleting network () 2025-10-31 20:04:49,270 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1630b689-ebf7-4dad-8da5-375ebcf08b3f 2025-10-31 20:04:49,275 - DEBUG - Response Code: 404 2025-10-31 20:04:49,275 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-31 20:04:49,279 - DEBUG - Requesting: http://10.0.0.38:8082/domain/31b540fc-c57c-42a1-8936-6ccb3de9022b 2025-10-31 20:04:49,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/9d404459-9067-48b8-af1c-e07ab2a31039 2025-10-31 20:04:49,399 - INFO - Validated that VN ctest-vn-59233859 is not found in API Server 2025-10-31 20:04:49,408 - DEBUG - VN ctest-vn-59233859 is not present in Agent 10.0.0.38 2025-10-31 20:04:49,408 - INFO - Validated that VN ctest-vn-59233859 is not in any agent 2025-10-31 20:04:49,422 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59233859 info 2025-10-31 20:04:49,679 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 20:04:49,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-31 20:04:49,679 - INFO - -------------------------------------------------------------------------------- 2025-10-31 20:04:50,340 - INFO - Deleted project: ctest-TestBasicPolicy-71758473, ID : 9d404459-9067-48b8-af1c-e07ab2a31039