2026-01-07 15:40:27,197 - INFO - Domain Default found not creating 2026-01-07 15:40:27,337 - INFO - Project ctest-TestBasicPolicy-67093140 not found, creating it 2026-01-07 15:40:27,759 - INFO - Created Project:ctest-TestBasicPolicy-67093140, ID : 43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:29,116 - INFO - ================================================================================ 2026-01-07 15:40:29,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-07 15:40:29,116 - 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 2026-01-07 15:40:29,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-07 15:40:29,372 - INFO - Initial checks done. Running the testcase now 2026-01-07 15:40:29,372 - INFO - 2026-01-07 15:40:29,873 - DEBUG - Response for create_network : {'network': {'id': '8ed0dc80-1c67-436a-a200-f82481b65159', 'name': 'ctest-vn-99598922', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'project_id': '43405010cf344a668bf873d2bc6751fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-vn-99598922'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 15:40:30,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a100486-4008-47d1-9e14-65faac71c13d', 'name': '', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'network_id': '8ed0dc80-1c67-436a-a200-f82481b65159', 'ip_version': 4, 'cidr': '163.57.212.128/26', 'allocation_pools': [{'start': '163.57.212.130', 'end': '163.57.212.190'}], 'gateway_ip': '163.57.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.57.212.130', 'tags': [], 'project_id': '43405010cf344a668bf873d2bc6751fd'}} 2026-01-07 15:40:30,069 - INFO - Created VN ctest-vn-99598922 2026-01-07 15:40:30,120 - DEBUG - VN ctest-vn-99598922 UUID is 8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:30,411 - DEBUG - Response for create_network : {'network': {'id': 'fcaca00c-68bc-4b0e-a23e-422e0b580785', 'name': 'ctest-vn-28322609', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'project_id': '43405010cf344a668bf873d2bc6751fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-vn-28322609'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 15:40:30,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '82754913-afc6-4e4c-998f-fc7f7b852fed', 'name': '', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'network_id': 'fcaca00c-68bc-4b0e-a23e-422e0b580785', 'ip_version': 4, 'cidr': '203.142.201.0/26', 'allocation_pools': [{'start': '203.142.201.2', 'end': '203.142.201.62'}], 'gateway_ip': '203.142.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.142.201.2', 'tags': [], 'project_id': '43405010cf344a668bf873d2bc6751fd'}} 2026-01-07 15:40:30,615 - INFO - Created VN ctest-vn-28322609 2026-01-07 15:40:30,668 - DEBUG - VN ctest-vn-28322609 UUID is fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:30,808 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922, 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-67093140:ctest-vn-28322609, 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] 2026-01-07 15:40:31,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ed0dc80-1c67-436a-a200-f82481b65159', 'name': 'ctest-vn-99598922', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'project_id': '43405010cf344a668bf873d2bc6751fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a100486-4008-47d1-9e14-65faac71c13d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-vn-99598922'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-policy-allow-all-35159592']], 'subnet_ipam': [{'subnet_cidr': '163.57.212.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 15:40:31,278 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcaca00c-68bc-4b0e-a23e-422e0b580785', 'name': 'ctest-vn-28322609', 'tenant_id': '43405010cf344a668bf873d2bc6751fd', 'project_id': '43405010cf344a668bf873d2bc6751fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82754913-afc6-4e4c-998f-fc7f7b852fed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-vn-28322609'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-policy-allow-all-35159592']], 'subnet_ipam': [{'subnet_cidr': '203.142.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 15:40:31,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:31,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:31,749 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:31,759 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:31,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:31,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:31,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:31,852 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:31,857 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a4a8802c-2718-4133-bfa4-cd0f18b7b4b2 2026-01-07 15:40:31,862 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 15:40:31,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:31,869 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:31,880 - INFO - Verified VN network id 11 for VN 8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:31,881 - INFO - Verifications in API Server for VN ctest-vn-99598922 passed 2026-01-07 15:40:31,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:31,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:31,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:31,899 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a4a8802c-2718-4133-bfa4-cd0f18b7b4b2 2026-01-07 15:40:31,910 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67093140', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10290967591332037482', 'uuid-lslong': '11673603069823045977'}, 'enable': 'true', 'created': '2026-01-07T15:40:29', 'last-modified': '2026-01-07T15:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.854962'} 2026-01-07 15:40:31,917 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 15:40:31,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99598922 passed 2026-01-07 15:40:31,917 - DEBUG - ====Verifying policy data for ctest-vn-99598922 in API_Server ====== 2026-01-07 15:40:31,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:31,923 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:31,932 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:32,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8ed0dc80-1c67-436a-a200-f82481b65159 2026-01-07 15:40:32,007 - DEBUG - ==>Verifying data for policy with id: 7eeb9521-0cec-4377-8007-a40300db42db, fqn: ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-policy-allow-all-35159592'] 2026-01-07 15:40:32,007 - INFO - VN ctest-vn-99598922 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 15:40:32,007 - DEBUG - Verifying the vn in opserver 2026-01-07 15:40:32,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922 virtual network link through opserver 10.0.0.38 2026-01-07 15:40:32,007 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 15:40:32,295 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 15:40:32,347 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922?flat'} 2026-01-07 15:40:32,347 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922 is found in opserver 2026-01-07 15:40:32,356 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 15:40:32,359 - DEBUG - VRF ids for VN ctest-vn-99598922: {} 2026-01-07 15:40:32,359 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:32,365 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:32,374 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:32,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,448 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:32,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:32,464 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/927ece8d-000a-4de5-94bd-15fe796559c5 2026-01-07 15:40:32,469 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 15:40:32,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,475 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:32,485 - INFO - Verified VN network id 12 for VN fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,485 - INFO - Verifications in API Server for VN ctest-vn-28322609 passed 2026-01-07 15:40:32,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:32,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:32,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/927ece8d-000a-4de5-94bd-15fe796559c5 2026-01-07 15:40:32,510 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-28322609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67093140', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18207103368709294862', 'uuid-lslong': '11690854448226633605'}, 'enable': 'true', 'created': '2026-01-07T15:40:30', 'last-modified': '2026-01-07T15:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.252730'} 2026-01-07 15:40:32,515 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 15:40:32,515 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28322609 passed 2026-01-07 15:40:32,515 - DEBUG - ====Verifying policy data for ctest-vn-28322609 in API_Server ====== 2026-01-07 15:40:32,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:32,518 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:32,526 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:32,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcaca00c-68bc-4b0e-a23e-422e0b580785 2026-01-07 15:40:32,605 - DEBUG - ==>Verifying data for policy with id: 7eeb9521-0cec-4377-8007-a40300db42db, fqn: ['default-domain', 'ctest-TestBasicPolicy-67093140', 'ctest-policy-allow-all-35159592'] 2026-01-07 15:40:32,605 - INFO - VN ctest-vn-28322609 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 15:40:32,605 - DEBUG - Verifying the vn in opserver 2026-01-07 15:40:32,605 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-28322609 virtual network link through opserver 10.0.0.38 2026-01-07 15:40:32,605 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 15:40:32,613 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-28322609', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-28322609?flat'} 2026-01-07 15:40:32,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-28322609 is found in opserver 2026-01-07 15:40:32,621 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 15:40:32,625 - DEBUG - VRF ids for VN ctest-vn-28322609: {} 2026-01-07 15:40:32,674 - DEBUG - Services list from nova: [, , ] 2026-01-07 15:40:33,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4974-1) 2026-01-07 15:40:34,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4974-1) 2026-01-07 15:40:34,660 - INFO - Waiting for VM ctest-TestBasicPolicy-67093140-89098238 to be up.. 2026-01-07 15:40:34,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 15:40:39,800 - DEBUG - VM is in ACTIVE state now 2026-01-07 15:40:39,800 - INFO - VM name : ctest-TestBasicPolicy-67093140-89098238 2026-01-07 15:40:39,868 - DEBUG - VM ctest-TestBasicPolicy-67093140-89098238 ID is 69c89e0c-2273-44e1-9b0e-36585c91676e 2026-01-07 15:40:39,887 - DEBUG - VM ctest-TestBasicPolicy-67093140-89098238 launched on Node cn-jenkins-deploy-platform-ansible-os-4974-1 2026-01-07 15:40:39,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69c89e0c-2273-44e1-9b0e-36585c91676e 2026-01-07 15:40:39,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8edb86e8-c6b7-4a43-99c5-5980d17bfbbc 2026-01-07 15:40:43,204 - 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 1011ms') 2026-01-07 15:40:43,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67093140-89098238 failed! 2026-01-07 15:40:43,256 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67093140:ctest-vn-99598922 is 163.57.212.129 and allocation pool is NOT set 2026-01-07 15:40:45,321 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/1.504/2.683/1.179 ms') 2026-01-07 15:40:45,321 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67093140-89098238 passed 2026-01-07 15:40:45,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 15:40:45,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67093140-89098238, IP 163.57.212.131, Port 22 2026-01-07 15:40:45,628 - DEBUG - VM ctest-TestBasicPolicy-67093140-89098238 is ready for SSH connections 2026-01-07 15:40:45,628 - INFO - Waiting for VM ctest-TestBasicPolicy-67093140-71430131 to be up.. 2026-01-07 15:40:45,691 - DEBUG - VM is in ACTIVE state now 2026-01-07 15:40:45,691 - INFO - VM name : ctest-TestBasicPolicy-67093140-71430131 2026-01-07 15:40:45,748 - DEBUG - VM ctest-TestBasicPolicy-67093140-71430131 ID is 1c8c05ee-2968-4ceb-ad33-933c56f73676 2026-01-07 15:40:45,748 - DEBUG - VM ctest-TestBasicPolicy-67093140-71430131 launched on Node cn-jenkins-deploy-platform-ansible-os-4974-1 2026-01-07 15:40:45,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c8c05ee-2968-4ceb-ad33-933c56f73676 2026-01-07 15:40:45,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2be33c1f-ddbe-4c7e-8f91-ea0bb3279da4 2026-01-07 15:40:47,042 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.522/2.661/1.139 ms') 2026-01-07 15:40:47,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67093140-71430131 passed 2026-01-07 15:40:47,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 15:40:47,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67093140-71430131, IP 203.142.201.3, Port 22 2026-01-07 15:40:47,343 - DEBUG - VM ctest-TestBasicPolicy-67093140-71430131 is ready for SSH connections 2026-01-07 15:40:47,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 15:40:47,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.142.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 15:40:47,344 - DEBUG - ping -s 56 -c 3 -W 1 203.142.201.3 2026-01-07 15:40:51,319 - DEBUG - PING 203.142.201.3 (203.142.201.3): 56 data bytes 64 bytes from 203.142.201.3: seq=0 ttl=63 time=3.035 ms 64 bytes from 203.142.201.3: seq=1 ttl=63 time=0.751 ms 64 bytes from 203.142.201.3: seq=2 ttl=63 time=0.837 ms --- 203.142.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/1.541/3.035 ms 2026-01-07 15:40:51,319 - INFO - Ping to IP 203.142.201.3 from VM ctest-TestBasicPolicy-67093140-89098238 passed 2026-01-07 15:40:51,488 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7eeb9521-0cec-4377-8007-a40300db42db", "href": "http://10.0.0.38:8082/network-policy/7eeb9521-0cec-4377-8007-a40300db42db"}} 2026-01-07 15:40:51,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 15:40:51,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.142.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 15:40:51,488 - DEBUG - ping -s 56 -c 3 -W 1 203.142.201.3 2026-01-07 15:40:54,697 - DEBUG - PING 203.142.201.3 (203.142.201.3): 56 data bytes 64 bytes from 203.142.201.3: seq=0 ttl=63 time=1.158 ms --- 203.142.201.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.158/1.158/1.158 ms 2026-01-07 15:40:54,698 - WARNING - Ping to IP 203.142.201.3 from VM ctest-TestBasicPolicy-67093140-89098238 failed 2026-01-07 15:40:54,698 - INFO - Deleting VM ctest-TestBasicPolicy-67093140-71430131 2026-01-07 15:40:54,759 - INFO - Deleting VM ctest-TestBasicPolicy-67093140-89098238 2026-01-07 15:40:55,089 - INFO - Deleted policy ctest-policy-allow-all-35159592 2026-01-07 15:40:55,090 - INFO - Deleting VN ctest-vn-28322609 2026-01-07 15:40:55,137 - DEBUG - VN fcaca00c-68bc-4b0e-a23e-422e0b580785 still in use: Unable to complete operation on network fcaca00c-68bc-4b0e-a23e-422e0b580785. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da5ff48d-873f-4092-8ac5-8cfe1830ec8e'] 2026-01-07 15:40:55,137 - WARNING - Deleting VN ctest-vn-28322609 failed..Will retry 2026-01-07 15:40:57,234 - DEBUG - Response for deleting network () 2026-01-07 15:40:57,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ece89a0f-1b73-4c31-8d1c-128261af9067 2026-01-07 15:40:57,239 - DEBUG - Response Code: 404 2026-01-07 15:40:57,239 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:57,244 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:57,297 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:57,367 - INFO - Validated that VN ctest-vn-28322609 is not found in API Server 2026-01-07 15:40:57,379 - DEBUG - VN ctest-vn-28322609 is not present in Agent 10.0.0.38 2026-01-07 15:40:57,379 - INFO - Validated that VN ctest-vn-28322609 is not in any agent 2026-01-07 15:40:57,392 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28322609 info 2026-01-07 15:40:57,392 - INFO - Deleting VN ctest-vn-99598922 2026-01-07 15:40:57,476 - DEBUG - Response for deleting network () 2026-01-07 15:40:57,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f617ef0-83a8-4b77-889a-bdfe83565c84 2026-01-07 15:40:57,481 - DEBUG - Response Code: 404 2026-01-07 15:40:57,481 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 15:40:57,488 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4bbd2eb6-9e1d-4df7-b005-e6a90b7c79a4 2026-01-07 15:40:57,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/43405010-cf34-4a66-8bf8-73d2bc6751fd 2026-01-07 15:40:57,614 - INFO - Validated that VN ctest-vn-99598922 is not found in API Server 2026-01-07 15:40:57,624 - DEBUG - VN ctest-vn-99598922 is not present in Agent 10.0.0.38 2026-01-07 15:40:57,624 - INFO - Validated that VN ctest-vn-99598922 is not in any agent 2026-01-07 15:40:57,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99598922 info 2026-01-07 15:40:57,887 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 15:40:57,887 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2026-01-07 15:40:57,887 - INFO - -------------------------------------------------------------------------------- 2026-01-07 15:40:58,530 - INFO - Deleted project: ctest-TestBasicPolicy-67093140, ID : 43405010-cf34-4a66-8bf8-73d2bc6751fd