2025-06-23 08:15:13,508 - INFO - Domain Default found not creating 2025-06-23 08:15:13,684 - INFO - Project ctest-TestBasicPolicy-07869813 not found, creating it 2025-06-23 08:15:14,186 - INFO - Created Project:ctest-TestBasicPolicy-07869813, ID : 909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:15,653 - INFO - ================================================================================ 2025-06-23 08:15:15,653 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 08:15:15,653 - 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-23 08:15:15,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-23 08:15:15,910 - INFO - Initial checks done. Running the testcase now 2025-06-23 08:15:15,910 - INFO - 2025-06-23 08:15:16,497 - DEBUG - Response for create_network : {'network': {'id': 'a4d89ae9-745c-4d56-80fe-0fbad971fbd5', 'name': 'ctest-vn-51021771', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'project_id': '909b1db76fd74eed90259b4bab3c216b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-vn-51021771'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:15:16,699 - DEBUG - Response for create_subnet : {'subnet': {'id': '8947c023-af62-45c3-9b6b-f470bddace26', 'name': '', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'network_id': 'a4d89ae9-745c-4d56-80fe-0fbad971fbd5', 'ip_version': 4, 'cidr': '109.226.180.192/26', 'allocation_pools': [{'start': '109.226.180.194', 'end': '109.226.180.254'}], 'gateway_ip': '109.226.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.226.180.194', 'tags': [], 'project_id': '909b1db76fd74eed90259b4bab3c216b'}} 2025-06-23 08:15:16,719 - INFO - Created VN ctest-vn-51021771 2025-06-23 08:15:16,772 - DEBUG - VN ctest-vn-51021771 UUID is a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:17,104 - DEBUG - Response for create_network : {'network': {'id': '035d0a64-88c5-405a-af7e-07b29198213b', 'name': 'ctest-vn-47544798', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'project_id': '909b1db76fd74eed90259b4bab3c216b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-vn-47544798'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:15:17,286 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaade527-1721-4186-aac6-da4e36d25bc5', 'name': '', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'network_id': '035d0a64-88c5-405a-af7e-07b29198213b', 'ip_version': 4, 'cidr': '185.207.247.128/26', 'allocation_pools': [{'start': '185.207.247.130', 'end': '185.207.247.190'}], 'gateway_ip': '185.207.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.207.247.130', 'tags': [], 'project_id': '909b1db76fd74eed90259b4bab3c216b'}} 2025-06-23 08:15:17,438 - INFO - Created VN ctest-vn-47544798 2025-06-23 08:15:17,492 - DEBUG - VN ctest-vn-47544798 UUID is 035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:17,606 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771, 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-07869813:ctest-vn-47544798, 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-23 08:15:17,929 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4d89ae9-745c-4d56-80fe-0fbad971fbd5', 'name': 'ctest-vn-51021771', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'project_id': '909b1db76fd74eed90259b4bab3c216b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8947c023-af62-45c3-9b6b-f470bddace26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-vn-51021771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-policy-allow-all-55347773']], 'subnet_ipam': [{'subnet_cidr': '109.226.180.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:15:18,164 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '035d0a64-88c5-405a-af7e-07b29198213b', 'name': 'ctest-vn-47544798', 'tenant_id': '909b1db76fd74eed90259b4bab3c216b', 'project_id': '909b1db76fd74eed90259b4bab3c216b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eaade527-1721-4186-aac6-da4e36d25bc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-vn-47544798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-policy-allow-all-55347773']], 'subnet_ipam': [{'subnet_cidr': '185.207.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:15:18,336 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:18,633 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:18,661 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:18,674 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:18,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:18,764 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:18,777 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:18,788 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:18,798 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1e4aa28b-20e1-46b7-986b-6970cf46f642 2025-06-23 08:15:18,806 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 08:15:18,806 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:18,818 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:18,835 - INFO - Verified VN network id 8 for VN a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:18,835 - INFO - Verifications in API Server for VN ctest-vn-51021771 passed 2025-06-23 08:15:18,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:18,847 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:18,858 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:18,867 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1e4aa28b-20e1-46b7-986b-6970cf46f642 2025-06-23 08:15:18,885 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07869813', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11878414344659946838', 'uuid-lslong': '9294883976125742037'}, 'enable': 'true', 'created': '2025-06-23T08:15:16', 'last-modified': '2025-06-23T08:15:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989345'} 2025-06-23 08:15:18,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 08:15:18,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51021771 passed 2025-06-23 08:15:18,894 - DEBUG - ====Verifying policy data for ctest-vn-51021771 in API_Server ====== 2025-06-23 08:15:18,894 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:18,901 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:18,929 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:19,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a4d89ae9-745c-4d56-80fe-0fbad971fbd5 2025-06-23 08:15:19,021 - DEBUG - ==>Verifying data for policy with id: fc22cff0-7b9e-445d-b6ed-e373950ca632, fqn: ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-policy-allow-all-55347773'] 2025-06-23 08:15:19,021 - INFO - VN ctest-vn-51021771 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 08:15:19,021 - DEBUG - Verifying the vn in opserver 2025-06-23 08:15:19,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771 virtual network link through opserver 10.0.0.254 2025-06-23 08:15:19,021 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 08:15:19,322 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 08:15:19,386 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771?flat'} 2025-06-23 08:15:19,386 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771 is found in opserver 2025-06-23 08:15:19,396 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 08:15:19,401 - DEBUG - VRF ids for VN ctest-vn-51021771: {} 2025-06-23 08:15:19,401 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:19,407 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:19,419 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:19,499 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,526 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:19,535 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:19,543 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d1185790-bb6f-4f66-b093-40fe6eb8cf02 2025-06-23 08:15:19,550 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 08:15:19,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:19,579 - INFO - Verified VN network id 9 for VN 035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,579 - INFO - Verifications in API Server for VN ctest-vn-47544798 passed 2025-06-23 08:15:19,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,590 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:19,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:19,606 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d1185790-bb6f-4f66-b093-40fe6eb8cf02 2025-06-23 08:15:19,620 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-47544798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07869813', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '242361381855510618', 'uuid-lslong': '12645553267231170875'}, 'enable': 'true', 'created': '2025-06-23T08:15:17', 'last-modified': '2025-06-23T08:15:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482417'} 2025-06-23 08:15:19,627 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 08:15:19,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47544798 passed 2025-06-23 08:15:19,627 - DEBUG - ====Verifying policy data for ctest-vn-47544798 in API_Server ====== 2025-06-23 08:15:19,627 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:19,634 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:19,649 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:19,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/035d0a64-88c5-405a-af7e-07b29198213b 2025-06-23 08:15:19,739 - DEBUG - ==>Verifying data for policy with id: fc22cff0-7b9e-445d-b6ed-e373950ca632, fqn: ['default-domain', 'ctest-TestBasicPolicy-07869813', 'ctest-policy-allow-all-55347773'] 2025-06-23 08:15:19,739 - INFO - VN ctest-vn-47544798 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 08:15:19,739 - DEBUG - Verifying the vn in opserver 2025-06-23 08:15:19,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-47544798 virtual network link through opserver 10.0.0.254 2025-06-23 08:15:19,739 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-23 08:15:19,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-47544798', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-47544798?flat'} 2025-06-23 08:15:19,751 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-47544798 is found in opserver 2025-06-23 08:15:19,765 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 08:15:19,772 - DEBUG - VRF ids for VN ctest-vn-47544798: {} 2025-06-23 08:15:19,827 - DEBUG - Services list from nova: [, , ] 2025-06-23 08:15:20,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3519-1) 2025-06-23 08:15:22,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3519-1) 2025-06-23 08:15:22,090 - INFO - Waiting for VM ctest-TestBasicPolicy-07869813-62874359 to be up.. 2025-06-23 08:15:22,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 08:15:27,248 - DEBUG - VM is in ACTIVE state now 2025-06-23 08:15:27,249 - INFO - VM name : ctest-TestBasicPolicy-07869813-62874359 2025-06-23 08:15:27,336 - DEBUG - VM ctest-TestBasicPolicy-07869813-62874359 ID is 6e4a6bce-1b44-45a3-8abd-a4edb272c03a 2025-06-23 08:15:27,356 - DEBUG - VM ctest-TestBasicPolicy-07869813-62874359 launched on Node cn-jenkins-deploy-platform-ansible-os-3519-1 2025-06-23 08:15:27,435 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6e4a6bce-1b44-45a3-8abd-a4edb272c03a 2025-06-23 08:15:27,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2c4331d3-b5f8-44a3-9868-5da7658ffd81 2025-06-23 08:15:30,666 - 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-23 08:15:30,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07869813-62874359 failed! 2025-06-23 08:15:30,724 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07869813:ctest-vn-51021771 is 109.226.180.193 and allocation pool is NOT set 2025-06-23 08:15:32,780 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 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 = 0.757/2.589/4.422/1.832 ms') 2025-06-23 08:15:32,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07869813-62874359 passed 2025-06-23 08:15:32,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:15:32,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07869813-62874359, IP 109.226.180.195, Port 22 2025-06-23 08:15:33,102 - DEBUG - VM ctest-TestBasicPolicy-07869813-62874359 is ready for SSH connections 2025-06-23 08:15:33,102 - INFO - Waiting for VM ctest-TestBasicPolicy-07869813-12282663 to be up.. 2025-06-23 08:15:33,209 - DEBUG - VM is in ACTIVE state now 2025-06-23 08:15:33,209 - INFO - VM name : ctest-TestBasicPolicy-07869813-12282663 2025-06-23 08:15:33,289 - DEBUG - VM ctest-TestBasicPolicy-07869813-12282663 ID is 8ad9e9d3-60e5-4bb8-8a8b-a049ea04d6db 2025-06-23 08:15:33,290 - DEBUG - VM ctest-TestBasicPolicy-07869813-12282663 launched on Node cn-jenkins-deploy-platform-ansible-os-3519-1 2025-06-23 08:15:33,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8ad9e9d3-60e5-4bb8-8a8b-a049ea04d6db 2025-06-23 08:15:33,382 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/587e8127-b2fc-4de1-875d-c839ae4fdcf9 2025-06-23 08:15:34,639 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/2.012/3.588/1.576 ms') 2025-06-23 08:15:34,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07869813-12282663 passed 2025-06-23 08:15:34,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:15:34,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07869813-12282663, IP 185.207.247.131, Port 22 2025-06-23 08:15:34,959 - DEBUG - VM ctest-TestBasicPolicy-07869813-12282663 is ready for SSH connections 2025-06-23 08:15:34,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:15:34,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.207.247.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 08:15:34,959 - DEBUG - ping -s 56 -c 3 -W 1 185.207.247.131 2025-06-23 08:15:39,008 - DEBUG - PING 185.207.247.131 (185.207.247.131): 56 data bytes 64 bytes from 185.207.247.131: seq=0 ttl=63 time=3.278 ms 64 bytes from 185.207.247.131: seq=1 ttl=63 time=0.686 ms 64 bytes from 185.207.247.131: seq=2 ttl=63 time=1.002 ms --- 185.207.247.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/1.655/3.278 ms 2025-06-23 08:15:39,008 - INFO - Ping to IP 185.207.247.131 from VM ctest-TestBasicPolicy-07869813-62874359 passed 2025-06-23 08:15:39,192 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc22cff0-7b9e-445d-b6ed-e373950ca632", "href": "http://10.0.0.254:8082/network-policy/fc22cff0-7b9e-445d-b6ed-e373950ca632"}} 2025-06-23 08:15:39,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:15:39,192 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.207.247.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 08:15:39,192 - DEBUG - ping -s 56 -c 3 -W 1 185.207.247.131 2025-06-23 08:15:42,397 - DEBUG - PING 185.207.247.131 (185.207.247.131): 56 data bytes --- 185.207.247.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 08:15:42,397 - WARNING - Ping to IP 185.207.247.131 from VM ctest-TestBasicPolicy-07869813-62874359 failed 2025-06-23 08:15:42,397 - INFO - Deleting VM ctest-TestBasicPolicy-07869813-12282663 2025-06-23 08:15:42,474 - INFO - Deleting VM ctest-TestBasicPolicy-07869813-62874359 2025-06-23 08:15:42,879 - INFO - Deleted policy ctest-policy-allow-all-55347773 2025-06-23 08:15:42,879 - INFO - Deleting VN ctest-vn-47544798 2025-06-23 08:15:42,919 - DEBUG - VN 035d0a64-88c5-405a-af7e-07b29198213b still in use: Unable to complete operation on network 035d0a64-88c5-405a-af7e-07b29198213b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e389c14a-9de3-4ead-8f0c-4c1d9c84e74f'] 2025-06-23 08:15:42,919 - WARNING - Deleting VN ctest-vn-47544798 failed..Will retry 2025-06-23 08:15:45,026 - DEBUG - Response for deleting network () 2025-06-23 08:15:45,026 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f33a955d-bfbe-4e75-bfc6-211edc7815a4 2025-06-23 08:15:45,037 - DEBUG - Response Code: 404 2025-06-23 08:15:45,037 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:45,044 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:45,097 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:45,175 - INFO - Validated that VN ctest-vn-47544798 is not found in API Server 2025-06-23 08:15:45,185 - DEBUG - VN ctest-vn-47544798 is not present in Agent 10.0.0.254 2025-06-23 08:15:45,185 - INFO - Validated that VN ctest-vn-47544798 is not in any agent 2025-06-23 08:15:45,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47544798 info 2025-06-23 08:15:45,202 - INFO - Deleting VN ctest-vn-51021771 2025-06-23 08:15:45,304 - DEBUG - Response for deleting network () 2025-06-23 08:15:45,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a4f1bb8-3f7c-4f06-bd18-89e72cdfa53a 2025-06-23 08:15:45,310 - DEBUG - Response Code: 404 2025-06-23 08:15:45,310 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-23 08:15:45,316 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0044fada-e9e3-450a-8c0d-4f26ba462a6b 2025-06-23 08:15:45,373 - DEBUG - Requesting: http://10.0.0.254:8082/project/909b1db7-6fd7-4eed-9025-9b4bab3c216b 2025-06-23 08:15:45,452 - INFO - Validated that VN ctest-vn-51021771 is not found in API Server 2025-06-23 08:15:45,464 - DEBUG - VN ctest-vn-51021771 is not present in Agent 10.0.0.254 2025-06-23 08:15:45,465 - INFO - Validated that VN ctest-vn-51021771 is not in any agent 2025-06-23 08:15:45,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51021771 info 2025-06-23 08:15:45,738 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 08:15:45,739 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-23 08:15:45,739 - INFO - -------------------------------------------------------------------------------- 2025-06-23 08:15:46,513 - INFO - Deleted project: ctest-TestBasicPolicy-07869813, ID : 909b1db7-6fd7-4eed-9025-9b4bab3c216b