2026-01-22 02:18:53,304 - INFO - Domain Default found not creating 2026-01-22 02:18:53,507 - INFO - Project ctest-TestBasicPolicy-05042465 not found, creating it 2026-01-22 02:18:53,962 - INFO - Created Project:ctest-TestBasicPolicy-05042465, ID : b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:18:55,554 - INFO - ================================================================================ 2026-01-22 02:18:55,554 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 02:18:55,554 - 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-01-22 02:18:55,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.242': '0'}} with 2026-01-22 02:18:55,808 - INFO - Initial checks done. Running the testcase now 2026-01-22 02:18:55,808 - INFO - 2026-01-22 02:18:56,386 - DEBUG - Response for create_network : {'network': {'id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'name': 'ctest-vn-53872626', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-53872626'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:56,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '5035cb2e-9489-4236-a11e-41c90a9d3d07', 'name': '', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'network_id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'ip_version': 4, 'cidr': '17.177.204.0/26', 'allocation_pools': [{'start': '17.177.204.2', 'end': '17.177.204.62'}], 'gateway_ip': '17.177.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.177.204.2', 'tags': [], 'project_id': 'b02cb656f51b409eaf194227242f6311'}} 2026-01-22 02:18:56,587 - INFO - Created VN ctest-vn-53872626 2026-01-22 02:18:56,642 - DEBUG - VN ctest-vn-53872626 UUID is 5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:56,947 - DEBUG - Response for create_network : {'network': {'id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'name': 'ctest-vn-79161690', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-79161690'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:57,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '648599ee-bb94-48ae-b378-63bdb7439686', 'name': '', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'network_id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'ip_version': 4, 'cidr': '156.10.186.192/26', 'allocation_pools': [{'start': '156.10.186.194', 'end': '156.10.186.254'}], 'gateway_ip': '156.10.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.10.186.194', 'tags': [], 'project_id': 'b02cb656f51b409eaf194227242f6311'}} 2026-01-22 02:18:57,127 - INFO - Created VN ctest-vn-79161690 2026-01-22 02:18:57,186 - DEBUG - VN ctest-vn-79161690 UUID is 4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:57,305 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626, 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-05042465:ctest-vn-79161690, 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-01-22 02:18:57,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c', 'name': 'ctest-vn-53872626', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5035cb2e-9489-4236-a11e-41c90a9d3d07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-53872626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']], 'subnet_ipam': [{'subnet_cidr': '17.177.204.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:57,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c23c631-4739-4a72-a7a3-3215303a49e6', 'name': 'ctest-vn-79161690', 'tenant_id': 'b02cb656f51b409eaf194227242f6311', 'project_id': 'b02cb656f51b409eaf194227242f6311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['648599ee-bb94-48ae-b378-63bdb7439686'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-vn-79161690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532']], 'subnet_ipam': [{'subnet_cidr': '156.10.186.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:58,058 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:18:58,376 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:18:58,411 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:18:58,425 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:18:58,498 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,508 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,517 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:18:58,525 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:18:58,533 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0da44010-089a-4e66-bf9f-451fff7f3dae 2026-01-22 02:18:58,541 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:18:58,541 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,553 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:18:58,568 - INFO - Verified VN network id 11 for VN 5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,568 - INFO - Verifications in API Server for VN ctest-vn-53872626 passed 2026-01-22 02:18:58,568 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,578 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:18:58,585 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:18:58,592 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0da44010-089a-4e66-bf9f-451fff7f3dae 2026-01-22 02:18:58,604 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05042465', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6837185202304536083', 'uuid-lslong': '13318689729715204956'}, 'enable': 'true', 'created': '2026-01-22T02:18:56', 'last-modified': '2026-01-22T02:18:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005639'} 2026-01-22 02:18:58,610 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:18:58,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53872626 passed 2026-01-22 02:18:58,610 - DEBUG - ====Verifying policy data for ctest-vn-53872626 in API_Server ====== 2026-01-22 02:18:58,610 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:18:58,616 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:18:58,628 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:18:58,701 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5ee28fb7-6eeb-4e13-b8d5-7dbe6551735c 2026-01-22 02:18:58,711 - DEBUG - ==>Verifying data for policy with id: 955f0190-a996-4168-87c5-c68d31071f81, fqn: ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532'] 2026-01-22 02:18:58,711 - INFO - VN ctest-vn-53872626 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 02:18:58,711 - DEBUG - Verifying the vn in opserver 2026-01-22 02:18:58,711 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626 virtual network link through opserver 10.0.0.241 2026-01-22 02:18:58,712 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-22 02:18:59,018 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-22 02:18:59,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626?flat'} 2026-01-22 02:18:59,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626 is found in opserver 2026-01-22 02:18:59,093 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 02:18:59,098 - DEBUG - VRF ids for VN ctest-vn-53872626: {} 2026-01-22 02:18:59,098 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:18:59,104 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:18:59,116 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:18:59,189 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,202 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,213 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:18:59,221 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:18:59,228 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/59037316-86ee-453f-b627-10ba3b8d1cb7 2026-01-22 02:18:59,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:18:59,235 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,244 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:18:59,258 - INFO - Verified VN network id 12 for VN 4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,258 - INFO - Verifications in API Server for VN ctest-vn-79161690 passed 2026-01-22 02:18:59,258 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,266 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:18:59,273 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:18:59,280 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/59037316-86ee-453f-b627-10ba3b8d1cb7 2026-01-22 02:18:59,291 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05042465', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5486446686018030194', 'uuid-lslong': '12079553692122630630'}, 'enable': 'true', 'created': '2026-01-22T02:18:56', 'last-modified': '2026-01-22T02:18:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459876'} 2026-01-22 02:18:59,297 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:18:59,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79161690 passed 2026-01-22 02:18:59,297 - DEBUG - ====Verifying policy data for ctest-vn-79161690 in API_Server ====== 2026-01-22 02:18:59,297 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:18:59,303 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:18:59,315 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:18:59,391 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4c23c631-4739-4a72-a7a3-3215303a49e6 2026-01-22 02:18:59,402 - DEBUG - ==>Verifying data for policy with id: 955f0190-a996-4168-87c5-c68d31071f81, fqn: ['default-domain', 'ctest-TestBasicPolicy-05042465', 'ctest-policy-allow-all-38341532'] 2026-01-22 02:18:59,402 - INFO - VN ctest-vn-79161690 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 02:18:59,402 - DEBUG - Verifying the vn in opserver 2026-01-22 02:18:59,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690 virtual network link through opserver 10.0.0.241 2026-01-22 02:18:59,402 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-22 02:18:59,415 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690?flat'} 2026-01-22 02:18:59,415 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-79161690 is found in opserver 2026-01-22 02:18:59,426 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 02:18:59,431 - DEBUG - VRF ids for VN ctest-vn-79161690: {} 2026-01-22 02:18:59,498 - DEBUG - Services list from nova: [, , ] 2026-01-22 02:19:00,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1) 2026-01-22 02:19:01,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1) 2026-01-22 02:19:01,875 - INFO - Waiting for VM ctest-TestBasicPolicy-05042465-20335749 to be up.. 2026-01-22 02:19:01,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 02:19:07,045 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:19:07,045 - INFO - VM name : ctest-TestBasicPolicy-05042465-20335749 2026-01-22 02:19:07,124 - DEBUG - VM ctest-TestBasicPolicy-05042465-20335749 ID is 11027581-8af4-4939-8bfe-437bc1ded1e2 2026-01-22 02:19:07,144 - DEBUG - VM ctest-TestBasicPolicy-05042465-20335749 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1 2026-01-22 02:19:07,217 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/11027581-8af4-4939-8bfe-437bc1ded1e2 2026-01-22 02:19:07,226 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/07f519a7-3cfa-4f48-b138-40c8955418f5 2026-01-22 02:19:10,424 - 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 1005ms') 2026-01-22 02:19:10,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05042465-20335749 failed! 2026-01-22 02:19:10,478 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05042465:ctest-vn-53872626 is 17.177.204.1 and allocation pool is NOT set 2026-01-22 02:19:12,545 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/4.183/7.943/3.759 ms') 2026-01-22 02:19:12,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05042465-20335749 passed 2026-01-22 02:19:12,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:19:12,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05042465-20335749, IP 17.177.204.3, Port 22 2026-01-22 02:19:12,760 - 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-01-22 02:19:12,835 - DEBUG - VM ctest-TestBasicPolicy-05042465-20335749 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:19:17,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:19:17,836 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05042465-20335749, IP 17.177.204.3, Port 22 2026-01-22 02:19:18,005 - DEBUG - VM ctest-TestBasicPolicy-05042465-20335749 is ready for SSH connections 2026-01-22 02:19:18,005 - INFO - Waiting for VM ctest-TestBasicPolicy-05042465-14059291 to be up.. 2026-01-22 02:19:18,087 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:19:18,087 - INFO - VM name : ctest-TestBasicPolicy-05042465-14059291 2026-01-22 02:19:18,169 - DEBUG - VM ctest-TestBasicPolicy-05042465-14059291 ID is 363ad0a7-7e9d-4a48-831a-34d950ff8334 2026-01-22 02:19:18,169 - DEBUG - VM ctest-TestBasicPolicy-05042465-14059291 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1 2026-01-22 02:19:18,245 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/363ad0a7-7e9d-4a48-831a-34d950ff8334 2026-01-22 02:19:18,255 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a17e7f81-3102-4e5b-96fc-771416634eb1 2026-01-22 02:19:19,491 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.807/3.132/1.324 ms') 2026-01-22 02:19:19,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05042465-14059291 passed 2026-01-22 02:19:19,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:19:19,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05042465-14059291, IP 156.10.186.195, Port 22 2026-01-22 02:19:19,817 - DEBUG - VM ctest-TestBasicPolicy-05042465-14059291 is ready for SSH connections 2026-01-22 02:19:19,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:19:19,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.10.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-22 02:19:19,818 - DEBUG - ping -s 56 -c 3 -W 1 156.10.186.195 2026-01-22 02:19:23,886 - DEBUG - PING 156.10.186.195 (156.10.186.195): 56 data bytes 64 bytes from 156.10.186.195: seq=0 ttl=63 time=3.278 ms 64 bytes from 156.10.186.195: seq=1 ttl=63 time=0.921 ms 64 bytes from 156.10.186.195: seq=2 ttl=63 time=0.866 ms --- 156.10.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.688/3.278 ms 2026-01-22 02:19:23,887 - INFO - Ping to IP 156.10.186.195 from VM ctest-TestBasicPolicy-05042465-20335749 passed 2026-01-22 02:19:24,069 - DEBUG - Policy Update Response {"network-policy": {"uuid": "955f0190-a996-4168-87c5-c68d31071f81", "href": "http://10.0.0.241:8082/network-policy/955f0190-a996-4168-87c5-c68d31071f81"}} 2026-01-22 02:19:24,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:19:24,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.10.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-22 02:19:24,070 - DEBUG - ping -s 56 -c 3 -W 1 156.10.186.195 2026-01-22 02:19:27,278 - DEBUG - PING 156.10.186.195 (156.10.186.195): 56 data bytes --- 156.10.186.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 02:19:27,278 - WARNING - Ping to IP 156.10.186.195 from VM ctest-TestBasicPolicy-05042465-20335749 failed 2026-01-22 02:19:27,278 - INFO - Deleting VM ctest-TestBasicPolicy-05042465-14059291 2026-01-22 02:19:27,351 - INFO - Deleting VM ctest-TestBasicPolicy-05042465-20335749 2026-01-22 02:19:27,798 - INFO - Deleted policy ctest-policy-allow-all-38341532 2026-01-22 02:19:27,798 - INFO - Deleting VN ctest-vn-79161690 2026-01-22 02:19:27,837 - DEBUG - VN 4c23c631-4739-4a72-a7a3-3215303a49e6 still in use: Unable to complete operation on network 4c23c631-4739-4a72-a7a3-3215303a49e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e0b4153-9a38-470a-a1ea-9fbef72faddc'] 2026-01-22 02:19:27,837 - WARNING - Deleting VN ctest-vn-79161690 failed..Will retry 2026-01-22 02:19:29,954 - DEBUG - Response for deleting network () 2026-01-22 02:19:29,955 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/57b752c3-801b-4aaf-b96c-59543582476f 2026-01-22 02:19:29,960 - DEBUG - Response Code: 404 2026-01-22 02:19:29,960 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:19:29,965 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:19:30,019 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:19:30,094 - INFO - Validated that VN ctest-vn-79161690 is not found in API Server 2026-01-22 02:19:30,104 - DEBUG - VN ctest-vn-79161690 is not present in Agent 10.0.0.241 2026-01-22 02:19:30,104 - INFO - Validated that VN ctest-vn-79161690 is not in any agent 2026-01-22 02:19:30,118 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79161690 info 2026-01-22 02:19:30,119 - INFO - Deleting VN ctest-vn-53872626 2026-01-22 02:19:30,217 - DEBUG - Response for deleting network () 2026-01-22 02:19:30,217 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/663bfe21-8d23-46e2-b02a-0500478c01de 2026-01-22 02:19:30,222 - DEBUG - Response Code: 404 2026-01-22 02:19:30,222 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-22 02:19:30,228 - DEBUG - Requesting: http://10.0.0.241:8082/domain/95ae26a2-8d70-4bb3-901c-b9c837de0340 2026-01-22 02:19:30,283 - DEBUG - Requesting: http://10.0.0.241:8082/project/b02cb656-f51b-409e-af19-4227242f6311 2026-01-22 02:19:30,352 - INFO - Validated that VN ctest-vn-53872626 is not found in API Server 2026-01-22 02:19:30,361 - DEBUG - VN ctest-vn-53872626 is not present in Agent 10.0.0.241 2026-01-22 02:19:30,361 - INFO - Validated that VN ctest-vn-53872626 is not in any agent 2026-01-22 02:19:30,374 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53872626 info 2026-01-22 02:19:30,634 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:19:30,635 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-22 02:19:30,635 - INFO - -------------------------------------------------------------------------------- 2026-01-22 02:19:31,324 - INFO - Deleted project: ctest-TestBasicPolicy-05042465, ID : b02cb656-f51b-409e-af19-4227242f6311