2025-08-28 17:14:48,358 - INFO - Domain Default found not creating 2025-08-28 17:14:48,508 - INFO - Project ctest-TestBasicPolicy-67756431 not found, creating it 2025-08-28 17:14:48,933 - INFO - Created Project:ctest-TestBasicPolicy-67756431, ID : c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:14:50,219 - INFO - ================================================================================ 2025-08-28 17:14:50,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 17:14:50,219 - 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-08-28 17:14:50,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-28 17:14:50,476 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:14:50,476 - INFO - 2025-08-28 17:14:50,973 - DEBUG - Response for create_network : {'network': {'id': '8b85dca8-ba59-4533-965a-85231b8fa0ca', 'name': 'ctest-vn-34468703', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-vn-34468703'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:51,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ae910e7-6180-45a3-9965-46c35e8d650e', 'name': '', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'network_id': '8b85dca8-ba59-4533-965a-85231b8fa0ca', 'ip_version': 4, 'cidr': '95.74.96.192/26', 'allocation_pools': [{'start': '95.74.96.194', 'end': '95.74.96.254'}], 'gateway_ip': '95.74.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.74.96.194', 'tags': [], 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78'}} 2025-08-28 17:14:51,167 - INFO - Created VN ctest-vn-34468703 2025-08-28 17:14:51,217 - DEBUG - VN ctest-vn-34468703 UUID is 8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:51,498 - DEBUG - Response for create_network : {'network': {'id': 'fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff', 'name': 'ctest-vn-22273875', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-vn-22273875'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:51,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '65164f08-2aa7-45c7-a0a6-da77a2ef7d7c', 'name': '', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'network_id': 'fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff', 'ip_version': 4, 'cidr': '105.98.110.64/26', 'allocation_pools': [{'start': '105.98.110.66', 'end': '105.98.110.126'}], 'gateway_ip': '105.98.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.98.110.66', 'tags': [], 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78'}} 2025-08-28 17:14:51,710 - INFO - Created VN ctest-vn-22273875 2025-08-28 17:14:51,761 - DEBUG - VN ctest-vn-22273875 UUID is fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:51,900 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703, 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-67756431:ctest-vn-22273875, 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-08-28 17:14:52,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b85dca8-ba59-4533-965a-85231b8fa0ca', 'name': 'ctest-vn-34468703', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ae910e7-6180-45a3-9965-46c35e8d650e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-vn-34468703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-policy-allow-all-59602533']], 'subnet_ipam': [{'subnet_cidr': '95.74.96.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:52,382 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff', 'name': 'ctest-vn-22273875', 'tenant_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'project_id': 'c64038b8e97a4ec49ba589cba57f8a78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65164f08-2aa7-45c7-a0a6-da77a2ef7d7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-vn-22273875'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-policy-allow-all-59602533']], 'subnet_ipam': [{'subnet_cidr': '105.98.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:52,573 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:14:52,863 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:14:52,887 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:14:52,896 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:14:52,965 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:52,973 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:52,980 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:14:52,985 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:14:52,989 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/955afea1-127d-4da8-a3f0-949f831b0436 2025-08-28 17:14:52,994 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 17:14:52,994 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:53,000 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:14:53,010 - INFO - Verified VN network id 12 for VN 8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:53,010 - INFO - Verifications in API Server for VN ctest-vn-34468703 passed 2025-08-28 17:14:53,011 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:53,017 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:14:53,023 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:14:53,028 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/955afea1-127d-4da8-a3f0-949f831b0436 2025-08-28 17:14:53,037 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67756431', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10053684360413529395', 'uuid-lslong': '10834118239425896650'}, 'enable': 'true', 'created': '2025-08-28T17:14:50', 'last-modified': '2025-08-28T17:14:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887048'} 2025-08-28 17:14:53,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 17:14:53,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34468703 passed 2025-08-28 17:14:53,042 - DEBUG - ====Verifying policy data for ctest-vn-34468703 in API_Server ====== 2025-08-28 17:14:53,042 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:14:53,046 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:14:53,054 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:14:53,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8b85dca8-ba59-4533-965a-85231b8fa0ca 2025-08-28 17:14:53,126 - DEBUG - ==>Verifying data for policy with id: f2309433-1d7e-4a46-a8ed-b6619e0be15b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-policy-allow-all-59602533'] 2025-08-28 17:14:53,126 - INFO - VN ctest-vn-34468703 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 17:14:53,126 - DEBUG - Verifying the vn in opserver 2025-08-28 17:14:53,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703 virtual network link through opserver 10.0.0.22 2025-08-28 17:14:53,127 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-28 17:14:53,412 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-28 17:14:53,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703?flat'} 2025-08-28 17:14:53,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703 is found in opserver 2025-08-28 17:14:53,464 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 17:14:53,467 - DEBUG - VRF ids for VN ctest-vn-34468703: {} 2025-08-28 17:14:53,468 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:14:53,472 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:14:53,480 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:14:53,543 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,559 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:14:53,565 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:14:53,571 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2901ca07-3712-43f3-8aaf-dee8fe1e4de5 2025-08-28 17:14:53,576 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 17:14:53,576 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,584 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:14:53,595 - INFO - Verified VN network id 13 for VN fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,595 - INFO - Verifications in API Server for VN ctest-vn-22273875 passed 2025-08-28 17:14:53,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,602 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:14:53,606 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:14:53,611 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2901ca07-3712-43f3-8aaf-dee8fe1e4de5 2025-08-28 17:14:53,620 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-22273875', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67756431', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18079314390757622748', 'uuid-lslong': '9702852064414729983'}, 'enable': 'true', 'created': '2025-08-28T17:14:51', 'last-modified': '2025-08-28T17:14:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.257612'} 2025-08-28 17:14:53,625 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 17:14:53,625 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22273875 passed 2025-08-28 17:14:53,625 - DEBUG - ====Verifying policy data for ctest-vn-22273875 in API_Server ====== 2025-08-28 17:14:53,625 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:14:53,629 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:14:53,637 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:14:53,702 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff 2025-08-28 17:14:53,710 - DEBUG - ==>Verifying data for policy with id: f2309433-1d7e-4a46-a8ed-b6619e0be15b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67756431', 'ctest-policy-allow-all-59602533'] 2025-08-28 17:14:53,710 - INFO - VN ctest-vn-22273875 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 17:14:53,710 - DEBUG - Verifying the vn in opserver 2025-08-28 17:14:53,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-22273875 virtual network link through opserver 10.0.0.22 2025-08-28 17:14:53,710 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-28 17:14:53,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-22273875', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-22273875?flat'} 2025-08-28 17:14:53,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-22273875 is found in opserver 2025-08-28 17:14:53,725 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 17:14:53,729 - DEBUG - VRF ids for VN ctest-vn-22273875: {} 2025-08-28 17:14:53,776 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:14:54,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:14:55,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:14:55,753 - INFO - Waiting for VM ctest-TestBasicPolicy-67756431-73825921 to be up.. 2025-08-28 17:14:55,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:15:00,885 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:15:00,885 - INFO - VM name : ctest-TestBasicPolicy-67756431-73825921 2025-08-28 17:15:00,947 - DEBUG - VM ctest-TestBasicPolicy-67756431-73825921 ID is b4d47510-8e1f-45b1-a0dc-cc3cb58c3634 2025-08-28 17:15:00,963 - DEBUG - VM ctest-TestBasicPolicy-67756431-73825921 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:15:01,023 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b4d47510-8e1f-45b1-a0dc-cc3cb58c3634 2025-08-28 17:15:01,030 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/266ae730-e717-4199-accb-ba4bac1e0ae5 2025-08-28 17:15:04,267 - 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 1012ms') 2025-08-28 17:15:04,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67756431-73825921 failed! 2025-08-28 17:15:04,321 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67756431:ctest-vn-34468703 is 95.74.96.193 and allocation pool is NOT set 2025-08-28 17:15:06,378 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.392/1.554/2.716/1.162 ms') 2025-08-28 17:15:06,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67756431-73825921 passed 2025-08-28 17:15:06,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:15:06,529 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67756431-73825921, IP 95.74.96.195, Port 22 2025-08-28 17:15:06,684 - DEBUG - VM ctest-TestBasicPolicy-67756431-73825921 is ready for SSH connections 2025-08-28 17:15:06,684 - INFO - Waiting for VM ctest-TestBasicPolicy-67756431-25106662 to be up.. 2025-08-28 17:15:06,747 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:15:06,747 - INFO - VM name : ctest-TestBasicPolicy-67756431-25106662 2025-08-28 17:15:06,809 - DEBUG - VM ctest-TestBasicPolicy-67756431-25106662 ID is 5c00d525-4a71-45e4-a3fb-1d9b01b0f178 2025-08-28 17:15:06,809 - DEBUG - VM ctest-TestBasicPolicy-67756431-25106662 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:15:06,870 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c00d525-4a71-45e4-a3fb-1d9b01b0f178 2025-08-28 17:15:06,876 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4bd5f493-0b62-46a7-8762-de4852249293 2025-08-28 17:15:08,099 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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.321/1.674/3.028/1.353 ms') 2025-08-28 17:15:08,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67756431-25106662 passed 2025-08-28 17:15:08,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:15:08,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67756431-25106662, IP 105.98.110.67, Port 22 2025-08-28 17:15:08,392 - DEBUG - VM ctest-TestBasicPolicy-67756431-25106662 is ready for SSH connections 2025-08-28 17:15:08,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:15:08,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.98.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-28 17:15:08,392 - DEBUG - ping -s 56 -c 3 -W 1 105.98.110.67 2025-08-28 17:15:12,069 - DEBUG - PING 105.98.110.67 (105.98.110.67): 56 data bytes 64 bytes from 105.98.110.67: seq=0 ttl=63 time=3.121 ms 64 bytes from 105.98.110.67: seq=1 ttl=63 time=0.759 ms 64 bytes from 105.98.110.67: seq=2 ttl=63 time=0.792 ms --- 105.98.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.557/3.121 ms 2025-08-28 17:15:12,069 - INFO - Ping to IP 105.98.110.67 from VM ctest-TestBasicPolicy-67756431-73825921 passed 2025-08-28 17:15:12,236 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2309433-1d7e-4a46-a8ed-b6619e0be15b", "href": "http://10.0.0.22:8082/network-policy/f2309433-1d7e-4a46-a8ed-b6619e0be15b"}} 2025-08-28 17:15:12,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:15:12,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.98.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-28 17:15:12,237 - DEBUG - ping -s 56 -c 3 -W 1 105.98.110.67 2025-08-28 17:15:15,427 - DEBUG - PING 105.98.110.67 (105.98.110.67): 56 data bytes 64 bytes from 105.98.110.67: seq=0 ttl=63 time=1.181 ms --- 105.98.110.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.181/1.181/1.181 ms 2025-08-28 17:15:15,427 - WARNING - Ping to IP 105.98.110.67 from VM ctest-TestBasicPolicy-67756431-73825921 failed 2025-08-28 17:15:15,427 - INFO - Deleting VM ctest-TestBasicPolicy-67756431-25106662 2025-08-28 17:15:15,488 - INFO - Deleting VM ctest-TestBasicPolicy-67756431-73825921 2025-08-28 17:15:15,790 - INFO - Deleted policy ctest-policy-allow-all-59602533 2025-08-28 17:15:15,791 - INFO - Deleting VN ctest-vn-22273875 2025-08-28 17:15:15,824 - DEBUG - VN fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff still in use: Unable to complete operation on network fae6a0a6-6bb7-43dc-86a7-748b6f9b06ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e822c06d-0ffe-4001-807c-f31582f32606'] 2025-08-28 17:15:15,825 - WARNING - Deleting VN ctest-vn-22273875 failed..Will retry 2025-08-28 17:15:17,914 - DEBUG - Response for deleting network () 2025-08-28 17:15:17,914 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6872824f-ca48-45eb-bf7a-b8977adcad90 2025-08-28 17:15:17,918 - DEBUG - Response Code: 404 2025-08-28 17:15:17,918 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:15:17,922 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:15:17,974 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:15:18,040 - INFO - Validated that VN ctest-vn-22273875 is not found in API Server 2025-08-28 17:15:18,047 - DEBUG - VN ctest-vn-22273875 is not present in Agent 10.0.0.22 2025-08-28 17:15:18,047 - INFO - Validated that VN ctest-vn-22273875 is not in any agent 2025-08-28 17:15:18,058 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22273875 info 2025-08-28 17:15:18,058 - INFO - Deleting VN ctest-vn-34468703 2025-08-28 17:15:18,142 - DEBUG - Response for deleting network () 2025-08-28 17:15:18,142 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2875d5f4-8a63-4698-a417-e9d41ffec321 2025-08-28 17:15:18,148 - DEBUG - Response Code: 404 2025-08-28 17:15:18,148 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-28 17:15:18,152 - DEBUG - Requesting: http://10.0.0.22:8082/domain/158ea9c4-f017-4a50-a1ad-cb663037c8ec 2025-08-28 17:15:18,200 - DEBUG - Requesting: http://10.0.0.22:8082/project/c64038b8-e97a-4ec4-9ba5-89cba57f8a78 2025-08-28 17:15:18,265 - INFO - Validated that VN ctest-vn-34468703 is not found in API Server 2025-08-28 17:15:18,273 - DEBUG - VN ctest-vn-34468703 is not present in Agent 10.0.0.22 2025-08-28 17:15:18,273 - INFO - Validated that VN ctest-vn-34468703 is not in any agent 2025-08-28 17:15:18,284 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34468703 info 2025-08-28 17:15:18,540 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 17:15:18,540 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-28 17:15:18,540 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:15:19,166 - INFO - Deleted project: ctest-TestBasicPolicy-67756431, ID : c64038b8-e97a-4ec4-9ba5-89cba57f8a78