2026-04-24 12:48:25,075 - INFO - Domain Default found not creating 2026-04-24 12:48:25,303 - INFO - Project ctest-TestBasicPolicy-05304108 not found, creating it 2026-04-24 12:48:25,833 - INFO - Created Project:ctest-TestBasicPolicy-05304108, ID : c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:48:27,437 - INFO - ================================================================================ 2026-04-24 12:48:27,438 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-24 12:48:27,438 - 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-24 12:48:27,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-24 12:48:27,703 - INFO - Initial checks done. Running the testcase now 2026-04-24 12:48:27,703 - INFO - 2026-04-24 12:48:28,298 - DEBUG - Response for create_network : {'network': {'id': '70d9870b-a59f-481f-90ec-a3d8444994bb', 'name': 'ctest-vn-07612632', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'project_id': 'c72733cd61be4fa1b81655828a980d7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-vn-07612632'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 12:48:28,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c04ec1f-bd5f-481c-8d56-55c3b446fa56', 'name': '', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'network_id': '70d9870b-a59f-481f-90ec-a3d8444994bb', 'ip_version': 4, 'cidr': '104.81.37.64/26', 'allocation_pools': [{'start': '104.81.37.66', 'end': '104.81.37.126'}], 'gateway_ip': '104.81.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.81.37.66', 'tags': [], 'project_id': 'c72733cd61be4fa1b81655828a980d7b'}} 2026-04-24 12:48:28,491 - INFO - Created VN ctest-vn-07612632 2026-04-24 12:48:28,548 - DEBUG - VN ctest-vn-07612632 UUID is 70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:28,878 - DEBUG - Response for create_network : {'network': {'id': '872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875', 'name': 'ctest-vn-82887801', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'project_id': 'c72733cd61be4fa1b81655828a980d7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-vn-82887801'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 12:48:29,085 - DEBUG - Response for create_subnet : {'subnet': {'id': '10a5ab9a-551c-424b-bea5-031422cf7375', 'name': '', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'network_id': '872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875', 'ip_version': 4, 'cidr': '108.154.255.0/26', 'allocation_pools': [{'start': '108.154.255.2', 'end': '108.154.255.62'}], 'gateway_ip': '108.154.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.154.255.2', 'tags': [], 'project_id': 'c72733cd61be4fa1b81655828a980d7b'}} 2026-04-24 12:48:29,107 - INFO - Created VN ctest-vn-82887801 2026-04-24 12:48:29,164 - DEBUG - VN ctest-vn-82887801 UUID is 872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:29,292 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632, 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-05304108:ctest-vn-82887801, 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-24 12:48:29,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70d9870b-a59f-481f-90ec-a3d8444994bb', 'name': 'ctest-vn-07612632', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'project_id': 'c72733cd61be4fa1b81655828a980d7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c04ec1f-bd5f-481c-8d56-55c3b446fa56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-vn-07612632'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-policy-allow-all-77770838']], 'subnet_ipam': [{'subnet_cidr': '104.81.37.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 12:48:29,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875', 'name': 'ctest-vn-82887801', 'tenant_id': 'c72733cd61be4fa1b81655828a980d7b', 'project_id': 'c72733cd61be4fa1b81655828a980d7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10a5ab9a-551c-424b-bea5-031422cf7375'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-vn-82887801'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-policy-allow-all-77770838']], 'subnet_ipam': [{'subnet_cidr': '108.154.255.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 12:48:30,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:48:30,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:48:30,364 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:48:30,381 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:48:30,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,487 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:48:30,496 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:48:30,506 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8ca8a76f-f284-4a46-824f-dd35724b66d8 2026-04-24 12:48:30,515 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 12:48:30,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:48:30,543 - INFO - Verified VN network id 9 for VN 70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,543 - INFO - Verifications in API Server for VN ctest-vn-07612632 passed 2026-04-24 12:48:30,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:48:30,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:48:30,570 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8ca8a76f-f284-4a46-824f-dd35724b66d8 2026-04-24 12:48:30,584 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05304108', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8131679086287210527', 'uuid-lslong': '10442901785219273915'}, 'enable': 'true', 'created': '2026-04-24T12:48:28', 'last-modified': '2026-04-24T12:48:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001636'} 2026-04-24 12:48:30,591 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 12:48:30,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07612632 passed 2026-04-24 12:48:30,591 - DEBUG - ====Verifying policy data for ctest-vn-07612632 in API_Server ====== 2026-04-24 12:48:30,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:48:30,598 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:48:30,612 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:48:30,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/70d9870b-a59f-481f-90ec-a3d8444994bb 2026-04-24 12:48:30,699 - DEBUG - ==>Verifying data for policy with id: 3e6a7dca-4402-4401-b9a2-795583fd1e7d, fqn: ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-policy-allow-all-77770838'] 2026-04-24 12:48:30,699 - INFO - VN ctest-vn-07612632 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 12:48:30,699 - DEBUG - Verifying the vn in opserver 2026-04-24 12:48:30,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632 virtual network link through opserver 10.0.0.38 2026-04-24 12:48:30,699 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 12:48:30,995 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 12:48:31,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632?flat'} 2026-04-24 12:48:31,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632 is found in opserver 2026-04-24 12:48:31,090 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 12:48:31,095 - DEBUG - VRF ids for VN ctest-vn-07612632: {} 2026-04-24 12:48:31,095 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:48:31,102 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:48:31,115 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:48:31,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:48:31,218 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:48:31,227 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/18e277ce-c8b5-4652-b888-2e04c4d0758a 2026-04-24 12:48:31,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 12:48:31,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,248 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:48:31,265 - INFO - Verified VN network id 10 for VN 872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,265 - INFO - Verifications in API Server for VN ctest-vn-82887801 passed 2026-04-24 12:48:31,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:48:31,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:48:31,296 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/18e277ce-c8b5-4652-b888-2e04c4d0758a 2026-04-24 12:48:31,312 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-82887801', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05304108', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9740431401825029321', 'uuid-lslong': '13526584351776565365'}, 'enable': 'true', 'created': '2026-04-24T12:48:28', 'last-modified': '2026-04-24T12:48:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484560'} 2026-04-24 12:48:31,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 12:48:31,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82887801 passed 2026-04-24 12:48:31,321 - DEBUG - ====Verifying policy data for ctest-vn-82887801 in API_Server ====== 2026-04-24 12:48:31,321 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:48:31,328 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:48:31,341 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:48:31,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 2026-04-24 12:48:31,425 - DEBUG - ==>Verifying data for policy with id: 3e6a7dca-4402-4401-b9a2-795583fd1e7d, fqn: ['default-domain', 'ctest-TestBasicPolicy-05304108', 'ctest-policy-allow-all-77770838'] 2026-04-24 12:48:31,425 - INFO - VN ctest-vn-82887801 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 12:48:31,425 - DEBUG - Verifying the vn in opserver 2026-04-24 12:48:31,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-82887801 virtual network link through opserver 10.0.0.38 2026-04-24 12:48:31,425 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 12:48:31,437 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-82887801', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-82887801?flat'} 2026-04-24 12:48:31,437 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-82887801 is found in opserver 2026-04-24 12:48:31,448 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 12:48:31,454 - DEBUG - VRF ids for VN ctest-vn-82887801: {} 2026-04-24 12:48:31,523 - DEBUG - Services list from nova: [, , ] 2026-04-24 12:48:32,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5680-1) 2026-04-24 12:48:33,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5680-1) 2026-04-24 12:48:33,944 - INFO - Waiting for VM ctest-TestBasicPolicy-05304108-83686966 to be up.. 2026-04-24 12:48:34,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 12:48:39,154 - DEBUG - VM is in ACTIVE state now 2026-04-24 12:48:39,154 - INFO - VM name : ctest-TestBasicPolicy-05304108-83686966 2026-04-24 12:48:39,254 - DEBUG - VM ctest-TestBasicPolicy-05304108-83686966 ID is 6af7d2ae-76e7-43b2-943b-d4af849309dc 2026-04-24 12:48:39,282 - DEBUG - VM ctest-TestBasicPolicy-05304108-83686966 launched on Node cn-jenkins-deploy-platform-ansible-os-5680-1 2026-04-24 12:48:39,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6af7d2ae-76e7-43b2-943b-d4af849309dc 2026-04-24 12:48:39,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f0fb852c-c10c-49f8-9311-bcc4d3cdf028 2026-04-24 12:48:42,666 - 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 1016ms') 2026-04-24 12:48:42,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05304108-83686966 failed! 2026-04-24 12:48:42,723 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05304108:ctest-vn-07612632 is 104.81.37.65 and allocation pool is NOT set 2026-04-24 12:48:44,790 - 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=6.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.412/3.746/6.080/2.334 ms') 2026-04-24 12:48:44,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05304108-83686966 passed 2026-04-24 12:48:44,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 12:48:44,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05304108-83686966, IP 104.81.37.67, Port 22 2026-04-24 12:48:45,013 - 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-24 12:48:45,103 - DEBUG - VM ctest-TestBasicPolicy-05304108-83686966 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 12:48:50,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 12:48:50,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05304108-83686966, IP 104.81.37.67, Port 22 2026-04-24 12:48:50,259 - DEBUG - VM ctest-TestBasicPolicy-05304108-83686966 is ready for SSH connections 2026-04-24 12:48:50,260 - INFO - Waiting for VM ctest-TestBasicPolicy-05304108-96888726 to be up.. 2026-04-24 12:48:50,345 - DEBUG - VM is in ACTIVE state now 2026-04-24 12:48:50,345 - INFO - VM name : ctest-TestBasicPolicy-05304108-96888726 2026-04-24 12:48:50,435 - DEBUG - VM ctest-TestBasicPolicy-05304108-96888726 ID is 57aaf774-8dac-4662-9b7a-db3d0fd8f7ee 2026-04-24 12:48:50,435 - DEBUG - VM ctest-TestBasicPolicy-05304108-96888726 launched on Node cn-jenkins-deploy-platform-ansible-os-5680-1 2026-04-24 12:48:50,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/57aaf774-8dac-4662-9b7a-db3d0fd8f7ee 2026-04-24 12:48:50,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef871d76-6d93-4c92-9a38-ad8decc8af88 2026-04-24 12:48:51,787 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.757/3.087/1.330 ms') 2026-04-24 12:48:51,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05304108-96888726 passed 2026-04-24 12:48:51,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 12:48:51,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05304108-96888726, IP 108.154.255.3, Port 22 2026-04-24 12:48:52,114 - DEBUG - VM ctest-TestBasicPolicy-05304108-96888726 is ready for SSH connections 2026-04-24 12:48:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 12:48:52,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.154.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 12:48:52,114 - DEBUG - ping -s 56 -c 3 -W 1 108.154.255.3 2026-04-24 12:48:56,216 - DEBUG - PING 108.154.255.3 (108.154.255.3): 56 data bytes 64 bytes from 108.154.255.3: seq=0 ttl=63 time=3.795 ms 64 bytes from 108.154.255.3: seq=1 ttl=63 time=1.169 ms 64 bytes from 108.154.255.3: seq=2 ttl=63 time=0.933 ms --- 108.154.255.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.965/3.795 ms 2026-04-24 12:48:56,217 - INFO - Ping to IP 108.154.255.3 from VM ctest-TestBasicPolicy-05304108-83686966 passed 2026-04-24 12:48:56,399 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3e6a7dca-4402-4401-b9a2-795583fd1e7d", "href": "http://10.0.0.38:8082/network-policy/3e6a7dca-4402-4401-b9a2-795583fd1e7d"}} 2026-04-24 12:48:56,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 12:48:56,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.154.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 12:48:56,400 - DEBUG - ping -s 56 -c 3 -W 1 108.154.255.3 2026-04-24 12:48:59,638 - DEBUG - PING 108.154.255.3 (108.154.255.3): 56 data bytes --- 108.154.255.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 12:48:59,638 - WARNING - Ping to IP 108.154.255.3 from VM ctest-TestBasicPolicy-05304108-83686966 failed 2026-04-24 12:48:59,638 - INFO - Deleting VM ctest-TestBasicPolicy-05304108-96888726 2026-04-24 12:48:59,725 - INFO - Deleting VM ctest-TestBasicPolicy-05304108-83686966 2026-04-24 12:49:00,145 - INFO - Deleted policy ctest-policy-allow-all-77770838 2026-04-24 12:49:00,145 - INFO - Deleting VN ctest-vn-82887801 2026-04-24 12:49:00,185 - DEBUG - VN 872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875 still in use: Unable to complete operation on network 872cf6c0-c0d7-4cc9-bbb8-14cd0fffe875. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50c5bc2d-2ecf-4fe7-bc45-10298db3c877'] 2026-04-24 12:49:00,185 - WARNING - Deleting VN ctest-vn-82887801 failed..Will retry 2026-04-24 12:49:02,309 - DEBUG - Response for deleting network () 2026-04-24 12:49:02,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7dcee069-a309-4c42-8dd8-a83e5249a0a9 2026-04-24 12:49:02,317 - DEBUG - Response Code: 404 2026-04-24 12:49:02,317 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:49:02,324 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:49:02,382 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:49:02,464 - INFO - Validated that VN ctest-vn-82887801 is not found in API Server 2026-04-24 12:49:02,476 - DEBUG - VN ctest-vn-82887801 is not present in Agent 10.0.0.38 2026-04-24 12:49:02,476 - INFO - Validated that VN ctest-vn-82887801 is not in any agent 2026-04-24 12:49:02,492 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82887801 info 2026-04-24 12:49:02,492 - INFO - Deleting VN ctest-vn-07612632 2026-04-24 12:49:02,621 - DEBUG - Response for deleting network () 2026-04-24 12:49:02,621 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/588f8668-2096-497e-b2e1-c7c62adcbaa6 2026-04-24 12:49:02,629 - DEBUG - Response Code: 404 2026-04-24 12:49:02,629 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 12:49:02,636 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9baee0df-b805-487b-b59f-1480aee99557 2026-04-24 12:49:02,694 - DEBUG - Requesting: http://10.0.0.38:8082/project/c72733cd-61be-4fa1-b816-55828a980d7b 2026-04-24 12:49:02,771 - INFO - Validated that VN ctest-vn-07612632 is not found in API Server 2026-04-24 12:49:02,783 - DEBUG - VN ctest-vn-07612632 is not present in Agent 10.0.0.38 2026-04-24 12:49:02,783 - INFO - Validated that VN ctest-vn-07612632 is not in any agent 2026-04-24 12:49:02,801 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07612632 info 2026-04-24 12:49:03,074 - DEBUG - No XMPP flaps were noticed during the test 2026-04-24 12:49:03,074 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-04-24 12:49:03,074 - INFO - -------------------------------------------------------------------------------- 2026-04-24 12:49:03,774 - INFO - Deleted project: ctest-TestBasicPolicy-05304108, ID : c72733cd-61be-4fa1-b816-55828a980d7b