2026-06-05 11:40:32,040 - INFO - Domain Default found not creating 2026-06-05 11:40:32,295 - INFO - Project ctest-TestRoutersBasic-38417600 not found, creating it 2026-06-05 11:40:32,836 - INFO - Created Project:ctest-TestRoutersBasic-38417600, ID : b9ecfc92-9fea-48ed-b35e-b124f50401e5 2026-06-05 11:40:34,669 - INFO - ================================================================================ 2026-06-05 11:40:34,669 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-05 11:40:34,669 - 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-06-05 11:40:34,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2026-06-05 11:40:34,940 - INFO - Initial checks done. Running the testcase now 2026-06-05 11:40:34,940 - INFO - 2026-06-05 11:40:35,731 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38417600 2026-06-05 11:40:35,830 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38417600 2026-06-05 11:40:36,182 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38417600', 'default']} 2026-06-05 11:40:36,600 - DEBUG - Response for create_network : {'network': {'id': '3cfa057c-5324-4535-b532-7b20b0f13fec', 'name': 'ctest-vn-76340792', 'tenant_id': 'b9ecfc929fea48edb35eb124f50401e5', 'project_id': 'b9ecfc929fea48edb35eb124f50401e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38417600', 'ctest-vn-76340792'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 11:40:36,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '73ed484e-0d8f-4f11-9307-ffc305f27f5c', 'name': '', 'tenant_id': 'b9ecfc929fea48edb35eb124f50401e5', 'network_id': '3cfa057c-5324-4535-b532-7b20b0f13fec', 'ip_version': 4, 'cidr': '34.112.27.64/26', 'allocation_pools': [{'start': '34.112.27.66', 'end': '34.112.27.126'}], 'gateway_ip': '34.112.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.112.27.66', 'tags': [], 'project_id': 'b9ecfc929fea48edb35eb124f50401e5'}} 2026-06-05 11:40:36,887 - INFO - Created VN ctest-vn-76340792 2026-06-05 11:40:36,942 - DEBUG - VN ctest-vn-76340792 UUID is 3cfa057c-5324-4535-b532-7b20b0f13fec 2026-06-05 11:40:37,369 - DEBUG - Response for create_network : {'network': {'id': '9192d00e-a60e-4611-aa6b-4d0034f63c87', 'name': 'ctest-ext_vn-77985125', 'tenant_id': 'b9ecfc929fea48edb35eb124f50401e5', 'project_id': 'b9ecfc929fea48edb35eb124f50401e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38417600', 'ctest-ext_vn-77985125'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 11:40:37,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '4188ebad-38f9-4b04-ae63-d083f8b9fcd8', 'name': '', 'tenant_id': 'b9ecfc929fea48edb35eb124f50401e5', 'network_id': '9192d00e-a60e-4611-aa6b-4d0034f63c87', 'ip_version': 4, 'cidr': '46.76.7.128/26', 'allocation_pools': [{'start': '46.76.7.130', 'end': '46.76.7.190'}], 'gateway_ip': '46.76.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.76.7.130', 'tags': [], 'project_id': 'b9ecfc929fea48edb35eb124f50401e5'}} 2026-06-05 11:40:37,583 - INFO - Created VN ctest-ext_vn-77985125 2026-06-05 11:40:37,638 - DEBUG - VN ctest-ext_vn-77985125 UUID is 9192d00e-a60e-4611-aa6b-4d0034f63c87 2026-06-05 11:40:37,846 - DEBUG - Services list from nova: [, , ] 2026-06-05 11:40:39,176 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5894-1) 2026-06-05 11:40:40,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5894-1) 2026-06-05 11:40:40,726 - INFO - Setting gateway for router 87547086-930b-4489-b833-6b32858f2ca3 to network 9192d00e-a60e-4611-aa6b-4d0034f63c87 2026-06-05 11:40:40,808 - INFO - Adding interface with subnet_id 73ed484e-0d8f-4f11-9307-ffc305f27f5c, port_id None to router 87547086-930b-4489-b833-6b32858f2ca3 2026-06-05 11:40:41,340 - INFO - Waiting for VM ctest-TestRoutersBasic-38417600-52368495 to be up.. 2026-06-05 11:40:41,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-05 11:40:46,689 - DEBUG - VM is in ACTIVE state now 2026-06-05 11:40:46,690 - INFO - VM name : ctest-TestRoutersBasic-38417600-52368495 2026-06-05 11:40:46,828 - DEBUG - VM ctest-TestRoutersBasic-38417600-52368495 ID is 28ebfe36-fddc-4ad1-95cc-25760c8dfe66 2026-06-05 11:40:46,860 - DEBUG - VM ctest-TestRoutersBasic-38417600-52368495 launched on Node cn-jenkins-deploy-platform-ansible-os-5894-1 2026-06-05 11:40:46,993 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/28ebfe36-fddc-4ad1-95cc-25760c8dfe66 2026-06-05 11:40:47,330 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/28ebfe36-fddc-4ad1-95cc-25760c8dfe66 2026-06-05 11:40:47,382 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/e8d3f717-87ca-42b6-89a3-83480df5e8dc 2026-06-05 11:40:50,668 - 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-06-05 11:40:50,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38417600-52368495 failed! 2026-06-05 11:40:50,727 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38417600:ctest-vn-76340792 is 34.112.27.65 and allocation pool is NOT set 2026-06-05 11:40:52,793 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.803/4.918/8.034/3.115 ms') 2026-06-05 11:40:52,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38417600-52368495 passed 2026-06-05 11:40:52,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:40:52,954 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38417600-52368495, IP 34.112.27.67, Port 22 2026-06-05 11:40:53,020 - 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-05 11:40:53,159 - DEBUG - VM ctest-TestRoutersBasic-38417600-52368495 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-05 11:40:58,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:40:58,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38417600-52368495, IP 34.112.27.67, Port 22 2026-06-05 11:40:58,336 - DEBUG - VM ctest-TestRoutersBasic-38417600-52368495 is ready for SSH connections 2026-06-05 11:40:58,337 - INFO - Waiting for VM ctest-TestRoutersBasic-38417600-91274008 to be up.. 2026-06-05 11:40:58,435 - DEBUG - VM is in ACTIVE state now 2026-06-05 11:40:58,435 - INFO - VM name : ctest-TestRoutersBasic-38417600-91274008 2026-06-05 11:40:58,545 - DEBUG - VM ctest-TestRoutersBasic-38417600-91274008 ID is 7e475e5e-f152-4ff4-83c7-a960e9b75372 2026-06-05 11:40:58,545 - DEBUG - VM ctest-TestRoutersBasic-38417600-91274008 launched on Node cn-jenkins-deploy-platform-ansible-os-5894-1 2026-06-05 11:40:58,650 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/7e475e5e-f152-4ff4-83c7-a960e9b75372 2026-06-05 11:40:58,662 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/05c5d078-7c46-453b-b01e-eb228465aad2 2026-06-05 11:40:59,916 - 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=4.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.657 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.657/2.537/4.418/1.880 ms') 2026-06-05 11:40:59,916 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38417600-91274008 passed 2026-06-05 11:41:00,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:41:00,083 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38417600-91274008, IP 46.76.7.131, Port 22 2026-06-05 11:41:00,265 - DEBUG - VM ctest-TestRoutersBasic-38417600-91274008 is ready for SSH connections 2026-06-05 11:41:00,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 11:41:00,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.76.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-06-05 11:41:00,266 - DEBUG - ping -s 56 -c 3 -W 1 46.76.7.131 2026-06-05 11:41:04,133 - DEBUG - PING 46.76.7.131 (46.76.7.131): 56 data bytes 64 bytes from 46.76.7.131: seq=0 ttl=62 time=8.678 ms 64 bytes from 46.76.7.131: seq=1 ttl=62 time=1.415 ms 64 bytes from 46.76.7.131: seq=2 ttl=62 time=1.341 ms --- 46.76.7.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.341/3.811/8.678 ms 2026-06-05 11:41:04,133 - INFO - Ping to IP 46.76.7.131 from VM ctest-TestRoutersBasic-38417600-52368495 passed 2026-06-05 11:41:04,134 - INFO - Deleting interface with subnet_id 73ed484e-0d8f-4f11-9307-ffc305f27f5c, port_id None from router 87547086-930b-4489-b833-6b32858f2ca3 2026-06-05 11:41:04,374 - INFO - Deleting VM ctest-TestRoutersBasic-38417600-91274008 2026-06-05 11:41:04,477 - INFO - Deleting VM ctest-TestRoutersBasic-38417600-52368495 2026-06-05 11:41:04,590 - INFO - Deleting VN ctest-ext_vn-77985125 2026-06-05 11:41:04,687 - DEBUG - VN 9192d00e-a60e-4611-aa6b-4d0034f63c87 still in use: Unable to complete operation on network 9192d00e-a60e-4611-aa6b-4d0034f63c87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f062a508-2a42-4838-9192-aa32663812cb'] 2026-06-05 11:41:04,687 - WARNING - Deleting VN ctest-ext_vn-77985125 failed..Will retry 2026-06-05 11:41:06,819 - DEBUG - Response for deleting network () 2026-06-05 11:41:06,820 - INFO - Deleting VN ctest-vn-76340792 2026-06-05 11:41:06,972 - DEBUG - Response for deleting network () 2026-06-05 11:41:07,241 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 11:41:07,241 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-06-05 11:41:07,241 - INFO - -------------------------------------------------------------------------------- 2026-06-05 11:41:08,038 - INFO - Deleted project: ctest-TestRoutersBasic-38417600, ID : b9ecfc92-9fea-48ed-b35e-b124f50401e5