2025-06-02 09:57:13,384 - INFO - Domain Default found not creating 2025-06-02 09:57:13,527 - INFO - Project ctest-TestBasicPolicy-16297417 not found, creating it 2025-06-02 09:57:13,974 - INFO - Created Project:ctest-TestBasicPolicy-16297417, ID : 4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:15,436 - INFO - ================================================================================ 2025-06-02 09:57:15,436 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-02 09:57:15,436 - 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-02 09:57:15,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-02 09:57:15,699 - INFO - Initial checks done. Running the testcase now 2025-06-02 09:57:15,699 - INFO - 2025-06-02 09:57:16,233 - DEBUG - Response for create_network : {'network': {'id': '8de9a7ab-62b8-4036-a7bc-1c6498ff3a93', 'name': 'ctest-vn-72943949', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'project_id': '4d390a69a9ba416592f45200a74ea2a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-vn-72943949'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 09:57:16,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '0618a418-117a-469b-afd7-5fa76c4cb60c', 'name': '', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'network_id': '8de9a7ab-62b8-4036-a7bc-1c6498ff3a93', 'ip_version': 4, 'cidr': '78.183.56.128/26', 'allocation_pools': [{'start': '78.183.56.130', 'end': '78.183.56.190'}], 'gateway_ip': '78.183.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.183.56.130', 'tags': [], 'project_id': '4d390a69a9ba416592f45200a74ea2a7'}} 2025-06-02 09:57:16,407 - INFO - Created VN ctest-vn-72943949 2025-06-02 09:57:16,461 - DEBUG - VN ctest-vn-72943949 UUID is 8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:16,793 - DEBUG - Response for create_network : {'network': {'id': '4d19b6c2-9174-4796-a081-84ea49fe7954', 'name': 'ctest-vn-30432883', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'project_id': '4d390a69a9ba416592f45200a74ea2a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-vn-30432883'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 09:57:16,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '1559ee6c-8f25-4a0b-b501-c42230be0225', 'name': '', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'network_id': '4d19b6c2-9174-4796-a081-84ea49fe7954', 'ip_version': 4, 'cidr': '170.255.223.0/26', 'allocation_pools': [{'start': '170.255.223.2', 'end': '170.255.223.62'}], 'gateway_ip': '170.255.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.255.223.2', 'tags': [], 'project_id': '4d390a69a9ba416592f45200a74ea2a7'}} 2025-06-02 09:57:16,975 - INFO - Created VN ctest-vn-30432883 2025-06-02 09:57:17,033 - DEBUG - VN ctest-vn-30432883 UUID is 4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:17,181 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949, 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-16297417:ctest-vn-30432883, 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-02 09:57:17,480 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8de9a7ab-62b8-4036-a7bc-1c6498ff3a93', 'name': 'ctest-vn-72943949', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'project_id': '4d390a69a9ba416592f45200a74ea2a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0618a418-117a-469b-afd7-5fa76c4cb60c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-vn-72943949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-policy-allow-all-27856044']], 'subnet_ipam': [{'subnet_cidr': '78.183.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 09:57:17,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d19b6c2-9174-4796-a081-84ea49fe7954', 'name': 'ctest-vn-30432883', 'tenant_id': '4d390a69a9ba416592f45200a74ea2a7', 'project_id': '4d390a69a9ba416592f45200a74ea2a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1559ee6c-8f25-4a0b-b501-c42230be0225'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-vn-30432883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-policy-allow-all-27856044']], 'subnet_ipam': [{'subnet_cidr': '170.255.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 09:57:17,873 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:18,179 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:18,213 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:18,226 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:18,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,328 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:18,338 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:18,345 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8e7a3bd2-343d-40b4-bd90-6a32182097ea 2025-06-02 09:57:18,355 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 09:57:18,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,364 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:18,380 - INFO - Verified VN network id 8 for VN 8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,380 - INFO - Verifications in API Server for VN ctest-vn-72943949 passed 2025-06-02 09:57:18,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,390 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:18,398 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:18,405 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8e7a3bd2-343d-40b4-bd90-6a32182097ea 2025-06-02 09:57:18,420 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16297417', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10225888783458910262', 'uuid-lslong': '12086566718344739475'}, 'enable': 'true', 'created': '2025-06-02T09:57:16', 'last-modified': '2025-06-02T09:57:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960497'} 2025-06-02 09:57:18,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 09:57:18,429 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72943949 passed 2025-06-02 09:57:18,429 - DEBUG - ====Verifying policy data for ctest-vn-72943949 in API_Server ====== 2025-06-02 09:57:18,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:18,436 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:18,449 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:18,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8de9a7ab-62b8-4036-a7bc-1c6498ff3a93 2025-06-02 09:57:18,536 - DEBUG - ==>Verifying data for policy with id: 1130481c-c768-47c7-b9a8-773e7b31d916, fqn: ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-policy-allow-all-27856044'] 2025-06-02 09:57:18,536 - INFO - VN ctest-vn-72943949 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 09:57:18,536 - DEBUG - Verifying the vn in opserver 2025-06-02 09:57:18,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949 virtual network link through opserver 10.0.0.254 2025-06-02 09:57:18,536 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-02 09:57:18,831 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-02 09:57:18,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949?flat'} 2025-06-02 09:57:18,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949 is found in opserver 2025-06-02 09:57:18,898 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 09:57:18,904 - DEBUG - VRF ids for VN ctest-vn-72943949: {} 2025-06-02 09:57:18,904 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:18,910 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:18,922 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:18,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,021 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:19,029 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:19,037 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f8bae68a-5be9-4c3d-892a-0a7a2d177c6d 2025-06-02 09:57:19,044 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 09:57:19,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,053 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:19,069 - INFO - Verified VN network id 9 for VN 4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,069 - INFO - Verifications in API Server for VN ctest-vn-30432883 passed 2025-06-02 09:57:19,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,078 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:19,086 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:19,093 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f8bae68a-5be9-4c3d-892a-0a7a2d177c6d 2025-06-02 09:57:19,106 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-30432883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16297417', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5555672562118444950', 'uuid-lslong': '11565671459862772052'}, 'enable': 'true', 'created': '2025-06-02T09:57:16', 'last-modified': '2025-06-02T09:57:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413202'} 2025-06-02 09:57:19,112 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 09:57:19,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30432883 passed 2025-06-02 09:57:19,112 - DEBUG - ====Verifying policy data for ctest-vn-30432883 in API_Server ====== 2025-06-02 09:57:19,113 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:19,119 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:19,133 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:19,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4d19b6c2-9174-4796-a081-84ea49fe7954 2025-06-02 09:57:19,215 - DEBUG - ==>Verifying data for policy with id: 1130481c-c768-47c7-b9a8-773e7b31d916, fqn: ['default-domain', 'ctest-TestBasicPolicy-16297417', 'ctest-policy-allow-all-27856044'] 2025-06-02 09:57:19,215 - INFO - VN ctest-vn-30432883 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 09:57:19,215 - DEBUG - Verifying the vn in opserver 2025-06-02 09:57:19,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-30432883 virtual network link through opserver 10.0.0.254 2025-06-02 09:57:19,215 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-02 09:57:19,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-30432883', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-30432883?flat'} 2025-06-02 09:57:19,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-30432883 is found in opserver 2025-06-02 09:57:19,238 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 09:57:19,243 - DEBUG - VRF ids for VN ctest-vn-30432883: {} 2025-06-02 09:57:19,299 - DEBUG - Services list from nova: [, , ] 2025-06-02 09:57:20,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1) 2025-06-02 09:57:21,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1) 2025-06-02 09:57:21,517 - INFO - Waiting for VM ctest-TestBasicPolicy-16297417-92913553 to be up.. 2025-06-02 09:57:21,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 09:57:26,685 - DEBUG - VM is in ACTIVE state now 2025-06-02 09:57:26,685 - INFO - VM name : ctest-TestBasicPolicy-16297417-92913553 2025-06-02 09:57:26,763 - DEBUG - VM ctest-TestBasicPolicy-16297417-92913553 ID is 4ffe5467-9ac0-4678-999a-8d9a16be3b84 2025-06-02 09:57:26,781 - DEBUG - VM ctest-TestBasicPolicy-16297417-92913553 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1 2025-06-02 09:57:26,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4ffe5467-9ac0-4678-999a-8d9a16be3b84 2025-06-02 09:57:26,874 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/48fda1df-bfe3-43c9-ad78-0078733af447 2025-06-02 09:57:30,106 - 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 1031ms') 2025-06-02 09:57:30,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16297417-92913553 failed! 2025-06-02 09:57:30,161 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16297417:ctest-vn-72943949 is 78.183.56.129 and allocation pool is NOT set 2025-06-02 09:57:32,227 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.674/2.992/4.311/1.318 ms') 2025-06-02 09:57:32,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16297417-92913553 passed 2025-06-02 09:57:32,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 09:57:32,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16297417-92913553, IP 78.183.56.131, Port 22 2025-06-02 09:57:32,540 - DEBUG - VM ctest-TestBasicPolicy-16297417-92913553 is ready for SSH connections 2025-06-02 09:57:32,540 - INFO - Waiting for VM ctest-TestBasicPolicy-16297417-28177775 to be up.. 2025-06-02 09:57:32,623 - DEBUG - VM is in ACTIVE state now 2025-06-02 09:57:32,623 - INFO - VM name : ctest-TestBasicPolicy-16297417-28177775 2025-06-02 09:57:32,696 - DEBUG - VM ctest-TestBasicPolicy-16297417-28177775 ID is 28f7d569-663f-492d-9e47-e675157e3af1 2025-06-02 09:57:32,696 - DEBUG - VM ctest-TestBasicPolicy-16297417-28177775 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1 2025-06-02 09:57:32,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/28f7d569-663f-492d-9e47-e675157e3af1 2025-06-02 09:57:32,778 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49bb05de-b49b-43c5-a17a-cfc1c031fd98 2025-06-02 09:57:34,025 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/1.692/2.813/1.120 ms') 2025-06-02 09:57:34,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16297417-28177775 passed 2025-06-02 09:57:34,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 09:57:34,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16297417-28177775, IP 170.255.223.3, Port 22 2025-06-02 09:57:34,333 - DEBUG - VM ctest-TestBasicPolicy-16297417-28177775 is ready for SSH connections 2025-06-02 09:57:34,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 09:57:34,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.255.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-02 09:57:34,333 - DEBUG - ping -s 56 -c 3 -W 1 170.255.223.3 2025-06-02 09:57:38,028 - DEBUG - PING 170.255.223.3 (170.255.223.3): 56 data bytes 64 bytes from 170.255.223.3: seq=0 ttl=63 time=3.455 ms 64 bytes from 170.255.223.3: seq=1 ttl=63 time=0.823 ms 64 bytes from 170.255.223.3: seq=2 ttl=63 time=0.974 ms --- 170.255.223.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.750/3.455 ms 2025-06-02 09:57:38,028 - INFO - Ping to IP 170.255.223.3 from VM ctest-TestBasicPolicy-16297417-92913553 passed 2025-06-02 09:57:38,213 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1130481c-c768-47c7-b9a8-773e7b31d916", "href": "http://10.0.0.254:8082/network-policy/1130481c-c768-47c7-b9a8-773e7b31d916"}} 2025-06-02 09:57:38,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 09:57:38,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.255.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-02 09:57:38,213 - DEBUG - ping -s 56 -c 3 -W 1 170.255.223.3 2025-06-02 09:57:41,425 - DEBUG - PING 170.255.223.3 (170.255.223.3): 56 data bytes --- 170.255.223.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-02 09:57:41,425 - WARNING - Ping to IP 170.255.223.3 from VM ctest-TestBasicPolicy-16297417-92913553 failed 2025-06-02 09:57:41,426 - INFO - Deleting VM ctest-TestBasicPolicy-16297417-28177775 2025-06-02 09:57:41,494 - INFO - Deleting VM ctest-TestBasicPolicy-16297417-92913553 2025-06-02 09:57:41,867 - INFO - Deleted policy ctest-policy-allow-all-27856044 2025-06-02 09:57:41,868 - INFO - Deleting VN ctest-vn-30432883 2025-06-02 09:57:41,907 - DEBUG - VN 4d19b6c2-9174-4796-a081-84ea49fe7954 still in use: Unable to complete operation on network 4d19b6c2-9174-4796-a081-84ea49fe7954. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-944e4aab-1e18-40c0-9400-71039feabfe5'] 2025-06-02 09:57:41,907 - WARNING - Deleting VN ctest-vn-30432883 failed..Will retry 2025-06-02 09:57:44,008 - DEBUG - Response for deleting network () 2025-06-02 09:57:44,009 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/be2d73ce-996a-4da7-8fb0-c95e3c30c606 2025-06-02 09:57:44,016 - DEBUG - Response Code: 404 2025-06-02 09:57:44,016 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:44,022 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:44,080 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:44,151 - INFO - Validated that VN ctest-vn-30432883 is not found in API Server 2025-06-02 09:57:44,161 - DEBUG - VN ctest-vn-30432883 is not present in Agent 10.0.0.254 2025-06-02 09:57:44,162 - INFO - Validated that VN ctest-vn-30432883 is not in any agent 2025-06-02 09:57:44,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30432883 info 2025-06-02 09:57:44,177 - INFO - Deleting VN ctest-vn-72943949 2025-06-02 09:57:44,278 - DEBUG - Response for deleting network () 2025-06-02 09:57:44,278 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca3ba05c-ca11-41e9-a75b-9c57d566c360 2025-06-02 09:57:44,284 - DEBUG - Response Code: 404 2025-06-02 09:57:44,284 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-02 09:57:44,290 - DEBUG - Requesting: http://10.0.0.254:8082/domain/66980297-5145-4a5d-a1cc-e55f697edb60 2025-06-02 09:57:44,347 - DEBUG - Requesting: http://10.0.0.254:8082/project/4d390a69-a9ba-4165-92f4-5200a74ea2a7 2025-06-02 09:57:44,417 - INFO - Validated that VN ctest-vn-72943949 is not found in API Server 2025-06-02 09:57:44,430 - DEBUG - VN ctest-vn-72943949 is not present in Agent 10.0.0.254 2025-06-02 09:57:44,430 - INFO - Validated that VN ctest-vn-72943949 is not in any agent 2025-06-02 09:57:44,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72943949 info 2025-06-02 09:57:44,702 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 09:57:44,702 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-02 09:57:44,703 - INFO - -------------------------------------------------------------------------------- 2025-06-02 09:57:45,357 - INFO - Deleted project: ctest-TestBasicPolicy-16297417, ID : 4d390a69-a9ba-4165-92f4-5200a74ea2a7