2026-04-29 19:58:14,805 - INFO - Domain Default found not creating 2026-04-29 19:58:14,987 - INFO - Project ctest-TestBasicPolicy-29463923 not found, creating it 2026-04-29 19:58:15,476 - INFO - Created Project:ctest-TestBasicPolicy-29463923, ID : 6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:17,609 - INFO - ================================================================================ 2026-04-29 19:58:17,609 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 19:58:17,609 - 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-29 19:58:17,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-29 19:58:17,875 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:58:17,875 - INFO - 2026-04-29 19:58:18,431 - DEBUG - Response for create_network : {'network': {'id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'name': 'ctest-vn-91948290', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-91948290'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:58:18,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '44f19f07-f0ac-4345-8e7a-8020401c8c38', 'name': '', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'network_id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'ip_version': 4, 'cidr': '112.28.58.192/26', 'allocation_pools': [{'start': '112.28.58.194', 'end': '112.28.58.254'}], 'gateway_ip': '112.28.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.28.58.194', 'tags': [], 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf'}} 2026-04-29 19:58:18,638 - INFO - Created VN ctest-vn-91948290 2026-04-29 19:58:18,693 - DEBUG - VN ctest-vn-91948290 UUID is 5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:19,001 - DEBUG - Response for create_network : {'network': {'id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'name': 'ctest-vn-11299145', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-11299145'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:58:19,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dbdfeb2-af09-4429-8735-8d6d2513f1de', 'name': '', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'network_id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'ip_version': 4, 'cidr': '74.255.81.0/26', 'allocation_pools': [{'start': '74.255.81.2', 'end': '74.255.81.62'}], 'gateway_ip': '74.255.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.255.81.2', 'tags': [], 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf'}} 2026-04-29 19:58:19,193 - INFO - Created VN ctest-vn-11299145 2026-04-29 19:58:19,245 - DEBUG - VN ctest-vn-11299145 UUID is df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:19,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290, 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-29463923:ctest-vn-11299145, 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-29 19:58:19,654 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'name': 'ctest-vn-91948290', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44f19f07-f0ac-4345-8e7a-8020401c8c38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-91948290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']], 'subnet_ipam': [{'subnet_cidr': '112.28.58.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:58:19,885 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'name': 'ctest-vn-11299145', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3dbdfeb2-af09-4429-8735-8d6d2513f1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-11299145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']], 'subnet_ipam': [{'subnet_cidr': '74.255.81.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:58:20,056 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:20,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:20,378 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:20,388 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:20,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,474 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:20,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:20,486 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b54e2ded-279f-417e-b59f-ab86d6bdc29b 2026-04-29 19:58:20,491 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:58:20,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:20,509 - INFO - Verified VN network id 11 for VN 5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,509 - INFO - Verifications in API Server for VN ctest-vn-91948290 passed 2026-04-29 19:58:20,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:20,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:20,528 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b54e2ded-279f-417e-b59f-ab86d6bdc29b 2026-04-29 19:58:20,537 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29463923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6828336205298615313', 'uuid-lslong': '10661511417007516351'}, 'enable': 'true', 'created': '2026-04-29T19:58:18', 'last-modified': '2026-04-29T19:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903121'} 2026-04-29 19:58:20,542 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:58:20,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91948290 passed 2026-04-29 19:58:20,543 - DEBUG - ====Verifying policy data for ctest-vn-91948290 in API_Server ====== 2026-04-29 19:58:20,543 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:20,547 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:20,558 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:20,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf 2026-04-29 19:58:20,633 - DEBUG - ==>Verifying data for policy with id: 3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708'] 2026-04-29 19:58:20,633 - INFO - VN ctest-vn-91948290 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:58:20,633 - DEBUG - Verifying the vn in opserver 2026-04-29 19:58:20,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290 virtual network link through opserver 10.0.0.38 2026-04-29 19:58:20,633 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:58:20,926 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:58:20,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290?flat'} 2026-04-29 19:58:20,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290 is found in opserver 2026-04-29 19:58:20,986 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:58:20,990 - DEBUG - VRF ids for VN ctest-vn-91948290: {} 2026-04-29 19:58:20,990 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:20,997 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:21,008 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:21,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:21,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:21,102 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f9deeb35-c1e0-43f9-997c-660327f42174 2026-04-29 19:58:21,107 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:58:21,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,114 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:21,125 - INFO - Verified VN network id 12 for VN df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,125 - INFO - Verifications in API Server for VN ctest-vn-11299145 passed 2026-04-29 19:58:21,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:21,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:21,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f9deeb35-c1e0-43f9-997c-660327f42174 2026-04-29 19:58:21,151 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29463923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16070034113891877596', 'uuid-lslong': '10672477125434160956'}, 'enable': 'true', 'created': '2026-04-29T19:58:18', 'last-modified': '2026-04-29T19:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288808'} 2026-04-29 19:58:21,156 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:58:21,156 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11299145 passed 2026-04-29 19:58:21,156 - DEBUG - ====Verifying policy data for ctest-vn-11299145 in API_Server ====== 2026-04-29 19:58:21,156 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:21,161 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:21,171 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:21,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c 2026-04-29 19:58:21,249 - DEBUG - ==>Verifying data for policy with id: 3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708'] 2026-04-29 19:58:21,249 - INFO - VN ctest-vn-11299145 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:58:21,249 - DEBUG - Verifying the vn in opserver 2026-04-29 19:58:21,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145 virtual network link through opserver 10.0.0.38 2026-04-29 19:58:21,249 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-29 19:58:21,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145?flat'} 2026-04-29 19:58:21,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145 is found in opserver 2026-04-29 19:58:21,268 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:58:21,273 - DEBUG - VRF ids for VN ctest-vn-11299145: {} 2026-04-29 19:58:21,329 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:58:22,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5715-1) 2026-04-29 19:58:23,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5715-1) 2026-04-29 19:58:23,488 - INFO - Waiting for VM ctest-TestBasicPolicy-29463923-14110013 to be up.. 2026-04-29 19:58:23,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:58:28,641 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:58:28,641 - INFO - VM name : ctest-TestBasicPolicy-29463923-14110013 2026-04-29 19:58:28,709 - DEBUG - VM ctest-TestBasicPolicy-29463923-14110013 ID is 483dae50-da2a-4dcc-8329-eee54fa3dcb7 2026-04-29 19:58:28,729 - DEBUG - VM ctest-TestBasicPolicy-29463923-14110013 launched on Node cn-jenkins-deploy-platform-ansible-os-5715-1 2026-04-29 19:58:28,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/483dae50-da2a-4dcc-8329-eee54fa3dcb7 2026-04-29 19:58:28,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25962ca1-43a1-40a4-b315-2f9c91476e66 2026-04-29 19:58:32,006 - 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 1019ms') 2026-04-29 19:58:32,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29463923-14110013 failed! 2026-04-29 19:58:32,061 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290 is 112.28.58.193 and allocation pool is NOT set 2026-04-29 19:58:34,122 - 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=9.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.816 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.816/5.368/9.921/4.552 ms') 2026-04-29 19:58:34,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29463923-14110013 passed 2026-04-29 19:58:34,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:58:34,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29463923-14110013, IP 112.28.58.195, Port 22 2026-04-29 19:58:34,443 - DEBUG - VM ctest-TestBasicPolicy-29463923-14110013 is ready for SSH connections 2026-04-29 19:58:34,443 - INFO - Waiting for VM ctest-TestBasicPolicy-29463923-44400029 to be up.. 2026-04-29 19:58:34,548 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:58:34,548 - INFO - VM name : ctest-TestBasicPolicy-29463923-44400029 2026-04-29 19:58:34,632 - DEBUG - VM ctest-TestBasicPolicy-29463923-44400029 ID is ca3dee9c-af3f-4e0e-9c3c-42799d27b722 2026-04-29 19:58:34,632 - DEBUG - VM ctest-TestBasicPolicy-29463923-44400029 launched on Node cn-jenkins-deploy-platform-ansible-os-5715-1 2026-04-29 19:58:34,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca3dee9c-af3f-4e0e-9c3c-42799d27b722 2026-04-29 19:58:34,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2332ae64-b8c2-4255-99b1-5c068f134af7 2026-04-29 19:58:35,948 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.514/2.619/1.104 ms') 2026-04-29 19:58:35,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29463923-44400029 passed 2026-04-29 19:58:36,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:58:36,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29463923-44400029, IP 74.255.81.3, Port 22 2026-04-29 19:58:36,262 - DEBUG - VM ctest-TestBasicPolicy-29463923-44400029 is ready for SSH connections 2026-04-29 19:58:36,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:58:36,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.255.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 19:58:36,262 - DEBUG - ping -s 56 -c 3 -W 1 74.255.81.3 2026-04-29 19:58:40,236 - DEBUG - PING 74.255.81.3 (74.255.81.3): 56 data bytes 64 bytes from 74.255.81.3: seq=0 ttl=63 time=3.480 ms 64 bytes from 74.255.81.3: seq=1 ttl=63 time=0.839 ms 64 bytes from 74.255.81.3: seq=2 ttl=63 time=1.006 ms --- 74.255.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.775/3.480 ms 2026-04-29 19:58:40,236 - INFO - Ping to IP 74.255.81.3 from VM ctest-TestBasicPolicy-29463923-14110013 passed 2026-04-29 19:58:40,404 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6", "href": "http://10.0.0.38:8082/network-policy/3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6"}} 2026-04-29 19:58:40,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:58:40,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.255.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-29 19:58:40,405 - DEBUG - ping -s 56 -c 3 -W 1 74.255.81.3 2026-04-29 19:58:43,608 - DEBUG - PING 74.255.81.3 (74.255.81.3): 56 data bytes --- 74.255.81.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 19:58:43,608 - WARNING - Ping to IP 74.255.81.3 from VM ctest-TestBasicPolicy-29463923-14110013 failed 2026-04-29 19:58:43,608 - INFO - Deleting VM ctest-TestBasicPolicy-29463923-44400029 2026-04-29 19:58:43,697 - INFO - Deleting VM ctest-TestBasicPolicy-29463923-14110013 2026-04-29 19:58:44,059 - INFO - Deleted policy ctest-policy-allow-all-58213708 2026-04-29 19:58:44,059 - INFO - Deleting VN ctest-vn-11299145 2026-04-29 19:58:44,092 - DEBUG - VN df043ae2-46ef-42dc-941c-41667efc373c still in use: Unable to complete operation on network df043ae2-46ef-42dc-941c-41667efc373c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c33e1e36-9425-4ba1-8bc8-4429435af308'] 2026-04-29 19:58:44,092 - WARNING - Deleting VN ctest-vn-11299145 failed..Will retry 2026-04-29 19:58:46,196 - DEBUG - Response for deleting network () 2026-04-29 19:58:46,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae 2026-04-29 19:58:46,202 - DEBUG - Response Code: 404 2026-04-29 19:58:46,202 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:46,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:46,262 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:46,333 - INFO - Validated that VN ctest-vn-11299145 is not found in API Server 2026-04-29 19:58:46,341 - DEBUG - VN ctest-vn-11299145 is not present in Agent 10.0.0.38 2026-04-29 19:58:46,341 - INFO - Validated that VN ctest-vn-11299145 is not in any agent 2026-04-29 19:58:46,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11299145 info 2026-04-29 19:58:46,353 - INFO - Deleting VN ctest-vn-91948290 2026-04-29 19:58:46,441 - DEBUG - Response for deleting network () 2026-04-29 19:58:46,442 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4 2026-04-29 19:58:46,446 - DEBUG - Response Code: 404 2026-04-29 19:58:46,446 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-29 19:58:46,451 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161 2026-04-29 19:58:46,501 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf 2026-04-29 19:58:46,568 - INFO - Validated that VN ctest-vn-91948290 is not found in API Server 2026-04-29 19:58:46,578 - DEBUG - VN ctest-vn-91948290 is not present in Agent 10.0.0.38 2026-04-29 19:58:46,578 - INFO - Validated that VN ctest-vn-91948290 is not in any agent 2026-04-29 19:58:46,592 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91948290 info 2026-04-29 19:58:46,845 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 19:58:46,845 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-29 19:58:46,845 - INFO - -------------------------------------------------------------------------------- 2026-04-29 19:58:47,516 - INFO - Deleted project: ctest-TestBasicPolicy-29463923, ID : 6160c11a-c81f-4a5b-9c64-4ec66803a4bf