2025-11-12 09:11:30,088 - INFO - Domain Default found not creating 2025-11-12 09:11:30,310 - INFO - Project ctest-TestBasicPolicy-43034229 not found, creating it 2025-11-12 09:11:30,997 - INFO - Created Project:ctest-TestBasicPolicy-43034229, ID : 0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:11:32,640 - INFO - ================================================================================ 2025-11-12 09:11:32,640 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 09:11:32,640 - 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-12 09:11:32,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-11-12 09:11:32,898 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:11:32,898 - INFO - 2025-11-12 09:11:33,481 - DEBUG - Response for create_network : {'network': {'id': '90012620-9270-4633-a56c-7b38dab4347c', 'name': 'ctest-vn-96951561', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'project_id': '0535a6167d0a4d95b6202313807e88b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-vn-96951561'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:33,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '36d506a6-d144-4111-9633-b3de91596354', 'name': '', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'network_id': '90012620-9270-4633-a56c-7b38dab4347c', 'ip_version': 4, 'cidr': '173.245.168.128/26', 'allocation_pools': [{'start': '173.245.168.130', 'end': '173.245.168.190'}], 'gateway_ip': '173.245.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.245.168.130', 'tags': [], 'project_id': '0535a6167d0a4d95b6202313807e88b8'}} 2025-11-12 09:11:33,703 - INFO - Created VN ctest-vn-96951561 2025-11-12 09:11:33,756 - DEBUG - VN ctest-vn-96951561 UUID is 90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:34,060 - DEBUG - Response for create_network : {'network': {'id': '7d1f9dd5-a50b-4747-9e29-ce37c60c9631', 'name': 'ctest-vn-08263191', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'project_id': '0535a6167d0a4d95b6202313807e88b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-vn-08263191'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:34,214 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff46453f-ce82-4a09-a865-b50bf6398913', 'name': '', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'network_id': '7d1f9dd5-a50b-4747-9e29-ce37c60c9631', 'ip_version': 4, 'cidr': '14.173.119.0/26', 'allocation_pools': [{'start': '14.173.119.2', 'end': '14.173.119.62'}], 'gateway_ip': '14.173.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.173.119.2', 'tags': [], 'project_id': '0535a6167d0a4d95b6202313807e88b8'}} 2025-11-12 09:11:34,233 - INFO - Created VN ctest-vn-08263191 2025-11-12 09:11:34,288 - DEBUG - VN ctest-vn-08263191 UUID is 7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:34,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561, 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-43034229:ctest-vn-08263191, 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-12 09:11:34,735 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90012620-9270-4633-a56c-7b38dab4347c', 'name': 'ctest-vn-96951561', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'project_id': '0535a6167d0a4d95b6202313807e88b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36d506a6-d144-4111-9633-b3de91596354'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-vn-96951561'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-policy-allow-all-38388110']], 'subnet_ipam': [{'subnet_cidr': '173.245.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:34,980 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d1f9dd5-a50b-4747-9e29-ce37c60c9631', 'name': 'ctest-vn-08263191', 'tenant_id': '0535a6167d0a4d95b6202313807e88b8', 'project_id': '0535a6167d0a4d95b6202313807e88b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff46453f-ce82-4a09-a865-b50bf6398913'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-vn-08263191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-policy-allow-all-38388110']], 'subnet_ipam': [{'subnet_cidr': '14.173.119.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:35,148 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:11:35,483 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:11:35,516 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:11:35,529 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:11:35,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,619 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,629 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:11:35,637 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:11:35,644 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44cdbad8-c2e0-4ae5-88be-1504fa9c40d0 2025-11-12 09:11:35,651 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 09:11:35,652 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,666 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:11:35,686 - INFO - Verified VN network id 12 for VN 90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,687 - INFO - Verifications in API Server for VN ctest-vn-96951561 passed 2025-11-12 09:11:35,687 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,698 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:11:35,709 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:11:35,717 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44cdbad8-c2e0-4ae5-88be-1504fa9c40d0 2025-11-12 09:11:35,731 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43034229', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10376616937775973939', 'uuid-lslong': '11920037797860488316'}, 'enable': 'true', 'created': '2025-11-12T09:11:33', 'last-modified': '2025-11-12T09:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030012'} 2025-11-12 09:11:35,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 09:11:35,739 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96951561 passed 2025-11-12 09:11:35,739 - DEBUG - ====Verifying policy data for ctest-vn-96951561 in API_Server ====== 2025-11-12 09:11:35,740 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:11:35,747 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:11:35,760 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:11:35,836 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/90012620-9270-4633-a56c-7b38dab4347c 2025-11-12 09:11:35,847 - DEBUG - ==>Verifying data for policy with id: 0af010a1-9b65-4689-a399-f8e4716ab0bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-policy-allow-all-38388110'] 2025-11-12 09:11:35,847 - INFO - VN ctest-vn-96951561 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 09:11:35,847 - DEBUG - Verifying the vn in opserver 2025-11-12 09:11:35,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561 virtual network link through opserver 10.0.0.19 2025-11-12 09:11:35,847 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-12 09:11:36,173 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-12 09:11:36,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561?flat'} 2025-11-12 09:11:36,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561 is found in opserver 2025-11-12 09:11:36,584 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 09:11:36,590 - DEBUG - VRF ids for VN ctest-vn-96951561: {} 2025-11-12 09:11:36,591 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:11:36,601 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:11:36,620 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:11:36,703 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,715 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,725 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:11:36,733 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:11:36,741 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f36e5271-efaf-4d46-995b-a741d4de9b83 2025-11-12 09:11:36,751 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 09:11:36,751 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,764 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:11:36,782 - INFO - Verified VN network id 13 for VN 7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,782 - INFO - Verifications in API Server for VN ctest-vn-08263191 passed 2025-11-12 09:11:36,783 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,800 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:11:36,808 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:11:36,816 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f36e5271-efaf-4d46-995b-a741d4de9b83 2025-11-12 09:11:36,828 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-08263191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43034229', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9016098519941596999', 'uuid-lslong': '11396867070978987569'}, 'enable': 'true', 'created': '2025-11-12T09:11:34', 'last-modified': '2025-11-12T09:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.878992'} 2025-11-12 09:11:36,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 09:11:36,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08263191 passed 2025-11-12 09:11:36,835 - DEBUG - ====Verifying policy data for ctest-vn-08263191 in API_Server ====== 2025-11-12 09:11:36,835 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:11:36,841 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:11:36,852 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:11:36,936 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7d1f9dd5-a50b-4747-9e29-ce37c60c9631 2025-11-12 09:11:36,947 - DEBUG - ==>Verifying data for policy with id: 0af010a1-9b65-4689-a399-f8e4716ab0bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-43034229', 'ctest-policy-allow-all-38388110'] 2025-11-12 09:11:36,947 - INFO - VN ctest-vn-08263191 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 09:11:36,947 - DEBUG - Verifying the vn in opserver 2025-11-12 09:11:36,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-08263191 virtual network link through opserver 10.0.0.19 2025-11-12 09:11:36,947 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-11-12 09:11:36,965 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-08263191', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-08263191?flat'} 2025-11-12 09:11:36,965 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-08263191 is found in opserver 2025-11-12 09:11:36,980 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 09:11:36,985 - DEBUG - VRF ids for VN ctest-vn-08263191: {} 2025-11-12 09:11:37,056 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:11:38,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4701-1) 2025-11-12 09:11:39,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4701-1) 2025-11-12 09:11:39,592 - INFO - Waiting for VM ctest-TestBasicPolicy-43034229-26952938 to be up.. 2025-11-12 09:11:39,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:11:44,791 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:44,791 - INFO - VM name : ctest-TestBasicPolicy-43034229-26952938 2025-11-12 09:11:44,889 - DEBUG - VM ctest-TestBasicPolicy-43034229-26952938 ID is deb68017-f39f-48ce-9a01-ed06c7a24c6d 2025-11-12 09:11:44,916 - DEBUG - VM ctest-TestBasicPolicy-43034229-26952938 launched on Node cn-jenkins-deploy-platform-ansible-os-4701-1 2025-11-12 09:11:45,012 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/deb68017-f39f-48ce-9a01-ed06c7a24c6d 2025-11-12 09:11:45,022 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b7111712-b4b8-4036-8e8d-4b7079e53b53 2025-11-12 09:11:48,282 - 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 1008ms') 2025-11-12 09:11:48,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43034229-26952938 failed! 2025-11-12 09:11:48,335 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43034229:ctest-vn-96951561 is 173.245.168.129 and allocation pool is NOT set 2025-11-12 09:11:50,396 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 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 = 1.672/6.103/10.535/4.431 ms') 2025-11-12 09:11:50,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43034229-26952938 passed 2025-11-12 09:11:50,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:50,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43034229-26952938, IP 173.245.168.131, Port 22 2025-11-12 09:11:50,722 - DEBUG - VM ctest-TestBasicPolicy-43034229-26952938 is ready for SSH connections 2025-11-12 09:11:50,722 - INFO - Waiting for VM ctest-TestBasicPolicy-43034229-52155252 to be up.. 2025-11-12 09:11:50,823 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:50,823 - INFO - VM name : ctest-TestBasicPolicy-43034229-52155252 2025-11-12 09:11:50,907 - DEBUG - VM ctest-TestBasicPolicy-43034229-52155252 ID is 64ba3c42-a17c-4ed9-a4e6-de3f43cc7fc0 2025-11-12 09:11:50,907 - DEBUG - VM ctest-TestBasicPolicy-43034229-52155252 launched on Node cn-jenkins-deploy-platform-ansible-os-4701-1 2025-11-12 09:11:50,985 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/64ba3c42-a17c-4ed9-a4e6-de3f43cc7fc0 2025-11-12 09:11:50,994 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/78f5058d-8c91-4f63-8fdd-6a7ea9ab25c1 2025-11-12 09:11:52,241 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/2.095/3.666/1.570 ms') 2025-11-12 09:11:52,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43034229-52155252 passed 2025-11-12 09:11:52,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:52,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43034229-52155252, IP 14.173.119.3, Port 22 2025-11-12 09:11:52,558 - DEBUG - VM ctest-TestBasicPolicy-43034229-52155252 is ready for SSH connections 2025-11-12 09:11:52,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:52,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.173.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:11:52,558 - DEBUG - ping -s 56 -c 3 -W 1 14.173.119.3 2025-11-12 09:11:56,678 - DEBUG - PING 14.173.119.3 (14.173.119.3): 56 data bytes 64 bytes from 14.173.119.3: seq=0 ttl=63 time=3.573 ms 64 bytes from 14.173.119.3: seq=1 ttl=63 time=1.074 ms 64 bytes from 14.173.119.3: seq=2 ttl=63 time=0.979 ms --- 14.173.119.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/1.875/3.573 ms 2025-11-12 09:11:56,678 - INFO - Ping to IP 14.173.119.3 from VM ctest-TestBasicPolicy-43034229-26952938 passed 2025-11-12 09:11:56,863 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0af010a1-9b65-4689-a399-f8e4716ab0bc", "href": "http://10.0.0.19:8082/network-policy/0af010a1-9b65-4689-a399-f8e4716ab0bc"}} 2025-11-12 09:11:56,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:56,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.173.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:11:56,864 - DEBUG - ping -s 56 -c 3 -W 1 14.173.119.3 2025-11-12 09:12:00,103 - DEBUG - PING 14.173.119.3 (14.173.119.3): 56 data bytes --- 14.173.119.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:12:00,103 - WARNING - Ping to IP 14.173.119.3 from VM ctest-TestBasicPolicy-43034229-26952938 failed 2025-11-12 09:12:00,103 - INFO - Deleting VM ctest-TestBasicPolicy-43034229-52155252 2025-11-12 09:12:00,187 - INFO - Deleting VM ctest-TestBasicPolicy-43034229-26952938 2025-11-12 09:12:00,644 - INFO - Deleted policy ctest-policy-allow-all-38388110 2025-11-12 09:12:00,644 - INFO - Deleting VN ctest-vn-08263191 2025-11-12 09:12:00,696 - DEBUG - VN 7d1f9dd5-a50b-4747-9e29-ce37c60c9631 still in use: Unable to complete operation on network 7d1f9dd5-a50b-4747-9e29-ce37c60c9631. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54bd87a2-bbbc-4eaa-ace3-5979f3152436'] 2025-11-12 09:12:00,696 - WARNING - Deleting VN ctest-vn-08263191 failed..Will retry 2025-11-12 09:12:02,808 - DEBUG - Response for deleting network () 2025-11-12 09:12:02,809 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be33ff44-d566-4e9e-b73f-94f4e61687f5 2025-11-12 09:12:02,817 - DEBUG - Response Code: 404 2025-11-12 09:12:02,817 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:12:02,825 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:12:02,885 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:12:02,956 - INFO - Validated that VN ctest-vn-08263191 is not found in API Server 2025-11-12 09:12:02,970 - DEBUG - VN ctest-vn-08263191 is not present in Agent 10.0.0.19 2025-11-12 09:12:02,970 - INFO - Validated that VN ctest-vn-08263191 is not in any agent 2025-11-12 09:12:02,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08263191 info 2025-11-12 09:12:02,989 - INFO - Deleting VN ctest-vn-96951561 2025-11-12 09:12:03,121 - DEBUG - Response for deleting network () 2025-11-12 09:12:03,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f8a8006b-e270-4ef9-a13f-5dd65fdb4c78 2025-11-12 09:12:03,128 - DEBUG - Response Code: 404 2025-11-12 09:12:03,128 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-11-12 09:12:03,134 - DEBUG - Requesting: http://10.0.0.19:8082/domain/34ba96bd-fcf6-486a-a29f-be5ee365331e 2025-11-12 09:12:03,190 - DEBUG - Requesting: http://10.0.0.19:8082/project/0535a616-7d0a-4d95-b620-2313807e88b8 2025-11-12 09:12:03,269 - INFO - Validated that VN ctest-vn-96951561 is not found in API Server 2025-11-12 09:12:03,281 - DEBUG - VN ctest-vn-96951561 is not present in Agent 10.0.0.19 2025-11-12 09:12:03,281 - INFO - Validated that VN ctest-vn-96951561 is not in any agent 2025-11-12 09:12:03,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96951561 info 2025-11-12 09:12:03,554 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:12:03,554 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-11-12 09:12:03,554 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:12:04,330 - INFO - Deleted project: ctest-TestBasicPolicy-43034229, ID : 0535a616-7d0a-4d95-b620-2313807e88b8