2026-02-10 10:10:53,458 - INFO - Domain Default found not creating 2026-02-10 10:10:53,637 - INFO - Project ctest-TestRoutersBasic-41553631 not found, creating it 2026-02-10 10:10:54,104 - INFO - Created Project:ctest-TestRoutersBasic-41553631, ID : b61bed82-8005-4f94-a10c-26389785d4a4 2026-02-10 10:10:55,572 - INFO - ================================================================================ 2026-02-10 10:10:55,572 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 10:10:55,572 - 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-10 10:10:55,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-10 10:10:55,827 - INFO - Initial checks done. Running the testcase now 2026-02-10 10:10:55,827 - INFO - 2026-02-10 10:10:56,537 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41553631 2026-02-10 10:10:56,632 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41553631 2026-02-10 10:10:56,964 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41553631', 'default']} 2026-02-10 10:10:57,257 - DEBUG - Response for create_network : {'network': {'id': 'a2f88df8-df27-4d73-ba76-053d2ca959f5', 'name': 'ctest-vn-26857558', 'tenant_id': 'b61bed8280054f94a10c26389785d4a4', 'project_id': 'b61bed8280054f94a10c26389785d4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41553631', 'ctest-vn-26857558'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 10:10:57,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5772a59-914f-40f1-a591-20b4b78cec32', 'name': '', 'tenant_id': 'b61bed8280054f94a10c26389785d4a4', 'network_id': 'a2f88df8-df27-4d73-ba76-053d2ca959f5', 'ip_version': 4, 'cidr': '198.84.183.128/26', 'allocation_pools': [{'start': '198.84.183.130', 'end': '198.84.183.190'}], 'gateway_ip': '198.84.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.84.183.130', 'tags': [], 'project_id': 'b61bed8280054f94a10c26389785d4a4'}} 2026-02-10 10:10:57,454 - INFO - Created VN ctest-vn-26857558 2026-02-10 10:10:57,508 - DEBUG - VN ctest-vn-26857558 UUID is a2f88df8-df27-4d73-ba76-053d2ca959f5 2026-02-10 10:10:57,860 - DEBUG - Response for create_network : {'network': {'id': '9f682985-4e7e-410b-ac22-6f192b04a863', 'name': 'ctest-ext_vn-09315249', 'tenant_id': 'b61bed8280054f94a10c26389785d4a4', 'project_id': 'b61bed8280054f94a10c26389785d4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41553631', 'ctest-ext_vn-09315249'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 10:10:58,030 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7280dcc-db7c-48b0-ba8b-bc8ecb7bd46e', 'name': '', 'tenant_id': 'b61bed8280054f94a10c26389785d4a4', 'network_id': '9f682985-4e7e-410b-ac22-6f192b04a863', 'ip_version': 4, 'cidr': '70.44.243.0/26', 'allocation_pools': [{'start': '70.44.243.2', 'end': '70.44.243.62'}], 'gateway_ip': '70.44.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.44.243.2', 'tags': [], 'project_id': 'b61bed8280054f94a10c26389785d4a4'}} 2026-02-10 10:10:58,047 - INFO - Created VN ctest-ext_vn-09315249 2026-02-10 10:10:58,100 - DEBUG - VN ctest-ext_vn-09315249 UUID is 9f682985-4e7e-410b-ac22-6f192b04a863 2026-02-10 10:10:58,318 - DEBUG - Services list from nova: [, , ] 2026-02-10 10:10:59,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5263-1) 2026-02-10 10:11:00,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5263-1) 2026-02-10 10:11:00,689 - INFO - Setting gateway for router a22255cb-a3b7-41d7-9ee5-11d9cca53e85 to network 9f682985-4e7e-410b-ac22-6f192b04a863 2026-02-10 10:11:00,783 - INFO - Adding interface with subnet_id a5772a59-914f-40f1-a591-20b4b78cec32, port_id None to router a22255cb-a3b7-41d7-9ee5-11d9cca53e85 2026-02-10 10:11:01,267 - INFO - Waiting for VM ctest-TestRoutersBasic-41553631-60879922 to be up.. 2026-02-10 10:11:01,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 10:11:06,549 - DEBUG - VM is in ACTIVE state now 2026-02-10 10:11:06,549 - INFO - VM name : ctest-TestRoutersBasic-41553631-60879922 2026-02-10 10:11:06,628 - DEBUG - VM ctest-TestRoutersBasic-41553631-60879922 ID is 8b2f905f-10d1-4fa6-895f-1c4c70ba181b 2026-02-10 10:11:06,647 - DEBUG - VM ctest-TestRoutersBasic-41553631-60879922 launched on Node cn-jenkins-deploy-platform-ansible-os-5263-1 2026-02-10 10:11:06,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b2f905f-10d1-4fa6-895f-1c4c70ba181b 2026-02-10 10:11:07,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b2f905f-10d1-4fa6-895f-1c4c70ba181b 2026-02-10 10:11:07,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d58e4ef8-b5b3-4ee0-b942-aeb45eda9442 2026-02-10 10:11:10,311 - 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 1027ms') 2026-02-10 10:11:10,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41553631-60879922 failed! 2026-02-10 10:11:10,364 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41553631:ctest-vn-26857558 is 198.84.183.129 and allocation pool is NOT set 2026-02-10 10:11:12,427 - 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=3.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.609/3.115/3.622/0.506 ms') 2026-02-10 10:11:12,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41553631-60879922 passed 2026-02-10 10:11:12,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 10:11:12,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41553631-60879922, IP 198.84.183.131, Port 22 2026-02-10 10:11:12,642 - 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-10 10:11:12,722 - DEBUG - VM ctest-TestRoutersBasic-41553631-60879922 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 10:11:17,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 10:11:17,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41553631-60879922, IP 198.84.183.131, Port 22 2026-02-10 10:11:17,890 - DEBUG - VM ctest-TestRoutersBasic-41553631-60879922 is ready for SSH connections 2026-02-10 10:11:17,890 - INFO - Waiting for VM ctest-TestRoutersBasic-41553631-69075962 to be up.. 2026-02-10 10:11:17,982 - DEBUG - VM is in ACTIVE state now 2026-02-10 10:11:17,982 - INFO - VM name : ctest-TestRoutersBasic-41553631-69075962 2026-02-10 10:11:18,062 - DEBUG - VM ctest-TestRoutersBasic-41553631-69075962 ID is 9eb875a7-dd2a-41b0-91e2-22bc951b2b2f 2026-02-10 10:11:18,062 - DEBUG - VM ctest-TestRoutersBasic-41553631-69075962 launched on Node cn-jenkins-deploy-platform-ansible-os-5263-1 2026-02-10 10:11:18,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9eb875a7-dd2a-41b0-91e2-22bc951b2b2f 2026-02-10 10:11:18,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fb2b4f41-9667-436d-9ae9-894a654a0f71 2026-02-10 10:11:19,397 - 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.420 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.420/2.117/3.815/1.697 ms') 2026-02-10 10:11:19,397 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41553631-69075962 passed 2026-02-10 10:11:19,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 10:11:19,548 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41553631-69075962, IP 70.44.243.3, Port 22 2026-02-10 10:11:19,703 - DEBUG - VM ctest-TestRoutersBasic-41553631-69075962 is ready for SSH connections 2026-02-10 10:11:19,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 10:11:19,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.44.243.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 10:11:19,704 - DEBUG - ping -s 56 -c 3 -W 1 70.44.243.3 2026-02-10 10:11:23,435 - DEBUG - PING 70.44.243.3 (70.44.243.3): 56 data bytes 64 bytes from 70.44.243.3: seq=0 ttl=62 time=5.867 ms 64 bytes from 70.44.243.3: seq=1 ttl=62 time=0.988 ms 64 bytes from 70.44.243.3: seq=2 ttl=62 time=0.990 ms --- 70.44.243.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/2.615/5.867 ms 2026-02-10 10:11:23,435 - INFO - Ping to IP 70.44.243.3 from VM ctest-TestRoutersBasic-41553631-60879922 passed 2026-02-10 10:11:23,435 - INFO - Deleting interface with subnet_id a5772a59-914f-40f1-a591-20b4b78cec32, port_id None from router a22255cb-a3b7-41d7-9ee5-11d9cca53e85 2026-02-10 10:11:23,625 - INFO - Deleting VM ctest-TestRoutersBasic-41553631-69075962 2026-02-10 10:11:23,718 - INFO - Deleting VM ctest-TestRoutersBasic-41553631-60879922 2026-02-10 10:11:23,801 - INFO - Deleting VN ctest-ext_vn-09315249 2026-02-10 10:11:23,870 - DEBUG - VN 9f682985-4e7e-410b-ac22-6f192b04a863 still in use: Unable to complete operation on network 9f682985-4e7e-410b-ac22-6f192b04a863. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e946b15-4c89-4541-82a8-ad83e9c41f5a'] 2026-02-10 10:11:23,870 - WARNING - Deleting VN ctest-ext_vn-09315249 failed..Will retry 2026-02-10 10:11:25,969 - DEBUG - Response for deleting network () 2026-02-10 10:11:25,969 - INFO - Deleting VN ctest-vn-26857558 2026-02-10 10:11:26,069 - DEBUG - Response for deleting network () 2026-02-10 10:11:26,324 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 10:11:26,324 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-02-10 10:11:26,324 - INFO - -------------------------------------------------------------------------------- 2026-02-10 10:11:27,019 - INFO - Deleted project: ctest-TestRoutersBasic-41553631, ID : b61bed82-8005-4f94-a10c-26389785d4a4