2025-10-22 10:08:15,978 - INFO - Domain Default found not creating 2025-10-22 10:08:16,126 - INFO - Project ctest-TestBasicPolicy-09150857 not found, creating it 2025-10-22 10:08:16,653 - INFO - Created Project:ctest-TestBasicPolicy-09150857, ID : 143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:18,097 - INFO - ================================================================================ 2025-10-22 10:08:18,098 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 10:08:18,098 - 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-10-22 10:08:18,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-22 10:08:18,352 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:08:18,352 - INFO - 2025-10-22 10:08:18,891 - DEBUG - Response for create_network : {'network': {'id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'name': 'ctest-vn-37486102', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-37486102'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:08:19,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '29870e4b-24c2-4ba6-87a8-7294f5e59e32', 'name': '', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'network_id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'ip_version': 4, 'cidr': '216.253.15.0/26', 'allocation_pools': [{'start': '216.253.15.2', 'end': '216.253.15.62'}], 'gateway_ip': '216.253.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.253.15.2', 'tags': [], 'project_id': '143a00c7ab5b43fda93a1110e17f60c6'}} 2025-10-22 10:08:19,073 - INFO - Created VN ctest-vn-37486102 2025-10-22 10:08:19,127 - DEBUG - VN ctest-vn-37486102 UUID is ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:19,432 - DEBUG - Response for create_network : {'network': {'id': '1231d5aa-9462-49b9-9101-21e65067505e', 'name': 'ctest-vn-44358653', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-44358653'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:08:19,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '128cbf02-42cc-4b03-b89a-27b355b5548c', 'name': '', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'network_id': '1231d5aa-9462-49b9-9101-21e65067505e', 'ip_version': 4, 'cidr': '86.25.50.0/26', 'allocation_pools': [{'start': '86.25.50.2', 'end': '86.25.50.62'}], 'gateway_ip': '86.25.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.25.50.2', 'tags': [], 'project_id': '143a00c7ab5b43fda93a1110e17f60c6'}} 2025-10-22 10:08:19,609 - INFO - Created VN ctest-vn-44358653 2025-10-22 10:08:19,663 - DEBUG - VN ctest-vn-44358653 UUID is 1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:19,781 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102, 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-09150857:ctest-vn-44358653, 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-10-22 10:08:20,081 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'name': 'ctest-vn-37486102', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29870e4b-24c2-4ba6-87a8-7294f5e59e32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-37486102'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']], 'subnet_ipam': [{'subnet_cidr': '216.253.15.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:08:20,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1231d5aa-9462-49b9-9101-21e65067505e', 'name': 'ctest-vn-44358653', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['128cbf02-42cc-4b03-b89a-27b355b5548c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-44358653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']], 'subnet_ipam': [{'subnet_cidr': '86.25.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:08:20,515 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:20,818 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:20,852 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:20,867 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:20,941 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:20,954 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:20,965 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:20,974 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:20,981 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5fbd37c-80ec-43ac-8876-7e3eb31c2d98 2025-10-22 10:08:20,991 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:08:20,991 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:21,000 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:21,015 - INFO - Verified VN network id 11 for VN ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:21,016 - INFO - Verifications in API Server for VN ctest-vn-37486102 passed 2025-10-22 10:08:21,016 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:21,025 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:21,033 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:21,039 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5fbd37c-80ec-43ac-8876-7e3eb31c2d98 2025-10-22 10:08:21,051 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09150857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12494162451866864098', 'uuid-lslong': '12866927264852724315'}, 'enable': 'true', 'created': '2025-10-22T10:08:18', 'last-modified': '2025-10-22T10:08:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992028'} 2025-10-22 10:08:21,058 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:08:21,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37486102 passed 2025-10-22 10:08:21,058 - DEBUG - ====Verifying policy data for ctest-vn-37486102 in API_Server ====== 2025-10-22 10:08:21,059 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:21,064 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:21,076 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:21,149 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b 2025-10-22 10:08:21,160 - DEBUG - ==>Verifying data for policy with id: 4abe4a0c-42d2-4c63-820b-2ae503cb35f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589'] 2025-10-22 10:08:21,160 - INFO - VN ctest-vn-37486102 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:08:21,160 - DEBUG - Verifying the vn in opserver 2025-10-22 10:08:21,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102 virtual network link through opserver 10.0.0.19 2025-10-22 10:08:21,160 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-22 10:08:21,468 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-22 10:08:21,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102?flat'} 2025-10-22 10:08:21,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102 is found in opserver 2025-10-22 10:08:21,535 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:08:21,540 - DEBUG - VRF ids for VN ctest-vn-37486102: {} 2025-10-22 10:08:21,540 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:21,546 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:21,559 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:21,633 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,646 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,655 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:21,662 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:21,669 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6dff0a10-3948-482c-97ff-fe08af50fe26 2025-10-22 10:08:21,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:08:21,675 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,684 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:21,699 - INFO - Verified VN network id 12 for VN 1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,699 - INFO - Verifications in API Server for VN ctest-vn-44358653 passed 2025-10-22 10:08:21,699 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,708 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:21,715 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:21,722 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6dff0a10-3948-482c-97ff-fe08af50fe26 2025-10-22 10:08:21,736 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09150857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1311063895152150969', 'uuid-lslong': '10448669883551404126'}, 'enable': 'true', 'created': '2025-10-22T10:08:19', 'last-modified': '2025-10-22T10:08:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444542'} 2025-10-22 10:08:21,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:08:21,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44358653 passed 2025-10-22 10:08:21,744 - DEBUG - ====Verifying policy data for ctest-vn-44358653 in API_Server ====== 2025-10-22 10:08:21,744 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:21,750 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:21,760 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:21,835 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e 2025-10-22 10:08:21,844 - DEBUG - ==>Verifying data for policy with id: 4abe4a0c-42d2-4c63-820b-2ae503cb35f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589'] 2025-10-22 10:08:21,844 - INFO - VN ctest-vn-44358653 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:08:21,845 - DEBUG - Verifying the vn in opserver 2025-10-22 10:08:21,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653 virtual network link through opserver 10.0.0.19 2025-10-22 10:08:21,845 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-22 10:08:21,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653?flat'} 2025-10-22 10:08:21,855 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653 is found in opserver 2025-10-22 10:08:21,866 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:08:21,871 - DEBUG - VRF ids for VN ctest-vn-44358653: {} 2025-10-22 10:08:21,928 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:08:22,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:08:24,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:08:24,100 - INFO - Waiting for VM ctest-TestBasicPolicy-09150857-59246858 to be up.. 2025-10-22 10:08:24,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:08:29,255 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:08:29,255 - INFO - VM name : ctest-TestBasicPolicy-09150857-59246858 2025-10-22 10:08:29,325 - DEBUG - VM ctest-TestBasicPolicy-09150857-59246858 ID is b91db872-345b-4105-a15d-efb220f57eb5 2025-10-22 10:08:29,344 - DEBUG - VM ctest-TestBasicPolicy-09150857-59246858 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:08:29,416 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b91db872-345b-4105-a15d-efb220f57eb5 2025-10-22 10:08:29,425 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e5dc355c-2ff9-4ad8-82ea-545910ce2d6e 2025-10-22 10:08:32,677 - 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 1003ms') 2025-10-22 10:08:32,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09150857-59246858 failed! 2025-10-22 10:08:32,731 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102 is 216.253.15.1 and allocation pool is NOT set 2025-10-22 10:08:34,791 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/4.124/7.832/3.707 ms') 2025-10-22 10:08:34,791 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09150857-59246858 passed 2025-10-22 10:08:34,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:08:34,939 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09150857-59246858, IP 216.253.15.3, Port 22 2025-10-22 10:08:35,094 - DEBUG - VM ctest-TestBasicPolicy-09150857-59246858 is ready for SSH connections 2025-10-22 10:08:35,094 - INFO - Waiting for VM ctest-TestBasicPolicy-09150857-82791843 to be up.. 2025-10-22 10:08:35,171 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:08:35,171 - INFO - VM name : ctest-TestBasicPolicy-09150857-82791843 2025-10-22 10:08:35,252 - DEBUG - VM ctest-TestBasicPolicy-09150857-82791843 ID is 1ab7ff6f-c2a9-434c-b368-377112f31977 2025-10-22 10:08:35,252 - DEBUG - VM ctest-TestBasicPolicy-09150857-82791843 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:08:35,326 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1ab7ff6f-c2a9-434c-b368-377112f31977 2025-10-22 10:08:35,334 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e23d27a9-2723-40de-b6df-2879423cccd8 2025-10-22 10:08:36,583 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.517/3.218/3.920/0.701 ms') 2025-10-22 10:08:36,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09150857-82791843 passed 2025-10-22 10:08:36,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:08:36,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09150857-82791843, IP 86.25.50.3, Port 22 2025-10-22 10:08:36,890 - DEBUG - VM ctest-TestBasicPolicy-09150857-82791843 is ready for SSH connections 2025-10-22 10:08:36,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:08:36,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.25.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-22 10:08:36,891 - DEBUG - ping -s 56 -c 3 -W 1 86.25.50.3 2025-10-22 10:08:40,947 - DEBUG - PING 86.25.50.3 (86.25.50.3): 56 data bytes 64 bytes from 86.25.50.3: seq=0 ttl=63 time=3.717 ms 64 bytes from 86.25.50.3: seq=1 ttl=63 time=0.844 ms 64 bytes from 86.25.50.3: seq=2 ttl=63 time=0.906 ms --- 86.25.50.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.822/3.717 ms 2025-10-22 10:08:40,947 - INFO - Ping to IP 86.25.50.3 from VM ctest-TestBasicPolicy-09150857-59246858 passed 2025-10-22 10:08:41,127 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4abe4a0c-42d2-4c63-820b-2ae503cb35f0", "href": "http://10.0.0.19:8082/network-policy/4abe4a0c-42d2-4c63-820b-2ae503cb35f0"}} 2025-10-22 10:08:41,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:08:41,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.25.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-22 10:08:41,127 - DEBUG - ping -s 56 -c 3 -W 1 86.25.50.3 2025-10-22 10:08:44,391 - DEBUG - PING 86.25.50.3 (86.25.50.3): 56 data bytes --- 86.25.50.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 10:08:44,391 - WARNING - Ping to IP 86.25.50.3 from VM ctest-TestBasicPolicy-09150857-59246858 failed 2025-10-22 10:08:44,391 - INFO - Deleting VM ctest-TestBasicPolicy-09150857-82791843 2025-10-22 10:08:44,457 - INFO - Deleting VM ctest-TestBasicPolicy-09150857-59246858 2025-10-22 10:08:44,828 - INFO - Deleted policy ctest-policy-allow-all-80478589 2025-10-22 10:08:44,828 - INFO - Deleting VN ctest-vn-44358653 2025-10-22 10:08:44,864 - DEBUG - VN 1231d5aa-9462-49b9-9101-21e65067505e still in use: Unable to complete operation on network 1231d5aa-9462-49b9-9101-21e65067505e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b2a5284-a990-4321-8129-2a5c057c4968'] 2025-10-22 10:08:44,864 - WARNING - Deleting VN ctest-vn-44358653 failed..Will retry 2025-10-22 10:08:46,967 - DEBUG - Response for deleting network () 2025-10-22 10:08:46,967 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8 2025-10-22 10:08:46,972 - DEBUG - Response Code: 404 2025-10-22 10:08:46,972 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:46,981 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:47,037 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:47,110 - INFO - Validated that VN ctest-vn-44358653 is not found in API Server 2025-10-22 10:08:47,120 - DEBUG - VN ctest-vn-44358653 is not present in Agent 10.0.0.19 2025-10-22 10:08:47,120 - INFO - Validated that VN ctest-vn-44358653 is not in any agent 2025-10-22 10:08:47,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44358653 info 2025-10-22 10:08:47,134 - INFO - Deleting VN ctest-vn-37486102 2025-10-22 10:08:47,240 - DEBUG - Response for deleting network () 2025-10-22 10:08:47,240 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4 2025-10-22 10:08:47,245 - DEBUG - Response Code: 404 2025-10-22 10:08:47,246 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-22 10:08:47,250 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7 2025-10-22 10:08:47,304 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6 2025-10-22 10:08:47,374 - INFO - Validated that VN ctest-vn-37486102 is not found in API Server 2025-10-22 10:08:47,387 - DEBUG - VN ctest-vn-37486102 is not present in Agent 10.0.0.19 2025-10-22 10:08:47,387 - INFO - Validated that VN ctest-vn-37486102 is not in any agent 2025-10-22 10:08:47,399 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37486102 info 2025-10-22 10:08:47,656 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:08:47,656 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-22 10:08:47,656 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:08:48,318 - INFO - Deleted project: ctest-TestBasicPolicy-09150857, ID : 143a00c7-ab5b-43fd-a93a-1110e17f60c6