2026-02-05 02:08:29,126 - INFO - Domain Default found not creating 2026-02-05 02:08:29,330 - INFO - Project ctest-TestBasicPolicy-17380829 not found, creating it 2026-02-05 02:08:29,824 - INFO - Created Project:ctest-TestBasicPolicy-17380829, ID : a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:08:32,072 - INFO - ================================================================================ 2026-02-05 02:08:32,072 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-05 02:08:32,073 - 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-02-05 02:08:32,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-05 02:08:32,345 - INFO - Initial checks done. Running the testcase now 2026-02-05 02:08:32,345 - INFO - 2026-02-05 02:08:33,033 - DEBUG - Response for create_network : {'network': {'id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'name': 'ctest-vn-16932398', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-16932398'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:08:33,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '39a38381-0681-4c0e-9c06-c528727f1aa8', 'name': '', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'network_id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'ip_version': 4, 'cidr': '188.209.183.192/26', 'allocation_pools': [{'start': '188.209.183.194', 'end': '188.209.183.254'}], 'gateway_ip': '188.209.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.209.183.194', 'tags': [], 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57'}} 2026-02-05 02:08:33,252 - INFO - Created VN ctest-vn-16932398 2026-02-05 02:08:33,307 - DEBUG - VN ctest-vn-16932398 UUID is e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:33,656 - DEBUG - Response for create_network : {'network': {'id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'name': 'ctest-vn-37018258', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-37018258'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:08:33,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a7931cc-4d1b-43ac-b7b8-adf43fd24b9a', 'name': '', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'network_id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'ip_version': 4, 'cidr': '13.248.228.192/26', 'allocation_pools': [{'start': '13.248.228.194', 'end': '13.248.228.254'}], 'gateway_ip': '13.248.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.248.228.194', 'tags': [], 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57'}} 2026-02-05 02:08:33,860 - INFO - Created VN ctest-vn-37018258 2026-02-05 02:08:33,919 - DEBUG - VN ctest-vn-37018258 UUID is bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:34,044 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398, 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-17380829:ctest-vn-37018258, 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-02-05 02:08:34,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'name': 'ctest-vn-16932398', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39a38381-0681-4c0e-9c06-c528727f1aa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-16932398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']], 'subnet_ipam': [{'subnet_cidr': '188.209.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:08:34,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'name': 'ctest-vn-37018258', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a7931cc-4d1b-43ac-b7b8-adf43fd24b9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-37018258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']], 'subnet_ipam': [{'subnet_cidr': '13.248.228.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:08:34,771 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:08:35,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:08:35,182 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:08:35,198 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:08:35,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:08:35,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:08:35,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5ff9143-770f-4f3a-974b-cf37af84a2f6 2026-02-05 02:08:35,320 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:08:35,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:08:35,350 - INFO - Verified VN network id 12 for VN e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,350 - INFO - Verifications in API Server for VN ctest-vn-16932398 passed 2026-02-05 02:08:35,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,362 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:08:35,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:08:35,378 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5ff9143-770f-4f3a-974b-cf37af84a2f6 2026-02-05 02:08:35,392 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17380829', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16229776935376539625', 'uuid-lslong': '13108232821147949124'}, 'enable': 'true', 'created': '2026-02-05T02:08:32', 'last-modified': '2026-02-05T02:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.051131'} 2026-02-05 02:08:35,399 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 02:08:35,399 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16932398 passed 2026-02-05 02:08:35,399 - DEBUG - ====Verifying policy data for ctest-vn-16932398 in API_Server ====== 2026-02-05 02:08:35,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:08:35,406 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:08:35,418 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:08:35,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844 2026-02-05 02:08:35,501 - DEBUG - ==>Verifying data for policy with id: 9c8265d9-df30-4f9d-8d16-95a9dd68a3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923'] 2026-02-05 02:08:35,501 - INFO - VN ctest-vn-16932398 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 02:08:35,501 - DEBUG - Verifying the vn in opserver 2026-02-05 02:08:35,502 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398 virtual network link through opserver 10.0.0.38 2026-02-05 02:08:35,502 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-05 02:08:35,846 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-05 02:08:35,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398?flat'} 2026-02-05 02:08:35,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398 is found in opserver 2026-02-05 02:08:35,934 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 02:08:35,939 - DEBUG - VRF ids for VN ctest-vn-16932398: {} 2026-02-05 02:08:35,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:08:35,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:08:35,962 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:08:36,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:08:36,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:08:36,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a135cd3-fbd1-4715-a0b2-1807e61e2643 2026-02-05 02:08:36,124 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 02:08:36,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:08:36,156 - INFO - Verified VN network id 13 for VN bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,156 - INFO - Verifications in API Server for VN ctest-vn-37018258 passed 2026-02-05 02:08:36,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:08:36,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:08:36,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a135cd3-fbd1-4715-a0b2-1807e61e2643 2026-02-05 02:08:36,203 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17380829', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13805036205861520141', 'uuid-lslong': '12502128862036732841'}, 'enable': 'true', 'created': '2026-02-05T02:08:33', 'last-modified': '2026-02-05T02:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.612589'} 2026-02-05 02:08:36,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 02:08:36,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37018258 passed 2026-02-05 02:08:36,210 - DEBUG - ====Verifying policy data for ctest-vn-37018258 in API_Server ====== 2026-02-05 02:08:36,210 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:08:36,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:08:36,230 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:08:36,322 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9 2026-02-05 02:08:36,336 - DEBUG - ==>Verifying data for policy with id: 9c8265d9-df30-4f9d-8d16-95a9dd68a3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923'] 2026-02-05 02:08:36,336 - INFO - VN ctest-vn-37018258 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 02:08:36,336 - DEBUG - Verifying the vn in opserver 2026-02-05 02:08:36,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258 virtual network link through opserver 10.0.0.38 2026-02-05 02:08:36,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-05 02:08:36,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258?flat'} 2026-02-05 02:08:36,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258 is found in opserver 2026-02-05 02:08:36,362 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 02:08:36,369 - DEBUG - VRF ids for VN ctest-vn-37018258: {} 2026-02-05 02:08:36,443 - DEBUG - Services list from nova: [, , ] 2026-02-05 02:08:37,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5211-1) 2026-02-05 02:08:39,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5211-1) 2026-02-05 02:08:39,054 - INFO - Waiting for VM ctest-TestBasicPolicy-17380829-98316112 to be up.. 2026-02-05 02:08:39,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 02:08:44,240 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:08:44,240 - INFO - VM name : ctest-TestBasicPolicy-17380829-98316112 2026-02-05 02:08:44,335 - DEBUG - VM ctest-TestBasicPolicy-17380829-98316112 ID is 91a23def-7dbb-4e2e-afae-aa52ec05b898 2026-02-05 02:08:44,357 - DEBUG - VM ctest-TestBasicPolicy-17380829-98316112 launched on Node cn-jenkins-deploy-platform-ansible-os-5211-1 2026-02-05 02:08:44,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91a23def-7dbb-4e2e-afae-aa52ec05b898 2026-02-05 02:08:44,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/745c468c-add0-4791-af87-a908322c0ca3 2026-02-05 02:08:47,723 - 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 1020ms') 2026-02-05 02:08:47,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17380829-98316112 failed! 2026-02-05 02:08:47,783 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398 is 188.209.183.193 and allocation pool is NOT set 2026-02-05 02:08:49,847 - 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=14.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.493/8.761/14.030/5.268 ms') 2026-02-05 02:08:49,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17380829-98316112 passed 2026-02-05 02:08:50,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:50,007 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17380829-98316112, IP 188.209.183.195, Port 22 2026-02-05 02:08:50,073 - 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-02-05 02:08:50,183 - DEBUG - VM ctest-TestBasicPolicy-17380829-98316112 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 02:08:55,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:55,184 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17380829-98316112, IP 188.209.183.195, Port 22 2026-02-05 02:08:55,349 - DEBUG - VM ctest-TestBasicPolicy-17380829-98316112 is ready for SSH connections 2026-02-05 02:08:55,349 - INFO - Waiting for VM ctest-TestBasicPolicy-17380829-93027861 to be up.. 2026-02-05 02:08:55,438 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:08:55,438 - INFO - VM name : ctest-TestBasicPolicy-17380829-93027861 2026-02-05 02:08:55,521 - DEBUG - VM ctest-TestBasicPolicy-17380829-93027861 ID is fda56966-83a7-43b0-8950-aa04eeb734c7 2026-02-05 02:08:55,521 - DEBUG - VM ctest-TestBasicPolicy-17380829-93027861 launched on Node cn-jenkins-deploy-platform-ansible-os-5211-1 2026-02-05 02:08:55,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fda56966-83a7-43b0-8950-aa04eeb734c7 2026-02-05 02:08:55,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f59ec548-b13d-4d16-b841-bba6d3954a19 2026-02-05 02:08:56,869 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.515/2.016/3.517/1.501 ms') 2026-02-05 02:08:56,869 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17380829-93027861 passed 2026-02-05 02:08:57,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:57,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17380829-93027861, IP 13.248.228.195, Port 22 2026-02-05 02:08:57,189 - DEBUG - VM ctest-TestBasicPolicy-17380829-93027861 is ready for SSH connections 2026-02-05 02:08:57,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:57,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.248.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-05 02:08:57,189 - DEBUG - ping -s 56 -c 3 -W 1 13.248.228.195 2026-02-05 02:09:01,382 - DEBUG - PING 13.248.228.195 (13.248.228.195): 56 data bytes 64 bytes from 13.248.228.195: seq=0 ttl=63 time=4.868 ms 64 bytes from 13.248.228.195: seq=1 ttl=63 time=0.952 ms 64 bytes from 13.248.228.195: seq=2 ttl=63 time=1.188 ms --- 13.248.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/2.336/4.868 ms 2026-02-05 02:09:01,382 - INFO - Ping to IP 13.248.228.195 from VM ctest-TestBasicPolicy-17380829-98316112 passed 2026-02-05 02:09:01,575 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c8265d9-df30-4f9d-8d16-95a9dd68a3fd", "href": "http://10.0.0.38:8082/network-policy/9c8265d9-df30-4f9d-8d16-95a9dd68a3fd"}} 2026-02-05 02:09:01,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:09:01,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.248.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-05 02:09:01,575 - DEBUG - ping -s 56 -c 3 -W 1 13.248.228.195 2026-02-05 02:09:04,880 - DEBUG - PING 13.248.228.195 (13.248.228.195): 56 data bytes --- 13.248.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-05 02:09:04,881 - WARNING - Ping to IP 13.248.228.195 from VM ctest-TestBasicPolicy-17380829-98316112 failed 2026-02-05 02:09:04,881 - INFO - Deleting VM ctest-TestBasicPolicy-17380829-93027861 2026-02-05 02:09:04,965 - INFO - Deleting VM ctest-TestBasicPolicy-17380829-98316112 2026-02-05 02:09:05,467 - INFO - Deleted policy ctest-policy-allow-all-58656923 2026-02-05 02:09:05,467 - INFO - Deleting VN ctest-vn-37018258 2026-02-05 02:09:05,514 - DEBUG - VN bf955749-79c8-430d-ad80-7bf5fddbaba9 still in use: Unable to complete operation on network bf955749-79c8-430d-ad80-7bf5fddbaba9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e321fb4f-f6d6-4ca7-ba9f-8851fd632fa0'] 2026-02-05 02:09:05,514 - WARNING - Deleting VN ctest-vn-37018258 failed..Will retry 2026-02-05 02:09:07,644 - DEBUG - Response for deleting network () 2026-02-05 02:09:07,645 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd 2026-02-05 02:09:07,651 - DEBUG - Response Code: 404 2026-02-05 02:09:07,651 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:09:07,657 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:09:07,713 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:09:07,792 - INFO - Validated that VN ctest-vn-37018258 is not found in API Server 2026-02-05 02:09:07,803 - DEBUG - VN ctest-vn-37018258 is not present in Agent 10.0.0.38 2026-02-05 02:09:07,803 - INFO - Validated that VN ctest-vn-37018258 is not in any agent 2026-02-05 02:09:07,821 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37018258 info 2026-02-05 02:09:07,822 - INFO - Deleting VN ctest-vn-16932398 2026-02-05 02:09:07,939 - DEBUG - Response for deleting network () 2026-02-05 02:09:07,939 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f 2026-02-05 02:09:07,949 - DEBUG - Response Code: 404 2026-02-05 02:09:07,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-05 02:09:07,956 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2 2026-02-05 02:09:08,012 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57 2026-02-05 02:09:08,089 - INFO - Validated that VN ctest-vn-16932398 is not found in API Server 2026-02-05 02:09:08,099 - DEBUG - VN ctest-vn-16932398 is not present in Agent 10.0.0.38 2026-02-05 02:09:08,099 - INFO - Validated that VN ctest-vn-16932398 is not in any agent 2026-02-05 02:09:08,118 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16932398 info 2026-02-05 02:09:08,373 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 02:09:08,373 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-05 02:09:08,373 - INFO - -------------------------------------------------------------------------------- 2026-02-05 02:09:09,149 - INFO - Deleted project: ctest-TestBasicPolicy-17380829, ID : a2b48ce9-b913-4b46-b41d-abad5716fb57