2026-06-03 16:29:56,888 - INFO - Domain Default found not creating 2026-06-03 16:29:57,080 - INFO - Project ctest-TestBasicPolicy-74894616 not found, creating it 2026-06-03 16:29:57,545 - INFO - Created Project:ctest-TestBasicPolicy-74894616, ID : b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:29:59,065 - INFO - ================================================================================ 2026-06-03 16:29:59,065 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-03 16:29:59,065 - 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-03 16:29:59,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-03 16:29:59,326 - INFO - Initial checks done. Running the testcase now 2026-06-03 16:29:59,326 - INFO - 2026-06-03 16:29:59,874 - DEBUG - Response for create_network : {'network': {'id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'name': 'ctest-vn-41808615', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-41808615'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:30:00,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba222733-dfed-428b-92f4-b833b3b1f611', 'name': '', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'network_id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'ip_version': 4, 'cidr': '186.6.106.192/26', 'allocation_pools': [{'start': '186.6.106.194', 'end': '186.6.106.254'}], 'gateway_ip': '186.6.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.6.106.194', 'tags': [], 'project_id': 'b401b972080741648b9e4ebc445ba613'}} 2026-06-03 16:30:00,118 - INFO - Created VN ctest-vn-41808615 2026-06-03 16:30:00,172 - DEBUG - VN ctest-vn-41808615 UUID is 3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:00,486 - DEBUG - Response for create_network : {'network': {'id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'name': 'ctest-vn-74265766', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-74265766'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:30:00,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cca4b56-56b4-493e-bd80-052ac3688ad4', 'name': '', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'network_id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'ip_version': 4, 'cidr': '125.9.237.192/26', 'allocation_pools': [{'start': '125.9.237.194', 'end': '125.9.237.254'}], 'gateway_ip': '125.9.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.9.237.194', 'tags': [], 'project_id': 'b401b972080741648b9e4ebc445ba613'}} 2026-06-03 16:30:00,740 - INFO - Created VN ctest-vn-74265766 2026-06-03 16:30:00,795 - DEBUG - VN ctest-vn-74265766 UUID is b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:00,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615, 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-74894616:ctest-vn-74265766, 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-03 16:30:01,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'name': 'ctest-vn-41808615', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba222733-dfed-428b-92f4-b833b3b1f611'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-41808615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']], 'subnet_ipam': [{'subnet_cidr': '186.6.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:30:01,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'name': 'ctest-vn-74265766', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cca4b56-56b4-493e-bd80-052ac3688ad4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-74265766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']], 'subnet_ipam': [{'subnet_cidr': '125.9.237.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:30:01,659 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:01,970 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:02,014 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:02,029 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:02,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,131 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:02,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:02,147 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d6c242f3-7a01-460a-bb7c-96838f91c6d7 2026-06-03 16:30:02,155 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-03 16:30:02,155 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,166 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:02,182 - INFO - Verified VN network id 11 for VN 3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,182 - INFO - Verifications in API Server for VN ctest-vn-41808615 passed 2026-06-03 16:30:02,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:02,199 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:02,206 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d6c242f3-7a01-460a-bb7c-96838f91c6d7 2026-06-03 16:30:02,219 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74894616', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4436289309954822069', 'uuid-lslong': '9378876371493074712'}, 'enable': 'true', 'created': '2026-06-03T16:29:59', 'last-modified': '2026-06-03T16:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010820'} 2026-06-03 16:30:02,226 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-03 16:30:02,226 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41808615 passed 2026-06-03 16:30:02,227 - DEBUG - ====Verifying policy data for ctest-vn-41808615 in API_Server ====== 2026-06-03 16:30:02,227 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:02,233 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:02,246 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:02,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718 2026-06-03 16:30:02,334 - DEBUG - ==>Verifying data for policy with id: df93615e-589f-4df9-bc72-83e131f5cae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630'] 2026-06-03 16:30:02,334 - INFO - VN ctest-vn-41808615 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-03 16:30:02,334 - DEBUG - Verifying the vn in opserver 2026-06-03 16:30:02,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615 virtual network link through opserver 10.0.0.33 2026-06-03 16:30:02,334 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-03 16:30:02,631 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-03 16:30:02,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615?flat'} 2026-06-03 16:30:02,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615 is found in opserver 2026-06-03 16:30:02,716 - DEBUG - Do not have enough data to verify VN in agent 2026-06-03 16:30:02,723 - DEBUG - VRF ids for VN ctest-vn-41808615: {} 2026-06-03 16:30:02,723 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:02,730 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:02,743 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:02,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:02,830 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:02,841 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:02,849 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:02,857 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc300f4-f2eb-4cd3-be23-d0f0472d97db 2026-06-03 16:30:02,865 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-03 16:30:02,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:02,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:02,891 - INFO - Verified VN network id 12 for VN b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:02,892 - INFO - Verifications in API Server for VN ctest-vn-74265766 passed 2026-06-03 16:30:02,892 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:02,903 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:02,911 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:02,920 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc300f4-f2eb-4cd3-be23-d0f0472d97db 2026-06-03 16:30:02,934 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74894616', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13165651446223817286', 'uuid-lslong': '12910343146227473206'}, 'enable': 'true', 'created': '2026-06-03T16:30:00', 'last-modified': '2026-06-03T16:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476206'} 2026-06-03 16:30:02,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-03 16:30:02,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74265766 passed 2026-06-03 16:30:02,941 - DEBUG - ====Verifying policy data for ctest-vn-74265766 in API_Server ====== 2026-06-03 16:30:02,941 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:02,947 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:02,961 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:03,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36 2026-06-03 16:30:03,051 - DEBUG - ==>Verifying data for policy with id: df93615e-589f-4df9-bc72-83e131f5cae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630'] 2026-06-03 16:30:03,051 - INFO - VN ctest-vn-74265766 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-03 16:30:03,051 - DEBUG - Verifying the vn in opserver 2026-06-03 16:30:03,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766 virtual network link through opserver 10.0.0.33 2026-06-03 16:30:03,051 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-03 16:30:03,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766?flat'} 2026-06-03 16:30:03,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766 is found in opserver 2026-06-03 16:30:03,072 - DEBUG - Do not have enough data to verify VN in agent 2026-06-03 16:30:03,077 - DEBUG - VRF ids for VN ctest-vn-74265766: {} 2026-06-03 16:30:03,143 - DEBUG - Services list from nova: [, , ] 2026-06-03 16:30:04,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5881-1) 2026-06-03 16:30:05,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5881-1) 2026-06-03 16:30:05,408 - INFO - Waiting for VM ctest-TestBasicPolicy-74894616-10182851 to be up.. 2026-06-03 16:30:05,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 16:30:10,603 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:30:10,603 - INFO - VM name : ctest-TestBasicPolicy-74894616-10182851 2026-06-03 16:30:10,695 - DEBUG - VM ctest-TestBasicPolicy-74894616-10182851 ID is 7933e88d-e634-4878-a8a5-5b3897610198 2026-06-03 16:30:10,722 - DEBUG - VM ctest-TestBasicPolicy-74894616-10182851 launched on Node cn-jenkins-deploy-platform-ansible-os-5881-1 2026-06-03 16:30:10,821 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7933e88d-e634-4878-a8a5-5b3897610198 2026-06-03 16:30:10,832 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/316b6207-e28a-48e6-85a5-fceef4130043 2026-06-03 16:30:14,104 - 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 1023ms') 2026-06-03 16:30:14,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74894616-10182851 failed! 2026-06-03 16:30:14,159 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615 is 186.6.106.193 and allocation pool is NOT set 2026-06-03 16:30:16,226 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.608 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.608/4.205/7.803/3.597 ms') 2026-06-03 16:30:16,226 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74894616-10182851 passed 2026-06-03 16:30:16,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:30:16,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74894616-10182851, IP 186.6.106.195, Port 22 2026-06-03 16:30:16,539 - DEBUG - VM ctest-TestBasicPolicy-74894616-10182851 is ready for SSH connections 2026-06-03 16:30:16,540 - INFO - Waiting for VM ctest-TestBasicPolicy-74894616-25341525 to be up.. 2026-06-03 16:30:16,618 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:30:16,618 - INFO - VM name : ctest-TestBasicPolicy-74894616-25341525 2026-06-03 16:30:16,694 - DEBUG - VM ctest-TestBasicPolicy-74894616-25341525 ID is ceb58223-3c0a-42a3-a806-9a07e683e6a3 2026-06-03 16:30:16,694 - DEBUG - VM ctest-TestBasicPolicy-74894616-25341525 launched on Node cn-jenkins-deploy-platform-ansible-os-5881-1 2026-06-03 16:30:16,785 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ceb58223-3c0a-42a3-a806-9a07e683e6a3 2026-06-03 16:30:16,794 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e89db853-9991-429e-89a5-1f1d663276d4 2026-06-03 16:30:18,028 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 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.717/3.327/4.937/1.610 ms') 2026-06-03 16:30:18,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74894616-25341525 passed 2026-06-03 16:30:18,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:30:18,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74894616-25341525, IP 125.9.237.195, Port 22 2026-06-03 16:30:18,335 - DEBUG - VM ctest-TestBasicPolicy-74894616-25341525 is ready for SSH connections 2026-06-03 16:30:18,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:30:18,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.9.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-03 16:30:18,335 - DEBUG - ping -s 56 -c 3 -W 1 125.9.237.195 2026-06-03 16:30:22,415 - DEBUG - PING 125.9.237.195 (125.9.237.195): 56 data bytes 64 bytes from 125.9.237.195: seq=0 ttl=63 time=3.501 ms 64 bytes from 125.9.237.195: seq=1 ttl=63 time=0.901 ms 64 bytes from 125.9.237.195: seq=2 ttl=63 time=0.930 ms --- 125.9.237.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.777/3.501 ms 2026-06-03 16:30:22,415 - INFO - Ping to IP 125.9.237.195 from VM ctest-TestBasicPolicy-74894616-10182851 passed 2026-06-03 16:30:22,591 - DEBUG - Policy Update Response {"network-policy": {"uuid": "df93615e-589f-4df9-bc72-83e131f5cae3", "href": "http://10.0.0.33:8082/network-policy/df93615e-589f-4df9-bc72-83e131f5cae3"}} 2026-06-03 16:30:22,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:30:22,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.9.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-03 16:30:22,591 - DEBUG - ping -s 56 -c 3 -W 1 125.9.237.195 2026-06-03 16:30:25,818 - DEBUG - PING 125.9.237.195 (125.9.237.195): 56 data bytes --- 125.9.237.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-03 16:30:25,818 - WARNING - Ping to IP 125.9.237.195 from VM ctest-TestBasicPolicy-74894616-10182851 failed 2026-06-03 16:30:25,818 - INFO - Deleting VM ctest-TestBasicPolicy-74894616-25341525 2026-06-03 16:30:25,896 - INFO - Deleting VM ctest-TestBasicPolicy-74894616-10182851 2026-06-03 16:30:26,325 - INFO - Deleted policy ctest-policy-allow-all-64627630 2026-06-03 16:30:26,326 - INFO - Deleting VN ctest-vn-74265766 2026-06-03 16:30:26,375 - DEBUG - VN b6b5ca3c-58c7-4a46-b32a-c0b087499b36 still in use: Unable to complete operation on network b6b5ca3c-58c7-4a46-b32a-c0b087499b36. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-87001ec0-2d56-41ed-a25a-898944da9ec9'] 2026-06-03 16:30:26,375 - WARNING - Deleting VN ctest-vn-74265766 failed..Will retry 2026-06-03 16:30:28,482 - DEBUG - Response for deleting network () 2026-06-03 16:30:28,482 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a 2026-06-03 16:30:28,492 - DEBUG - Response Code: 404 2026-06-03 16:30:28,492 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:28,498 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:28,553 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:28,621 - INFO - Validated that VN ctest-vn-74265766 is not found in API Server 2026-06-03 16:30:28,630 - DEBUG - VN ctest-vn-74265766 is not present in Agent 10.0.0.33 2026-06-03 16:30:28,630 - INFO - Validated that VN ctest-vn-74265766 is not in any agent 2026-06-03 16:30:28,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74265766 info 2026-06-03 16:30:28,645 - INFO - Deleting VN ctest-vn-41808615 2026-06-03 16:30:28,750 - DEBUG - Response for deleting network () 2026-06-03 16:30:28,751 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519 2026-06-03 16:30:28,757 - DEBUG - Response Code: 404 2026-06-03 16:30:28,757 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-03 16:30:28,763 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1 2026-06-03 16:30:28,817 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613 2026-06-03 16:30:28,891 - INFO - Validated that VN ctest-vn-41808615 is not found in API Server 2026-06-03 16:30:28,901 - DEBUG - VN ctest-vn-41808615 is not present in Agent 10.0.0.33 2026-06-03 16:30:28,901 - INFO - Validated that VN ctest-vn-41808615 is not in any agent 2026-06-03 16:30:28,915 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41808615 info 2026-06-03 16:30:29,170 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 16:30:29,170 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-03 16:30:29,170 - INFO - -------------------------------------------------------------------------------- 2026-06-03 16:30:29,881 - INFO - Deleted project: ctest-TestBasicPolicy-74894616, ID : b401b972-0807-4164-8b9e-4ebc445ba613