2025-09-12 19:16:06,981 - INFO - Domain Default found not creating 2025-09-12 19:16:07,137 - INFO - Project ctest-TestBasicPolicy-42873324 not found, creating it 2025-09-12 19:16:07,600 - INFO - Created Project:ctest-TestBasicPolicy-42873324, ID : 8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:09,071 - INFO - ================================================================================ 2025-09-12 19:16:09,071 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-12 19:16:09,071 - 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-09-12 19:16:09,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-12 19:16:09,329 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:16:09,329 - INFO - 2025-09-12 19:16:09,883 - DEBUG - Response for create_network : {'network': {'id': 'aaf68de7-a838-43da-a3ef-791b204717b3', 'name': 'ctest-vn-83670975', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'project_id': '8e3c5458d08341fdb8436e8904935024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-vn-83670975'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:16:10,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c30278c-86b6-4e6d-9d99-23e19caa0c59', 'name': '', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'network_id': 'aaf68de7-a838-43da-a3ef-791b204717b3', 'ip_version': 4, 'cidr': '144.58.253.64/26', 'allocation_pools': [{'start': '144.58.253.66', 'end': '144.58.253.126'}], 'gateway_ip': '144.58.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.58.253.66', 'tags': [], 'project_id': '8e3c5458d08341fdb8436e8904935024'}} 2025-09-12 19:16:10,075 - INFO - Created VN ctest-vn-83670975 2025-09-12 19:16:10,127 - DEBUG - VN ctest-vn-83670975 UUID is aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:10,417 - DEBUG - Response for create_network : {'network': {'id': '287952fb-1861-4403-afa6-dfef740118e0', 'name': 'ctest-vn-17772260', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'project_id': '8e3c5458d08341fdb8436e8904935024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-vn-17772260'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:16:10,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd46dcb15-065e-4b27-9348-5c0dbbd1aee3', 'name': '', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'network_id': '287952fb-1861-4403-afa6-dfef740118e0', 'ip_version': 4, 'cidr': '41.206.69.128/26', 'allocation_pools': [{'start': '41.206.69.130', 'end': '41.206.69.190'}], 'gateway_ip': '41.206.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.206.69.130', 'tags': [], 'project_id': '8e3c5458d08341fdb8436e8904935024'}} 2025-09-12 19:16:10,619 - INFO - Created VN ctest-vn-17772260 2025-09-12 19:16:10,675 - DEBUG - VN ctest-vn-17772260 UUID is 287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:10,791 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975, 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-42873324:ctest-vn-17772260, 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-09-12 19:16:11,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aaf68de7-a838-43da-a3ef-791b204717b3', 'name': 'ctest-vn-83670975', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'project_id': '8e3c5458d08341fdb8436e8904935024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c30278c-86b6-4e6d-9d99-23e19caa0c59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-vn-83670975'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-policy-allow-all-69541766']], 'subnet_ipam': [{'subnet_cidr': '144.58.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:16:11,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '287952fb-1861-4403-afa6-dfef740118e0', 'name': 'ctest-vn-17772260', 'tenant_id': '8e3c5458d08341fdb8436e8904935024', 'project_id': '8e3c5458d08341fdb8436e8904935024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d46dcb15-065e-4b27-9348-5c0dbbd1aee3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-vn-17772260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-policy-allow-all-69541766']], 'subnet_ipam': [{'subnet_cidr': '41.206.69.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:16:11,487 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:11,794 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:11,826 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:11,839 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:11,909 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:11,920 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:11,931 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:11,938 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:11,945 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/93607d2b-7f2e-4fec-8b57-aea4cc323b61 2025-09-12 19:16:11,952 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-12 19:16:11,952 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:11,962 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:11,977 - INFO - Verified VN network id 11 for VN aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:11,977 - INFO - Verifications in API Server for VN ctest-vn-83670975 passed 2025-09-12 19:16:11,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:11,987 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:11,995 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:12,002 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/93607d2b-7f2e-4fec-8b57-aea4cc323b61 2025-09-12 19:16:12,015 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42873324', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12319189856817791962', 'uuid-lslong': '11812793505028708275'}, 'enable': 'true', 'created': '2025-09-12T19:16:09', 'last-modified': '2025-09-12T19:16:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953695'} 2025-09-12 19:16:12,022 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-12 19:16:12,022 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83670975 passed 2025-09-12 19:16:12,022 - DEBUG - ====Verifying policy data for ctest-vn-83670975 in API_Server ====== 2025-09-12 19:16:12,023 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:12,028 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:12,046 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:12,120 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/aaf68de7-a838-43da-a3ef-791b204717b3 2025-09-12 19:16:12,129 - DEBUG - ==>Verifying data for policy with id: da033d86-8c1d-4b78-9dc0-82feba62407e, fqn: ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-policy-allow-all-69541766'] 2025-09-12 19:16:12,129 - INFO - VN ctest-vn-83670975 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-12 19:16:12,129 - DEBUG - Verifying the vn in opserver 2025-09-12 19:16:12,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975 virtual network link through opserver 10.0.0.22 2025-09-12 19:16:12,129 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-12 19:16:12,434 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-12 19:16:12,493 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975?flat'} 2025-09-12 19:16:12,493 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975 is found in opserver 2025-09-12 19:16:12,502 - DEBUG - Do not have enough data to verify VN in agent 2025-09-12 19:16:12,506 - DEBUG - VRF ids for VN ctest-vn-83670975: {} 2025-09-12 19:16:12,506 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:12,511 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:12,522 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:12,594 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,606 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,615 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:12,623 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:12,629 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e8d0442-b363-4545-a394-1ae034227ce4 2025-09-12 19:16:12,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-12 19:16:12,636 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,646 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:12,662 - INFO - Verified VN network id 12 for VN 287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,663 - INFO - Verifications in API Server for VN ctest-vn-17772260 passed 2025-09-12 19:16:12,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,672 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:12,678 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:12,684 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e8d0442-b363-4545-a394-1ae034227ce4 2025-09-12 19:16:12,694 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-17772260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42873324', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2916453472098403331', 'uuid-lslong': '12657050022307764448'}, 'enable': 'true', 'created': '2025-09-12T19:16:10', 'last-modified': '2025-09-12T19:16:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414272'} 2025-09-12 19:16:12,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-12 19:16:12,702 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17772260 passed 2025-09-12 19:16:12,702 - DEBUG - ====Verifying policy data for ctest-vn-17772260 in API_Server ====== 2025-09-12 19:16:12,702 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:12,709 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:12,720 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:12,787 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/287952fb-1861-4403-afa6-dfef740118e0 2025-09-12 19:16:12,799 - DEBUG - ==>Verifying data for policy with id: da033d86-8c1d-4b78-9dc0-82feba62407e, fqn: ['default-domain', 'ctest-TestBasicPolicy-42873324', 'ctest-policy-allow-all-69541766'] 2025-09-12 19:16:12,799 - INFO - VN ctest-vn-17772260 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-12 19:16:12,799 - DEBUG - Verifying the vn in opserver 2025-09-12 19:16:12,799 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-17772260 virtual network link through opserver 10.0.0.22 2025-09-12 19:16:12,799 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-12 19:16:12,810 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-17772260', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-17772260?flat'} 2025-09-12 19:16:12,810 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-17772260 is found in opserver 2025-09-12 19:16:12,820 - DEBUG - Do not have enough data to verify VN in agent 2025-09-12 19:16:12,825 - DEBUG - VRF ids for VN ctest-vn-17772260: {} 2025-09-12 19:16:12,886 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:16:13,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:16:15,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:16:15,095 - INFO - Waiting for VM ctest-TestBasicPolicy-42873324-68500494 to be up.. 2025-09-12 19:16:15,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:16:20,269 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:16:20,269 - INFO - VM name : ctest-TestBasicPolicy-42873324-68500494 2025-09-12 19:16:20,348 - DEBUG - VM ctest-TestBasicPolicy-42873324-68500494 ID is 62d49ba0-3fb3-465d-a6e6-256c2fd84534 2025-09-12 19:16:20,368 - DEBUG - VM ctest-TestBasicPolicy-42873324-68500494 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:16:20,439 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/62d49ba0-3fb3-465d-a6e6-256c2fd84534 2025-09-12 19:16:20,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/39aa597f-b25f-4e47-bd41-c57cacf043d0 2025-09-12 19:16:23,711 - 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-09-12 19:16:23,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42873324-68500494 failed! 2025-09-12 19:16:23,766 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42873324:ctest-vn-83670975 is 144.58.253.65 and allocation pool is NOT set 2025-09-12 19:16:25,831 - 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=9.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 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.820/5.850/9.880/4.030 ms') 2025-09-12 19:16:25,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42873324-68500494 passed 2025-09-12 19:16:25,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:16:25,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42873324-68500494, IP 144.58.253.67, Port 22 2025-09-12 19:16:26,138 - DEBUG - VM ctest-TestBasicPolicy-42873324-68500494 is ready for SSH connections 2025-09-12 19:16:26,138 - INFO - Waiting for VM ctest-TestBasicPolicy-42873324-35207985 to be up.. 2025-09-12 19:16:26,221 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:16:26,221 - INFO - VM name : ctest-TestBasicPolicy-42873324-35207985 2025-09-12 19:16:26,300 - DEBUG - VM ctest-TestBasicPolicy-42873324-35207985 ID is fa694bd2-9723-44bf-92ee-c32fe769edd9 2025-09-12 19:16:26,300 - DEBUG - VM ctest-TestBasicPolicy-42873324-35207985 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:16:26,378 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fa694bd2-9723-44bf-92ee-c32fe769edd9 2025-09-12 19:16:26,387 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c9254245-1aba-4cc0-a297-a581b80fc104 2025-09-12 19:16:27,620 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.710/2.985/1.275 ms') 2025-09-12 19:16:27,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42873324-35207985 passed 2025-09-12 19:16:27,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:16:27,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42873324-35207985, IP 41.206.69.131, Port 22 2025-09-12 19:16:27,926 - DEBUG - VM ctest-TestBasicPolicy-42873324-35207985 is ready for SSH connections 2025-09-12 19:16:27,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:16:27,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.206.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:16:27,926 - DEBUG - ping -s 56 -c 3 -W 1 41.206.69.131 2025-09-12 19:16:31,956 - DEBUG - PING 41.206.69.131 (41.206.69.131): 56 data bytes 64 bytes from 41.206.69.131: seq=0 ttl=63 time=3.661 ms 64 bytes from 41.206.69.131: seq=1 ttl=63 time=0.989 ms 64 bytes from 41.206.69.131: seq=2 ttl=63 time=0.860 ms --- 41.206.69.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/1.836/3.661 ms 2025-09-12 19:16:31,957 - INFO - Ping to IP 41.206.69.131 from VM ctest-TestBasicPolicy-42873324-68500494 passed 2025-09-12 19:16:32,130 - DEBUG - Policy Update Response {"network-policy": {"uuid": "da033d86-8c1d-4b78-9dc0-82feba62407e", "href": "http://10.0.0.22:8082/network-policy/da033d86-8c1d-4b78-9dc0-82feba62407e"}} 2025-09-12 19:16:32,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:16:32,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.206.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:16:32,131 - DEBUG - ping -s 56 -c 3 -W 1 41.206.69.131 2025-09-12 19:16:35,337 - DEBUG - PING 41.206.69.131 (41.206.69.131): 56 data bytes --- 41.206.69.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 19:16:35,338 - WARNING - Ping to IP 41.206.69.131 from VM ctest-TestBasicPolicy-42873324-68500494 failed 2025-09-12 19:16:35,338 - INFO - Deleting VM ctest-TestBasicPolicy-42873324-35207985 2025-09-12 19:16:35,414 - INFO - Deleting VM ctest-TestBasicPolicy-42873324-68500494 2025-09-12 19:16:35,802 - INFO - Deleted policy ctest-policy-allow-all-69541766 2025-09-12 19:16:35,802 - INFO - Deleting VN ctest-vn-17772260 2025-09-12 19:16:35,839 - DEBUG - VN 287952fb-1861-4403-afa6-dfef740118e0 still in use: Unable to complete operation on network 287952fb-1861-4403-afa6-dfef740118e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-acfec1c0-6249-440c-a975-ae02796135dd'] 2025-09-12 19:16:35,839 - WARNING - Deleting VN ctest-vn-17772260 failed..Will retry 2025-09-12 19:16:37,937 - DEBUG - Response for deleting network () 2025-09-12 19:16:37,937 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c9fca24d-7c06-4162-a66b-5077d600fa70 2025-09-12 19:16:37,941 - DEBUG - Response Code: 404 2025-09-12 19:16:37,941 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:37,946 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:37,999 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:38,068 - INFO - Validated that VN ctest-vn-17772260 is not found in API Server 2025-09-12 19:16:38,076 - DEBUG - VN ctest-vn-17772260 is not present in Agent 10.0.0.22 2025-09-12 19:16:38,076 - INFO - Validated that VN ctest-vn-17772260 is not in any agent 2025-09-12 19:16:38,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17772260 info 2025-09-12 19:16:38,090 - INFO - Deleting VN ctest-vn-83670975 2025-09-12 19:16:38,183 - DEBUG - Response for deleting network () 2025-09-12 19:16:38,183 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aa5bb25e-4568-4973-923d-5eba7fc2699e 2025-09-12 19:16:38,190 - DEBUG - Response Code: 404 2025-09-12 19:16:38,190 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-12 19:16:38,195 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5fc60ce0-d9b1-4dbe-bd58-22de9b8cf07b 2025-09-12 19:16:38,247 - DEBUG - Requesting: http://10.0.0.22:8082/project/8e3c5458-d083-41fd-b843-6e8904935024 2025-09-12 19:16:38,317 - INFO - Validated that VN ctest-vn-83670975 is not found in API Server 2025-09-12 19:16:38,328 - DEBUG - VN ctest-vn-83670975 is not present in Agent 10.0.0.22 2025-09-12 19:16:38,328 - INFO - Validated that VN ctest-vn-83670975 is not in any agent 2025-09-12 19:16:38,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83670975 info 2025-09-12 19:16:38,600 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:16:38,600 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-12 19:16:38,600 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:16:39,283 - INFO - Deleted project: ctest-TestBasicPolicy-42873324, ID : 8e3c5458-d083-41fd-b843-6e8904935024