2026-06-04 12:52:51,929 - INFO - Domain Default found not creating 2026-06-04 12:52:52,104 - INFO - Project ctest-TestBasicPolicy-37954473 not found, creating it 2026-06-04 12:52:52,564 - INFO - Created Project:ctest-TestBasicPolicy-37954473, ID : 81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:52:54,030 - INFO - ================================================================================ 2026-06-04 12:52:54,030 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 12:52:54,030 - 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-06-04 12:52:54,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-04 12:52:54,285 - INFO - Initial checks done. Running the testcase now 2026-06-04 12:52:54,285 - INFO - 2026-06-04 12:52:54,878 - DEBUG - Response for create_network : {'network': {'id': '11e6e1d6-3450-4005-982d-26f97d109272', 'name': 'ctest-vn-36183145', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-vn-36183145'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 12:52:55,096 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3e09857-14cc-4289-b478-e9dcba6b0dc2', 'name': '', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'network_id': '11e6e1d6-3450-4005-982d-26f97d109272', 'ip_version': 4, 'cidr': '46.39.10.128/26', 'allocation_pools': [{'start': '46.39.10.130', 'end': '46.39.10.190'}], 'gateway_ip': '46.39.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.39.10.130', 'tags': [], 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0'}} 2026-06-04 12:52:55,117 - INFO - Created VN ctest-vn-36183145 2026-06-04 12:52:55,168 - DEBUG - VN ctest-vn-36183145 UUID is 11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:55,499 - DEBUG - Response for create_network : {'network': {'id': 'f66fc690-87fc-41e0-9e61-45fb1165c0a5', 'name': 'ctest-vn-15584894', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-vn-15584894'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 12:52:55,693 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be902b93-0e24-4fff-9c38-1bf157254b80', 'name': '', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'network_id': 'f66fc690-87fc-41e0-9e61-45fb1165c0a5', 'ip_version': 4, 'cidr': '181.17.37.0/26', 'allocation_pools': [{'start': '181.17.37.2', 'end': '181.17.37.62'}], 'gateway_ip': '181.17.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.17.37.2', 'tags': [], 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0'}} 2026-06-04 12:52:55,711 - INFO - Created VN ctest-vn-15584894 2026-06-04 12:52:55,764 - DEBUG - VN ctest-vn-15584894 UUID is f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:55,915 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145, 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-37954473:ctest-vn-15584894, 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-06-04 12:52:56,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11e6e1d6-3450-4005-982d-26f97d109272', 'name': 'ctest-vn-36183145', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3e09857-14cc-4289-b478-e9dcba6b0dc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-vn-36183145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-policy-allow-all-91685755']], 'subnet_ipam': [{'subnet_cidr': '46.39.10.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 12:52:56,435 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f66fc690-87fc-41e0-9e61-45fb1165c0a5', 'name': 'ctest-vn-15584894', 'tenant_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'project_id': '81bf782976d846d7a4ee5bc53ef7cef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be902b93-0e24-4fff-9c38-1bf157254b80'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-vn-15584894'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-policy-allow-all-91685755']], 'subnet_ipam': [{'subnet_cidr': '181.17.37.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 12:52:56,604 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:52:56,901 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:52:56,932 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:52:56,950 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:52:57,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,048 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:52:57,056 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:52:57,062 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/94925d5c-fb07-49c9-b063-8501b4882fc1 2026-06-04 12:52:57,068 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 12:52:57,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:52:57,090 - INFO - Verified VN network id 11 for VN 11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,091 - INFO - Verifications in API Server for VN ctest-vn-36183145 passed 2026-06-04 12:52:57,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:52:57,106 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:52:57,113 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/94925d5c-fb07-49c9-b063-8501b4882fc1 2026-06-04 12:52:57,125 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37954473', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1289966653405151237', 'uuid-lslong': '10965463520703976050'}, 'enable': 'true', 'created': '2026-06-04T12:52:54', 'last-modified': '2026-06-04T12:52:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931355'} 2026-06-04 12:52:57,131 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 12:52:57,131 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36183145 passed 2026-06-04 12:52:57,131 - DEBUG - ====Verifying policy data for ctest-vn-36183145 in API_Server ====== 2026-06-04 12:52:57,131 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:52:57,136 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:52:57,149 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:52:57,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11e6e1d6-3450-4005-982d-26f97d109272 2026-06-04 12:52:57,233 - DEBUG - ==>Verifying data for policy with id: 4429decc-8e5e-4501-8fa7-6cbb760bc754, fqn: ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-policy-allow-all-91685755'] 2026-06-04 12:52:57,233 - INFO - VN ctest-vn-36183145 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 12:52:57,233 - DEBUG - Verifying the vn in opserver 2026-06-04 12:52:57,233 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145 virtual network link through opserver 10.0.0.50 2026-06-04 12:52:57,233 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 12:52:57,531 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 12:52:57,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145?flat'} 2026-06-04 12:52:57,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145 is found in opserver 2026-06-04 12:52:57,602 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 12:52:57,606 - DEBUG - VRF ids for VN ctest-vn-36183145: {} 2026-06-04 12:52:57,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:52:57,611 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:52:57,622 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:52:57,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:52:57,719 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:52:57,725 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc6a65d7-c4f8-4ffa-8ea2-fd3567e13deb 2026-06-04 12:52:57,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 12:52:57,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,740 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:52:57,753 - INFO - Verified VN network id 12 for VN f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,753 - INFO - Verifications in API Server for VN ctest-vn-15584894 passed 2026-06-04 12:52:57,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,761 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:52:57,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:52:57,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc6a65d7-c4f8-4ffa-8ea2-fd3567e13deb 2026-06-04 12:52:57,784 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-15584894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37954473', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17757630179804201440', 'uuid-lslong': '11412479875364536485'}, 'enable': 'true', 'created': '2026-06-04T12:52:55', 'last-modified': '2026-06-04T12:52:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368947'} 2026-06-04 12:52:57,789 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 12:52:57,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15584894 passed 2026-06-04 12:52:57,789 - DEBUG - ====Verifying policy data for ctest-vn-15584894 in API_Server ====== 2026-06-04 12:52:57,789 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:52:57,796 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:52:57,808 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:52:57,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f66fc690-87fc-41e0-9e61-45fb1165c0a5 2026-06-04 12:52:57,886 - DEBUG - ==>Verifying data for policy with id: 4429decc-8e5e-4501-8fa7-6cbb760bc754, fqn: ['default-domain', 'ctest-TestBasicPolicy-37954473', 'ctest-policy-allow-all-91685755'] 2026-06-04 12:52:57,886 - INFO - VN ctest-vn-15584894 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 12:52:57,886 - DEBUG - Verifying the vn in opserver 2026-06-04 12:52:57,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-15584894 virtual network link through opserver 10.0.0.50 2026-06-04 12:52:57,886 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 12:52:57,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-15584894', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-15584894?flat'} 2026-06-04 12:52:57,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-15584894 is found in opserver 2026-06-04 12:52:57,906 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 12:52:57,911 - DEBUG - VRF ids for VN ctest-vn-15584894: {} 2026-06-04 12:52:57,966 - DEBUG - Services list from nova: [, , ] 2026-06-04 12:52:58,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5889-1) 2026-06-04 12:53:00,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5889-1) 2026-06-04 12:53:00,161 - INFO - Waiting for VM ctest-TestBasicPolicy-37954473-77471774 to be up.. 2026-06-04 12:53:00,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 12:53:05,330 - DEBUG - VM is in ACTIVE state now 2026-06-04 12:53:05,330 - INFO - VM name : ctest-TestBasicPolicy-37954473-77471774 2026-06-04 12:53:05,404 - DEBUG - VM ctest-TestBasicPolicy-37954473-77471774 ID is 081f87ad-2911-46d0-8ef3-0f467ead50db 2026-06-04 12:53:05,424 - DEBUG - VM ctest-TestBasicPolicy-37954473-77471774 launched on Node cn-jenkins-deploy-platform-ansible-os-5889-1 2026-06-04 12:53:05,496 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/081f87ad-2911-46d0-8ef3-0f467ead50db 2026-06-04 12:53:05,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/676074a6-3969-4402-849a-b8eb6e93b291 2026-06-04 12:53:08,758 - 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 1017ms') 2026-06-04 12:53:08,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37954473-77471774 failed! 2026-06-04 12:53:08,812 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37954473:ctest-vn-36183145 is 46.39.10.129 and allocation pool is NOT set 2026-06-04 12:53:10,875 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.851 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 = 0.851/4.272/7.694/3.421 ms') 2026-06-04 12:53:10,876 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37954473-77471774 passed 2026-06-04 12:53:11,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 12:53:11,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37954473-77471774, IP 46.39.10.131, Port 22 2026-06-04 12:53:11,089 - 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-06-04 12:53:11,170 - DEBUG - VM ctest-TestBasicPolicy-37954473-77471774 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 12:53:16,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 12:53:16,171 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37954473-77471774, IP 46.39.10.131, Port 22 2026-06-04 12:53:16,327 - DEBUG - VM ctest-TestBasicPolicy-37954473-77471774 is ready for SSH connections 2026-06-04 12:53:16,327 - INFO - Waiting for VM ctest-TestBasicPolicy-37954473-67259448 to be up.. 2026-06-04 12:53:16,403 - DEBUG - VM is in ACTIVE state now 2026-06-04 12:53:16,403 - INFO - VM name : ctest-TestBasicPolicy-37954473-67259448 2026-06-04 12:53:16,478 - DEBUG - VM ctest-TestBasicPolicy-37954473-67259448 ID is 3caad372-5547-4902-a2ac-2cc99c029d14 2026-06-04 12:53:16,478 - DEBUG - VM ctest-TestBasicPolicy-37954473-67259448 launched on Node cn-jenkins-deploy-platform-ansible-os-5889-1 2026-06-04 12:53:16,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3caad372-5547-4902-a2ac-2cc99c029d14 2026-06-04 12:53:16,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e628332d-15f6-4559-ac12-3a660bd2c05f 2026-06-04 12:53:17,797 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/2.180/3.902/1.721 ms') 2026-06-04 12:53:17,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37954473-67259448 passed 2026-06-04 12:53:17,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 12:53:17,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37954473-67259448, IP 181.17.37.3, Port 22 2026-06-04 12:53:18,115 - DEBUG - VM ctest-TestBasicPolicy-37954473-67259448 is ready for SSH connections 2026-06-04 12:53:18,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 12:53:18,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.17.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-04 12:53:18,116 - DEBUG - ping -s 56 -c 3 -W 1 181.17.37.3 2026-06-04 12:53:22,143 - DEBUG - PING 181.17.37.3 (181.17.37.3): 56 data bytes 64 bytes from 181.17.37.3: seq=0 ttl=63 time=4.218 ms 64 bytes from 181.17.37.3: seq=1 ttl=63 time=0.905 ms 64 bytes from 181.17.37.3: seq=2 ttl=63 time=0.834 ms --- 181.17.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.985/4.218 ms 2026-06-04 12:53:22,143 - INFO - Ping to IP 181.17.37.3 from VM ctest-TestBasicPolicy-37954473-77471774 passed 2026-06-04 12:53:22,335 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4429decc-8e5e-4501-8fa7-6cbb760bc754", "href": "http://10.0.0.50:8082/network-policy/4429decc-8e5e-4501-8fa7-6cbb760bc754"}} 2026-06-04 12:53:22,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 12:53:22,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.17.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-04 12:53:22,336 - DEBUG - ping -s 56 -c 3 -W 1 181.17.37.3 2026-06-04 12:53:25,542 - DEBUG - PING 181.17.37.3 (181.17.37.3): 56 data bytes --- 181.17.37.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 12:53:25,542 - WARNING - Ping to IP 181.17.37.3 from VM ctest-TestBasicPolicy-37954473-77471774 failed 2026-06-04 12:53:25,542 - INFO - Deleting VM ctest-TestBasicPolicy-37954473-67259448 2026-06-04 12:53:25,616 - INFO - Deleting VM ctest-TestBasicPolicy-37954473-77471774 2026-06-04 12:53:26,028 - INFO - Deleted policy ctest-policy-allow-all-91685755 2026-06-04 12:53:26,028 - INFO - Deleting VN ctest-vn-15584894 2026-06-04 12:53:26,066 - DEBUG - VN f66fc690-87fc-41e0-9e61-45fb1165c0a5 still in use: Unable to complete operation on network f66fc690-87fc-41e0-9e61-45fb1165c0a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d259a40e-c82d-4c50-abe9-a9260d0abbd3'] 2026-06-04 12:53:26,066 - WARNING - Deleting VN ctest-vn-15584894 failed..Will retry 2026-06-04 12:53:28,171 - DEBUG - Response for deleting network () 2026-06-04 12:53:28,171 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7ff77d8c-5cc2-4beb-b445-508929c5be6e 2026-06-04 12:53:28,177 - DEBUG - Response Code: 404 2026-06-04 12:53:28,177 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:53:28,181 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:53:28,232 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:53:28,300 - INFO - Validated that VN ctest-vn-15584894 is not found in API Server 2026-06-04 12:53:28,308 - DEBUG - VN ctest-vn-15584894 is not present in Agent 10.0.0.50 2026-06-04 12:53:28,308 - INFO - Validated that VN ctest-vn-15584894 is not in any agent 2026-06-04 12:53:28,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15584894 info 2026-06-04 12:53:28,321 - INFO - Deleting VN ctest-vn-36183145 2026-06-04 12:53:28,414 - DEBUG - Response for deleting network () 2026-06-04 12:53:28,414 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3504b83-a2a1-4800-a91d-420c88888a30 2026-06-04 12:53:28,421 - DEBUG - Response Code: 404 2026-06-04 12:53:28,421 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 12:53:28,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/00007a8b-9ba5-427a-9791-d7a47172f341 2026-06-04 12:53:28,481 - DEBUG - Requesting: http://10.0.0.50:8082/project/81bf7829-76d8-46d7-a4ee-5bc53ef7cef0 2026-06-04 12:53:28,554 - INFO - Validated that VN ctest-vn-36183145 is not found in API Server 2026-06-04 12:53:28,563 - DEBUG - VN ctest-vn-36183145 is not present in Agent 10.0.0.50 2026-06-04 12:53:28,563 - INFO - Validated that VN ctest-vn-36183145 is not in any agent 2026-06-04 12:53:28,575 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36183145 info 2026-06-04 12:53:28,828 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 12:53:28,828 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-06-04 12:53:28,828 - INFO - -------------------------------------------------------------------------------- 2026-06-04 12:53:29,489 - INFO - Deleted project: ctest-TestBasicPolicy-37954473, ID : 81bf7829-76d8-46d7-a4ee-5bc53ef7cef0