2025-06-03 12:46:43,737 - INFO - Domain Default found not creating 2025-06-03 12:46:43,913 - INFO - Project ctest-TestBasicPolicy-84901159 not found, creating it 2025-06-03 12:46:44,480 - INFO - Created Project:ctest-TestBasicPolicy-84901159, ID : b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:46:46,056 - INFO - ================================================================================ 2025-06-03 12:46:46,056 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-03 12:46:46,056 - 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-06-03 12:46:46,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-06-03 12:46:46,318 - INFO - Initial checks done. Running the testcase now 2025-06-03 12:46:46,318 - INFO - 2025-06-03 12:46:46,914 - DEBUG - Response for create_network : {'network': {'id': '6b389b04-3f2b-4bc6-955a-c80da0392bd9', 'name': 'ctest-vn-69375136', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'project_id': 'b601a238b54240229f2179a49c35ed89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-vn-69375136'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 12:46:47,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cfe992e-1d3b-43ad-aac0-ef72b7fab9f2', 'name': '', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'network_id': '6b389b04-3f2b-4bc6-955a-c80da0392bd9', 'ip_version': 4, 'cidr': '2.208.227.128/26', 'allocation_pools': [{'start': '2.208.227.130', 'end': '2.208.227.190'}], 'gateway_ip': '2.208.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.208.227.130', 'tags': [], 'project_id': 'b601a238b54240229f2179a49c35ed89'}} 2025-06-03 12:46:47,184 - INFO - Created VN ctest-vn-69375136 2025-06-03 12:46:47,239 - DEBUG - VN ctest-vn-69375136 UUID is 6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:47,521 - DEBUG - Response for create_network : {'network': {'id': '2ad92071-be9f-4887-9c46-e76105ebf097', 'name': 'ctest-vn-38569271', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'project_id': 'b601a238b54240229f2179a49c35ed89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-vn-38569271'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 12:46:47,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '541ed362-1a92-400b-b29a-aafc0e257acf', 'name': '', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'network_id': '2ad92071-be9f-4887-9c46-e76105ebf097', 'ip_version': 4, 'cidr': '70.143.180.192/26', 'allocation_pools': [{'start': '70.143.180.194', 'end': '70.143.180.254'}], 'gateway_ip': '70.143.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.143.180.194', 'tags': [], 'project_id': 'b601a238b54240229f2179a49c35ed89'}} 2025-06-03 12:46:47,773 - INFO - Created VN ctest-vn-38569271 2025-06-03 12:46:47,827 - DEBUG - VN ctest-vn-38569271 UUID is 2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:47,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136, 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-84901159:ctest-vn-38569271, 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-06-03 12:46:48,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b389b04-3f2b-4bc6-955a-c80da0392bd9', 'name': 'ctest-vn-69375136', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'project_id': 'b601a238b54240229f2179a49c35ed89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cfe992e-1d3b-43ad-aac0-ef72b7fab9f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-vn-69375136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-policy-allow-all-46233262']], 'subnet_ipam': [{'subnet_cidr': '2.208.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 12:46:48,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ad92071-be9f-4887-9c46-e76105ebf097', 'name': 'ctest-vn-38569271', 'tenant_id': 'b601a238b54240229f2179a49c35ed89', 'project_id': 'b601a238b54240229f2179a49c35ed89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['541ed362-1a92-400b-b29a-aafc0e257acf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-vn-38569271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-policy-allow-all-46233262']], 'subnet_ipam': [{'subnet_cidr': '70.143.180.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 12:46:48,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:46:48,991 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:46:49,019 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:46:49,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:46:49,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,125 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:46:49,133 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:46:49,141 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b623803-9ab8-48c0-a09e-8ed971e5233c 2025-06-03 12:46:49,149 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 12:46:49,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,160 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:46:49,178 - INFO - Verified VN network id 7 for VN 6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,178 - INFO - Verifications in API Server for VN ctest-vn-69375136 passed 2025-06-03 12:46:49,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:46:49,198 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:46:49,206 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b623803-9ab8-48c0-a09e-8ed971e5233c 2025-06-03 12:46:49,220 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84901159', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7726095603296062406', 'uuid-lslong': '10762134220403452889'}, 'enable': 'true', 'created': '2025-06-03T12:46:46', 'last-modified': '2025-06-03T12:46:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997600'} 2025-06-03 12:46:49,226 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 12:46:49,226 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69375136 passed 2025-06-03 12:46:49,226 - DEBUG - ====Verifying policy data for ctest-vn-69375136 in API_Server ====== 2025-06-03 12:46:49,226 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:46:49,232 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:46:49,247 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:46:49,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b389b04-3f2b-4bc6-955a-c80da0392bd9 2025-06-03 12:46:49,334 - DEBUG - ==>Verifying data for policy with id: 7754b133-e7d7-40d8-9176-de6614a1aaa9, fqn: ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-policy-allow-all-46233262'] 2025-06-03 12:46:49,334 - INFO - VN ctest-vn-69375136 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 12:46:49,334 - DEBUG - Verifying the vn in opserver 2025-06-03 12:46:49,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136 virtual network link through opserver 10.0.0.38 2025-06-03 12:46:49,335 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-03 12:46:49,671 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-03 12:46:49,728 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136?flat'} 2025-06-03 12:46:49,728 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136 is found in opserver 2025-06-03 12:46:49,737 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 12:46:49,742 - DEBUG - VRF ids for VN ctest-vn-69375136: {} 2025-06-03 12:46:49,742 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:46:49,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:46:49,759 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:46:49,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:49,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:49,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:46:49,866 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:46:49,874 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/50635d1e-36cc-4aaf-a503-08be03f671aa 2025-06-03 12:46:49,882 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 12:46:49,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:49,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:46:49,908 - INFO - Verified VN network id 8 for VN 2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:49,908 - INFO - Verifications in API Server for VN ctest-vn-38569271 passed 2025-06-03 12:46:49,908 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:49,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:46:49,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:46:49,934 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/50635d1e-36cc-4aaf-a503-08be03f671aa 2025-06-03 12:46:49,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-38569271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84901159', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3087534692440688775', 'uuid-lslong': '11260942322183696535'}, 'enable': 'true', 'created': '2025-06-03T12:46:47', 'last-modified': '2025-06-03T12:46:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483629'} 2025-06-03 12:46:49,953 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 12:46:49,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38569271 passed 2025-06-03 12:46:49,953 - DEBUG - ====Verifying policy data for ctest-vn-38569271 in API_Server ====== 2025-06-03 12:46:49,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:46:49,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:46:49,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:46:50,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ad92071-be9f-4887-9c46-e76105ebf097 2025-06-03 12:46:50,065 - DEBUG - ==>Verifying data for policy with id: 7754b133-e7d7-40d8-9176-de6614a1aaa9, fqn: ['default-domain', 'ctest-TestBasicPolicy-84901159', 'ctest-policy-allow-all-46233262'] 2025-06-03 12:46:50,065 - INFO - VN ctest-vn-38569271 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 12:46:50,065 - DEBUG - Verifying the vn in opserver 2025-06-03 12:46:50,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-38569271 virtual network link through opserver 10.0.0.38 2025-06-03 12:46:50,065 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-03 12:46:50,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-38569271', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-38569271?flat'} 2025-06-03 12:46:50,076 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-38569271 is found in opserver 2025-06-03 12:46:50,087 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 12:46:50,092 - DEBUG - VRF ids for VN ctest-vn-38569271: {} 2025-06-03 12:46:50,156 - DEBUG - Services list from nova: [, , ] 2025-06-03 12:46:51,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3394-1) 2025-06-03 12:46:52,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3394-1) 2025-06-03 12:46:52,726 - INFO - Waiting for VM ctest-TestBasicPolicy-84901159-43628950 to be up.. 2025-06-03 12:46:52,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-03 12:46:57,929 - DEBUG - VM is in ACTIVE state now 2025-06-03 12:46:57,929 - INFO - VM name : ctest-TestBasicPolicy-84901159-43628950 2025-06-03 12:46:58,031 - DEBUG - VM ctest-TestBasicPolicy-84901159-43628950 ID is 6c1fc08c-99f4-4b28-b5bd-080639442a5b 2025-06-03 12:46:58,062 - DEBUG - VM ctest-TestBasicPolicy-84901159-43628950 launched on Node cn-jenkins-deploy-platform-ansible-os-3394-1. 2025-06-03 12:46:58,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c1fc08c-99f4-4b28-b5bd-080639442a5b 2025-06-03 12:46:58,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57b93081-4861-4dfe-8903-51410763f0bf 2025-06-03 12:47:01,474 - 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 1017ms') 2025-06-03 12:47:01,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84901159-43628950 failed! 2025-06-03 12:47:01,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84901159:ctest-vn-69375136 is 2.208.227.129 and allocation pool is NOT set 2025-06-03 12:47:03,631 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.217/3.759/5.301/1.542 ms') 2025-06-03 12:47:03,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84901159-43628950 passed 2025-06-03 12:47:03,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 12:47:03,783 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84901159-43628950, IP 2.208.227.131, Port 22 2025-06-03 12:47:03,938 - DEBUG - VM ctest-TestBasicPolicy-84901159-43628950 is ready for SSH connections 2025-06-03 12:47:03,939 - INFO - Waiting for VM ctest-TestBasicPolicy-84901159-37299591 to be up.. 2025-06-03 12:47:04,029 - DEBUG - VM is in ACTIVE state now 2025-06-03 12:47:04,029 - INFO - VM name : ctest-TestBasicPolicy-84901159-37299591 2025-06-03 12:47:04,117 - DEBUG - VM ctest-TestBasicPolicy-84901159-37299591 ID is 14667597-682c-479a-8e74-5d3a9b0ef977 2025-06-03 12:47:04,117 - DEBUG - VM ctest-TestBasicPolicy-84901159-37299591 launched on Node cn-jenkins-deploy-platform-ansible-os-3394-1. 2025-06-03 12:47:04,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/14667597-682c-479a-8e74-5d3a9b0ef977 2025-06-03 12:47:04,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dcba38d2-3c6b-46be-a0a5-ee683638666f 2025-06-03 12:47:05,447 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.29 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.294/2.887/3.481/0.593 ms') 2025-06-03 12:47:05,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84901159-37299591 passed 2025-06-03 12:47:05,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 12:47:05,599 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84901159-37299591, IP 70.143.180.195, Port 22 2025-06-03 12:47:05,765 - DEBUG - VM ctest-TestBasicPolicy-84901159-37299591 is ready for SSH connections 2025-06-03 12:47:05,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 12:47:05,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.143.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-03 12:47:05,766 - DEBUG - ping -s 56 -c 3 -W 1 70.143.180.195 2025-06-03 12:47:09,863 - DEBUG - PING 70.143.180.195 (70.143.180.195): 56 data bytes 64 bytes from 70.143.180.195: seq=0 ttl=63 time=4.872 ms 64 bytes from 70.143.180.195: seq=1 ttl=63 time=0.901 ms 64 bytes from 70.143.180.195: seq=2 ttl=63 time=0.925 ms --- 70.143.180.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.232/4.872 ms 2025-06-03 12:47:09,863 - INFO - Ping to IP 70.143.180.195 from VM ctest-TestBasicPolicy-84901159-43628950 passed 2025-06-03 12:47:10,055 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7754b133-e7d7-40d8-9176-de6614a1aaa9", "href": "http://10.0.0.38:8082/network-policy/7754b133-e7d7-40d8-9176-de6614a1aaa9"}} 2025-06-03 12:47:10,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 12:47:10,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.143.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-03 12:47:10,055 - DEBUG - ping -s 56 -c 3 -W 1 70.143.180.195 2025-06-03 12:47:13,276 - DEBUG - PING 70.143.180.195 (70.143.180.195): 56 data bytes --- 70.143.180.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-03 12:47:13,277 - WARNING - Ping to IP 70.143.180.195 from VM ctest-TestBasicPolicy-84901159-43628950 failed 2025-06-03 12:47:13,277 - INFO - Deleting VM ctest-TestBasicPolicy-84901159-37299591 2025-06-03 12:47:13,345 - INFO - Deleting VM ctest-TestBasicPolicy-84901159-43628950 2025-06-03 12:47:13,775 - INFO - Deleted policy ctest-policy-allow-all-46233262 2025-06-03 12:47:13,775 - INFO - Deleting VN ctest-vn-38569271 2025-06-03 12:47:13,820 - DEBUG - VN 2ad92071-be9f-4887-9c46-e76105ebf097 still in use: Unable to complete operation on network 2ad92071-be9f-4887-9c46-e76105ebf097. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6b477db-2822-4d2b-ba60-eb3b872d8b30'] 2025-06-03 12:47:13,820 - WARNING - Deleting VN ctest-vn-38569271 failed..Will retry 2025-06-03 12:47:15,926 - DEBUG - Response for deleting network () 2025-06-03 12:47:15,927 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a6a66e2-7cc3-47fc-8b92-68e29058a8c4 2025-06-03 12:47:15,932 - DEBUG - Response Code: 404 2025-06-03 12:47:15,933 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:47:15,940 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:47:15,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:47:16,067 - INFO - Validated that VN ctest-vn-38569271 is not found in API Server 2025-06-03 12:47:16,077 - DEBUG - VN ctest-vn-38569271 is not present in Agent 10.0.0.38 2025-06-03 12:47:16,077 - INFO - Validated that VN ctest-vn-38569271 is not in any agent 2025-06-03 12:47:16,095 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38569271 info 2025-06-03 12:47:16,095 - INFO - Deleting VN ctest-vn-69375136 2025-06-03 12:47:16,204 - DEBUG - Response for deleting network () 2025-06-03 12:47:16,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b76b136-5798-4720-af23-a420e5406545 2025-06-03 12:47:16,213 - DEBUG - Response Code: 404 2025-06-03 12:47:16,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-03 12:47:16,218 - DEBUG - Requesting: http://10.0.0.38:8082/domain/07dcd119-2194-4f5b-b3c9-0833dd37312d 2025-06-03 12:47:16,272 - DEBUG - Requesting: http://10.0.0.38:8082/project/b601a238-b542-4022-9f21-79a49c35ed89 2025-06-03 12:47:16,348 - INFO - Validated that VN ctest-vn-69375136 is not found in API Server 2025-06-03 12:47:16,359 - DEBUG - VN ctest-vn-69375136 is not present in Agent 10.0.0.38 2025-06-03 12:47:16,359 - INFO - Validated that VN ctest-vn-69375136 is not in any agent 2025-06-03 12:47:16,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69375136 info 2025-06-03 12:47:16,630 - DEBUG - No XMPP flaps were noticed during the test 2025-06-03 12:47:16,630 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-03 12:47:16,630 - INFO - -------------------------------------------------------------------------------- 2025-06-03 12:47:17,403 - INFO - Deleted project: ctest-TestBasicPolicy-84901159, ID : b601a238-b542-4022-9f21-79a49c35ed89