2026-02-23 19:07:31,306 - INFO - Domain Default found not creating 2026-02-23 19:07:31,638 - INFO - Project ctest-TestRoutersBasic-77224606 not found, creating it 2026-02-23 19:07:32,334 - INFO - Created Project:ctest-TestRoutersBasic-77224606, ID : df40bec0-109c-49db-bde2-d70a91c4e7c7 2026-02-23 19:07:34,422 - INFO - ================================================================================ 2026-02-23 19:07:34,422 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-23 19:07:34,422 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-02-23 19:07:34,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-23 19:07:34,735 - INFO - Initial checks done. Running the testcase now 2026-02-23 19:07:34,736 - INFO - 2026-02-23 19:07:35,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77224606 2026-02-23 19:07:35,803 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77224606 2026-02-23 19:07:36,211 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77224606', 'default']} 2026-02-23 19:07:36,636 - DEBUG - Response for create_network : {'network': {'id': 'e7903001-8e81-47f7-9891-f271b7a14e73', 'name': 'ctest-vn-80458313', 'tenant_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'project_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77224606', 'ctest-vn-80458313'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:07:36,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7cf1631-36b1-4ade-b4dd-58e05ef7e8b5', 'name': '', 'tenant_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'network_id': 'e7903001-8e81-47f7-9891-f271b7a14e73', 'ip_version': 4, 'cidr': '68.158.81.128/26', 'allocation_pools': [{'start': '68.158.81.130', 'end': '68.158.81.190'}], 'gateway_ip': '68.158.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.158.81.130', 'tags': [], 'project_id': 'df40bec0109c49dbbde2d70a91c4e7c7'}} 2026-02-23 19:07:36,866 - INFO - Created VN ctest-vn-80458313 2026-02-23 19:07:36,924 - DEBUG - VN ctest-vn-80458313 UUID is e7903001-8e81-47f7-9891-f271b7a14e73 2026-02-23 19:07:37,438 - DEBUG - Response for create_network : {'network': {'id': '65f9f88e-fdd0-40e2-8d58-3e53f7c47115', 'name': 'ctest-ext_vn-34029426', 'tenant_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'project_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77224606', 'ctest-ext_vn-34029426'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:07:37,656 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4824631-aafb-40e9-a302-708b51b0b864', 'name': '', 'tenant_id': 'df40bec0109c49dbbde2d70a91c4e7c7', 'network_id': '65f9f88e-fdd0-40e2-8d58-3e53f7c47115', 'ip_version': 4, 'cidr': '19.255.94.0/26', 'allocation_pools': [{'start': '19.255.94.2', 'end': '19.255.94.62'}], 'gateway_ip': '19.255.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.255.94.2', 'tags': [], 'project_id': 'df40bec0109c49dbbde2d70a91c4e7c7'}} 2026-02-23 19:07:37,681 - INFO - Created VN ctest-ext_vn-34029426 2026-02-23 19:07:37,743 - DEBUG - VN ctest-ext_vn-34029426 UUID is 65f9f88e-fdd0-40e2-8d58-3e53f7c47115 2026-02-23 19:07:38,087 - DEBUG - Services list from nova: [, , ] 2026-02-23 19:07:39,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:07:40,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:07:41,015 - INFO - Setting gateway for router e3b00c58-b954-4cd8-b741-0d5ba7929a3f to network 65f9f88e-fdd0-40e2-8d58-3e53f7c47115 2026-02-23 19:07:41,060 - INFO - Adding interface with subnet_id c7cf1631-36b1-4ade-b4dd-58e05ef7e8b5, port_id None to router e3b00c58-b954-4cd8-b741-0d5ba7929a3f 2026-02-23 19:07:41,295 - INFO - Waiting for VM ctest-TestRoutersBasic-77224606-15389014 to be up.. 2026-02-23 19:07:41,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:07:46,552 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:07:46,552 - INFO - VM name : ctest-TestRoutersBasic-77224606-15389014 2026-02-23 19:07:46,645 - DEBUG - VM ctest-TestRoutersBasic-77224606-15389014 ID is a06f7f27-38f1-4412-a03d-9d4929a1ee96 2026-02-23 19:07:46,670 - DEBUG - VM ctest-TestRoutersBasic-77224606-15389014 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:07:46,746 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a06f7f27-38f1-4412-a03d-9d4929a1ee96 2026-02-23 19:07:47,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a06f7f27-38f1-4412-a03d-9d4929a1ee96 2026-02-23 19:07:47,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91b3d154-0255-4c62-b324-74a655beb5a2 2026-02-23 19:07:50,379 - 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 1009ms') 2026-02-23 19:07:50,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77224606-15389014 failed! 2026-02-23 19:07:50,439 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77224606:ctest-vn-80458313 is 68.158.81.129 and allocation pool is NOT set 2026-02-23 19:07:52,506 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/5.977/11.470/5.492 ms') 2026-02-23 19:07:52,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77224606-15389014 passed 2026-02-23 19:07:52,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:07:52,656 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77224606-15389014, IP 68.158.81.131, Port 22 2026-02-23 19:07:52,731 - 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-23 19:07:52,920 - DEBUG - VM ctest-TestRoutersBasic-77224606-15389014 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 19:07:57,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:07:57,921 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77224606-15389014, IP 68.158.81.131, Port 22 2026-02-23 19:07:58,103 - DEBUG - VM ctest-TestRoutersBasic-77224606-15389014 is ready for SSH connections 2026-02-23 19:07:58,103 - INFO - Waiting for VM ctest-TestRoutersBasic-77224606-32581152 to be up.. 2026-02-23 19:07:58,284 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:07:58,285 - INFO - VM name : ctest-TestRoutersBasic-77224606-32581152 2026-02-23 19:07:58,447 - DEBUG - VM ctest-TestRoutersBasic-77224606-32581152 ID is ca9d7444-9e17-4204-be81-cf34eef46125 2026-02-23 19:07:58,448 - DEBUG - VM ctest-TestRoutersBasic-77224606-32581152 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:07:58,627 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca9d7444-9e17-4204-be81-cf34eef46125 2026-02-23 19:07:58,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5fdb37d-f09b-401b-b387-8fc1ee33271b 2026-02-23 19:07:59,973 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.963 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.963/2.392/3.822/1.429 ms') 2026-02-23 19:07:59,973 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77224606-32581152 passed 2026-02-23 19:08:00,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:08:00,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77224606-32581152, IP 19.255.94.3, Port 22 2026-02-23 19:08:00,319 - DEBUG - VM ctest-TestRoutersBasic-77224606-32581152 is ready for SSH connections 2026-02-23 19:08:00,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:08:00,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.255.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-23 19:08:00,320 - DEBUG - ping -s 56 -c 3 -W 1 19.255.94.3 2026-02-23 19:08:04,417 - DEBUG - PING 19.255.94.3 (19.255.94.3): 56 data bytes 64 bytes from 19.255.94.3: seq=0 ttl=62 time=12.765 ms 64 bytes from 19.255.94.3: seq=1 ttl=62 time=1.174 ms 64 bytes from 19.255.94.3: seq=2 ttl=62 time=2.055 ms --- 19.255.94.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.174/5.331/12.765 ms 2026-02-23 19:08:04,418 - INFO - Ping to IP 19.255.94.3 from VM ctest-TestRoutersBasic-77224606-15389014 passed 2026-02-23 19:08:04,418 - INFO - Deleting interface with subnet_id c7cf1631-36b1-4ade-b4dd-58e05ef7e8b5, port_id None from router e3b00c58-b954-4cd8-b741-0d5ba7929a3f 2026-02-23 19:08:04,715 - INFO - Deleting VM ctest-TestRoutersBasic-77224606-32581152 2026-02-23 19:08:04,789 - INFO - Deleting VM ctest-TestRoutersBasic-77224606-15389014 2026-02-23 19:08:04,916 - INFO - Deleting VN ctest-ext_vn-34029426 2026-02-23 19:08:05,022 - DEBUG - VN 65f9f88e-fdd0-40e2-8d58-3e53f7c47115 still in use: Unable to complete operation on network 65f9f88e-fdd0-40e2-8d58-3e53f7c47115. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3aa6e11-8324-488e-b7b9-9abedc152c99'] 2026-02-23 19:08:05,022 - WARNING - Deleting VN ctest-ext_vn-34029426 failed..Will retry 2026-02-23 19:08:07,233 - DEBUG - Response for deleting network () 2026-02-23 19:08:07,233 - INFO - Deleting VN ctest-vn-80458313 2026-02-23 19:08:07,384 - DEBUG - Response for deleting network () 2026-02-23 19:08:07,701 - DEBUG - No XMPP flaps were noticed during the test 2026-02-23 19:08:07,701 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-02-23 19:08:07,701 - INFO - -------------------------------------------------------------------------------- 2026-02-23 19:08:08,645 - INFO - Deleted project: ctest-TestRoutersBasic-77224606, ID : df40bec0-109c-49db-bde2-d70a91c4e7c7