2025-08-02 08:56:14,146 - INFO - Domain Default found not creating 2025-08-02 08:56:14,298 - INFO - Project ctest-TestBasicPolicy-05022792 not found, creating it 2025-08-02 08:56:14,750 - INFO - Created Project:ctest-TestBasicPolicy-05022792, ID : ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:16,218 - INFO - ================================================================================ 2025-08-02 08:56:16,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-02 08:56:16,219 - 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-08-02 08:56:16,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-02 08:56:16,477 - INFO - Initial checks done. Running the testcase now 2025-08-02 08:56:16,477 - INFO - 2025-08-02 08:56:17,349 - DEBUG - Response for create_network : {'network': {'id': 'a9e96a27-976b-4efc-ba9b-f0c712fc8072', 'name': 'ctest-vn-85421722', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'project_id': 'ab67e895fb7649399c931dea020f5b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-vn-85421722'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:56:17,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '23d4af37-81b8-44c1-a2e7-a96feb6edb1d', 'name': '', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'network_id': 'a9e96a27-976b-4efc-ba9b-f0c712fc8072', 'ip_version': 4, 'cidr': '131.32.122.0/26', 'allocation_pools': [{'start': '131.32.122.2', 'end': '131.32.122.62'}], 'gateway_ip': '131.32.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.32.122.2', 'tags': [], 'project_id': 'ab67e895fb7649399c931dea020f5b81'}} 2025-08-02 08:56:17,777 - INFO - Created VN ctest-vn-85421722 2025-08-02 08:56:17,831 - DEBUG - VN ctest-vn-85421722 UUID is a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:18,156 - DEBUG - Response for create_network : {'network': {'id': '2c55248b-53e0-4872-ae7e-b972c01d8e70', 'name': 'ctest-vn-54057617', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'project_id': 'ab67e895fb7649399c931dea020f5b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-vn-54057617'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:56:18,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '26161108-1a9f-4b69-b8b5-20c8b5470e2a', 'name': '', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'network_id': '2c55248b-53e0-4872-ae7e-b972c01d8e70', 'ip_version': 4, 'cidr': '28.237.101.192/26', 'allocation_pools': [{'start': '28.237.101.194', 'end': '28.237.101.254'}], 'gateway_ip': '28.237.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.237.101.194', 'tags': [], 'project_id': 'ab67e895fb7649399c931dea020f5b81'}} 2025-08-02 08:56:18,361 - INFO - Created VN ctest-vn-54057617 2025-08-02 08:56:18,415 - DEBUG - VN ctest-vn-54057617 UUID is 2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:18,540 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722, 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-05022792:ctest-vn-54057617, 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-08-02 08:56:18,843 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9e96a27-976b-4efc-ba9b-f0c712fc8072', 'name': 'ctest-vn-85421722', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'project_id': 'ab67e895fb7649399c931dea020f5b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23d4af37-81b8-44c1-a2e7-a96feb6edb1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-vn-85421722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-policy-allow-all-14500446']], 'subnet_ipam': [{'subnet_cidr': '131.32.122.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:56:19,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c55248b-53e0-4872-ae7e-b972c01d8e70', 'name': 'ctest-vn-54057617', 'tenant_id': 'ab67e895fb7649399c931dea020f5b81', 'project_id': 'ab67e895fb7649399c931dea020f5b81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['26161108-1a9f-4b69-b8b5-20c8b5470e2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-vn-54057617'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-policy-allow-all-14500446']], 'subnet_ipam': [{'subnet_cidr': '28.237.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:56:19,259 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:19,555 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:19,584 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:19,598 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:19,673 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,696 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:19,705 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:19,713 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2b5a1bbc-9df4-443a-9b19-989640c086f9 2025-08-02 08:56:19,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 08:56:19,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,731 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:19,748 - INFO - Verified VN network id 12 for VN a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,748 - INFO - Verifications in API Server for VN ctest-vn-85421722 passed 2025-08-02 08:56:19,748 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,759 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:19,767 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:19,775 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2b5a1bbc-9df4-443a-9b19-989640c086f9 2025-08-02 08:56:19,790 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05022792', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12243433780260065020', 'uuid-lslong': '13446605850252443762'}, 'enable': 'true', 'created': '2025-08-02T08:56:17', 'last-modified': '2025-08-02T08:56:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974181'} 2025-08-02 08:56:19,799 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 08:56:19,800 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85421722 passed 2025-08-02 08:56:19,800 - DEBUG - ====Verifying policy data for ctest-vn-85421722 in API_Server ====== 2025-08-02 08:56:19,800 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:19,807 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:19,821 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:19,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9e96a27-976b-4efc-ba9b-f0c712fc8072 2025-08-02 08:56:19,908 - DEBUG - ==>Verifying data for policy with id: 1e02ec22-2320-48c3-b9fd-78a07f720125, fqn: ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-policy-allow-all-14500446'] 2025-08-02 08:56:19,908 - INFO - VN ctest-vn-85421722 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-02 08:56:19,908 - DEBUG - Verifying the vn in opserver 2025-08-02 08:56:19,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722 virtual network link through opserver 10.0.0.254 2025-08-02 08:56:19,908 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-02 08:56:20,203 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-02 08:56:20,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722?flat'} 2025-08-02 08:56:20,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722 is found in opserver 2025-08-02 08:56:20,275 - DEBUG - Do not have enough data to verify VN in agent 2025-08-02 08:56:20,280 - DEBUG - VRF ids for VN ctest-vn-85421722: {} 2025-08-02 08:56:20,281 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:20,287 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:20,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:20,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,400 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:20,408 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:20,418 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f82b1460-67c1-4f2b-86c7-84159b2215aa 2025-08-02 08:56:20,425 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-02 08:56:20,426 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,436 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:20,452 - INFO - Verified VN network id 13 for VN 2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,452 - INFO - Verifications in API Server for VN ctest-vn-54057617 passed 2025-08-02 08:56:20,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,465 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:20,474 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:20,482 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f82b1460-67c1-4f2b-86c7-84159b2215aa 2025-08-02 08:56:20,495 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-54057617', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05022792', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3194499691515496562', 'uuid-lslong': '12573691112165576304'}, 'enable': 'true', 'created': '2025-08-02T08:56:18', 'last-modified': '2025-08-02T08:56:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432041'} 2025-08-02 08:56:20,501 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-02 08:56:20,501 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54057617 passed 2025-08-02 08:56:20,502 - DEBUG - ====Verifying policy data for ctest-vn-54057617 in API_Server ====== 2025-08-02 08:56:20,502 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:20,508 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:20,521 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:20,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2c55248b-53e0-4872-ae7e-b972c01d8e70 2025-08-02 08:56:20,611 - DEBUG - ==>Verifying data for policy with id: 1e02ec22-2320-48c3-b9fd-78a07f720125, fqn: ['default-domain', 'ctest-TestBasicPolicy-05022792', 'ctest-policy-allow-all-14500446'] 2025-08-02 08:56:20,611 - INFO - VN ctest-vn-54057617 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-02 08:56:20,611 - DEBUG - Verifying the vn in opserver 2025-08-02 08:56:20,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-54057617 virtual network link through opserver 10.0.0.254 2025-08-02 08:56:20,611 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-02 08:56:20,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-54057617', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-54057617?flat'} 2025-08-02 08:56:20,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-54057617 is found in opserver 2025-08-02 08:56:20,633 - DEBUG - Do not have enough data to verify VN in agent 2025-08-02 08:56:20,638 - DEBUG - VRF ids for VN ctest-vn-54057617: {} 2025-08-02 08:56:20,695 - DEBUG - Services list from nova: [, , ] 2025-08-02 08:56:21,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:56:23,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:56:23,048 - INFO - Waiting for VM ctest-TestBasicPolicy-05022792-93875364 to be up.. 2025-08-02 08:56:23,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-02 08:56:28,211 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:56:28,211 - INFO - VM name : ctest-TestBasicPolicy-05022792-93875364 2025-08-02 08:56:28,292 - DEBUG - VM ctest-TestBasicPolicy-05022792-93875364 ID is f30910c0-f9d6-40e2-8c68-61bd29c44432 2025-08-02 08:56:28,311 - DEBUG - VM ctest-TestBasicPolicy-05022792-93875364 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:56:28,382 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f30910c0-f9d6-40e2-8c68-61bd29c44432 2025-08-02 08:56:28,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dc6bbc0f-6f9c-4fe4-91ae-fa7efca7ecc1 2025-08-02 08:56:31,634 - 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 1007ms') 2025-08-02 08:56:31,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05022792-93875364 failed! 2025-08-02 08:56:31,691 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05022792:ctest-vn-85421722 is 131.32.122.1 and allocation pool is NOT set 2025-08-02 08:56:33,751 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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.691/2.769/3.847/1.078 ms') 2025-08-02 08:56:33,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05022792-93875364 passed 2025-08-02 08:56:33,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:56:33,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05022792-93875364, IP 131.32.122.3, Port 22 2025-08-02 08:56:34,069 - DEBUG - VM ctest-TestBasicPolicy-05022792-93875364 is ready for SSH connections 2025-08-02 08:56:34,069 - INFO - Waiting for VM ctest-TestBasicPolicy-05022792-74105311 to be up.. 2025-08-02 08:56:34,143 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:56:34,143 - INFO - VM name : ctest-TestBasicPolicy-05022792-74105311 2025-08-02 08:56:34,214 - DEBUG - VM ctest-TestBasicPolicy-05022792-74105311 ID is d860354e-b305-4110-9733-1068c2b5327f 2025-08-02 08:56:34,214 - DEBUG - VM ctest-TestBasicPolicy-05022792-74105311 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:56:34,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d860354e-b305-4110-9733-1068c2b5327f 2025-08-02 08:56:34,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/62b56c03-4851-4344-adec-1f0ead05bfce 2025-08-02 08:56:35,540 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/2.010/3.614/1.604 ms') 2025-08-02 08:56:35,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05022792-74105311 passed 2025-08-02 08:56:35,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:56:35,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05022792-74105311, IP 28.237.101.195, Port 22 2025-08-02 08:56:35,847 - DEBUG - VM ctest-TestBasicPolicy-05022792-74105311 is ready for SSH connections 2025-08-02 08:56:35,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:56:35,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.237.101.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:56:35,847 - DEBUG - ping -s 56 -c 3 -W 1 28.237.101.195 2025-08-02 08:56:39,846 - DEBUG - PING 28.237.101.195 (28.237.101.195): 56 data bytes 64 bytes from 28.237.101.195: seq=0 ttl=63 time=3.341 ms 64 bytes from 28.237.101.195: seq=1 ttl=63 time=0.753 ms 64 bytes from 28.237.101.195: seq=2 ttl=63 time=0.918 ms --- 28.237.101.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.670/3.341 ms 2025-08-02 08:56:39,846 - INFO - Ping to IP 28.237.101.195 from VM ctest-TestBasicPolicy-05022792-93875364 passed 2025-08-02 08:56:40,031 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1e02ec22-2320-48c3-b9fd-78a07f720125", "href": "http://10.0.0.254:8082/network-policy/1e02ec22-2320-48c3-b9fd-78a07f720125"}} 2025-08-02 08:56:40,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:56:40,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.237.101.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:56:40,031 - DEBUG - ping -s 56 -c 3 -W 1 28.237.101.195 2025-08-02 08:56:43,231 - DEBUG - PING 28.237.101.195 (28.237.101.195): 56 data bytes --- 28.237.101.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-02 08:56:43,231 - WARNING - Ping to IP 28.237.101.195 from VM ctest-TestBasicPolicy-05022792-93875364 failed 2025-08-02 08:56:43,231 - INFO - Deleting VM ctest-TestBasicPolicy-05022792-74105311 2025-08-02 08:56:43,304 - INFO - Deleting VM ctest-TestBasicPolicy-05022792-93875364 2025-08-02 08:56:43,674 - INFO - Deleted policy ctest-policy-allow-all-14500446 2025-08-02 08:56:43,674 - INFO - Deleting VN ctest-vn-54057617 2025-08-02 08:56:43,713 - DEBUG - VN 2c55248b-53e0-4872-ae7e-b972c01d8e70 still in use: Unable to complete operation on network 2c55248b-53e0-4872-ae7e-b972c01d8e70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7204aef8-7912-4b26-bab0-c610b60e32e4'] 2025-08-02 08:56:43,713 - WARNING - Deleting VN ctest-vn-54057617 failed..Will retry 2025-08-02 08:56:45,809 - DEBUG - Response for deleting network () 2025-08-02 08:56:45,809 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ac9b3bdc-1663-43b3-90e6-b9cc8e4483fd 2025-08-02 08:56:45,814 - DEBUG - Response Code: 404 2025-08-02 08:56:45,815 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:45,823 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:45,876 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:45,950 - INFO - Validated that VN ctest-vn-54057617 is not found in API Server 2025-08-02 08:56:45,961 - DEBUG - VN ctest-vn-54057617 is not present in Agent 10.0.0.254 2025-08-02 08:56:45,961 - INFO - Validated that VN ctest-vn-54057617 is not in any agent 2025-08-02 08:56:45,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54057617 info 2025-08-02 08:56:45,977 - INFO - Deleting VN ctest-vn-85421722 2025-08-02 08:56:46,079 - DEBUG - Response for deleting network () 2025-08-02 08:56:46,080 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c2df22e9-9e24-4008-8d71-2f820f3e1993 2025-08-02 08:56:46,087 - DEBUG - Response Code: 404 2025-08-02 08:56:46,087 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 08:56:46,093 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a77bb52-ee84-4000-a229-eb667bfefb0a 2025-08-02 08:56:46,149 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab67e895-fb76-4939-9c93-1dea020f5b81 2025-08-02 08:56:46,224 - INFO - Validated that VN ctest-vn-85421722 is not found in API Server 2025-08-02 08:56:46,234 - DEBUG - VN ctest-vn-85421722 is not present in Agent 10.0.0.254 2025-08-02 08:56:46,234 - INFO - Validated that VN ctest-vn-85421722 is not in any agent 2025-08-02 08:56:46,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85421722 info 2025-08-02 08:56:46,505 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 08:56:46,505 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-02 08:56:46,505 - INFO - -------------------------------------------------------------------------------- 2025-08-02 08:56:47,171 - INFO - Deleted project: ctest-TestBasicPolicy-05022792, ID : ab67e895-fb76-4939-9c93-1dea020f5b81