2025-06-22 14:17:13,793 - INFO - Domain Default found not creating 2025-06-22 14:17:13,930 - INFO - Project ctest-TestBasicPolicy-84213780 not found, creating it 2025-06-22 14:17:14,385 - INFO - Created Project:ctest-TestBasicPolicy-84213780, ID : aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:15,772 - INFO - ================================================================================ 2025-06-22 14:17:15,772 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-22 14:17:15,773 - 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-22 14:17:16,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-22 14:17:16,032 - INFO - Initial checks done. Running the testcase now 2025-06-22 14:17:16,032 - INFO - 2025-06-22 14:17:16,557 - DEBUG - Response for create_network : {'network': {'id': '20682602-e985-4bb8-99da-66ee175b760c', 'name': 'ctest-vn-34155533', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'project_id': 'aa0fda716d58468d85efad0df674b88a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-vn-34155533'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:17:16,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '959d6363-f565-4ff9-bc4a-8a39209635f5', 'name': '', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'network_id': '20682602-e985-4bb8-99da-66ee175b760c', 'ip_version': 4, 'cidr': '114.121.61.128/26', 'allocation_pools': [{'start': '114.121.61.130', 'end': '114.121.61.190'}], 'gateway_ip': '114.121.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.121.61.130', 'tags': [], 'project_id': 'aa0fda716d58468d85efad0df674b88a'}} 2025-06-22 14:17:16,760 - INFO - Created VN ctest-vn-34155533 2025-06-22 14:17:16,814 - DEBUG - VN ctest-vn-34155533 UUID is 20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:17,145 - DEBUG - Response for create_network : {'network': {'id': '39e376eb-bf7b-475a-b519-02a71a522fbb', 'name': 'ctest-vn-28700825', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'project_id': 'aa0fda716d58468d85efad0df674b88a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-vn-28700825'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:17:17,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dcd5801-3566-4c99-87d8-b40c93632ba5', 'name': '', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'network_id': '39e376eb-bf7b-475a-b519-02a71a522fbb', 'ip_version': 4, 'cidr': '86.47.60.192/26', 'allocation_pools': [{'start': '86.47.60.194', 'end': '86.47.60.254'}], 'gateway_ip': '86.47.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.47.60.194', 'tags': [], 'project_id': 'aa0fda716d58468d85efad0df674b88a'}} 2025-06-22 14:17:17,344 - INFO - Created VN ctest-vn-28700825 2025-06-22 14:17:17,394 - DEBUG - VN ctest-vn-28700825 UUID is 39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:17,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533, 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-84213780:ctest-vn-28700825, 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-22 14:17:17,823 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20682602-e985-4bb8-99da-66ee175b760c', 'name': 'ctest-vn-34155533', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'project_id': 'aa0fda716d58468d85efad0df674b88a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['959d6363-f565-4ff9-bc4a-8a39209635f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-vn-34155533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-policy-allow-all-31345128']], 'subnet_ipam': [{'subnet_cidr': '114.121.61.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:17:18,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '39e376eb-bf7b-475a-b519-02a71a522fbb', 'name': 'ctest-vn-28700825', 'tenant_id': 'aa0fda716d58468d85efad0df674b88a', 'project_id': 'aa0fda716d58468d85efad0df674b88a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dcd5801-3566-4c99-87d8-b40c93632ba5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-vn-28700825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-policy-allow-all-31345128']], 'subnet_ipam': [{'subnet_cidr': '86.47.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:17:18,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:18,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:18,529 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:18,542 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:18,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,630 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,639 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:18,646 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:18,654 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/de915eb9-4998-4d6a-95a3-be2fff6690c3 2025-06-22 14:17:18,660 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-22 14:17:18,661 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:18,685 - INFO - Verified VN network id 8 for VN 20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,686 - INFO - Verifications in API Server for VN ctest-vn-34155533 passed 2025-06-22 14:17:18,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,694 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:18,700 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:18,706 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/de915eb9-4998-4d6a-95a3-be2fff6690c3 2025-06-22 14:17:18,717 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84213780', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2335158200741219256', 'uuid-lslong': '11086286605506016780'}, 'enable': 'true', 'created': '2025-06-22T14:17:16', 'last-modified': '2025-06-22T14:17:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913351'} 2025-06-22 14:17:18,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-22 14:17:18,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34155533 passed 2025-06-22 14:17:18,723 - DEBUG - ====Verifying policy data for ctest-vn-34155533 in API_Server ====== 2025-06-22 14:17:18,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:18,728 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:18,740 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:18,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20682602-e985-4bb8-99da-66ee175b760c 2025-06-22 14:17:18,819 - DEBUG - ==>Verifying data for policy with id: 8ba3b707-b206-4d64-997e-6f9e8d01e1b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-policy-allow-all-31345128'] 2025-06-22 14:17:18,819 - INFO - VN ctest-vn-34155533 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-22 14:17:18,819 - DEBUG - Verifying the vn in opserver 2025-06-22 14:17:18,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533 virtual network link through opserver 10.0.0.38 2025-06-22 14:17:18,819 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-22 14:17:19,108 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-22 14:17:19,160 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533?flat'} 2025-06-22 14:17:19,160 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533 is found in opserver 2025-06-22 14:17:19,171 - DEBUG - Do not have enough data to verify VN in agent 2025-06-22 14:17:19,176 - DEBUG - VRF ids for VN ctest-vn-34155533: {} 2025-06-22 14:17:19,176 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:19,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:19,195 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:19,270 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,293 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:19,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:19,308 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a98339e9-e7ba-44a2-8fdf-403017a97236 2025-06-22 14:17:19,315 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-22 14:17:19,315 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,324 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:19,337 - INFO - Verified VN network id 9 for VN 39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,337 - INFO - Verifications in API Server for VN ctest-vn-28700825 passed 2025-06-22 14:17:19,337 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,346 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:19,353 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:19,360 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a98339e9-e7ba-44a2-8fdf-403017a97236 2025-06-22 14:17:19,372 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-28700825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84213780', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4171308434777130842', 'uuid-lslong': '13049464312007110587'}, 'enable': 'true', 'created': '2025-06-22T14:17:17', 'last-modified': '2025-06-22T14:17:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338743'} 2025-06-22 14:17:19,378 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-22 14:17:19,378 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28700825 passed 2025-06-22 14:17:19,378 - DEBUG - ====Verifying policy data for ctest-vn-28700825 in API_Server ====== 2025-06-22 14:17:19,378 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:19,384 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:19,396 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:19,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/39e376eb-bf7b-475a-b519-02a71a522fbb 2025-06-22 14:17:19,479 - DEBUG - ==>Verifying data for policy with id: 8ba3b707-b206-4d64-997e-6f9e8d01e1b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-84213780', 'ctest-policy-allow-all-31345128'] 2025-06-22 14:17:19,479 - INFO - VN ctest-vn-28700825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-22 14:17:19,479 - DEBUG - Verifying the vn in opserver 2025-06-22 14:17:19,479 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-28700825 virtual network link through opserver 10.0.0.38 2025-06-22 14:17:19,479 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-22 14:17:19,490 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-28700825', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-28700825?flat'} 2025-06-22 14:17:19,490 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-28700825 is found in opserver 2025-06-22 14:17:19,501 - DEBUG - Do not have enough data to verify VN in agent 2025-06-22 14:17:19,506 - DEBUG - VRF ids for VN ctest-vn-28700825: {} 2025-06-22 14:17:19,571 - DEBUG - Services list from nova: [, , ] 2025-06-22 14:17:20,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3513-1) 2025-06-22 14:17:21,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3513-1) 2025-06-22 14:17:21,825 - INFO - Waiting for VM ctest-TestBasicPolicy-84213780-40288419 to be up.. 2025-06-22 14:17:21,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-22 14:17:26,980 - DEBUG - VM is in ACTIVE state now 2025-06-22 14:17:26,980 - INFO - VM name : ctest-TestBasicPolicy-84213780-40288419 2025-06-22 14:17:27,061 - DEBUG - VM ctest-TestBasicPolicy-84213780-40288419 ID is 969aef35-8861-4ca0-9413-9d0941be98d9 2025-06-22 14:17:27,081 - DEBUG - VM ctest-TestBasicPolicy-84213780-40288419 launched on Node cn-jenkins-deploy-platform-ansible-os-3513-1 2025-06-22 14:17:27,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/969aef35-8861-4ca0-9413-9d0941be98d9 2025-06-22 14:17:27,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/72c3443c-c229-4582-92bd-fbf2e5b021cd 2025-06-22 14:17:30,440 - 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 1027ms') 2025-06-22 14:17:30,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84213780-40288419 failed! 2025-06-22 14:17:30,494 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84213780:ctest-vn-34155533 is 114.121.61.129 and allocation pool is NOT set 2025-06-22 14:17:32,558 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.539 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.539/1.770/3.001/1.231 ms') 2025-06-22 14:17:32,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84213780-40288419 passed 2025-06-22 14:17:32,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:17:32,706 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84213780-40288419, IP 114.121.61.131, Port 22 2025-06-22 14:17:32,858 - DEBUG - VM ctest-TestBasicPolicy-84213780-40288419 is ready for SSH connections 2025-06-22 14:17:32,858 - INFO - Waiting for VM ctest-TestBasicPolicy-84213780-17947002 to be up.. 2025-06-22 14:17:32,935 - DEBUG - VM is in ACTIVE state now 2025-06-22 14:17:32,935 - INFO - VM name : ctest-TestBasicPolicy-84213780-17947002 2025-06-22 14:17:33,011 - DEBUG - VM ctest-TestBasicPolicy-84213780-17947002 ID is 008de9d8-28ea-45e8-81d3-3601bb8dae4e 2025-06-22 14:17:33,011 - DEBUG - VM ctest-TestBasicPolicy-84213780-17947002 launched on Node cn-jenkins-deploy-platform-ansible-os-3513-1 2025-06-22 14:17:33,089 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/008de9d8-28ea-45e8-81d3-3601bb8dae4e 2025-06-22 14:17:33,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/35bda333-4bad-4670-a511-ae062bba0c88 2025-06-22 14:17:34,348 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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 = 0.556/1.626/2.697/1.070 ms') 2025-06-22 14:17:34,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84213780-17947002 passed 2025-06-22 14:17:34,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:17:34,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84213780-17947002, IP 86.47.60.195, Port 22 2025-06-22 14:17:34,658 - DEBUG - VM ctest-TestBasicPolicy-84213780-17947002 is ready for SSH connections 2025-06-22 14:17:34,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:17:34,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.47.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-22 14:17:34,658 - DEBUG - ping -s 56 -c 3 -W 1 86.47.60.195 2025-06-22 14:17:38,666 - DEBUG - PING 86.47.60.195 (86.47.60.195): 56 data bytes 64 bytes from 86.47.60.195: seq=0 ttl=63 time=3.831 ms 64 bytes from 86.47.60.195: seq=1 ttl=63 time=0.889 ms 64 bytes from 86.47.60.195: seq=2 ttl=63 time=1.195 ms --- 86.47.60.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.971/3.831 ms 2025-06-22 14:17:38,667 - INFO - Ping to IP 86.47.60.195 from VM ctest-TestBasicPolicy-84213780-40288419 passed 2025-06-22 14:17:38,850 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ba3b707-b206-4d64-997e-6f9e8d01e1b4", "href": "http://10.0.0.38:8082/network-policy/8ba3b707-b206-4d64-997e-6f9e8d01e1b4"}} 2025-06-22 14:17:38,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:17:38,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.47.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-22 14:17:38,850 - DEBUG - ping -s 56 -c 3 -W 1 86.47.60.195 2025-06-22 14:17:42,049 - DEBUG - PING 86.47.60.195 (86.47.60.195): 56 data bytes 64 bytes from 86.47.60.195: seq=0 ttl=63 time=1.226 ms --- 86.47.60.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.226/1.226/1.226 ms 2025-06-22 14:17:42,049 - WARNING - Ping to IP 86.47.60.195 from VM ctest-TestBasicPolicy-84213780-40288419 failed 2025-06-22 14:17:42,049 - INFO - Deleting VM ctest-TestBasicPolicy-84213780-17947002 2025-06-22 14:17:42,114 - INFO - Deleting VM ctest-TestBasicPolicy-84213780-40288419 2025-06-22 14:17:42,517 - INFO - Deleted policy ctest-policy-allow-all-31345128 2025-06-22 14:17:42,518 - INFO - Deleting VN ctest-vn-28700825 2025-06-22 14:17:42,551 - DEBUG - VN 39e376eb-bf7b-475a-b519-02a71a522fbb still in use: Unable to complete operation on network 39e376eb-bf7b-475a-b519-02a71a522fbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ffa2a12-d2e0-4ccb-b4ce-f1465f49e883'] 2025-06-22 14:17:42,552 - WARNING - Deleting VN ctest-vn-28700825 failed..Will retry 2025-06-22 14:17:44,649 - DEBUG - Response for deleting network () 2025-06-22 14:17:44,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b49c208f-0e91-49f4-8f86-06f1f789704e 2025-06-22 14:17:44,655 - DEBUG - Response Code: 404 2025-06-22 14:17:44,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:44,661 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:44,715 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:44,784 - INFO - Validated that VN ctest-vn-28700825 is not found in API Server 2025-06-22 14:17:44,794 - DEBUG - VN ctest-vn-28700825 is not present in Agent 10.0.0.38 2025-06-22 14:17:44,794 - INFO - Validated that VN ctest-vn-28700825 is not in any agent 2025-06-22 14:17:44,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28700825 info 2025-06-22 14:17:44,809 - INFO - Deleting VN ctest-vn-34155533 2025-06-22 14:17:44,910 - DEBUG - Response for deleting network () 2025-06-22 14:17:44,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87ca3210-e268-4673-9873-295b9714df55 2025-06-22 14:17:44,917 - DEBUG - Response Code: 404 2025-06-22 14:17:44,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-22 14:17:44,923 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f3a35d4-6afe-4715-aab4-d265aa0f6594 2025-06-22 14:17:44,979 - DEBUG - Requesting: http://10.0.0.38:8082/project/aa0fda71-6d58-468d-85ef-ad0df674b88a 2025-06-22 14:17:45,056 - INFO - Validated that VN ctest-vn-34155533 is not found in API Server 2025-06-22 14:17:45,072 - DEBUG - VN ctest-vn-34155533 is not present in Agent 10.0.0.38 2025-06-22 14:17:45,072 - INFO - Validated that VN ctest-vn-34155533 is not in any agent 2025-06-22 14:17:45,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34155533 info 2025-06-22 14:17:45,344 - DEBUG - No XMPP flaps were noticed during the test 2025-06-22 14:17:45,344 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-22 14:17:45,344 - INFO - -------------------------------------------------------------------------------- 2025-06-22 14:17:46,004 - INFO - Deleted project: ctest-TestBasicPolicy-84213780, ID : aa0fda71-6d58-468d-85ef-ad0df674b88a