2025-11-07 22:37:10,792 - INFO - Domain Default found not creating 2025-11-07 22:37:10,966 - INFO - Project ctest-TestBasicPolicy-80674551 not found, creating it 2025-11-07 22:37:11,410 - INFO - Created Project:ctest-TestBasicPolicy-80674551, ID : a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:12,807 - INFO - ================================================================================ 2025-11-07 22:37:12,808 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 22:37:12,808 - 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-11-07 22:37:13,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-07 22:37:13,065 - INFO - Initial checks done. Running the testcase now 2025-11-07 22:37:13,065 - INFO - 2025-11-07 22:37:13,593 - DEBUG - Response for create_network : {'network': {'id': 'f5e3b9a7-8275-4471-8085-11fe3959627c', 'name': 'ctest-vn-33447035', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-vn-33447035'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:37:13,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe082cbe-2b50-4beb-9c2f-a4ceb27df783', 'name': '', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'network_id': 'f5e3b9a7-8275-4471-8085-11fe3959627c', 'ip_version': 4, 'cidr': '131.97.11.128/26', 'allocation_pools': [{'start': '131.97.11.130', 'end': '131.97.11.190'}], 'gateway_ip': '131.97.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.97.11.130', 'tags': [], 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c'}} 2025-11-07 22:37:13,769 - INFO - Created VN ctest-vn-33447035 2025-11-07 22:37:13,820 - DEBUG - VN ctest-vn-33447035 UUID is f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:14,137 - DEBUG - Response for create_network : {'network': {'id': '43f3652a-776e-4a1e-817f-dec8b23dc289', 'name': 'ctest-vn-39471751', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-vn-39471751'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:37:14,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6d0f22a-8bea-490a-9035-cc7dacb9fea4', 'name': '', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'network_id': '43f3652a-776e-4a1e-817f-dec8b23dc289', 'ip_version': 4, 'cidr': '70.215.110.128/26', 'allocation_pools': [{'start': '70.215.110.130', 'end': '70.215.110.190'}], 'gateway_ip': '70.215.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.215.110.130', 'tags': [], 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c'}} 2025-11-07 22:37:14,299 - INFO - Created VN ctest-vn-39471751 2025-11-07 22:37:14,352 - DEBUG - VN ctest-vn-39471751 UUID is 43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:14,495 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035, 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-80674551:ctest-vn-39471751, 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-11-07 22:37:14,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5e3b9a7-8275-4471-8085-11fe3959627c', 'name': 'ctest-vn-33447035', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe082cbe-2b50-4beb-9c2f-a4ceb27df783'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-vn-33447035'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-policy-allow-all-12078853']], 'subnet_ipam': [{'subnet_cidr': '131.97.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:37:15,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '43f3652a-776e-4a1e-817f-dec8b23dc289', 'name': 'ctest-vn-39471751', 'tenant_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'project_id': 'a04d6c7fb09d4247935b6cba92a5e99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6d0f22a-8bea-490a-9035-cc7dacb9fea4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-vn-39471751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-policy-allow-all-12078853']], 'subnet_ipam': [{'subnet_cidr': '70.215.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:37:15,196 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:15,489 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:15,519 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:15,530 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:15,600 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,618 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:15,624 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:15,629 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c37f27cb-331d-4717-856e-0c5c7d3d765d 2025-11-07 22:37:15,634 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 22:37:15,634 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,641 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:15,651 - INFO - Verified VN network id 12 for VN f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,651 - INFO - Verifications in API Server for VN ctest-vn-33447035 passed 2025-11-07 22:37:15,651 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,660 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:15,665 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:15,671 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c37f27cb-331d-4717-856e-0c5c7d3d765d 2025-11-07 22:37:15,682 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80674551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17718209488105063537', 'uuid-lslong': '9260827992338817660'}, 'enable': 'true', 'created': '2025-11-07T22:37:13', 'last-modified': '2025-11-07T22:37:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911664'} 2025-11-07 22:37:15,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 22:37:15,688 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33447035 passed 2025-11-07 22:37:15,688 - DEBUG - ====Verifying policy data for ctest-vn-33447035 in API_Server ====== 2025-11-07 22:37:15,688 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:15,693 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:15,702 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:15,768 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5e3b9a7-8275-4471-8085-11fe3959627c 2025-11-07 22:37:15,777 - DEBUG - ==>Verifying data for policy with id: c5677f82-a4eb-490b-aa44-7d3f4bab3aee, fqn: ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-policy-allow-all-12078853'] 2025-11-07 22:37:15,777 - INFO - VN ctest-vn-33447035 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 22:37:15,777 - DEBUG - Verifying the vn in opserver 2025-11-07 22:37:15,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035 virtual network link through opserver 10.0.0.22 2025-11-07 22:37:15,777 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-07 22:37:16,071 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-07 22:37:16,125 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035?flat'} 2025-11-07 22:37:16,125 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035 is found in opserver 2025-11-07 22:37:16,134 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 22:37:16,138 - DEBUG - VRF ids for VN ctest-vn-33447035: {} 2025-11-07 22:37:16,138 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:16,144 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:16,154 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:16,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,237 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,246 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:16,253 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:16,260 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f4e3b89f-1664-4a0e-8598-b0a49bdba1ad 2025-11-07 22:37:16,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 22:37:16,266 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,275 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:16,288 - INFO - Verified VN network id 13 for VN 43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,288 - INFO - Verifications in API Server for VN ctest-vn-39471751 passed 2025-11-07 22:37:16,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,297 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:16,303 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:16,310 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f4e3b89f-1664-4a0e-8598-b0a49bdba1ad 2025-11-07 22:37:16,322 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-39471751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80674551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4896368452948609566', 'uuid-lslong': '9331421906500174473'}, 'enable': 'true', 'created': '2025-11-07T22:37:14', 'last-modified': '2025-11-07T22:37:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321051'} 2025-11-07 22:37:16,327 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 22:37:16,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39471751 passed 2025-11-07 22:37:16,328 - DEBUG - ====Verifying policy data for ctest-vn-39471751 in API_Server ====== 2025-11-07 22:37:16,328 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:16,333 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:16,342 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:16,410 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/43f3652a-776e-4a1e-817f-dec8b23dc289 2025-11-07 22:37:16,418 - DEBUG - ==>Verifying data for policy with id: c5677f82-a4eb-490b-aa44-7d3f4bab3aee, fqn: ['default-domain', 'ctest-TestBasicPolicy-80674551', 'ctest-policy-allow-all-12078853'] 2025-11-07 22:37:16,418 - INFO - VN ctest-vn-39471751 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 22:37:16,418 - DEBUG - Verifying the vn in opserver 2025-11-07 22:37:16,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-39471751 virtual network link through opserver 10.0.0.22 2025-11-07 22:37:16,418 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-07 22:37:16,427 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-39471751', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-39471751?flat'} 2025-11-07 22:37:16,427 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-39471751 is found in opserver 2025-11-07 22:37:16,435 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 22:37:16,439 - DEBUG - VRF ids for VN ctest-vn-39471751: {} 2025-11-07 22:37:16,496 - DEBUG - Services list from nova: [, , ] 2025-11-07 22:37:17,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1) 2025-11-07 22:37:18,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1) 2025-11-07 22:37:18,611 - INFO - Waiting for VM ctest-TestBasicPolicy-80674551-12559189 to be up.. 2025-11-07 22:37:18,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 22:37:23,759 - DEBUG - VM is in ACTIVE state now 2025-11-07 22:37:23,759 - INFO - VM name : ctest-TestBasicPolicy-80674551-12559189 2025-11-07 22:37:23,831 - DEBUG - VM ctest-TestBasicPolicy-80674551-12559189 ID is 4b300765-c541-4c10-9b74-af0ce86ec984 2025-11-07 22:37:23,851 - DEBUG - VM ctest-TestBasicPolicy-80674551-12559189 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1 2025-11-07 22:37:23,928 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b300765-c541-4c10-9b74-af0ce86ec984 2025-11-07 22:37:23,937 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/52d05def-ab58-4b43-ad56-72362df645ce 2025-11-07 22:37:27,201 - 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 1010ms') 2025-11-07 22:37:27,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80674551-12559189 failed! 2025-11-07 22:37:27,256 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80674551:ctest-vn-33447035 is 131.97.11.129 and allocation pool is NOT set 2025-11-07 22:37:29,314 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.223/5.457/8.692/3.234 ms') 2025-11-07 22:37:29,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80674551-12559189 passed 2025-11-07 22:37:29,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:37:29,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80674551-12559189, IP 131.97.11.131, Port 22 2025-11-07 22:37:29,627 - DEBUG - VM ctest-TestBasicPolicy-80674551-12559189 is ready for SSH connections 2025-11-07 22:37:29,627 - INFO - Waiting for VM ctest-TestBasicPolicy-80674551-30722110 to be up.. 2025-11-07 22:37:29,693 - DEBUG - VM is in ACTIVE state now 2025-11-07 22:37:29,693 - INFO - VM name : ctest-TestBasicPolicy-80674551-30722110 2025-11-07 22:37:29,770 - DEBUG - VM ctest-TestBasicPolicy-80674551-30722110 ID is 98482a95-b722-4584-b65f-6efac8f6c187 2025-11-07 22:37:29,770 - DEBUG - VM ctest-TestBasicPolicy-80674551-30722110 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1 2025-11-07 22:37:29,842 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/98482a95-b722-4584-b65f-6efac8f6c187 2025-11-07 22:37:29,851 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e1c5d2f0-71f6-4abb-b8b0-24b788d642a2 2025-11-07 22:37:31,094 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.38 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 = 2.382/2.634/2.886/0.252 ms') 2025-11-07 22:37:31,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80674551-30722110 passed 2025-11-07 22:37:31,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:37:31,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80674551-30722110, IP 70.215.110.131, Port 22 2025-11-07 22:37:31,399 - DEBUG - VM ctest-TestBasicPolicy-80674551-30722110 is ready for SSH connections 2025-11-07 22:37:31,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:37:31,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.215.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-07 22:37:31,399 - DEBUG - ping -s 56 -c 3 -W 1 70.215.110.131 2025-11-07 22:37:35,386 - DEBUG - PING 70.215.110.131 (70.215.110.131): 56 data bytes 64 bytes from 70.215.110.131: seq=0 ttl=63 time=3.541 ms 64 bytes from 70.215.110.131: seq=1 ttl=63 time=1.148 ms 64 bytes from 70.215.110.131: seq=2 ttl=63 time=1.063 ms --- 70.215.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/1.917/3.541 ms 2025-11-07 22:37:35,387 - INFO - Ping to IP 70.215.110.131 from VM ctest-TestBasicPolicy-80674551-12559189 passed 2025-11-07 22:37:35,559 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5677f82-a4eb-490b-aa44-7d3f4bab3aee", "href": "http://10.0.0.22:8082/network-policy/c5677f82-a4eb-490b-aa44-7d3f4bab3aee"}} 2025-11-07 22:37:35,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:37:35,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.215.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-07 22:37:35,560 - DEBUG - ping -s 56 -c 3 -W 1 70.215.110.131 2025-11-07 22:37:38,755 - DEBUG - PING 70.215.110.131 (70.215.110.131): 56 data bytes --- 70.215.110.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 22:37:38,755 - WARNING - Ping to IP 70.215.110.131 from VM ctest-TestBasicPolicy-80674551-12559189 failed 2025-11-07 22:37:38,755 - INFO - Deleting VM ctest-TestBasicPolicy-80674551-30722110 2025-11-07 22:37:38,829 - INFO - Deleting VM ctest-TestBasicPolicy-80674551-12559189 2025-11-07 22:37:39,224 - INFO - Deleted policy ctest-policy-allow-all-12078853 2025-11-07 22:37:39,224 - INFO - Deleting VN ctest-vn-39471751 2025-11-07 22:37:39,262 - DEBUG - VN 43f3652a-776e-4a1e-817f-dec8b23dc289 still in use: Unable to complete operation on network 43f3652a-776e-4a1e-817f-dec8b23dc289. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3ea860e-9bbd-4a91-9c75-d734c8c8beb5'] 2025-11-07 22:37:39,262 - WARNING - Deleting VN ctest-vn-39471751 failed..Will retry 2025-11-07 22:37:41,358 - DEBUG - Response for deleting network () 2025-11-07 22:37:41,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a17fd184-ea03-4a38-bf5a-9fa4c9c5eaab 2025-11-07 22:37:41,365 - DEBUG - Response Code: 404 2025-11-07 22:37:41,365 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:41,369 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:41,421 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:41,488 - INFO - Validated that VN ctest-vn-39471751 is not found in API Server 2025-11-07 22:37:41,498 - DEBUG - VN ctest-vn-39471751 is not present in Agent 10.0.0.22 2025-11-07 22:37:41,498 - INFO - Validated that VN ctest-vn-39471751 is not in any agent 2025-11-07 22:37:41,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39471751 info 2025-11-07 22:37:41,508 - INFO - Deleting VN ctest-vn-33447035 2025-11-07 22:37:41,596 - DEBUG - Response for deleting network () 2025-11-07 22:37:41,597 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/73b82332-8977-4f1a-9ef6-d15569977153 2025-11-07 22:37:41,601 - DEBUG - Response Code: 404 2025-11-07 22:37:41,602 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-07 22:37:41,606 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bf08a1e0-abd2-4653-aa26-833242a4b05f 2025-11-07 22:37:41,660 - DEBUG - Requesting: http://10.0.0.22:8082/project/a04d6c7f-b09d-4247-935b-6cba92a5e99c 2025-11-07 22:37:41,727 - INFO - Validated that VN ctest-vn-33447035 is not found in API Server 2025-11-07 22:37:41,736 - DEBUG - VN ctest-vn-33447035 is not present in Agent 10.0.0.22 2025-11-07 22:37:41,736 - INFO - Validated that VN ctest-vn-33447035 is not in any agent 2025-11-07 22:37:41,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33447035 info 2025-11-07 22:37:42,001 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 22:37:42,001 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-07 22:37:42,001 - INFO - -------------------------------------------------------------------------------- 2025-11-07 22:37:42,642 - INFO - Deleted project: ctest-TestBasicPolicy-80674551, ID : a04d6c7f-b09d-4247-935b-6cba92a5e99c