2026-04-03 13:21:10,338 - INFO - Domain Default found not creating 2026-04-03 13:21:10,515 - INFO - Project ctest-TestBasicPolicy-76957423 not found, creating it 2026-04-03 13:21:11,004 - INFO - Created Project:ctest-TestBasicPolicy-76957423, ID : 4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:13,137 - INFO - ================================================================================ 2026-04-03 13:21:13,137 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-03 13:21:13,137 - 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-04-03 13:21:13,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-03 13:21:13,390 - INFO - Initial checks done. Running the testcase now 2026-04-03 13:21:13,390 - INFO - 2026-04-03 13:21:13,891 - DEBUG - Response for create_network : {'network': {'id': '96224cc6-8a99-4b97-8481-dd65c69632b1', 'name': 'ctest-vn-55372488', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'project_id': '4398164eff2b4730860bf2bbf98e842d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-vn-55372488'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 13:21:14,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8aaa6b-561b-4090-a6af-0405ed549e77', 'name': '', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'network_id': '96224cc6-8a99-4b97-8481-dd65c69632b1', 'ip_version': 4, 'cidr': '107.214.124.128/26', 'allocation_pools': [{'start': '107.214.124.130', 'end': '107.214.124.190'}], 'gateway_ip': '107.214.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.214.124.130', 'tags': [], 'project_id': '4398164eff2b4730860bf2bbf98e842d'}} 2026-04-03 13:21:14,082 - INFO - Created VN ctest-vn-55372488 2026-04-03 13:21:14,136 - DEBUG - VN ctest-vn-55372488 UUID is 96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:14,455 - DEBUG - Response for create_network : {'network': {'id': '2bdddc66-0a24-4b4d-8743-94f49393fe5e', 'name': 'ctest-vn-71518941', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'project_id': '4398164eff2b4730860bf2bbf98e842d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-vn-71518941'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 13:21:14,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '814cfda4-9b73-4ab4-b6dd-e92a3c77cc44', 'name': '', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'network_id': '2bdddc66-0a24-4b4d-8743-94f49393fe5e', 'ip_version': 4, 'cidr': '71.92.6.128/26', 'allocation_pools': [{'start': '71.92.6.130', 'end': '71.92.6.190'}], 'gateway_ip': '71.92.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.92.6.130', 'tags': [], 'project_id': '4398164eff2b4730860bf2bbf98e842d'}} 2026-04-03 13:21:14,650 - INFO - Created VN ctest-vn-71518941 2026-04-03 13:21:14,704 - DEBUG - VN ctest-vn-71518941 UUID is 2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:14,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488, 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-76957423:ctest-vn-71518941, 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-04-03 13:21:15,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96224cc6-8a99-4b97-8481-dd65c69632b1', 'name': 'ctest-vn-55372488', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'project_id': '4398164eff2b4730860bf2bbf98e842d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e8aaa6b-561b-4090-a6af-0405ed549e77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-vn-55372488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-policy-allow-all-30957532']], 'subnet_ipam': [{'subnet_cidr': '107.214.124.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 13:21:15,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bdddc66-0a24-4b4d-8743-94f49393fe5e', 'name': 'ctest-vn-71518941', 'tenant_id': '4398164eff2b4730860bf2bbf98e842d', 'project_id': '4398164eff2b4730860bf2bbf98e842d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['814cfda4-9b73-4ab4-b6dd-e92a3c77cc44'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-vn-71518941'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-policy-allow-all-30957532']], 'subnet_ipam': [{'subnet_cidr': '71.92.6.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 13:21:15,536 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:15,834 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:15,871 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:15,885 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:15,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:15,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:15,980 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:15,989 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:15,997 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5606060e-ce23-46ec-b30b-3791e1fe35ed 2026-04-03 13:21:16,004 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 13:21:16,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:16,013 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:16,025 - INFO - Verified VN network id 11 for VN 96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:16,025 - INFO - Verifications in API Server for VN ctest-vn-55372488 passed 2026-04-03 13:21:16,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:16,033 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:16,039 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:16,045 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5606060e-ce23-46ec-b30b-3791e1fe35ed 2026-04-03 13:21:16,058 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76957423', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10818293670509890455', 'uuid-lslong': '9548156114195329713'}, 'enable': 'true', 'created': '2026-04-03T13:21:13', 'last-modified': '2026-04-03T13:21:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937328'} 2026-04-03 13:21:16,066 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 13:21:16,066 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55372488 passed 2026-04-03 13:21:16,066 - DEBUG - ====Verifying policy data for ctest-vn-55372488 in API_Server ====== 2026-04-03 13:21:16,066 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:16,073 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:16,085 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:16,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96224cc6-8a99-4b97-8481-dd65c69632b1 2026-04-03 13:21:16,165 - DEBUG - ==>Verifying data for policy with id: 0d98f801-5537-4722-8486-ded1248b2d66, fqn: ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-policy-allow-all-30957532'] 2026-04-03 13:21:16,165 - INFO - VN ctest-vn-55372488 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 13:21:16,165 - DEBUG - Verifying the vn in opserver 2026-04-03 13:21:16,165 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488 virtual network link through opserver 10.0.0.38 2026-04-03 13:21:16,165 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-03 13:21:16,459 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-03 13:21:16,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488?flat'} 2026-04-03 13:21:16,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488 is found in opserver 2026-04-03 13:21:16,530 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 13:21:16,535 - DEBUG - VRF ids for VN ctest-vn-55372488: {} 2026-04-03 13:21:16,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:16,540 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:16,554 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:16,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:16,650 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:16,657 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/12bade20-59f3-4e9e-abd7-035e0cf687ed 2026-04-03 13:21:16,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 13:21:16,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,674 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:16,688 - INFO - Verified VN network id 12 for VN 2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,688 - INFO - Verifications in API Server for VN ctest-vn-71518941 passed 2026-04-03 13:21:16,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,697 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:16,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:16,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/12bade20-59f3-4e9e-abd7-035e0cf687ed 2026-04-03 13:21:16,722 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-71518941', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76957423', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3160924844298881869', 'uuid-lslong': '9746797796728766046'}, 'enable': 'true', 'created': '2026-04-03T13:21:14', 'last-modified': '2026-04-03T13:21:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372782'} 2026-04-03 13:21:16,728 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 13:21:16,728 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71518941 passed 2026-04-03 13:21:16,728 - DEBUG - ====Verifying policy data for ctest-vn-71518941 in API_Server ====== 2026-04-03 13:21:16,728 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:16,734 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:16,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:16,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bdddc66-0a24-4b4d-8743-94f49393fe5e 2026-04-03 13:21:16,820 - DEBUG - ==>Verifying data for policy with id: 0d98f801-5537-4722-8486-ded1248b2d66, fqn: ['default-domain', 'ctest-TestBasicPolicy-76957423', 'ctest-policy-allow-all-30957532'] 2026-04-03 13:21:16,820 - INFO - VN ctest-vn-71518941 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 13:21:16,820 - DEBUG - Verifying the vn in opserver 2026-04-03 13:21:16,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-71518941 virtual network link through opserver 10.0.0.38 2026-04-03 13:21:16,821 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-03 13:21:16,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-71518941', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-71518941?flat'} 2026-04-03 13:21:16,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-71518941 is found in opserver 2026-04-03 13:21:16,838 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 13:21:16,842 - DEBUG - VRF ids for VN ctest-vn-71518941: {} 2026-04-03 13:21:16,899 - DEBUG - Services list from nova: [, , ] 2026-04-03 13:21:17,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5588-1) 2026-04-03 13:21:19,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5588-1) 2026-04-03 13:21:19,038 - INFO - Waiting for VM ctest-TestBasicPolicy-76957423-36468458 to be up.. 2026-04-03 13:21:19,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 13:21:24,211 - DEBUG - VM is in ACTIVE state now 2026-04-03 13:21:24,212 - INFO - VM name : ctest-TestBasicPolicy-76957423-36468458 2026-04-03 13:21:24,293 - DEBUG - VM ctest-TestBasicPolicy-76957423-36468458 ID is fdcc70cf-7392-45dd-9eb9-c779b8836bd6 2026-04-03 13:21:24,314 - DEBUG - VM ctest-TestBasicPolicy-76957423-36468458 launched on Node cn-jenkins-deploy-platform-ansible-os-5588-1 2026-04-03 13:21:24,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdcc70cf-7392-45dd-9eb9-c779b8836bd6 2026-04-03 13:21:24,411 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48a714da-7106-4d0e-977c-4bc4594a43fe 2026-04-03 13:21:27,652 - 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 1007ms') 2026-04-03 13:21:27,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76957423-36468458 failed! 2026-04-03 13:21:27,704 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76957423:ctest-vn-55372488 is 107.214.124.129 and allocation pool is NOT set 2026-04-03 13:21:29,765 - 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=7.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.469/3.789/7.109/3.320 ms') 2026-04-03 13:21:29,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76957423-36468458 passed 2026-04-03 13:21:29,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 13:21:29,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76957423-36468458, IP 107.214.124.131, Port 22 2026-04-03 13:21:30,072 - DEBUG - VM ctest-TestBasicPolicy-76957423-36468458 is ready for SSH connections 2026-04-03 13:21:30,072 - INFO - Waiting for VM ctest-TestBasicPolicy-76957423-41359728 to be up.. 2026-04-03 13:21:30,155 - DEBUG - VM is in ACTIVE state now 2026-04-03 13:21:30,155 - INFO - VM name : ctest-TestBasicPolicy-76957423-41359728 2026-04-03 13:21:30,234 - DEBUG - VM ctest-TestBasicPolicy-76957423-41359728 ID is 2503ed84-50f7-4d85-8aa8-4cb2cab30731 2026-04-03 13:21:30,234 - DEBUG - VM ctest-TestBasicPolicy-76957423-41359728 launched on Node cn-jenkins-deploy-platform-ansible-os-5588-1 2026-04-03 13:21:30,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2503ed84-50f7-4d85-8aa8-4cb2cab30731 2026-04-03 13:21:30,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/90845aba-2643-4f93-bef6-1fd1340f544e 2026-04-03 13:21:31,557 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.482/1.864/3.247/1.382 ms') 2026-04-03 13:21:31,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76957423-41359728 passed 2026-04-03 13:21:31,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 13:21:31,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76957423-41359728, IP 71.92.6.131, Port 22 2026-04-03 13:21:31,860 - DEBUG - VM ctest-TestBasicPolicy-76957423-41359728 is ready for SSH connections 2026-04-03 13:21:31,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 13:21:31,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.92.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-03 13:21:31,860 - DEBUG - ping -s 56 -c 3 -W 1 71.92.6.131 2026-04-03 13:21:35,890 - DEBUG - PING 71.92.6.131 (71.92.6.131): 56 data bytes 64 bytes from 71.92.6.131: seq=0 ttl=63 time=3.276 ms 64 bytes from 71.92.6.131: seq=1 ttl=63 time=0.991 ms 64 bytes from 71.92.6.131: seq=2 ttl=63 time=0.742 ms --- 71.92.6.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.669/3.276 ms 2026-04-03 13:21:35,891 - INFO - Ping to IP 71.92.6.131 from VM ctest-TestBasicPolicy-76957423-36468458 passed 2026-04-03 13:21:36,076 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0d98f801-5537-4722-8486-ded1248b2d66", "href": "http://10.0.0.38:8082/network-policy/0d98f801-5537-4722-8486-ded1248b2d66"}} 2026-04-03 13:21:36,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 13:21:36,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.92.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-03 13:21:36,076 - DEBUG - ping -s 56 -c 3 -W 1 71.92.6.131 2026-04-03 13:21:39,312 - DEBUG - PING 71.92.6.131 (71.92.6.131): 56 data bytes --- 71.92.6.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-03 13:21:39,312 - WARNING - Ping to IP 71.92.6.131 from VM ctest-TestBasicPolicy-76957423-36468458 failed 2026-04-03 13:21:39,312 - INFO - Deleting VM ctest-TestBasicPolicy-76957423-41359728 2026-04-03 13:21:39,380 - INFO - Deleting VM ctest-TestBasicPolicy-76957423-36468458 2026-04-03 13:21:39,770 - INFO - Deleted policy ctest-policy-allow-all-30957532 2026-04-03 13:21:39,770 - INFO - Deleting VN ctest-vn-71518941 2026-04-03 13:21:39,819 - DEBUG - VN 2bdddc66-0a24-4b4d-8743-94f49393fe5e still in use: Unable to complete operation on network 2bdddc66-0a24-4b4d-8743-94f49393fe5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85da097f-9c5b-490c-b250-8c5fdf99937f'] 2026-04-03 13:21:39,819 - WARNING - Deleting VN ctest-vn-71518941 failed..Will retry 2026-04-03 13:21:41,919 - DEBUG - Response for deleting network () 2026-04-03 13:21:41,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d849219-c5bb-425d-b457-5cfaac748e37 2026-04-03 13:21:41,925 - DEBUG - Response Code: 404 2026-04-03 13:21:41,925 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:41,931 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:41,986 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:42,059 - INFO - Validated that VN ctest-vn-71518941 is not found in API Server 2026-04-03 13:21:42,070 - DEBUG - VN ctest-vn-71518941 is not present in Agent 10.0.0.38 2026-04-03 13:21:42,070 - INFO - Validated that VN ctest-vn-71518941 is not in any agent 2026-04-03 13:21:42,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71518941 info 2026-04-03 13:21:42,085 - INFO - Deleting VN ctest-vn-55372488 2026-04-03 13:21:42,190 - DEBUG - Response for deleting network () 2026-04-03 13:21:42,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49a70900-ed83-41c4-8032-c4e5b221a4d4 2026-04-03 13:21:42,198 - DEBUG - Response Code: 404 2026-04-03 13:21:42,198 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-03 13:21:42,203 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d3fa6066-2972-4f98-9aa3-c23174dd5620 2026-04-03 13:21:42,259 - DEBUG - Requesting: http://10.0.0.38:8082/project/4398164e-ff2b-4730-860b-f2bbf98e842d 2026-04-03 13:21:42,328 - INFO - Validated that VN ctest-vn-55372488 is not found in API Server 2026-04-03 13:21:42,338 - DEBUG - VN ctest-vn-55372488 is not present in Agent 10.0.0.38 2026-04-03 13:21:42,338 - INFO - Validated that VN ctest-vn-55372488 is not in any agent 2026-04-03 13:21:42,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55372488 info 2026-04-03 13:21:42,605 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 13:21:42,605 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-03 13:21:42,605 - INFO - -------------------------------------------------------------------------------- 2026-04-03 13:21:43,299 - INFO - Deleted project: ctest-TestBasicPolicy-76957423, ID : 4398164e-ff2b-4730-860b-f2bbf98e842d