2026-04-17 15:50:40,835 - INFO - Domain Default found not creating 2026-04-17 15:50:41,011 - INFO - Project ctest-TestBasicPolicy-47993478 not found, creating it 2026-04-17 15:50:41,491 - INFO - Created Project:ctest-TestBasicPolicy-47993478, ID : 96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:50:43,080 - INFO - ================================================================================ 2026-04-17 15:50:43,080 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 15:50:43,080 - 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-17 15:50:43,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-17 15:50:43,352 - INFO - Initial checks done. Running the testcase now 2026-04-17 15:50:43,352 - INFO - 2026-04-17 15:50:43,928 - DEBUG - Response for create_network : {'network': {'id': '54195582-50da-4ee4-b821-a981277f4cf3', 'name': 'ctest-vn-40516258', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'project_id': '96ff121e47e848d5a5324dc06d6d510c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-vn-40516258'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 15:50:44,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e38613ed-2e8c-4369-a31e-744eae730f5c', 'name': '', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'network_id': '54195582-50da-4ee4-b821-a981277f4cf3', 'ip_version': 4, 'cidr': '20.252.244.128/26', 'allocation_pools': [{'start': '20.252.244.130', 'end': '20.252.244.190'}], 'gateway_ip': '20.252.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.252.244.130', 'tags': [], 'project_id': '96ff121e47e848d5a5324dc06d6d510c'}} 2026-04-17 15:50:44,141 - INFO - Created VN ctest-vn-40516258 2026-04-17 15:50:44,194 - DEBUG - VN ctest-vn-40516258 UUID is 54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:44,496 - DEBUG - Response for create_network : {'network': {'id': '05312a24-92ea-4017-a7b1-5ac41d314327', 'name': 'ctest-vn-95121208', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'project_id': '96ff121e47e848d5a5324dc06d6d510c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-vn-95121208'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 15:50:44,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cd9a837-d560-4e87-ba4b-56ca5fbf8423', 'name': '', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'network_id': '05312a24-92ea-4017-a7b1-5ac41d314327', 'ip_version': 4, 'cidr': '26.18.187.64/26', 'allocation_pools': [{'start': '26.18.187.66', 'end': '26.18.187.126'}], 'gateway_ip': '26.18.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.18.187.66', 'tags': [], 'project_id': '96ff121e47e848d5a5324dc06d6d510c'}} 2026-04-17 15:50:44,733 - INFO - Created VN ctest-vn-95121208 2026-04-17 15:50:44,786 - DEBUG - VN ctest-vn-95121208 UUID is 05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:44,901 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258, 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-47993478:ctest-vn-95121208, 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-17 15:50:45,195 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54195582-50da-4ee4-b821-a981277f4cf3', 'name': 'ctest-vn-40516258', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'project_id': '96ff121e47e848d5a5324dc06d6d510c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e38613ed-2e8c-4369-a31e-744eae730f5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-vn-40516258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-policy-allow-all-43929070']], 'subnet_ipam': [{'subnet_cidr': '20.252.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 15:50:45,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05312a24-92ea-4017-a7b1-5ac41d314327', 'name': 'ctest-vn-95121208', 'tenant_id': '96ff121e47e848d5a5324dc06d6d510c', 'project_id': '96ff121e47e848d5a5324dc06d6d510c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2cd9a837-d560-4e87-ba4b-56ca5fbf8423'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-vn-95121208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-policy-allow-all-43929070']], 'subnet_ipam': [{'subnet_cidr': '26.18.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 15:50:45,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:50:45,905 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:50:45,945 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:50:45,956 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:50:46,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:50:46,060 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:50:46,068 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be38a2f-391a-453e-91bb-cd83f4202e72 2026-04-17 15:50:46,074 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 15:50:46,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,083 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:50:46,099 - INFO - Verified VN network id 11 for VN 54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,099 - INFO - Verifications in API Server for VN ctest-vn-40516258 passed 2026-04-17 15:50:46,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:50:46,115 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:50:46,123 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be38a2f-391a-453e-91bb-cd83f4202e72 2026-04-17 15:50:46,136 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47993478', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6059968791794306788', 'uuid-lslong': '13268072349388721395'}, 'enable': 'true', 'created': '2026-04-17T15:50:43', 'last-modified': '2026-04-17T15:50:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962848'} 2026-04-17 15:50:46,142 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 15:50:46,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40516258 passed 2026-04-17 15:50:46,142 - DEBUG - ====Verifying policy data for ctest-vn-40516258 in API_Server ====== 2026-04-17 15:50:46,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:50:46,148 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:50:46,161 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:50:46,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/54195582-50da-4ee4-b821-a981277f4cf3 2026-04-17 15:50:46,251 - DEBUG - ==>Verifying data for policy with id: a258e570-030e-4e16-adb6-b831e331b85f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-policy-allow-all-43929070'] 2026-04-17 15:50:46,251 - INFO - VN ctest-vn-40516258 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 15:50:46,251 - DEBUG - Verifying the vn in opserver 2026-04-17 15:50:46,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258 virtual network link through opserver 10.0.0.38 2026-04-17 15:50:46,251 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 15:50:46,568 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 15:50:46,632 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258?flat'} 2026-04-17 15:50:46,633 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258 is found in opserver 2026-04-17 15:50:46,645 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 15:50:46,651 - DEBUG - VRF ids for VN ctest-vn-40516258: {} 2026-04-17 15:50:46,651 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:50:46,657 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:50:46,668 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:50:46,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:50:46,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:50:46,783 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/16f6f881-fba5-446e-a855-c9561de173fb 2026-04-17 15:50:46,791 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 15:50:46,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:50:46,812 - INFO - Verified VN network id 12 for VN 05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,812 - INFO - Verifications in API Server for VN ctest-vn-95121208 passed 2026-04-17 15:50:46,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:50:46,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:50:46,839 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/16f6f881-fba5-446e-a855-c9561de173fb 2026-04-17 15:50:46,852 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-95121208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47993478', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '374126580620476439', 'uuid-lslong': '12083539073561608999'}, 'enable': 'true', 'created': '2026-04-17T15:50:44', 'last-modified': '2026-04-17T15:50:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.446596'} 2026-04-17 15:50:46,857 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 15:50:46,858 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95121208 passed 2026-04-17 15:50:46,858 - DEBUG - ====Verifying policy data for ctest-vn-95121208 in API_Server ====== 2026-04-17 15:50:46,858 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:50:46,865 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:50:46,877 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:50:46,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/05312a24-92ea-4017-a7b1-5ac41d314327 2026-04-17 15:50:46,958 - DEBUG - ==>Verifying data for policy with id: a258e570-030e-4e16-adb6-b831e331b85f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47993478', 'ctest-policy-allow-all-43929070'] 2026-04-17 15:50:46,959 - INFO - VN ctest-vn-95121208 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 15:50:46,959 - DEBUG - Verifying the vn in opserver 2026-04-17 15:50:46,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-95121208 virtual network link through opserver 10.0.0.38 2026-04-17 15:50:46,959 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 15:50:46,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-95121208', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-95121208?flat'} 2026-04-17 15:50:46,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-95121208 is found in opserver 2026-04-17 15:50:46,979 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 15:50:46,985 - DEBUG - VRF ids for VN ctest-vn-95121208: {} 2026-04-17 15:50:47,052 - DEBUG - Services list from nova: [, , ] 2026-04-17 15:50:48,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5637-1) 2026-04-17 15:50:49,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5637-1) 2026-04-17 15:50:49,291 - INFO - Waiting for VM ctest-TestBasicPolicy-47993478-86330942 to be up.. 2026-04-17 15:50:49,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 15:50:54,473 - DEBUG - VM is in ACTIVE state now 2026-04-17 15:50:54,473 - INFO - VM name : ctest-TestBasicPolicy-47993478-86330942 2026-04-17 15:50:54,565 - DEBUG - VM ctest-TestBasicPolicy-47993478-86330942 ID is f60bbbb9-aeae-44fd-b7ba-ee5b72f3f8e7 2026-04-17 15:50:54,586 - DEBUG - VM ctest-TestBasicPolicy-47993478-86330942 launched on Node cn-jenkins-deploy-platform-ansible-os-5637-1 2026-04-17 15:50:54,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f60bbbb9-aeae-44fd-b7ba-ee5b72f3f8e7 2026-04-17 15:50:54,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1b48da2e-280d-4809-9f5b-db4fe677f985 2026-04-17 15:50:57,956 - 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 1026ms') 2026-04-17 15:50:57,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47993478-86330942 failed! 2026-04-17 15:50:58,010 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47993478:ctest-vn-40516258 is 20.252.244.129 and allocation pool is NOT set 2026-04-17 15:51:00,077 - 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=8.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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 = 1.581/5.241/8.902/3.660 ms') 2026-04-17 15:51:00,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47993478-86330942 passed 2026-04-17 15:51:00,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 15:51:00,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47993478-86330942, IP 20.252.244.131, Port 22 2026-04-17 15:51:00,292 - 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-17 15:51:00,373 - DEBUG - VM ctest-TestBasicPolicy-47993478-86330942 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 15:51:05,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 15:51:05,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47993478-86330942, IP 20.252.244.131, Port 22 2026-04-17 15:51:05,543 - DEBUG - VM ctest-TestBasicPolicy-47993478-86330942 is ready for SSH connections 2026-04-17 15:51:05,544 - INFO - Waiting for VM ctest-TestBasicPolicy-47993478-97159414 to be up.. 2026-04-17 15:51:05,631 - DEBUG - VM is in ACTIVE state now 2026-04-17 15:51:05,631 - INFO - VM name : ctest-TestBasicPolicy-47993478-97159414 2026-04-17 15:51:05,777 - DEBUG - VM ctest-TestBasicPolicy-47993478-97159414 ID is 4f2c05dc-48e8-4134-b454-06717901ef8c 2026-04-17 15:51:05,777 - DEBUG - VM ctest-TestBasicPolicy-47993478-97159414 launched on Node cn-jenkins-deploy-platform-ansible-os-5637-1 2026-04-17 15:51:05,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f2c05dc-48e8-4134-b454-06717901ef8c 2026-04-17 15:51:05,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8173caaa-95a9-42a6-9820-d633514ce168 2026-04-17 15:51:07,182 - 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.434 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.434/1.782/3.130/1.348 ms') 2026-04-17 15:51:07,182 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47993478-97159414 passed 2026-04-17 15:51:07,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 15:51:07,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47993478-97159414, IP 26.18.187.67, Port 22 2026-04-17 15:51:07,505 - DEBUG - VM ctest-TestBasicPolicy-47993478-97159414 is ready for SSH connections 2026-04-17 15:51:07,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 15:51:07,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.18.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 15:51:07,505 - DEBUG - ping -s 56 -c 3 -W 1 26.18.187.67 2026-04-17 15:51:11,587 - DEBUG - PING 26.18.187.67 (26.18.187.67): 56 data bytes 64 bytes from 26.18.187.67: seq=0 ttl=63 time=3.808 ms 64 bytes from 26.18.187.67: seq=1 ttl=63 time=0.911 ms 64 bytes from 26.18.187.67: seq=2 ttl=63 time=1.803 ms --- 26.18.187.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.174/3.808 ms 2026-04-17 15:51:11,587 - INFO - Ping to IP 26.18.187.67 from VM ctest-TestBasicPolicy-47993478-86330942 passed 2026-04-17 15:51:11,773 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a258e570-030e-4e16-adb6-b831e331b85f", "href": "http://10.0.0.38:8082/network-policy/a258e570-030e-4e16-adb6-b831e331b85f"}} 2026-04-17 15:51:11,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 15:51:11,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.18.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 15:51:11,774 - DEBUG - ping -s 56 -c 3 -W 1 26.18.187.67 2026-04-17 15:51:14,996 - DEBUG - PING 26.18.187.67 (26.18.187.67): 56 data bytes --- 26.18.187.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 15:51:14,996 - WARNING - Ping to IP 26.18.187.67 from VM ctest-TestBasicPolicy-47993478-86330942 failed 2026-04-17 15:51:14,996 - INFO - Deleting VM ctest-TestBasicPolicy-47993478-97159414 2026-04-17 15:51:15,095 - INFO - Deleting VM ctest-TestBasicPolicy-47993478-86330942 2026-04-17 15:51:15,510 - INFO - Deleted policy ctest-policy-allow-all-43929070 2026-04-17 15:51:15,510 - INFO - Deleting VN ctest-vn-95121208 2026-04-17 15:51:15,546 - DEBUG - VN 05312a24-92ea-4017-a7b1-5ac41d314327 still in use: Unable to complete operation on network 05312a24-92ea-4017-a7b1-5ac41d314327. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5ce792f-8213-4c45-828a-ea20eb6bfc3d'] 2026-04-17 15:51:15,546 - WARNING - Deleting VN ctest-vn-95121208 failed..Will retry 2026-04-17 15:51:17,668 - DEBUG - Response for deleting network () 2026-04-17 15:51:17,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5166bf2-dc2f-45ea-8c1c-727ed0b1cd83 2026-04-17 15:51:17,674 - DEBUG - Response Code: 404 2026-04-17 15:51:17,675 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:51:17,681 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:51:17,736 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:51:17,804 - INFO - Validated that VN ctest-vn-95121208 is not found in API Server 2026-04-17 15:51:17,813 - DEBUG - VN ctest-vn-95121208 is not present in Agent 10.0.0.38 2026-04-17 15:51:17,813 - INFO - Validated that VN ctest-vn-95121208 is not in any agent 2026-04-17 15:51:17,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95121208 info 2026-04-17 15:51:17,829 - INFO - Deleting VN ctest-vn-40516258 2026-04-17 15:51:17,929 - DEBUG - Response for deleting network () 2026-04-17 15:51:17,929 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c1387cc-5611-448b-8821-148479de939c 2026-04-17 15:51:17,938 - DEBUG - Response Code: 404 2026-04-17 15:51:17,938 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 15:51:17,943 - DEBUG - Requesting: http://10.0.0.38:8082/domain/02d4c6c9-9ebb-4e98-95fe-2e40b7b8f5c5 2026-04-17 15:51:17,995 - DEBUG - Requesting: http://10.0.0.38:8082/project/96ff121e-47e8-48d5-a532-4dc06d6d510c 2026-04-17 15:51:18,074 - INFO - Validated that VN ctest-vn-40516258 is not found in API Server 2026-04-17 15:51:18,084 - DEBUG - VN ctest-vn-40516258 is not present in Agent 10.0.0.38 2026-04-17 15:51:18,084 - INFO - Validated that VN ctest-vn-40516258 is not in any agent 2026-04-17 15:51:18,102 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40516258 info 2026-04-17 15:51:18,374 - DEBUG - No XMPP flaps were noticed during the test 2026-04-17 15:51:18,374 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-17 15:51:18,374 - INFO - -------------------------------------------------------------------------------- 2026-04-17 15:51:19,096 - INFO - Deleted project: ctest-TestBasicPolicy-47993478, ID : 96ff121e-47e8-48d5-a532-4dc06d6d510c