2025-07-17 14:56:58,310 - INFO - Domain Default found not creating 2025-07-17 14:56:58,471 - INFO - Project ctest-TestBasicPolicy-50803556 not found, creating it 2025-07-17 14:56:58,945 - INFO - Created Project:ctest-TestBasicPolicy-50803556, ID : fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:00,493 - INFO - ================================================================================ 2025-07-17 14:57:00,493 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 14:57:00,493 - 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-07-17 14:57:00,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-17 14:57:00,751 - INFO - Initial checks done. Running the testcase now 2025-07-17 14:57:00,752 - INFO - 2025-07-17 14:57:01,344 - DEBUG - Response for create_network : {'network': {'id': 'd0b02177-722d-48f4-8487-4a0bb4741296', 'name': 'ctest-vn-53144421', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'project_id': 'fc3577563fca49458fc39f7bd01a711a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-vn-53144421'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:57:01,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '363515af-b291-465f-93b1-39fada08cece', 'name': '', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'network_id': 'd0b02177-722d-48f4-8487-4a0bb4741296', 'ip_version': 4, 'cidr': '117.49.30.128/26', 'allocation_pools': [{'start': '117.49.30.130', 'end': '117.49.30.190'}], 'gateway_ip': '117.49.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.49.30.130', 'tags': [], 'project_id': 'fc3577563fca49458fc39f7bd01a711a'}} 2025-07-17 14:57:01,553 - INFO - Created VN ctest-vn-53144421 2025-07-17 14:57:01,609 - DEBUG - VN ctest-vn-53144421 UUID is d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:01,911 - DEBUG - Response for create_network : {'network': {'id': '374dd855-70f5-493d-92f3-b296ca9afc8e', 'name': 'ctest-vn-27040883', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'project_id': 'fc3577563fca49458fc39f7bd01a711a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-vn-27040883'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:57:02,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '00ad743d-180b-4630-a79b-e2f9113cde5f', 'name': '', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'network_id': '374dd855-70f5-493d-92f3-b296ca9afc8e', 'ip_version': 4, 'cidr': '7.140.188.64/26', 'allocation_pools': [{'start': '7.140.188.66', 'end': '7.140.188.126'}], 'gateway_ip': '7.140.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.140.188.66', 'tags': [], 'project_id': 'fc3577563fca49458fc39f7bd01a711a'}} 2025-07-17 14:57:02,130 - INFO - Created VN ctest-vn-27040883 2025-07-17 14:57:02,186 - DEBUG - VN ctest-vn-27040883 UUID is 374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:02,301 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421, 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-50803556:ctest-vn-27040883, 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-07-17 14:57:02,610 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0b02177-722d-48f4-8487-4a0bb4741296', 'name': 'ctest-vn-53144421', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'project_id': 'fc3577563fca49458fc39f7bd01a711a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['363515af-b291-465f-93b1-39fada08cece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-vn-53144421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-policy-allow-all-19623104']], 'subnet_ipam': [{'subnet_cidr': '117.49.30.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:57:02,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '374dd855-70f5-493d-92f3-b296ca9afc8e', 'name': 'ctest-vn-27040883', 'tenant_id': 'fc3577563fca49458fc39f7bd01a711a', 'project_id': 'fc3577563fca49458fc39f7bd01a711a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00ad743d-180b-4630-a79b-e2f9113cde5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-vn-27040883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-policy-allow-all-19623104']], 'subnet_ipam': [{'subnet_cidr': '7.140.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:57:03,061 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:03,359 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:03,389 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:03,404 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:03,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,509 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:03,519 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:03,528 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/620760c0-3067-4e71-af27-dc45922040be 2025-07-17 14:57:03,535 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 14:57:03,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,546 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:03,562 - INFO - Verified VN network id 8 for VN d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,562 - INFO - Verifications in API Server for VN ctest-vn-53144421 passed 2025-07-17 14:57:03,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,573 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:03,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:03,591 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/620760c0-3067-4e71-af27-dc45922040be 2025-07-17 14:57:03,608 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50803556', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15037555952690481396', 'uuid-lslong': '9549682948995027606'}, 'enable': 'true', 'created': '2025-07-17T14:57:01', 'last-modified': '2025-07-17T14:57:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018667'} 2025-07-17 14:57:03,616 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 14:57:03,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53144421 passed 2025-07-17 14:57:03,616 - DEBUG - ====Verifying policy data for ctest-vn-53144421 in API_Server ====== 2025-07-17 14:57:03,616 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:03,623 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:03,636 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:03,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0b02177-722d-48f4-8487-4a0bb4741296 2025-07-17 14:57:03,726 - DEBUG - ==>Verifying data for policy with id: befe728b-932b-4c0e-8065-a6571620fdf0, fqn: ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-policy-allow-all-19623104'] 2025-07-17 14:57:03,726 - INFO - VN ctest-vn-53144421 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 14:57:03,726 - DEBUG - Verifying the vn in opserver 2025-07-17 14:57:03,726 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421 virtual network link through opserver 10.0.0.50 2025-07-17 14:57:03,726 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-17 14:57:04,020 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-17 14:57:04,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421?flat'} 2025-07-17 14:57:04,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421 is found in opserver 2025-07-17 14:57:04,089 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 14:57:04,095 - DEBUG - VRF ids for VN ctest-vn-53144421: {} 2025-07-17 14:57:04,096 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:04,101 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:04,114 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:04,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:04,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:04,240 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ef408760-d048-4cdf-8e08-3f31cd1f313a 2025-07-17 14:57:04,250 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 14:57:04,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:04,278 - INFO - Verified VN network id 9 for VN 374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,278 - INFO - Verifications in API Server for VN ctest-vn-27040883 passed 2025-07-17 14:57:04,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:04,298 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:04,306 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ef408760-d048-4cdf-8e08-3f31cd1f313a 2025-07-17 14:57:04,322 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-27040883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50803556', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3985079106771700029', 'uuid-lslong': '10589003509592161422'}, 'enable': 'true', 'created': '2025-07-17T14:57:01', 'last-modified': '2025-07-17T14:57:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480839'} 2025-07-17 14:57:04,328 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 14:57:04,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27040883 passed 2025-07-17 14:57:04,329 - DEBUG - ====Verifying policy data for ctest-vn-27040883 in API_Server ====== 2025-07-17 14:57:04,329 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:04,335 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:04,347 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:04,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374dd855-70f5-493d-92f3-b296ca9afc8e 2025-07-17 14:57:04,439 - DEBUG - ==>Verifying data for policy with id: befe728b-932b-4c0e-8065-a6571620fdf0, fqn: ['default-domain', 'ctest-TestBasicPolicy-50803556', 'ctest-policy-allow-all-19623104'] 2025-07-17 14:57:04,439 - INFO - VN ctest-vn-27040883 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 14:57:04,439 - DEBUG - Verifying the vn in opserver 2025-07-17 14:57:04,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-27040883 virtual network link through opserver 10.0.0.50 2025-07-17 14:57:04,439 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-17 14:57:04,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-27040883', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-27040883?flat'} 2025-07-17 14:57:04,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-27040883 is found in opserver 2025-07-17 14:57:04,464 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 14:57:04,470 - DEBUG - VRF ids for VN ctest-vn-27040883: {} 2025-07-17 14:57:04,533 - DEBUG - Services list from nova: [, , ] 2025-07-17 14:57:05,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3657-1) 2025-07-17 14:57:06,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3657-1) 2025-07-17 14:57:06,862 - INFO - Waiting for VM ctest-TestBasicPolicy-50803556-91011703 to be up.. 2025-07-17 14:57:06,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 14:57:12,019 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:57:12,019 - INFO - VM name : ctest-TestBasicPolicy-50803556-91011703 2025-07-17 14:57:12,092 - DEBUG - VM ctest-TestBasicPolicy-50803556-91011703 ID is 99313a1c-1339-4308-95e6-592e9ad59a76 2025-07-17 14:57:12,110 - DEBUG - VM ctest-TestBasicPolicy-50803556-91011703 launched on Node cn-jenkins-deploy-platform-ansible-os-3657-1 2025-07-17 14:57:12,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/99313a1c-1339-4308-95e6-592e9ad59a76 2025-07-17 14:57:12,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ce845b45-a504-4f05-b095-997f8e59a029 2025-07-17 14:57:15,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 1021ms') 2025-07-17 14:57:15,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50803556-91011703 failed! 2025-07-17 14:57:15,530 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50803556:ctest-vn-53144421 is 117.49.30.129 and allocation pool is NOT set 2025-07-17 14:57:17,598 - 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=7.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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 = 0.379/4.016/7.653/3.637 ms') 2025-07-17 14:57:17,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50803556-91011703 passed 2025-07-17 14:57:17,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:57:17,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50803556-91011703, IP 117.49.30.131, Port 22 2025-07-17 14:57:17,910 - DEBUG - VM ctest-TestBasicPolicy-50803556-91011703 is ready for SSH connections 2025-07-17 14:57:17,910 - INFO - Waiting for VM ctest-TestBasicPolicy-50803556-18668432 to be up.. 2025-07-17 14:57:17,992 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:57:17,992 - INFO - VM name : ctest-TestBasicPolicy-50803556-18668432 2025-07-17 14:57:18,078 - DEBUG - VM ctest-TestBasicPolicy-50803556-18668432 ID is 8d6e5193-950a-48ea-86f6-36479e3f74b3 2025-07-17 14:57:18,078 - DEBUG - VM ctest-TestBasicPolicy-50803556-18668432 launched on Node cn-jenkins-deploy-platform-ansible-os-3657-1 2025-07-17 14:57:18,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8d6e5193-950a-48ea-86f6-36479e3f74b3 2025-07-17 14:57:18,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1a7d67f5-3047-4abf-a6b3-4d08d308becd 2025-07-17 14:57:19,415 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/2.039/3.619/1.580 ms') 2025-07-17 14:57:19,416 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50803556-18668432 passed 2025-07-17 14:57:19,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:57:19,566 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50803556-18668432, IP 7.140.188.67, Port 22 2025-07-17 14:57:19,720 - DEBUG - VM ctest-TestBasicPolicy-50803556-18668432 is ready for SSH connections 2025-07-17 14:57:19,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:57:19,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.140.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-17 14:57:19,721 - DEBUG - ping -s 56 -c 3 -W 1 7.140.188.67 2025-07-17 14:57:23,438 - DEBUG - PING 7.140.188.67 (7.140.188.67): 56 data bytes 64 bytes from 7.140.188.67: seq=0 ttl=63 time=3.640 ms 64 bytes from 7.140.188.67: seq=1 ttl=63 time=0.827 ms 64 bytes from 7.140.188.67: seq=2 ttl=63 time=0.741 ms --- 7.140.188.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.736/3.640 ms 2025-07-17 14:57:23,438 - INFO - Ping to IP 7.140.188.67 from VM ctest-TestBasicPolicy-50803556-91011703 passed 2025-07-17 14:57:23,633 - DEBUG - Policy Update Response {"network-policy": {"uuid": "befe728b-932b-4c0e-8065-a6571620fdf0", "href": "http://10.0.0.50:8082/network-policy/befe728b-932b-4c0e-8065-a6571620fdf0"}} 2025-07-17 14:57:23,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:57:23,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.140.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-17 14:57:23,634 - DEBUG - ping -s 56 -c 3 -W 1 7.140.188.67 2025-07-17 14:57:26,844 - DEBUG - PING 7.140.188.67 (7.140.188.67): 56 data bytes 64 bytes from 7.140.188.67: seq=0 ttl=63 time=1.700 ms --- 7.140.188.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.700/1.700/1.700 ms 2025-07-17 14:57:26,845 - WARNING - Ping to IP 7.140.188.67 from VM ctest-TestBasicPolicy-50803556-91011703 failed 2025-07-17 14:57:26,845 - INFO - Deleting VM ctest-TestBasicPolicy-50803556-18668432 2025-07-17 14:57:26,929 - INFO - Deleting VM ctest-TestBasicPolicy-50803556-91011703 2025-07-17 14:57:27,364 - INFO - Deleted policy ctest-policy-allow-all-19623104 2025-07-17 14:57:27,364 - INFO - Deleting VN ctest-vn-27040883 2025-07-17 14:57:27,401 - DEBUG - VN 374dd855-70f5-493d-92f3-b296ca9afc8e still in use: Unable to complete operation on network 374dd855-70f5-493d-92f3-b296ca9afc8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-402c3072-e92f-412c-af6b-b06a0920e16d'] 2025-07-17 14:57:27,401 - WARNING - Deleting VN ctest-vn-27040883 failed..Will retry 2025-07-17 14:57:29,542 - DEBUG - Response for deleting network () 2025-07-17 14:57:29,543 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92a3e955-7ec3-44a4-9d6f-eeb2df4e4160 2025-07-17 14:57:29,556 - DEBUG - Response Code: 404 2025-07-17 14:57:29,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:29,562 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:29,616 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:29,694 - INFO - Validated that VN ctest-vn-27040883 is not found in API Server 2025-07-17 14:57:29,706 - DEBUG - VN ctest-vn-27040883 is not present in Agent 10.0.0.50 2025-07-17 14:57:29,707 - INFO - Validated that VN ctest-vn-27040883 is not in any agent 2025-07-17 14:57:29,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27040883 info 2025-07-17 14:57:29,725 - INFO - Deleting VN ctest-vn-53144421 2025-07-17 14:57:29,842 - DEBUG - Response for deleting network () 2025-07-17 14:57:29,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/424a3451-6d27-494d-85ad-14009e806574 2025-07-17 14:57:29,851 - DEBUG - Response Code: 404 2025-07-17 14:57:29,851 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-17 14:57:29,858 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0df13b68-a6e9-4fb2-ace2-7b8a3de5e40c 2025-07-17 14:57:29,911 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc357756-3fca-4945-8fc3-9f7bd01a711a 2025-07-17 14:57:29,985 - INFO - Validated that VN ctest-vn-53144421 is not found in API Server 2025-07-17 14:57:29,997 - DEBUG - VN ctest-vn-53144421 is not present in Agent 10.0.0.50 2025-07-17 14:57:29,997 - INFO - Validated that VN ctest-vn-53144421 is not in any agent 2025-07-17 14:57:30,015 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53144421 info 2025-07-17 14:57:30,275 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 14:57:30,275 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-17 14:57:30,275 - INFO - -------------------------------------------------------------------------------- 2025-07-17 14:57:30,957 - INFO - Deleted project: ctest-TestBasicPolicy-50803556, ID : fc357756-3fca-4945-8fc3-9f7bd01a711a