2025-06-21 13:58:38,403 - INFO - Domain Default found not creating 2025-06-21 13:58:38,582 - INFO - Project ctest-TestBasicPolicy-09288477 not found, creating it 2025-06-21 13:58:39,088 - INFO - Created Project:ctest-TestBasicPolicy-09288477, ID : 327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:58:40,686 - INFO - ================================================================================ 2025-06-21 13:58:40,687 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-21 13:58:40,687 - 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-21 13:58:40,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-21 13:58:40,957 - INFO - Initial checks done. Running the testcase now 2025-06-21 13:58:40,957 - INFO - 2025-06-21 13:58:41,590 - DEBUG - Response for create_network : {'network': {'id': 'c9f0e104-d3fc-43f1-a30c-ea47a1adf975', 'name': 'ctest-vn-46769761', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'project_id': '327b5f8664c6475a85847150bf1f450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-vn-46769761'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 13:58:41,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '781d3280-9653-4202-90d5-8be283571e57', 'name': '', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'network_id': 'c9f0e104-d3fc-43f1-a30c-ea47a1adf975', 'ip_version': 4, 'cidr': '190.118.154.192/26', 'allocation_pools': [{'start': '190.118.154.194', 'end': '190.118.154.254'}], 'gateway_ip': '190.118.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.118.154.194', 'tags': [], 'project_id': '327b5f8664c6475a85847150bf1f450e'}} 2025-06-21 13:58:41,818 - INFO - Created VN ctest-vn-46769761 2025-06-21 13:58:41,871 - DEBUG - VN ctest-vn-46769761 UUID is c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:42,227 - DEBUG - Response for create_network : {'network': {'id': 'fbccc767-f8e6-40e1-beba-553f98ebc77d', 'name': 'ctest-vn-31338802', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'project_id': '327b5f8664c6475a85847150bf1f450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-vn-31338802'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 13:58:42,428 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5f69d04-a068-41b8-84dc-2ece2d5cf1e8', 'name': '', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'network_id': 'fbccc767-f8e6-40e1-beba-553f98ebc77d', 'ip_version': 4, 'cidr': '77.203.110.128/26', 'allocation_pools': [{'start': '77.203.110.130', 'end': '77.203.110.190'}], 'gateway_ip': '77.203.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.203.110.130', 'tags': [], 'project_id': '327b5f8664c6475a85847150bf1f450e'}} 2025-06-21 13:58:42,452 - INFO - Created VN ctest-vn-31338802 2025-06-21 13:58:42,511 - DEBUG - VN ctest-vn-31338802 UUID is fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:42,667 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761, 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-09288477:ctest-vn-31338802, 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-21 13:58:43,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9f0e104-d3fc-43f1-a30c-ea47a1adf975', 'name': 'ctest-vn-46769761', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'project_id': '327b5f8664c6475a85847150bf1f450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['781d3280-9653-4202-90d5-8be283571e57'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-vn-46769761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-policy-allow-all-76029979']], 'subnet_ipam': [{'subnet_cidr': '190.118.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 13:58:43,323 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbccc767-f8e6-40e1-beba-553f98ebc77d', 'name': 'ctest-vn-31338802', 'tenant_id': '327b5f8664c6475a85847150bf1f450e', 'project_id': '327b5f8664c6475a85847150bf1f450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b5f69d04-a068-41b8-84dc-2ece2d5cf1e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-vn-31338802'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-policy-allow-all-76029979']], 'subnet_ipam': [{'subnet_cidr': '77.203.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 13:58:43,499 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:58:43,799 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:58:43,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:58:43,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:58:43,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:43,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:44,013 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:58:44,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:58:44,031 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b93f4a11-1f3c-47a7-bc1b-2cbc86dc1cef 2025-06-21 13:58:44,039 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 13:58:44,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:44,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:58:44,072 - INFO - Verified VN network id 8 for VN c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:44,072 - INFO - Verifications in API Server for VN ctest-vn-46769761 passed 2025-06-21 13:58:44,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:44,083 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:58:44,093 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:58:44,101 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b93f4a11-1f3c-47a7-bc1b-2cbc86dc1cef 2025-06-21 13:58:44,114 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09288477', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14551377806886716401', 'uuid-lslong': '11749023121278892405'}, 'enable': 'true', 'created': '2025-06-21T13:58:41', 'last-modified': '2025-06-21T13:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.091002'} 2025-06-21 13:58:44,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 13:58:44,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46769761 passed 2025-06-21 13:58:44,121 - DEBUG - ====Verifying policy data for ctest-vn-46769761 in API_Server ====== 2025-06-21 13:58:44,121 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:58:44,128 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:58:44,146 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:58:44,222 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9f0e104-d3fc-43f1-a30c-ea47a1adf975 2025-06-21 13:58:44,234 - DEBUG - ==>Verifying data for policy with id: 54ac5684-f921-4b9d-baab-7ebb8c7c79e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-policy-allow-all-76029979'] 2025-06-21 13:58:44,234 - INFO - VN ctest-vn-46769761 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 13:58:44,234 - DEBUG - Verifying the vn in opserver 2025-06-21 13:58:44,234 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761 virtual network link through opserver 10.0.0.38 2025-06-21 13:58:44,235 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 13:58:44,535 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 13:58:44,621 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761?flat'} 2025-06-21 13:58:44,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761 is found in opserver 2025-06-21 13:58:44,647 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 13:58:44,653 - DEBUG - VRF ids for VN ctest-vn-46769761: {} 2025-06-21 13:58:44,653 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:58:44,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:58:44,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:58:44,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:44,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:44,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:58:44,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:58:44,825 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/06275581-9083-4967-b26e-e972538b262c 2025-06-21 13:58:44,833 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 13:58:44,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:44,845 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:58:44,865 - INFO - Verified VN network id 9 for VN fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:44,865 - INFO - Verifications in API Server for VN ctest-vn-31338802 passed 2025-06-21 13:58:44,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:44,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:58:44,887 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:58:44,896 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/06275581-9083-4967-b26e-e972538b262c 2025-06-21 13:58:44,911 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-31338802', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09288477', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18144096248140284129', 'uuid-lslong': '13743390944511379325'}, 'enable': 'true', 'created': '2025-06-21T13:58:42', 'last-modified': '2025-06-21T13:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.625533'} 2025-06-21 13:58:44,919 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 13:58:44,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31338802 passed 2025-06-21 13:58:44,919 - DEBUG - ====Verifying policy data for ctest-vn-31338802 in API_Server ====== 2025-06-21 13:58:44,919 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:58:44,925 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:58:44,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:58:45,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fbccc767-f8e6-40e1-beba-553f98ebc77d 2025-06-21 13:58:45,025 - DEBUG - ==>Verifying data for policy with id: 54ac5684-f921-4b9d-baab-7ebb8c7c79e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09288477', 'ctest-policy-allow-all-76029979'] 2025-06-21 13:58:45,025 - INFO - VN ctest-vn-31338802 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 13:58:45,025 - DEBUG - Verifying the vn in opserver 2025-06-21 13:58:45,025 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-31338802 virtual network link through opserver 10.0.0.38 2025-06-21 13:58:45,025 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 13:58:45,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-31338802', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-31338802?flat'} 2025-06-21 13:58:45,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-31338802 is found in opserver 2025-06-21 13:58:45,049 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 13:58:45,055 - DEBUG - VRF ids for VN ctest-vn-31338802: {} 2025-06-21 13:58:45,126 - DEBUG - Services list from nova: [, , ] 2025-06-21 13:58:46,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3511-1) 2025-06-21 13:58:47,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3511-1) 2025-06-21 13:58:47,505 - INFO - Waiting for VM ctest-TestBasicPolicy-09288477-75150762 to be up.. 2025-06-21 13:58:47,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-21 13:58:52,702 - DEBUG - VM is in ACTIVE state now 2025-06-21 13:58:52,702 - INFO - VM name : ctest-TestBasicPolicy-09288477-75150762 2025-06-21 13:58:52,807 - DEBUG - VM ctest-TestBasicPolicy-09288477-75150762 ID is 6df49cd1-4020-43a2-a74a-c75ff599af24 2025-06-21 13:58:52,829 - DEBUG - VM ctest-TestBasicPolicy-09288477-75150762 launched on Node cn-jenkins-deploy-platform-ansible-os-3511-1 2025-06-21 13:58:52,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6df49cd1-4020-43a2-a74a-c75ff599af24 2025-06-21 13:58:52,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea90a9d8-f340-4854-8eef-de2f8b5ec4ea 2025-06-21 13:58:56,216 - 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 1023ms') 2025-06-21 13:58:56,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09288477-75150762 failed! 2025-06-21 13:58:56,283 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09288477:ctest-vn-46769761 is 190.118.154.193 and allocation pool is NOT set 2025-06-21 13:58:58,352 - 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=6.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.319/4.154/6.989/2.835 ms') 2025-06-21 13:58:58,352 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09288477-75150762 passed 2025-06-21 13:58:58,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 13:58:58,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09288477-75150762, IP 190.118.154.195, Port 22 2025-06-21 13:58:58,681 - DEBUG - VM ctest-TestBasicPolicy-09288477-75150762 is ready for SSH connections 2025-06-21 13:58:58,681 - INFO - Waiting for VM ctest-TestBasicPolicy-09288477-53802536 to be up.. 2025-06-21 13:58:58,773 - DEBUG - VM is in ACTIVE state now 2025-06-21 13:58:58,773 - INFO - VM name : ctest-TestBasicPolicy-09288477-53802536 2025-06-21 13:58:58,884 - DEBUG - VM ctest-TestBasicPolicy-09288477-53802536 ID is a4f4f08b-dc39-41a3-aae7-a61d517f558a 2025-06-21 13:58:58,884 - DEBUG - VM ctest-TestBasicPolicy-09288477-53802536 launched on Node cn-jenkins-deploy-platform-ansible-os-3511-1 2025-06-21 13:58:58,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a4f4f08b-dc39-41a3-aae7-a61d517f558a 2025-06-21 13:58:58,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/15c0c1a7-8c6a-4502-a0fd-cb7a09bb4115 2025-06-21 13:59:00,242 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/2.361/4.147/1.786 ms') 2025-06-21 13:59:00,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09288477-53802536 passed 2025-06-21 13:59:00,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 13:59:00,399 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09288477-53802536, IP 77.203.110.131, Port 22 2025-06-21 13:59:00,566 - DEBUG - VM ctest-TestBasicPolicy-09288477-53802536 is ready for SSH connections 2025-06-21 13:59:00,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 13:59:00,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.203.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-21 13:59:00,567 - DEBUG - ping -s 56 -c 3 -W 1 77.203.110.131 2025-06-21 13:59:04,656 - DEBUG - PING 77.203.110.131 (77.203.110.131): 56 data bytes 64 bytes from 77.203.110.131: seq=0 ttl=63 time=3.593 ms 64 bytes from 77.203.110.131: seq=1 ttl=63 time=0.811 ms 64 bytes from 77.203.110.131: seq=2 ttl=63 time=0.891 ms --- 77.203.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.765/3.593 ms 2025-06-21 13:59:04,656 - INFO - Ping to IP 77.203.110.131 from VM ctest-TestBasicPolicy-09288477-75150762 passed 2025-06-21 13:59:04,859 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54ac5684-f921-4b9d-baab-7ebb8c7c79e0", "href": "http://10.0.0.38:8082/network-policy/54ac5684-f921-4b9d-baab-7ebb8c7c79e0"}} 2025-06-21 13:59:04,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 13:59:04,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.203.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-21 13:59:04,860 - DEBUG - ping -s 56 -c 3 -W 1 77.203.110.131 2025-06-21 13:59:08,096 - DEBUG - PING 77.203.110.131 (77.203.110.131): 56 data bytes 64 bytes from 77.203.110.131: seq=0 ttl=63 time=1.842 ms --- 77.203.110.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.842/1.842/1.842 ms 2025-06-21 13:59:08,096 - WARNING - Ping to IP 77.203.110.131 from VM ctest-TestBasicPolicy-09288477-75150762 failed 2025-06-21 13:59:08,096 - INFO - Deleting VM ctest-TestBasicPolicy-09288477-53802536 2025-06-21 13:59:08,208 - INFO - Deleting VM ctest-TestBasicPolicy-09288477-75150762 2025-06-21 13:59:08,640 - INFO - Deleted policy ctest-policy-allow-all-76029979 2025-06-21 13:59:08,640 - INFO - Deleting VN ctest-vn-31338802 2025-06-21 13:59:08,680 - DEBUG - VN fbccc767-f8e6-40e1-beba-553f98ebc77d still in use: Unable to complete operation on network fbccc767-f8e6-40e1-beba-553f98ebc77d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-db5d35ae-83b8-48c3-a71f-bc5041288f19'] 2025-06-21 13:59:08,680 - WARNING - Deleting VN ctest-vn-31338802 failed..Will retry 2025-06-21 13:59:10,810 - DEBUG - Response for deleting network () 2025-06-21 13:59:10,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c885c4a-11c1-4c4d-993b-0b9cde52b145 2025-06-21 13:59:10,817 - DEBUG - Response Code: 404 2025-06-21 13:59:10,817 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:59:10,823 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:59:10,877 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:59:10,954 - INFO - Validated that VN ctest-vn-31338802 is not found in API Server 2025-06-21 13:59:10,965 - DEBUG - VN ctest-vn-31338802 is not present in Agent 10.0.0.38 2025-06-21 13:59:10,965 - INFO - Validated that VN ctest-vn-31338802 is not in any agent 2025-06-21 13:59:10,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31338802 info 2025-06-21 13:59:10,981 - INFO - Deleting VN ctest-vn-46769761 2025-06-21 13:59:11,086 - DEBUG - Response for deleting network () 2025-06-21 13:59:11,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44902a97-d420-48fa-a0fe-9401b35bbf79 2025-06-21 13:59:11,093 - DEBUG - Response Code: 404 2025-06-21 13:59:11,093 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 13:59:11,099 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd95e5d1-f437-44a1-a797-a837542f3fd5 2025-06-21 13:59:11,157 - DEBUG - Requesting: http://10.0.0.38:8082/project/327b5f86-64c6-475a-8584-7150bf1f450e 2025-06-21 13:59:11,234 - INFO - Validated that VN ctest-vn-46769761 is not found in API Server 2025-06-21 13:59:11,246 - DEBUG - VN ctest-vn-46769761 is not present in Agent 10.0.0.38 2025-06-21 13:59:11,246 - INFO - Validated that VN ctest-vn-46769761 is not in any agent 2025-06-21 13:59:11,264 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46769761 info 2025-06-21 13:59:11,532 - DEBUG - No XMPP flaps were noticed during the test 2025-06-21 13:59:11,533 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-06-21 13:59:11,533 - INFO - -------------------------------------------------------------------------------- 2025-06-21 13:59:12,228 - INFO - Deleted project: ctest-TestBasicPolicy-09288477, ID : 327b5f86-64c6-475a-8584-7150bf1f450e