2025-06-24 15:46:28,852 - INFO - Domain Default found not creating 2025-06-24 15:46:28,998 - INFO - Project ctest-TestBasicPolicy-55458674 not found, creating it 2025-06-24 15:46:29,552 - INFO - Created Project:ctest-TestBasicPolicy-55458674, ID : 01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:46:31,046 - INFO - ================================================================================ 2025-06-24 15:46:31,046 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 15:46:31,047 - 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-24 15:46:31,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-24 15:46:31,302 - INFO - Initial checks done. Running the testcase now 2025-06-24 15:46:31,302 - INFO - 2025-06-24 15:46:31,853 - DEBUG - Response for create_network : {'network': {'id': '1e6fee46-f732-4d0f-9145-e67d0ba4c6a2', 'name': 'ctest-vn-92342716', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'project_id': '01553a5dce954572a33e3b3326b72db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-vn-92342716'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 15:46:32,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '662d74d2-ca61-4f77-85e0-86f4ff8bc2e6', 'name': '', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'network_id': '1e6fee46-f732-4d0f-9145-e67d0ba4c6a2', 'ip_version': 4, 'cidr': '196.143.11.64/26', 'allocation_pools': [{'start': '196.143.11.66', 'end': '196.143.11.126'}], 'gateway_ip': '196.143.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.143.11.66', 'tags': [], 'project_id': '01553a5dce954572a33e3b3326b72db6'}} 2025-06-24 15:46:32,073 - INFO - Created VN ctest-vn-92342716 2025-06-24 15:46:32,132 - DEBUG - VN ctest-vn-92342716 UUID is 1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:32,480 - DEBUG - Response for create_network : {'network': {'id': '525be652-0590-4698-b349-3fbe44d91cbb', 'name': 'ctest-vn-69934370', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'project_id': '01553a5dce954572a33e3b3326b72db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-vn-69934370'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 15:46:32,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a7bf00-bbb3-457d-be6b-f5f8c19a8619', 'name': '', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'network_id': '525be652-0590-4698-b349-3fbe44d91cbb', 'ip_version': 4, 'cidr': '28.161.21.128/26', 'allocation_pools': [{'start': '28.161.21.130', 'end': '28.161.21.190'}], 'gateway_ip': '28.161.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.161.21.130', 'tags': [], 'project_id': '01553a5dce954572a33e3b3326b72db6'}} 2025-06-24 15:46:32,712 - INFO - Created VN ctest-vn-69934370 2025-06-24 15:46:32,768 - DEBUG - VN ctest-vn-69934370 UUID is 525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:32,885 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716, 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-55458674:ctest-vn-69934370, 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-24 15:46:33,207 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e6fee46-f732-4d0f-9145-e67d0ba4c6a2', 'name': 'ctest-vn-92342716', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'project_id': '01553a5dce954572a33e3b3326b72db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['662d74d2-ca61-4f77-85e0-86f4ff8bc2e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-vn-92342716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-policy-allow-all-18725784']], 'subnet_ipam': [{'subnet_cidr': '196.143.11.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 15:46:33,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '525be652-0590-4698-b349-3fbe44d91cbb', 'name': 'ctest-vn-69934370', 'tenant_id': '01553a5dce954572a33e3b3326b72db6', 'project_id': '01553a5dce954572a33e3b3326b72db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8a7bf00-bbb3-457d-be6b-f5f8c19a8619'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-vn-69934370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-policy-allow-all-18725784']], 'subnet_ipam': [{'subnet_cidr': '28.161.21.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 15:46:33,628 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:46:33,927 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:46:33,959 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:46:33,974 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:46:34,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:46:34,102 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:46:34,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28424f0d-c363-42f4-8961-81beb1926b92 2025-06-24 15:46:34,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 15:46:34,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:46:34,145 - INFO - Verified VN network id 8 for VN 1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,145 - INFO - Verifications in API Server for VN ctest-vn-92342716 passed 2025-06-24 15:46:34,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:46:34,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:46:34,172 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28424f0d-c363-42f4-8961-81beb1926b92 2025-06-24 15:46:34,189 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55458674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2193233532115111183', 'uuid-lslong': '10468026333633234594'}, 'enable': 'true', 'created': '2025-06-24T15:46:31', 'last-modified': '2025-06-24T15:46:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006770'} 2025-06-24 15:46:34,196 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 15:46:34,196 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92342716 passed 2025-06-24 15:46:34,196 - DEBUG - ====Verifying policy data for ctest-vn-92342716 in API_Server ====== 2025-06-24 15:46:34,196 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:46:34,203 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:46:34,216 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:46:34,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e6fee46-f732-4d0f-9145-e67d0ba4c6a2 2025-06-24 15:46:34,299 - DEBUG - ==>Verifying data for policy with id: da74c449-fd85-432d-b875-ad9130b51655, fqn: ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-policy-allow-all-18725784'] 2025-06-24 15:46:34,299 - INFO - VN ctest-vn-92342716 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 15:46:34,299 - DEBUG - Verifying the vn in opserver 2025-06-24 15:46:34,299 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716 virtual network link through opserver 10.0.0.38 2025-06-24 15:46:34,299 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 15:46:34,588 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 15:46:34,655 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716?flat'} 2025-06-24 15:46:34,655 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716 is found in opserver 2025-06-24 15:46:34,668 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 15:46:34,673 - DEBUG - VRF ids for VN ctest-vn-92342716: {} 2025-06-24 15:46:34,674 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:46:34,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:46:34,693 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:46:34,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:34,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:34,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:46:34,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:46:34,810 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94a54226-2087-4ac3-bcb3-f03fe84d4eb7 2025-06-24 15:46:34,817 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 15:46:34,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:34,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:46:34,843 - INFO - Verified VN network id 9 for VN 525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:34,844 - INFO - Verifications in API Server for VN ctest-vn-69934370 passed 2025-06-24 15:46:34,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:34,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:46:34,863 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:46:34,870 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94a54226-2087-4ac3-bcb3-f03fe84d4eb7 2025-06-24 15:46:34,883 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-69934370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55458674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5934590173945808536', 'uuid-lslong': '12918927092520393915'}, 'enable': 'true', 'created': '2025-06-24T15:46:32', 'last-modified': '2025-06-24T15:46:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.451902'} 2025-06-24 15:46:34,890 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 15:46:34,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69934370 passed 2025-06-24 15:46:34,890 - DEBUG - ====Verifying policy data for ctest-vn-69934370 in API_Server ====== 2025-06-24 15:46:34,890 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:46:34,897 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:46:34,911 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:46:34,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/525be652-0590-4698-b349-3fbe44d91cbb 2025-06-24 15:46:35,005 - DEBUG - ==>Verifying data for policy with id: da74c449-fd85-432d-b875-ad9130b51655, fqn: ['default-domain', 'ctest-TestBasicPolicy-55458674', 'ctest-policy-allow-all-18725784'] 2025-06-24 15:46:35,005 - INFO - VN ctest-vn-69934370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 15:46:35,005 - DEBUG - Verifying the vn in opserver 2025-06-24 15:46:35,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-69934370 virtual network link through opserver 10.0.0.38 2025-06-24 15:46:35,005 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 15:46:35,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-69934370', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-69934370?flat'} 2025-06-24 15:46:35,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-69934370 is found in opserver 2025-06-24 15:46:35,031 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 15:46:35,036 - DEBUG - VRF ids for VN ctest-vn-69934370: {} 2025-06-24 15:46:35,098 - DEBUG - Services list from nova: [, , ] 2025-06-24 15:46:36,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1) 2025-06-24 15:46:37,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1) 2025-06-24 15:46:37,441 - INFO - Waiting for VM ctest-TestBasicPolicy-55458674-95813961 to be up.. 2025-06-24 15:46:37,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 15:46:42,615 - DEBUG - VM is in ACTIVE state now 2025-06-24 15:46:42,615 - INFO - VM name : ctest-TestBasicPolicy-55458674-95813961 2025-06-24 15:46:42,695 - DEBUG - VM ctest-TestBasicPolicy-55458674-95813961 ID is 87bbc636-9487-438a-89e8-691ccfa92416 2025-06-24 15:46:42,715 - DEBUG - VM ctest-TestBasicPolicy-55458674-95813961 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1 2025-06-24 15:46:42,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/87bbc636-9487-438a-89e8-691ccfa92416 2025-06-24 15:46:42,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5c296df-1a19-4cd0-bb36-dae7c331949b 2025-06-24 15:46:46,081 - 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 1023ms') 2025-06-24 15:46:46,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55458674-95813961 failed! 2025-06-24 15:46:46,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55458674:ctest-vn-92342716 is 196.143.11.65 and allocation pool is NOT set 2025-06-24 15:46:48,204 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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.791/3.009/3.227/0.218 ms') 2025-06-24 15:46:48,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55458674-95813961 passed 2025-06-24 15:46:48,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 15:46:48,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55458674-95813961, IP 196.143.11.67, Port 22 2025-06-24 15:46:48,531 - DEBUG - VM ctest-TestBasicPolicy-55458674-95813961 is ready for SSH connections 2025-06-24 15:46:48,531 - INFO - Waiting for VM ctest-TestBasicPolicy-55458674-05694992 to be up.. 2025-06-24 15:46:48,614 - DEBUG - VM is in ACTIVE state now 2025-06-24 15:46:48,614 - INFO - VM name : ctest-TestBasicPolicy-55458674-05694992 2025-06-24 15:46:48,692 - DEBUG - VM ctest-TestBasicPolicy-55458674-05694992 ID is 85696f7e-e519-48c3-9512-0ffb4a7090a7 2025-06-24 15:46:48,692 - DEBUG - VM ctest-TestBasicPolicy-55458674-05694992 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1 2025-06-24 15:46:48,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/85696f7e-e519-48c3-9512-0ffb4a7090a7 2025-06-24 15:46:48,786 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3b6d899-26ac-4449-98b7-1df6d577df64 2025-06-24 15:46:50,029 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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 = 0.476/1.633/2.790/1.157 ms') 2025-06-24 15:46:50,030 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55458674-05694992 passed 2025-06-24 15:46:50,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 15:46:50,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55458674-05694992, IP 28.161.21.131, Port 22 2025-06-24 15:46:50,331 - DEBUG - VM ctest-TestBasicPolicy-55458674-05694992 is ready for SSH connections 2025-06-24 15:46:50,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 15:46:50,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.161.21.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 15:46:50,332 - DEBUG - ping -s 56 -c 3 -W 1 28.161.21.131 2025-06-24 15:46:54,018 - DEBUG - PING 28.161.21.131 (28.161.21.131): 56 data bytes 64 bytes from 28.161.21.131: seq=0 ttl=63 time=3.366 ms 64 bytes from 28.161.21.131: seq=1 ttl=63 time=0.836 ms 64 bytes from 28.161.21.131: seq=2 ttl=63 time=0.793 ms --- 28.161.21.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.665/3.366 ms 2025-06-24 15:46:54,018 - INFO - Ping to IP 28.161.21.131 from VM ctest-TestBasicPolicy-55458674-95813961 passed 2025-06-24 15:46:54,200 - DEBUG - Policy Update Response {"network-policy": {"uuid": "da74c449-fd85-432d-b875-ad9130b51655", "href": "http://10.0.0.38:8082/network-policy/da74c449-fd85-432d-b875-ad9130b51655"}} 2025-06-24 15:46:54,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 15:46:54,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.161.21.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 15:46:54,200 - DEBUG - ping -s 56 -c 3 -W 1 28.161.21.131 2025-06-24 15:46:57,408 - DEBUG - PING 28.161.21.131 (28.161.21.131): 56 data bytes 64 bytes from 28.161.21.131: seq=0 ttl=63 time=1.857 ms --- 28.161.21.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.857/1.857/1.857 ms 2025-06-24 15:46:57,409 - WARNING - Ping to IP 28.161.21.131 from VM ctest-TestBasicPolicy-55458674-95813961 failed 2025-06-24 15:46:57,409 - INFO - Deleting VM ctest-TestBasicPolicy-55458674-05694992 2025-06-24 15:46:57,475 - INFO - Deleting VM ctest-TestBasicPolicy-55458674-95813961 2025-06-24 15:46:57,893 - INFO - Deleted policy ctest-policy-allow-all-18725784 2025-06-24 15:46:57,893 - INFO - Deleting VN ctest-vn-69934370 2025-06-24 15:46:57,943 - DEBUG - VN 525be652-0590-4698-b349-3fbe44d91cbb still in use: Unable to complete operation on network 525be652-0590-4698-b349-3fbe44d91cbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-baf10642-5d61-4d8e-a705-1149925d6699'] 2025-06-24 15:46:57,943 - WARNING - Deleting VN ctest-vn-69934370 failed..Will retry 2025-06-24 15:47:00,063 - DEBUG - Response for deleting network () 2025-06-24 15:47:00,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/504bfe20-8c2e-448c-a9ad-1b3362dc6fa2 2025-06-24 15:47:00,069 - DEBUG - Response Code: 404 2025-06-24 15:47:00,069 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:47:00,075 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:47:00,137 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:47:00,216 - INFO - Validated that VN ctest-vn-69934370 is not found in API Server 2025-06-24 15:47:00,228 - DEBUG - VN ctest-vn-69934370 is not present in Agent 10.0.0.38 2025-06-24 15:47:00,228 - INFO - Validated that VN ctest-vn-69934370 is not in any agent 2025-06-24 15:47:00,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69934370 info 2025-06-24 15:47:00,249 - INFO - Deleting VN ctest-vn-92342716 2025-06-24 15:47:00,386 - DEBUG - Response for deleting network () 2025-06-24 15:47:00,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54bcf44a-3b27-4b3a-95ae-f04c9e4c15f6 2025-06-24 15:47:00,395 - DEBUG - Response Code: 404 2025-06-24 15:47:00,395 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 15:47:00,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b2b7d340-c169-44ad-b2bb-224b0c1fe6ef 2025-06-24 15:47:00,460 - DEBUG - Requesting: http://10.0.0.38:8082/project/01553a5d-ce95-4572-a33e-3b3326b72db6 2025-06-24 15:47:00,542 - INFO - Validated that VN ctest-vn-92342716 is not found in API Server 2025-06-24 15:47:00,553 - DEBUG - VN ctest-vn-92342716 is not present in Agent 10.0.0.38 2025-06-24 15:47:00,554 - INFO - Validated that VN ctest-vn-92342716 is not in any agent 2025-06-24 15:47:00,569 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92342716 info 2025-06-24 15:47:00,825 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 15:47:00,826 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-24 15:47:00,826 - INFO - -------------------------------------------------------------------------------- 2025-06-24 15:47:01,540 - INFO - Deleted project: ctest-TestBasicPolicy-55458674, ID : 01553a5d-ce95-4572-a33e-3b3326b72db6