2025-06-24 08:20:01,767 - INFO - Domain Default found not creating 2025-06-24 08:20:01,912 - INFO - Project ctest-TestBasicPolicy-63557987 not found, creating it 2025-06-24 08:20:02,400 - INFO - Created Project:ctest-TestBasicPolicy-63557987, ID : 2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:03,882 - INFO - ================================================================================ 2025-06-24 08:20:03,882 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 08:20:03,882 - 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-24 08:20:04,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-24 08:20:04,137 - INFO - Initial checks done. Running the testcase now 2025-06-24 08:20:04,138 - INFO - 2025-06-24 08:20:04,714 - DEBUG - Response for create_network : {'network': {'id': 'b66ba374-8727-4fdb-84ac-4709ac69c92b', 'name': 'ctest-vn-74674935', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'project_id': '2192d5337b584fb4b5aac39e6c447aa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-vn-74674935'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:20:04,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '195c342b-a516-405a-8098-2e4215dc2d09', 'name': '', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'network_id': 'b66ba374-8727-4fdb-84ac-4709ac69c92b', 'ip_version': 4, 'cidr': '88.74.72.192/26', 'allocation_pools': [{'start': '88.74.72.194', 'end': '88.74.72.254'}], 'gateway_ip': '88.74.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.74.72.194', 'tags': [], 'project_id': '2192d5337b584fb4b5aac39e6c447aa0'}} 2025-06-24 08:20:04,879 - INFO - Created VN ctest-vn-74674935 2025-06-24 08:20:04,930 - DEBUG - VN ctest-vn-74674935 UUID is b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:05,232 - DEBUG - Response for create_network : {'network': {'id': 'aceac293-e627-4e26-b7d5-bfc07c45e8b5', 'name': 'ctest-vn-49215765', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'project_id': '2192d5337b584fb4b5aac39e6c447aa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-vn-49215765'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:20:05,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '26ad9218-892c-4c6d-8dc3-1e1535847d27', 'name': '', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'network_id': 'aceac293-e627-4e26-b7d5-bfc07c45e8b5', 'ip_version': 4, 'cidr': '97.174.119.0/26', 'allocation_pools': [{'start': '97.174.119.2', 'end': '97.174.119.62'}], 'gateway_ip': '97.174.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.174.119.2', 'tags': [], 'project_id': '2192d5337b584fb4b5aac39e6c447aa0'}} 2025-06-24 08:20:05,402 - INFO - Created VN ctest-vn-49215765 2025-06-24 08:20:05,454 - DEBUG - VN ctest-vn-49215765 UUID is aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:05,650 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935, 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-63557987:ctest-vn-49215765, 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-24 08:20:05,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b66ba374-8727-4fdb-84ac-4709ac69c92b', 'name': 'ctest-vn-74674935', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'project_id': '2192d5337b584fb4b5aac39e6c447aa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['195c342b-a516-405a-8098-2e4215dc2d09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-vn-74674935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-policy-allow-all-87549427']], 'subnet_ipam': [{'subnet_cidr': '88.74.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:20:06,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aceac293-e627-4e26-b7d5-bfc07c45e8b5', 'name': 'ctest-vn-49215765', 'tenant_id': '2192d5337b584fb4b5aac39e6c447aa0', 'project_id': '2192d5337b584fb4b5aac39e6c447aa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['26ad9218-892c-4c6d-8dc3-1e1535847d27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-vn-49215765'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-policy-allow-all-87549427']], 'subnet_ipam': [{'subnet_cidr': '97.174.119.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:20:06,342 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:06,639 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:06,676 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:06,690 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:06,768 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:06,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:06,798 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:06,807 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:06,816 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18325c9b-8fe2-4e25-ad76-16773e28468c 2025-06-24 08:20:06,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 08:20:06,825 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:06,837 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:06,854 - INFO - Verified VN network id 8 for VN b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:06,854 - INFO - Verifications in API Server for VN ctest-vn-74674935 passed 2025-06-24 08:20:06,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:06,866 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:06,876 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:06,883 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18325c9b-8fe2-4e25-ad76-16773e28468c 2025-06-24 08:20:06,897 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63557987', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13144779658289958875', 'uuid-lslong': '9560094215873612075'}, 'enable': 'true', 'created': '2025-06-24T08:20:04', 'last-modified': '2025-06-24T08:20:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973617'} 2025-06-24 08:20:06,904 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 08:20:06,904 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74674935 passed 2025-06-24 08:20:06,904 - DEBUG - ====Verifying policy data for ctest-vn-74674935 in API_Server ====== 2025-06-24 08:20:06,904 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:06,910 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:06,924 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:07,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b66ba374-8727-4fdb-84ac-4709ac69c92b 2025-06-24 08:20:07,014 - DEBUG - ==>Verifying data for policy with id: 4f130bfa-8612-48b8-8799-c47b53518277, fqn: ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-policy-allow-all-87549427'] 2025-06-24 08:20:07,014 - INFO - VN ctest-vn-74674935 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 08:20:07,014 - DEBUG - Verifying the vn in opserver 2025-06-24 08:20:07,014 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935 virtual network link through opserver 10.0.0.254 2025-06-24 08:20:07,014 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 08:20:07,304 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 08:20:07,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935?flat'} 2025-06-24 08:20:07,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935 is found in opserver 2025-06-24 08:20:07,368 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 08:20:07,372 - DEBUG - VRF ids for VN ctest-vn-74674935: {} 2025-06-24 08:20:07,372 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:07,378 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:07,393 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:07,470 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:07,501 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:07,509 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ae5c8b1-1416-43b9-b5d7-29f7ae14c93a 2025-06-24 08:20:07,516 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 08:20:07,516 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,525 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:07,540 - INFO - Verified VN network id 9 for VN aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,540 - INFO - Verifications in API Server for VN ctest-vn-49215765 passed 2025-06-24 08:20:07,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,551 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:07,559 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:07,567 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ae5c8b1-1416-43b9-b5d7-29f7ae14c93a 2025-06-24 08:20:07,581 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-49215765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63557987', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12459985259551215142', 'uuid-lslong': '13246704712419764405'}, 'enable': 'true', 'created': '2025-06-24T08:20:05', 'last-modified': '2025-06-24T08:20:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408756'} 2025-06-24 08:20:07,587 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 08:20:07,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49215765 passed 2025-06-24 08:20:07,588 - DEBUG - ====Verifying policy data for ctest-vn-49215765 in API_Server ====== 2025-06-24 08:20:07,588 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:07,594 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:07,606 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:07,680 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aceac293-e627-4e26-b7d5-bfc07c45e8b5 2025-06-24 08:20:07,693 - DEBUG - ==>Verifying data for policy with id: 4f130bfa-8612-48b8-8799-c47b53518277, fqn: ['default-domain', 'ctest-TestBasicPolicy-63557987', 'ctest-policy-allow-all-87549427'] 2025-06-24 08:20:07,693 - INFO - VN ctest-vn-49215765 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 08:20:07,693 - DEBUG - Verifying the vn in opserver 2025-06-24 08:20:07,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-49215765 virtual network link through opserver 10.0.0.254 2025-06-24 08:20:07,693 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 08:20:07,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-49215765', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-49215765?flat'} 2025-06-24 08:20:07,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-49215765 is found in opserver 2025-06-24 08:20:07,713 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 08:20:07,718 - DEBUG - VRF ids for VN ctest-vn-49215765: {} 2025-06-24 08:20:07,774 - DEBUG - Services list from nova: [, , ] 2025-06-24 08:20:08,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3527-1) 2025-06-24 08:20:10,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3527-1) 2025-06-24 08:20:10,011 - INFO - Waiting for VM ctest-TestBasicPolicy-63557987-39112428 to be up.. 2025-06-24 08:20:10,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 08:20:15,189 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:20:15,189 - INFO - VM name : ctest-TestBasicPolicy-63557987-39112428 2025-06-24 08:20:15,256 - DEBUG - VM ctest-TestBasicPolicy-63557987-39112428 ID is 48fef8e9-0293-4184-8bc7-1c4131a8c272 2025-06-24 08:20:15,273 - DEBUG - VM ctest-TestBasicPolicy-63557987-39112428 launched on Node cn-jenkins-deploy-platform-ansible-os-3527-1 2025-06-24 08:20:15,346 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/48fef8e9-0293-4184-8bc7-1c4131a8c272 2025-06-24 08:20:15,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a5f3235-597a-446c-a141-95dcc7ce2e7c 2025-06-24 08:20:18,596 - 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 1004ms') 2025-06-24 08:20:18,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63557987-39112428 failed! 2025-06-24 08:20:18,654 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63557987:ctest-vn-74674935 is 88.74.72.193 and allocation pool is NOT set 2025-06-24 08:20:20,717 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/2.005/3.507/1.502 ms') 2025-06-24 08:20:20,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63557987-39112428 passed 2025-06-24 08:20:20,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:20:20,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63557987-39112428, IP 88.74.72.195, Port 22 2025-06-24 08:20:21,021 - DEBUG - VM ctest-TestBasicPolicy-63557987-39112428 is ready for SSH connections 2025-06-24 08:20:21,021 - INFO - Waiting for VM ctest-TestBasicPolicy-63557987-47639428 to be up.. 2025-06-24 08:20:21,098 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:20:21,098 - INFO - VM name : ctest-TestBasicPolicy-63557987-47639428 2025-06-24 08:20:21,188 - DEBUG - VM ctest-TestBasicPolicy-63557987-47639428 ID is aae17cdd-94b1-4a7e-adfb-bc0f4635d5c8 2025-06-24 08:20:21,188 - DEBUG - VM ctest-TestBasicPolicy-63557987-47639428 launched on Node cn-jenkins-deploy-platform-ansible-os-3527-1 2025-06-24 08:20:21,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aae17cdd-94b1-4a7e-adfb-bc0f4635d5c8 2025-06-24 08:20:21,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e70b975-dea5-4482-abd0-15114d34b93e 2025-06-24 08:20:22,515 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.112/2.713/4.314/1.601 ms') 2025-06-24 08:20:22,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63557987-47639428 passed 2025-06-24 08:20:22,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:20:22,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63557987-47639428, IP 97.174.119.3, Port 22 2025-06-24 08:20:22,857 - DEBUG - VM ctest-TestBasicPolicy-63557987-47639428 is ready for SSH connections 2025-06-24 08:20:22,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:20:22,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.174.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 08:20:22,857 - DEBUG - ping -s 56 -c 3 -W 1 97.174.119.3 2025-06-24 08:20:26,808 - DEBUG - PING 97.174.119.3 (97.174.119.3): 56 data bytes 64 bytes from 97.174.119.3: seq=0 ttl=63 time=3.640 ms 64 bytes from 97.174.119.3: seq=1 ttl=63 time=0.796 ms 64 bytes from 97.174.119.3: seq=2 ttl=63 time=1.010 ms --- 97.174.119.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.815/3.640 ms 2025-06-24 08:20:26,809 - INFO - Ping to IP 97.174.119.3 from VM ctest-TestBasicPolicy-63557987-39112428 passed 2025-06-24 08:20:27,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f130bfa-8612-48b8-8799-c47b53518277", "href": "http://10.0.0.254:8082/network-policy/4f130bfa-8612-48b8-8799-c47b53518277"}} 2025-06-24 08:20:27,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:20:27,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.174.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 08:20:27,010 - DEBUG - ping -s 56 -c 3 -W 1 97.174.119.3 2025-06-24 08:20:30,213 - DEBUG - PING 97.174.119.3 (97.174.119.3): 56 data bytes --- 97.174.119.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-24 08:20:30,214 - WARNING - Ping to IP 97.174.119.3 from VM ctest-TestBasicPolicy-63557987-39112428 failed 2025-06-24 08:20:30,214 - INFO - Deleting VM ctest-TestBasicPolicy-63557987-47639428 2025-06-24 08:20:30,292 - INFO - Deleting VM ctest-TestBasicPolicy-63557987-39112428 2025-06-24 08:20:30,710 - INFO - Deleted policy ctest-policy-allow-all-87549427 2025-06-24 08:20:30,711 - INFO - Deleting VN ctest-vn-49215765 2025-06-24 08:20:30,750 - DEBUG - VN aceac293-e627-4e26-b7d5-bfc07c45e8b5 still in use: Unable to complete operation on network aceac293-e627-4e26-b7d5-bfc07c45e8b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ff849e6-76f7-448b-8e8f-cd6a88f67346'] 2025-06-24 08:20:30,750 - WARNING - Deleting VN ctest-vn-49215765 failed..Will retry 2025-06-24 08:20:32,869 - DEBUG - Response for deleting network () 2025-06-24 08:20:32,869 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/135ac3b9-f82f-495e-adc8-a604c1bccea7 2025-06-24 08:20:32,874 - DEBUG - Response Code: 404 2025-06-24 08:20:32,874 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:32,880 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:32,937 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:33,005 - INFO - Validated that VN ctest-vn-49215765 is not found in API Server 2025-06-24 08:20:33,015 - DEBUG - VN ctest-vn-49215765 is not present in Agent 10.0.0.254 2025-06-24 08:20:33,015 - INFO - Validated that VN ctest-vn-49215765 is not in any agent 2025-06-24 08:20:33,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49215765 info 2025-06-24 08:20:33,030 - INFO - Deleting VN ctest-vn-74674935 2025-06-24 08:20:33,122 - DEBUG - Response for deleting network () 2025-06-24 08:20:33,122 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cc441d65-a58e-40ad-aeaa-8dc40249c6c8 2025-06-24 08:20:33,127 - DEBUG - Response Code: 404 2025-06-24 08:20:33,127 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 08:20:33,135 - DEBUG - Requesting: http://10.0.0.254:8082/domain/14210f07-1765-43e6-a2d7-50969d466334 2025-06-24 08:20:33,187 - DEBUG - Requesting: http://10.0.0.254:8082/project/2192d533-7b58-4fb4-b5aa-c39e6c447aa0 2025-06-24 08:20:33,254 - INFO - Validated that VN ctest-vn-74674935 is not found in API Server 2025-06-24 08:20:33,270 - DEBUG - VN ctest-vn-74674935 is not present in Agent 10.0.0.254 2025-06-24 08:20:33,270 - INFO - Validated that VN ctest-vn-74674935 is not in any agent 2025-06-24 08:20:33,285 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74674935 info 2025-06-24 08:20:33,539 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 08:20:33,539 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-24 08:20:33,539 - INFO - -------------------------------------------------------------------------------- 2025-06-24 08:20:34,213 - INFO - Deleted project: ctest-TestBasicPolicy-63557987, ID : 2192d533-7b58-4fb4-b5aa-c39e6c447aa0