2026-06-01 13:25:40,145 - INFO - Domain Default found not creating 2026-06-01 13:25:40,295 - INFO - Project ctest-TestBasicPolicy-32529039 not found, creating it 2026-06-01 13:25:40,729 - INFO - Created Project:ctest-TestBasicPolicy-32529039, ID : 3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:25:42,761 - INFO - ================================================================================ 2026-06-01 13:25:42,761 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 13:25:42,761 - 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-06-01 13:25:43,018 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-06-01 13:25:43,018 - INFO - Initial checks done. Running the testcase now 2026-06-01 13:25:43,019 - INFO - 2026-06-01 13:25:43,549 - DEBUG - Response for create_network : {'network': {'id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'name': 'ctest-vn-14093817', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-14093817'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:25:43,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '620d0efd-c814-4bd6-a526-91a9a0737250', 'name': '', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'network_id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'ip_version': 4, 'cidr': '136.38.51.128/26', 'allocation_pools': [{'start': '136.38.51.130', 'end': '136.38.51.190'}], 'gateway_ip': '136.38.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.38.51.130', 'tags': [], 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a'}} 2026-06-01 13:25:43,748 - INFO - Created VN ctest-vn-14093817 2026-06-01 13:25:43,801 - DEBUG - VN ctest-vn-14093817 UUID is e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:44,114 - DEBUG - Response for create_network : {'network': {'id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'name': 'ctest-vn-92773366', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-92773366'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:25:44,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0931daf-eedb-42ac-8946-e729d45a65b0', 'name': '', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'network_id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'ip_version': 4, 'cidr': '119.220.221.64/26', 'allocation_pools': [{'start': '119.220.221.66', 'end': '119.220.221.126'}], 'gateway_ip': '119.220.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.220.221.66', 'tags': [], 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a'}} 2026-06-01 13:25:44,292 - INFO - Created VN ctest-vn-92773366 2026-06-01 13:25:44,345 - DEBUG - VN ctest-vn-92773366 UUID is f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:44,497 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817, 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-32529039:ctest-vn-92773366, 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-06-01 13:25:44,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'name': 'ctest-vn-14093817', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['620d0efd-c814-4bd6-a526-91a9a0737250'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-14093817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']], 'subnet_ipam': [{'subnet_cidr': '136.38.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:25:45,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'name': 'ctest-vn-92773366', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0931daf-eedb-42ac-8946-e729d45a65b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-92773366'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']], 'subnet_ipam': [{'subnet_cidr': '119.220.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:25:45,173 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:25:45,469 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:25:45,497 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:25:45,507 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:25:45,573 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,584 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,592 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:25:45,599 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:25:45,605 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/39a035e4-f9cd-4b1b-8909-9dc5b1437afa 2026-06-01 13:25:45,611 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 13:25:45,612 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,620 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:25:45,632 - INFO - Verified VN network id 10 for VN e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,632 - INFO - Verifications in API Server for VN ctest-vn-14093817 passed 2026-06-01 13:25:45,632 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,640 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:25:45,647 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:25:45,653 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/39a035e4-f9cd-4b1b-8909-9dc5b1437afa 2026-06-01 13:25:45,664 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32529039', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16594987569332765165', 'uuid-lslong': '11387380400781944591'}, 'enable': 'true', 'created': '2026-06-01T13:25:43', 'last-modified': '2026-06-01T13:25:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895623'} 2026-06-01 13:25:45,670 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 13:25:45,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14093817 passed 2026-06-01 13:25:45,670 - DEBUG - ====Verifying policy data for ctest-vn-14093817 in API_Server ====== 2026-06-01 13:25:45,670 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:25:45,676 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:25:45,685 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:25:45,753 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f 2026-06-01 13:25:45,761 - DEBUG - ==>Verifying data for policy with id: 6bee2765-434e-4c0e-9dbe-e5a285ede44d, fqn: ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908'] 2026-06-01 13:25:45,761 - INFO - VN ctest-vn-14093817 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 13:25:45,761 - DEBUG - Verifying the vn in opserver 2026-06-01 13:25:45,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817 virtual network link through opserver 10.0.0.41 2026-06-01 13:25:45,761 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-06-01 13:25:46,050 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-06-01 13:25:46,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817?flat'} 2026-06-01 13:25:46,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817 is found in opserver 2026-06-01 13:25:46,115 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 13:25:46,119 - DEBUG - VRF ids for VN ctest-vn-14093817: {} 2026-06-01 13:25:46,120 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:25:46,124 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:25:46,133 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:25:46,203 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,212 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,220 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:25:46,227 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:25:46,233 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b52b8004-a7f3-4dd7-9a47-da6b44c36bb0 2026-06-01 13:25:46,238 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 13:25:46,238 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,245 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:25:46,256 - INFO - Verified VN network id 11 for VN f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,256 - INFO - Verifications in API Server for VN ctest-vn-92773366 passed 2026-06-01 13:25:46,256 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,263 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:25:46,269 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:25:46,274 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b52b8004-a7f3-4dd7-9a47-da6b44c36bb0 2026-06-01 13:25:46,284 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32529039', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17683503751443136933', 'uuid-lslong': '12148397118349171870'}, 'enable': 'true', 'created': '2026-06-01T13:25:44', 'last-modified': '2026-06-01T13:25:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.294138'} 2026-06-01 13:25:46,289 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 13:25:46,289 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92773366 passed 2026-06-01 13:25:46,289 - DEBUG - ====Verifying policy data for ctest-vn-92773366 in API_Server ====== 2026-06-01 13:25:46,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:25:46,294 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:25:46,303 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:25:46,373 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e 2026-06-01 13:25:46,381 - DEBUG - ==>Verifying data for policy with id: 6bee2765-434e-4c0e-9dbe-e5a285ede44d, fqn: ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908'] 2026-06-01 13:25:46,381 - INFO - VN ctest-vn-92773366 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 13:25:46,381 - DEBUG - Verifying the vn in opserver 2026-06-01 13:25:46,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366 virtual network link through opserver 10.0.0.41 2026-06-01 13:25:46,381 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-06-01 13:25:46,391 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366?flat'} 2026-06-01 13:25:46,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366 is found in opserver 2026-06-01 13:25:46,400 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 13:25:46,404 - DEBUG - VRF ids for VN ctest-vn-92773366: {} 2026-06-01 13:25:46,457 - DEBUG - Services list from nova: [, , ] 2026-06-01 13:25:47,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5868-1) 2026-06-01 13:25:48,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5868-1) 2026-06-01 13:25:48,663 - INFO - Waiting for VM ctest-TestBasicPolicy-32529039-60459183 to be up.. 2026-06-01 13:25:48,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 13:25:53,838 - DEBUG - VM is in ACTIVE state now 2026-06-01 13:25:53,838 - INFO - VM name : ctest-TestBasicPolicy-32529039-60459183 2026-06-01 13:25:53,913 - DEBUG - VM ctest-TestBasicPolicy-32529039-60459183 ID is 3c040f01-6867-492f-84dc-d79763458c8d 2026-06-01 13:25:53,931 - DEBUG - VM ctest-TestBasicPolicy-32529039-60459183 launched on Node cn-jenkins-deploy-platform-ansible-os-5868-1 2026-06-01 13:25:54,001 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3c040f01-6867-492f-84dc-d79763458c8d 2026-06-01 13:25:54,008 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8089a119-dacb-431d-9248-69fcbb268395 2026-06-01 13:25:57,250 - 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-06-01 13:25:57,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32529039-60459183 failed! 2026-06-01 13:25:57,305 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817 is 136.38.51.129 and allocation pool is NOT set 2026-06-01 13:25:59,363 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 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.805/4.661/8.518/3.856 ms') 2026-06-01 13:25:59,363 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32529039-60459183 passed 2026-06-01 13:25:59,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:25:59,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32529039-60459183, IP 136.38.51.131, Port 22 2026-06-01 13:25:59,664 - DEBUG - VM ctest-TestBasicPolicy-32529039-60459183 is ready for SSH connections 2026-06-01 13:25:59,664 - INFO - Waiting for VM ctest-TestBasicPolicy-32529039-92205569 to be up.. 2026-06-01 13:25:59,747 - DEBUG - VM is in ACTIVE state now 2026-06-01 13:25:59,747 - INFO - VM name : ctest-TestBasicPolicy-32529039-92205569 2026-06-01 13:25:59,831 - DEBUG - VM ctest-TestBasicPolicy-32529039-92205569 ID is f894319c-0cbe-4b03-8150-290ef9f8551a 2026-06-01 13:25:59,832 - DEBUG - VM ctest-TestBasicPolicy-32529039-92205569 launched on Node cn-jenkins-deploy-platform-ansible-os-5868-1 2026-06-01 13:25:59,908 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f894319c-0cbe-4b03-8150-290ef9f8551a 2026-06-01 13:25:59,916 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6485cc8f-6909-4573-9d22-f3684634bb44 2026-06-01 13:26:01,170 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.94 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 = 1.936/3.143/4.351/1.207 ms') 2026-06-01 13:26:01,171 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32529039-92205569 passed 2026-06-01 13:26:01,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:26:01,325 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32529039-92205569, IP 119.220.221.67, Port 22 2026-06-01 13:26:01,481 - DEBUG - VM ctest-TestBasicPolicy-32529039-92205569 is ready for SSH connections 2026-06-01 13:26:01,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:26:01,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.220.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-01 13:26:01,481 - DEBUG - ping -s 56 -c 3 -W 1 119.220.221.67 2026-06-01 13:26:05,481 - DEBUG - PING 119.220.221.67 (119.220.221.67): 56 data bytes 64 bytes from 119.220.221.67: seq=0 ttl=63 time=3.419 ms 64 bytes from 119.220.221.67: seq=1 ttl=63 time=0.925 ms 64 bytes from 119.220.221.67: seq=2 ttl=63 time=0.864 ms --- 119.220.221.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.736/3.419 ms 2026-06-01 13:26:05,482 - INFO - Ping to IP 119.220.221.67 from VM ctest-TestBasicPolicy-32529039-60459183 passed 2026-06-01 13:26:05,657 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6bee2765-434e-4c0e-9dbe-e5a285ede44d", "href": "http://10.0.0.41:8082/network-policy/6bee2765-434e-4c0e-9dbe-e5a285ede44d"}} 2026-06-01 13:26:05,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:26:05,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.220.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-01 13:26:05,657 - DEBUG - ping -s 56 -c 3 -W 1 119.220.221.67 2026-06-01 13:26:08,870 - DEBUG - PING 119.220.221.67 (119.220.221.67): 56 data bytes --- 119.220.221.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 13:26:08,870 - WARNING - Ping to IP 119.220.221.67 from VM ctest-TestBasicPolicy-32529039-60459183 failed 2026-06-01 13:26:08,870 - INFO - Deleting VM ctest-TestBasicPolicy-32529039-92205569 2026-06-01 13:26:08,934 - INFO - Deleting VM ctest-TestBasicPolicy-32529039-60459183 2026-06-01 13:26:09,286 - INFO - Deleted policy ctest-policy-allow-all-57634908 2026-06-01 13:26:09,286 - INFO - Deleting VN ctest-vn-92773366 2026-06-01 13:26:09,318 - DEBUG - VN f5686cf8-810e-41a5-a897-c6d06d94dc9e still in use: Unable to complete operation on network f5686cf8-810e-41a5-a897-c6d06d94dc9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9e2850a-91e3-40c8-af5d-344eed6103e6'] 2026-06-01 13:26:09,319 - WARNING - Deleting VN ctest-vn-92773366 failed..Will retry 2026-06-01 13:26:11,415 - DEBUG - Response for deleting network () 2026-06-01 13:26:11,415 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a 2026-06-01 13:26:11,422 - DEBUG - Response Code: 404 2026-06-01 13:26:11,422 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:26:11,428 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:26:11,482 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:26:11,549 - INFO - Validated that VN ctest-vn-92773366 is not found in API Server 2026-06-01 13:26:11,559 - DEBUG - VN ctest-vn-92773366 is not present in Agent 10.0.0.41 2026-06-01 13:26:11,559 - INFO - Validated that VN ctest-vn-92773366 is not in any agent 2026-06-01 13:26:11,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92773366 info 2026-06-01 13:26:11,571 - INFO - Deleting VN ctest-vn-14093817 2026-06-01 13:26:11,660 - DEBUG - Response for deleting network () 2026-06-01 13:26:11,660 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae 2026-06-01 13:26:11,665 - DEBUG - Response Code: 404 2026-06-01 13:26:11,665 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-06-01 13:26:11,669 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93 2026-06-01 13:26:11,722 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a 2026-06-01 13:26:11,794 - INFO - Validated that VN ctest-vn-14093817 is not found in API Server 2026-06-01 13:26:11,803 - DEBUG - VN ctest-vn-14093817 is not present in Agent 10.0.0.41 2026-06-01 13:26:11,803 - INFO - Validated that VN ctest-vn-14093817 is not in any agent 2026-06-01 13:26:11,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14093817 info 2026-06-01 13:26:12,074 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 13:26:12,074 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-01 13:26:12,074 - INFO - -------------------------------------------------------------------------------- 2026-06-01 13:26:12,737 - INFO - Deleted project: ctest-TestBasicPolicy-32529039, ID : 3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a