2026-06-16 09:41:02,395 - INFO - Domain Default found not creating 2026-06-16 09:41:02,522 - INFO - Project ctest-TestBasicPolicy-45306188 not found, creating it 2026-06-16 09:41:02,982 - INFO - Created Project:ctest-TestBasicPolicy-45306188, ID : 3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:04,385 - INFO - ================================================================================ 2026-06-16 09:41:04,385 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-16 09:41:04,385 - 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-16 09:41:04,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-16 09:41:04,640 - INFO - Initial checks done. Running the testcase now 2026-06-16 09:41:04,640 - INFO - 2026-06-16 09:41:05,164 - DEBUG - Response for create_network : {'network': {'id': 'a5d94f92-4608-458e-957a-914831a24658', 'name': 'ctest-vn-11112887', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-vn-11112887'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:41:05,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5456439-3d06-47f2-9663-f2ae66c3b6ab', 'name': '', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'network_id': 'a5d94f92-4608-458e-957a-914831a24658', 'ip_version': 4, 'cidr': '177.113.201.0/26', 'allocation_pools': [{'start': '177.113.201.2', 'end': '177.113.201.62'}], 'gateway_ip': '177.113.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.113.201.2', 'tags': [], 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8'}} 2026-06-16 09:41:05,329 - INFO - Created VN ctest-vn-11112887 2026-06-16 09:41:05,384 - DEBUG - VN ctest-vn-11112887 UUID is a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:05,661 - DEBUG - Response for create_network : {'network': {'id': '3de6b975-535c-4018-ac04-7753a386b9e8', 'name': 'ctest-vn-03841879', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-vn-03841879'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:41:05,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e462a849-2b5b-405b-a628-0333644721e2', 'name': '', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'network_id': '3de6b975-535c-4018-ac04-7753a386b9e8', 'ip_version': 4, 'cidr': '120.180.175.192/26', 'allocation_pools': [{'start': '120.180.175.194', 'end': '120.180.175.254'}], 'gateway_ip': '120.180.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.180.175.194', 'tags': [], 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8'}} 2026-06-16 09:41:05,886 - INFO - Created VN ctest-vn-03841879 2026-06-16 09:41:05,936 - DEBUG - VN ctest-vn-03841879 UUID is 3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:06,084 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887, 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-45306188:ctest-vn-03841879, 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-16 09:41:06,379 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5d94f92-4608-458e-957a-914831a24658', 'name': 'ctest-vn-11112887', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5456439-3d06-47f2-9663-f2ae66c3b6ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-vn-11112887'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-policy-allow-all-60159968']], 'subnet_ipam': [{'subnet_cidr': '177.113.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:41:06,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3de6b975-535c-4018-ac04-7753a386b9e8', 'name': 'ctest-vn-03841879', 'tenant_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'project_id': '3b1afa2b477a4875b5fe7fe73b1928d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e462a849-2b5b-405b-a628-0333644721e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-vn-03841879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-policy-allow-all-60159968']], 'subnet_ipam': [{'subnet_cidr': '120.180.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:41:06,776 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:07,088 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:07,109 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:07,120 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:07,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,202 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:07,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:07,212 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a04f78bf-832c-48aa-9f01-bf7cd6bc4211 2026-06-16 09:41:07,217 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 09:41:07,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,224 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:07,234 - INFO - Verified VN network id 11 for VN a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,235 - INFO - Verifications in API Server for VN ctest-vn-11112887 passed 2026-06-16 09:41:07,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:07,249 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:07,255 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a04f78bf-832c-48aa-9f01-bf7cd6bc4211 2026-06-16 09:41:07,265 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45306188', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11950670575863088526', 'uuid-lslong': '10771081198066353752'}, 'enable': 'true', 'created': '2026-06-16T09:41:05', 'last-modified': '2026-06-16T09:41:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912385'} 2026-06-16 09:41:07,270 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 09:41:07,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11112887 passed 2026-06-16 09:41:07,271 - DEBUG - ====Verifying policy data for ctest-vn-11112887 in API_Server ====== 2026-06-16 09:41:07,271 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:07,276 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:07,285 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:07,350 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a5d94f92-4608-458e-957a-914831a24658 2026-06-16 09:41:07,358 - DEBUG - ==>Verifying data for policy with id: cfe2f66e-2038-4373-9107-d6296fce96b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-policy-allow-all-60159968'] 2026-06-16 09:41:07,358 - INFO - VN ctest-vn-11112887 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 09:41:07,358 - DEBUG - Verifying the vn in opserver 2026-06-16 09:41:07,358 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887 virtual network link through opserver 10.0.0.50 2026-06-16 09:41:07,358 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 09:41:07,669 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 09:41:07,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887?flat'} 2026-06-16 09:41:07,712 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887 is found in opserver 2026-06-16 09:41:07,720 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 09:41:07,723 - DEBUG - VRF ids for VN ctest-vn-11112887: {} 2026-06-16 09:41:07,723 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:07,727 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:07,736 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:07,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,812 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:07,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:07,829 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/213ab8cc-4ea8-49d2-b493-0af61652b7bd 2026-06-16 09:41:07,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 09:41:07,834 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,840 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:07,850 - INFO - Verified VN network id 12 for VN 3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,851 - INFO - Verifications in API Server for VN ctest-vn-03841879 passed 2026-06-16 09:41:07,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:07,865 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:07,871 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/213ab8cc-4ea8-49d2-b493-0af61652b7bd 2026-06-16 09:41:07,880 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-03841879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45306188', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4460456394517921816', 'uuid-lslong': '12395163275539954152'}, 'enable': 'true', 'created': '2026-06-16T09:41:05', 'last-modified': '2026-06-16T09:41:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295654'} 2026-06-16 09:41:07,885 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 09:41:07,885 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03841879 passed 2026-06-16 09:41:07,885 - DEBUG - ====Verifying policy data for ctest-vn-03841879 in API_Server ====== 2026-06-16 09:41:07,885 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:07,890 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:07,900 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:07,969 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3de6b975-535c-4018-ac04-7753a386b9e8 2026-06-16 09:41:07,977 - DEBUG - ==>Verifying data for policy with id: cfe2f66e-2038-4373-9107-d6296fce96b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-45306188', 'ctest-policy-allow-all-60159968'] 2026-06-16 09:41:07,977 - INFO - VN ctest-vn-03841879 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 09:41:07,977 - DEBUG - Verifying the vn in opserver 2026-06-16 09:41:07,977 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-03841879 virtual network link through opserver 10.0.0.50 2026-06-16 09:41:07,977 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 09:41:07,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-03841879', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-03841879?flat'} 2026-06-16 09:41:07,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-03841879 is found in opserver 2026-06-16 09:41:07,993 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 09:41:07,998 - DEBUG - VRF ids for VN ctest-vn-03841879: {} 2026-06-16 09:41:08,058 - DEBUG - Services list from nova: [, , ] 2026-06-16 09:41:09,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5950-1) 2026-06-16 09:41:10,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5950-1) 2026-06-16 09:41:10,103 - INFO - Waiting for VM ctest-TestBasicPolicy-45306188-47171444 to be up.. 2026-06-16 09:41:10,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 09:41:15,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 09:41:20,270 - DEBUG - VM is in ACTIVE state now 2026-06-16 09:41:20,270 - INFO - VM name : ctest-TestBasicPolicy-45306188-47171444 2026-06-16 09:41:20,327 - DEBUG - VM ctest-TestBasicPolicy-45306188-47171444 ID is 02807184-0a72-4479-a908-2072428f9b6d 2026-06-16 09:41:20,344 - DEBUG - VM ctest-TestBasicPolicy-45306188-47171444 launched on Node cn-jenkins-deploy-platform-ansible-os-5950-1 2026-06-16 09:41:20,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02807184-0a72-4479-a908-2072428f9b6d 2026-06-16 09:41:20,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f25c6181-5b9d-4ab1-957e-255896dbded9 2026-06-16 09:41:23,667 - 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 1032ms') 2026-06-16 09:41:23,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45306188-47171444 failed! 2026-06-16 09:41:23,724 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45306188:ctest-vn-11112887 is 177.113.201.1 and allocation pool is NOT set 2026-06-16 09:41:25,785 - 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=3.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.812/3.236/1.424 ms') 2026-06-16 09:41:25,785 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45306188-47171444 passed 2026-06-16 09:41:25,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:41:25,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45306188-47171444, IP 177.113.201.3, Port 22 2026-06-16 09:41:26,083 - DEBUG - VM ctest-TestBasicPolicy-45306188-47171444 is ready for SSH connections 2026-06-16 09:41:26,083 - INFO - Waiting for VM ctest-TestBasicPolicy-45306188-26344469 to be up.. 2026-06-16 09:41:26,143 - DEBUG - VM is in ACTIVE state now 2026-06-16 09:41:26,143 - INFO - VM name : ctest-TestBasicPolicy-45306188-26344469 2026-06-16 09:41:26,203 - DEBUG - VM ctest-TestBasicPolicy-45306188-26344469 ID is 955d5dce-adf5-41b6-a0c6-2f6bace78393 2026-06-16 09:41:26,203 - DEBUG - VM ctest-TestBasicPolicy-45306188-26344469 launched on Node cn-jenkins-deploy-platform-ansible-os-5950-1 2026-06-16 09:41:26,263 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/955d5dce-adf5-41b6-a0c6-2f6bace78393 2026-06-16 09:41:26,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9a00b34c-23e2-44db-8115-dbceaeda5105 2026-06-16 09:41:27,501 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.729 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.729/2.855/4.981/2.126 ms') 2026-06-16 09:41:27,501 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45306188-26344469 passed 2026-06-16 09:41:27,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:41:27,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45306188-26344469, IP 120.180.175.195, Port 22 2026-06-16 09:41:27,799 - DEBUG - VM ctest-TestBasicPolicy-45306188-26344469 is ready for SSH connections 2026-06-16 09:41:27,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:41:27,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.180.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 09:41:27,799 - DEBUG - ping -s 56 -c 3 -W 1 120.180.175.195 2026-06-16 09:41:31,646 - DEBUG - PING 120.180.175.195 (120.180.175.195): 56 data bytes 64 bytes from 120.180.175.195: seq=0 ttl=63 time=4.065 ms 64 bytes from 120.180.175.195: seq=1 ttl=63 time=0.763 ms 64 bytes from 120.180.175.195: seq=2 ttl=63 time=0.744 ms --- 120.180.175.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.857/4.065 ms 2026-06-16 09:41:31,646 - INFO - Ping to IP 120.180.175.195 from VM ctest-TestBasicPolicy-45306188-47171444 passed 2026-06-16 09:41:31,811 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cfe2f66e-2038-4373-9107-d6296fce96b6", "href": "http://10.0.0.50:8082/network-policy/cfe2f66e-2038-4373-9107-d6296fce96b6"}} 2026-06-16 09:41:31,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:41:31,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.180.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 09:41:31,812 - DEBUG - ping -s 56 -c 3 -W 1 120.180.175.195 2026-06-16 09:41:34,920 - DEBUG - PING 120.180.175.195 (120.180.175.195): 56 data bytes --- 120.180.175.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-16 09:41:34,920 - WARNING - Ping to IP 120.180.175.195 from VM ctest-TestBasicPolicy-45306188-47171444 failed 2026-06-16 09:41:34,921 - INFO - Deleting VM ctest-TestBasicPolicy-45306188-26344469 2026-06-16 09:41:34,981 - INFO - Deleting VM ctest-TestBasicPolicy-45306188-47171444 2026-06-16 09:41:35,296 - INFO - Deleted policy ctest-policy-allow-all-60159968 2026-06-16 09:41:35,296 - INFO - Deleting VN ctest-vn-03841879 2026-06-16 09:41:35,330 - DEBUG - VN 3de6b975-535c-4018-ac04-7753a386b9e8 still in use: Unable to complete operation on network 3de6b975-535c-4018-ac04-7753a386b9e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-423c8908-c0a8-4139-a0b7-fc9dfc1283c5'] 2026-06-16 09:41:35,330 - WARNING - Deleting VN ctest-vn-03841879 failed..Will retry 2026-06-16 09:41:37,415 - DEBUG - Response for deleting network () 2026-06-16 09:41:37,415 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa20d3e0-dae2-43cf-9f32-7b530d87e613 2026-06-16 09:41:37,424 - DEBUG - Response Code: 404 2026-06-16 09:41:37,424 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:37,429 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:37,480 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:37,551 - INFO - Validated that VN ctest-vn-03841879 is not found in API Server 2026-06-16 09:41:37,561 - DEBUG - VN ctest-vn-03841879 is not present in Agent 10.0.0.50 2026-06-16 09:41:37,561 - INFO - Validated that VN ctest-vn-03841879 is not in any agent 2026-06-16 09:41:37,574 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03841879 info 2026-06-16 09:41:37,574 - INFO - Deleting VN ctest-vn-11112887 2026-06-16 09:41:37,662 - DEBUG - Response for deleting network () 2026-06-16 09:41:37,662 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04d7928a-2fa5-41a3-b150-4980ef4d1f43 2026-06-16 09:41:37,668 - DEBUG - Response Code: 404 2026-06-16 09:41:37,668 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 09:41:37,673 - DEBUG - Requesting: http://10.0.0.50:8082/domain/92cc2983-65e4-4c00-be14-d1699b781629 2026-06-16 09:41:37,725 - DEBUG - Requesting: http://10.0.0.50:8082/project/3b1afa2b-477a-4875-b5fe-7fe73b1928d8 2026-06-16 09:41:37,793 - INFO - Validated that VN ctest-vn-11112887 is not found in API Server 2026-06-16 09:41:37,801 - DEBUG - VN ctest-vn-11112887 is not present in Agent 10.0.0.50 2026-06-16 09:41:37,801 - INFO - Validated that VN ctest-vn-11112887 is not in any agent 2026-06-16 09:41:37,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11112887 info 2026-06-16 09:41:38,063 - DEBUG - No XMPP flaps were noticed during the test
2026-06-16 09:41:38,063 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-16 09:41:38,063 - INFO - -------------------------------------------------------------------------------- 2026-06-16 09:41:38,721 - INFO - Deleted project: ctest-TestBasicPolicy-45306188, ID : 3b1afa2b-477a-4875-b5fe-7fe73b1928d8