2026-04-27 02:31:19,268 - INFO - Domain Default found not creating 2026-04-27 02:31:19,465 - INFO - Project ctest-TestBasicPolicy-18407155 not found, creating it 2026-04-27 02:31:19,988 - INFO - Created Project:ctest-TestBasicPolicy-18407155, ID : 55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:21,624 - INFO - ================================================================================ 2026-04-27 02:31:21,625 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-27 02:31:21,625 - 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-27 02:31:21,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-27 02:31:21,894 - INFO - Initial checks done. Running the testcase now 2026-04-27 02:31:21,894 - INFO - 2026-04-27 02:31:22,465 - DEBUG - Response for create_network : {'network': {'id': 'cdab599a-dfda-4874-ab7a-40ee13dd3368', 'name': 'ctest-vn-63912316', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-vn-63912316'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:22,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '94a49f8c-6346-4087-980b-8cffe2e48361', 'name': '', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'network_id': 'cdab599a-dfda-4874-ab7a-40ee13dd3368', 'ip_version': 4, 'cidr': '114.246.95.0/26', 'allocation_pools': [{'start': '114.246.95.2', 'end': '114.246.95.62'}], 'gateway_ip': '114.246.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.246.95.2', 'tags': [], 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419'}} 2026-04-27 02:31:22,647 - INFO - Created VN ctest-vn-63912316 2026-04-27 02:31:22,704 - DEBUG - VN ctest-vn-63912316 UUID is cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:22,998 - DEBUG - Response for create_network : {'network': {'id': 'bf88b685-d865-4424-82f1-1663f32d67e9', 'name': 'ctest-vn-22898624', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-vn-22898624'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:23,197 - DEBUG - Response for create_subnet : {'subnet': {'id': '65364f4e-b6f9-46c4-9e87-ad7ba98e17d2', 'name': '', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'network_id': 'bf88b685-d865-4424-82f1-1663f32d67e9', 'ip_version': 4, 'cidr': '73.217.178.128/26', 'allocation_pools': [{'start': '73.217.178.130', 'end': '73.217.178.190'}], 'gateway_ip': '73.217.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.217.178.130', 'tags': [], 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419'}} 2026-04-27 02:31:23,218 - INFO - Created VN ctest-vn-22898624 2026-04-27 02:31:23,271 - DEBUG - VN ctest-vn-22898624 UUID is bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:23,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316, 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-18407155:ctest-vn-22898624, 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-27 02:31:23,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cdab599a-dfda-4874-ab7a-40ee13dd3368', 'name': 'ctest-vn-63912316', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94a49f8c-6346-4087-980b-8cffe2e48361'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-vn-63912316'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-policy-allow-all-46437953']], 'subnet_ipam': [{'subnet_cidr': '114.246.95.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:23,916 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf88b685-d865-4424-82f1-1663f32d67e9', 'name': 'ctest-vn-22898624', 'tenant_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'project_id': '55c86cc0f3db43dfa9ae3bac0cd24419', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65364f4e-b6f9-46c4-9e87-ad7ba98e17d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-vn-22898624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-policy-allow-all-46437953']], 'subnet_ipam': [{'subnet_cidr': '73.217.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:24,075 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:24,413 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:24,448 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:24,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:24,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:24,569 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:24,577 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7402d075-f6a4-4f44-b665-4437716a1b52 2026-04-27 02:31:24,585 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 02:31:24,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:24,610 - INFO - Verified VN network id 11 for VN cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,610 - INFO - Verifications in API Server for VN ctest-vn-63912316 passed 2026-04-27 02:31:24,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:24,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:24,644 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7402d075-f6a4-4f44-b665-4437716a1b52 2026-04-27 02:31:24,657 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18407155', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14820037520508209268', 'uuid-lslong': '12356259918924034920'}, 'enable': 'true', 'created': '2026-04-27T02:31:22', 'last-modified': '2026-04-27T02:31:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994977'} 2026-04-27 02:31:24,666 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 02:31:24,666 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63912316 passed 2026-04-27 02:31:24,666 - DEBUG - ====Verifying policy data for ctest-vn-63912316 in API_Server ====== 2026-04-27 02:31:24,666 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:24,672 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:24,685 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:24,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cdab599a-dfda-4874-ab7a-40ee13dd3368 2026-04-27 02:31:24,772 - DEBUG - ==>Verifying data for policy with id: 24f41f97-c79d-465c-8068-f5d5504ff18c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-policy-allow-all-46437953'] 2026-04-27 02:31:24,772 - INFO - VN ctest-vn-63912316 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 02:31:24,772 - DEBUG - Verifying the vn in opserver 2026-04-27 02:31:24,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316 virtual network link through opserver 10.0.0.38 2026-04-27 02:31:24,772 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 02:31:25,074 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 02:31:25,161 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316?flat'} 2026-04-27 02:31:25,161 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316 is found in opserver 2026-04-27 02:31:25,171 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 02:31:25,177 - DEBUG - VRF ids for VN ctest-vn-63912316: {} 2026-04-27 02:31:25,177 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:25,185 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:25,200 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:25,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,298 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:25,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:25,314 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f4f959e-131f-495b-8620-2f62af0a9625 2026-04-27 02:31:25,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 02:31:25,322 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:25,348 - INFO - Verified VN network id 12 for VN bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,348 - INFO - Verifications in API Server for VN ctest-vn-22898624 passed 2026-04-27 02:31:25,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:25,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:25,376 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f4f959e-131f-495b-8620-2f62af0a9625 2026-04-27 02:31:25,389 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-22898624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18407155', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13801481744054305828', 'uuid-lslong': '9435347312855312361'}, 'enable': 'true', 'created': '2026-04-27T02:31:22', 'last-modified': '2026-04-27T02:31:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.494628'} 2026-04-27 02:31:25,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 02:31:25,395 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22898624 passed 2026-04-27 02:31:25,396 - DEBUG - ====Verifying policy data for ctest-vn-22898624 in API_Server ====== 2026-04-27 02:31:25,396 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:25,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:25,411 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:25,483 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf88b685-d865-4424-82f1-1663f32d67e9 2026-04-27 02:31:25,495 - DEBUG - ==>Verifying data for policy with id: 24f41f97-c79d-465c-8068-f5d5504ff18c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18407155', 'ctest-policy-allow-all-46437953'] 2026-04-27 02:31:25,495 - INFO - VN ctest-vn-22898624 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 02:31:25,495 - DEBUG - Verifying the vn in opserver 2026-04-27 02:31:25,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-22898624 virtual network link through opserver 10.0.0.38 2026-04-27 02:31:25,495 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-27 02:31:25,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-22898624', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-22898624?flat'} 2026-04-27 02:31:25,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-22898624 is found in opserver 2026-04-27 02:31:25,516 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 02:31:25,522 - DEBUG - VRF ids for VN ctest-vn-22898624: {} 2026-04-27 02:31:25,582 - DEBUG - Services list from nova: [, , ] 2026-04-27 02:31:26,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5687-1) 2026-04-27 02:31:27,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5687-1) 2026-04-27 02:31:27,915 - INFO - Waiting for VM ctest-TestBasicPolicy-18407155-40797491 to be up.. 2026-04-27 02:31:28,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 02:31:33,090 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:31:33,090 - INFO - VM name : ctest-TestBasicPolicy-18407155-40797491 2026-04-27 02:31:33,181 - DEBUG - VM ctest-TestBasicPolicy-18407155-40797491 ID is 000875d4-a892-48c1-b64a-5341e68fa23e 2026-04-27 02:31:33,203 - DEBUG - VM ctest-TestBasicPolicy-18407155-40797491 launched on Node cn-jenkins-deploy-platform-ansible-os-5687-1 2026-04-27 02:31:33,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/000875d4-a892-48c1-b64a-5341e68fa23e 2026-04-27 02:31:33,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14875ba3-2015-43b3-a9fc-5f422af253a4 2026-04-27 02:31:36,569 - 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 1025ms') 2026-04-27 02:31:36,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18407155-40797491 failed! 2026-04-27 02:31:36,628 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18407155:ctest-vn-63912316 is 114.246.95.1 and allocation pool is NOT set 2026-04-27 02:31:38,686 - 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=1.91 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 = 1.912/4.853/7.795/2.941 ms') 2026-04-27 02:31:38,686 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18407155-40797491 passed 2026-04-27 02:31:38,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:38,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18407155-40797491, IP 114.246.95.3, Port 22 2026-04-27 02:31:38,910 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-27 02:31:38,992 - DEBUG - VM ctest-TestBasicPolicy-18407155-40797491 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 02:31:43,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:43,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18407155-40797491, IP 114.246.95.3, Port 22 2026-04-27 02:31:44,166 - DEBUG - VM ctest-TestBasicPolicy-18407155-40797491 is ready for SSH connections 2026-04-27 02:31:44,166 - INFO - Waiting for VM ctest-TestBasicPolicy-18407155-94455089 to be up.. 2026-04-27 02:31:44,253 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:31:44,253 - INFO - VM name : ctest-TestBasicPolicy-18407155-94455089 2026-04-27 02:31:44,340 - DEBUG - VM ctest-TestBasicPolicy-18407155-94455089 ID is 2093e103-6a1c-4bc1-8f36-17e3779d1ce9 2026-04-27 02:31:44,340 - DEBUG - VM ctest-TestBasicPolicy-18407155-94455089 launched on Node cn-jenkins-deploy-platform-ansible-os-5687-1 2026-04-27 02:31:44,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2093e103-6a1c-4bc1-8f36-17e3779d1ce9 2026-04-27 02:31:44,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8879bd68-5462-4f72-9d06-4053d8671a5a 2026-04-27 02:31:45,674 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.896/3.379/1.482 ms') 2026-04-27 02:31:45,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18407155-94455089 passed 2026-04-27 02:31:45,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:45,823 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18407155-94455089, IP 73.217.178.131, Port 22 2026-04-27 02:31:45,998 - DEBUG - VM ctest-TestBasicPolicy-18407155-94455089 is ready for SSH connections 2026-04-27 02:31:45,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:45,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.217.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 02:31:45,998 - DEBUG - ping -s 56 -c 3 -W 1 73.217.178.131 2026-04-27 02:31:50,084 - DEBUG - PING 73.217.178.131 (73.217.178.131): 56 data bytes 64 bytes from 73.217.178.131: seq=0 ttl=63 time=3.992 ms 64 bytes from 73.217.178.131: seq=1 ttl=63 time=1.421 ms 64 bytes from 73.217.178.131: seq=2 ttl=63 time=1.317 ms --- 73.217.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.317/2.243/3.992 ms 2026-04-27 02:31:50,084 - INFO - Ping to IP 73.217.178.131 from VM ctest-TestBasicPolicy-18407155-40797491 passed 2026-04-27 02:31:50,263 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24f41f97-c79d-465c-8068-f5d5504ff18c", "href": "http://10.0.0.38:8082/network-policy/24f41f97-c79d-465c-8068-f5d5504ff18c"}} 2026-04-27 02:31:50,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:50,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.217.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 02:31:50,264 - DEBUG - ping -s 56 -c 3 -W 1 73.217.178.131 2026-04-27 02:31:53,489 - DEBUG - PING 73.217.178.131 (73.217.178.131): 56 data bytes --- 73.217.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 02:31:53,489 - WARNING - Ping to IP 73.217.178.131 from VM ctest-TestBasicPolicy-18407155-40797491 failed 2026-04-27 02:31:53,490 - INFO - Deleting VM ctest-TestBasicPolicy-18407155-94455089 2026-04-27 02:31:53,573 - INFO - Deleting VM ctest-TestBasicPolicy-18407155-40797491 2026-04-27 02:31:54,034 - INFO - Deleted policy ctest-policy-allow-all-46437953 2026-04-27 02:31:54,034 - INFO - Deleting VN ctest-vn-22898624 2026-04-27 02:31:54,077 - DEBUG - VN bf88b685-d865-4424-82f1-1663f32d67e9 still in use: Unable to complete operation on network bf88b685-d865-4424-82f1-1663f32d67e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a58438c-1ada-48f9-bceb-6fca729e2950'] 2026-04-27 02:31:54,077 - WARNING - Deleting VN ctest-vn-22898624 failed..Will retry 2026-04-27 02:31:56,181 - DEBUG - Response for deleting network () 2026-04-27 02:31:56,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/86291037-fe67-4b6f-8df4-fb4821d839b3 2026-04-27 02:31:56,194 - DEBUG - Response Code: 404 2026-04-27 02:31:56,194 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:56,198 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:56,253 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:56,329 - INFO - Validated that VN ctest-vn-22898624 is not found in API Server 2026-04-27 02:31:56,340 - DEBUG - VN ctest-vn-22898624 is not present in Agent 10.0.0.38 2026-04-27 02:31:56,340 - INFO - Validated that VN ctest-vn-22898624 is not in any agent 2026-04-27 02:31:56,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22898624 info 2026-04-27 02:31:56,356 - INFO - Deleting VN ctest-vn-63912316 2026-04-27 02:31:56,477 - DEBUG - Response for deleting network () 2026-04-27 02:31:56,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/768bec46-193c-4920-8b0e-54373b2cdd4c 2026-04-27 02:31:56,483 - DEBUG - Response Code: 404 2026-04-27 02:31:56,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-27 02:31:56,489 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6ef95ec9-b962-4488-9cea-6cb40a0a8a91 2026-04-27 02:31:56,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/55c86cc0-f3db-43df-a9ae-3bac0cd24419 2026-04-27 02:31:56,615 - INFO - Validated that VN ctest-vn-63912316 is not found in API Server 2026-04-27 02:31:56,625 - DEBUG - VN ctest-vn-63912316 is not present in Agent 10.0.0.38 2026-04-27 02:31:56,625 - INFO - Validated that VN ctest-vn-63912316 is not in any agent 2026-04-27 02:31:56,640 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63912316 info 2026-04-27 02:31:56,902 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 02:31:56,902 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-27 02:31:56,902 - INFO - -------------------------------------------------------------------------------- 2026-04-27 02:31:57,628 - INFO - Deleted project: ctest-TestBasicPolicy-18407155, ID : 55c86cc0-f3db-43df-a9ae-3bac0cd24419