2026-10-23 19:54:43,132 - INFO - Domain Default found not creating
2026-10-23 19:54:43,396 - INFO - Project ctest-TestRoutersBasic-48867457 not found, creating it
2026-10-23 19:54:44,063 - INFO - Created Project:ctest-TestRoutersBasic-48867457, ID : a174fae0-c1c3-4f70-ab01-eed09184ce6f
2026-10-23 19:54:46,291 - INFO - ================================================================================
2026-10-23 19:54:46,291 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-10-23 19:54:46,291 - 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-10-23 19:54:46,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-23 19:54:46,576 - INFO - Initial checks done. Running the testcase now
2026-10-23 19:54:46,576 - INFO -
2026-10-23 19:54:47,566 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48867457
2026-10-23 19:54:47,674 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48867457
2026-10-23 19:54:48,025 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48867457', 'default']}
2026-10-23 19:54:48,408 - DEBUG - Response for create_network : {'network': {'id': '10e1bfda-995d-4334-83c6-8d4a40995def', 'name': 'ctest-vn-89366313', 'tenant_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'project_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48867457', 'ctest-vn-89366313'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:54:48,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d58bca4-7996-4643-8ea0-aea7e87b756f', 'name': '', 'tenant_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'network_id': '10e1bfda-995d-4334-83c6-8d4a40995def', 'ip_version': 4, 'cidr': '13.58.126.192/26', 'allocation_pools': [{'start': '13.58.126.194', 'end': '13.58.126.254'}], 'gateway_ip': '13.58.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.58.126.194', 'tags': [], 'project_id': 'a174fae0c1c34f70ab01eed09184ce6f'}}
2026-10-23 19:54:48,695 - INFO - Created VN ctest-vn-89366313
2026-10-23 19:54:48,753 - DEBUG - VN ctest-vn-89366313 UUID is 10e1bfda-995d-4334-83c6-8d4a40995def
2026-10-23 19:54:49,181 - DEBUG - Response for create_network : {'network': {'id': 'f7ba7cc3-ab62-473a-9e0e-f40e1309f044', 'name': 'ctest-ext_vn-03584604', 'tenant_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'project_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48867457', 'ctest-ext_vn-03584604'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:54:49,416 - DEBUG - Response for create_subnet : {'subnet': {'id': '2783dcd2-8028-4427-b0be-26715a38bcca', 'name': '', 'tenant_id': 'a174fae0c1c34f70ab01eed09184ce6f', 'network_id': 'f7ba7cc3-ab62-473a-9e0e-f40e1309f044', 'ip_version': 4, 'cidr': '142.44.104.0/26', 'allocation_pools': [{'start': '142.44.104.2', 'end': '142.44.104.62'}], 'gateway_ip': '142.44.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.44.104.2', 'tags': [], 'project_id': 'a174fae0c1c34f70ab01eed09184ce6f'}}
2026-10-23 19:54:49,438 - INFO - Created VN ctest-ext_vn-03584604
2026-10-23 19:54:49,493 - DEBUG - VN ctest-ext_vn-03584604 UUID is f7ba7cc3-ab62-473a-9e0e-f40e1309f044
2026-10-23 19:54:49,714 - DEBUG - Services list from nova: [, , ]
2026-10-23 19:54:50,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1)
2026-10-23 19:54:51,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1)
2026-10-23 19:54:51,607 - INFO - Setting gateway for router e46577b2-5af8-4961-8a60-2400de8de421 to network f7ba7cc3-ab62-473a-9e0e-f40e1309f044
2026-10-23 19:54:51,720 - INFO - Adding interface with subnet_id 0d58bca4-7996-4643-8ea0-aea7e87b756f, port_id None to router e46577b2-5af8-4961-8a60-2400de8de421
2026-10-23 19:54:52,180 - INFO - Waiting for VM ctest-TestRoutersBasic-48867457-95750138 to be up..
2026-10-23 19:54:52,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:54:57,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:02,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:07,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:12,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:17,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:23,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:28,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:33,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-23 19:55:38,643 - DEBUG - VM is in ACTIVE state now
2026-10-23 19:55:38,643 - INFO - VM name : ctest-TestRoutersBasic-48867457-95750138
2026-10-23 19:55:38,787 - DEBUG - VM ctest-TestRoutersBasic-48867457-95750138 ID is fb65c1de-d27c-4279-ac51-5feb2c7fcb0d
2026-10-23 19:55:38,823 - DEBUG - VM ctest-TestRoutersBasic-48867457-95750138 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1
2026-10-23 19:55:38,938 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/fb65c1de-d27c-4279-ac51-5feb2c7fcb0d
2026-10-23 19:55:39,360 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/fb65c1de-d27c-4279-ac51-5feb2c7fcb0d
2026-10-23 19:55:39,427 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/636421db-3fd5-42e6-8a8b-d00fc7563e18
2026-10-23 19:55:42,840 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-10-23 19:55:42,840 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-48867457-95750138 failed!
2026-10-23 19:55:42,901 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48867457:ctest-vn-89366313 is 13.58.126.193 and allocation pool is NOT set
2026-10-23 19:55:46,994 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2026-10-23 19:55:46,994 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-48867457-95750138 failed!
2026-10-23 19:55:47,057 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48867457:ctest-vn-89366313 is 13.58.126.193 and allocation pool is NOT set
2026-10-23 19:55:49,125 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=7.83 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.456/4.143/7.831/3.687 ms')
2026-10-23 19:55:49,125 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-48867457-95750138 passed
2026-10-23 19:55:49,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-23 19:55:49,282 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48867457-95750138, IP 13.58.126.195, Port 22
2026-10-23 19:55:49,464 - DEBUG - VM ctest-TestRoutersBasic-48867457-95750138 is ready for SSH connections
2026-10-23 19:55:49,464 - INFO - Waiting for VM ctest-TestRoutersBasic-48867457-26123799 to be up..
2026-10-23 19:55:49,583 - DEBUG - VM is in ACTIVE state now
2026-10-23 19:55:49,583 - INFO - VM name : ctest-TestRoutersBasic-48867457-26123799
2026-10-23 19:55:49,706 - DEBUG - VM ctest-TestRoutersBasic-48867457-26123799 ID is ef3e1a79-60eb-46cf-8343-f7962d57a0dd
2026-10-23 19:55:49,706 - DEBUG - VM ctest-TestRoutersBasic-48867457-26123799 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1
2026-10-23 19:55:49,823 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/ef3e1a79-60eb-46cf-8343-f7962d57a0dd
2026-10-23 19:55:49,837 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/bbf9f40b-92ca-403d-ba70-545a820c1b01
2026-10-23 19:55:51,090 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=7.46 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.45 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.448/4.952/7.457/2.504 ms')
2026-10-23 19:55:51,091 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-48867457-26123799 passed
2026-10-23 19:55:51,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-23 19:55:51,254 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48867457-26123799, IP 142.44.104.4, Port 22
2026-10-23 19:55:51,325 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-23 19:55:51,462 - DEBUG - VM ctest-TestRoutersBasic-48867457-26123799 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-23 19:55:56,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-23 19:55:56,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48867457-26123799, IP 142.44.104.4, Port 22
2026-10-23 19:55:56,640 - DEBUG - VM ctest-TestRoutersBasic-48867457-26123799 is ready for SSH connections
2026-10-23 19:55:56,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-23 19:55:56,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.44.104.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-23 19:55:56,640 - DEBUG - ping -s 56 -c 3 -W 1 142.44.104.4
2026-10-23 19:56:00,198 - DEBUG - PING 142.44.104.4 (142.44.104.4): 56 data bytes
64 bytes from 142.44.104.4: seq=0 ttl=62 time=10.624 ms
64 bytes from 142.44.104.4: seq=1 ttl=62 time=1.560 ms
64 bytes from 142.44.104.4: seq=2 ttl=62 time=1.442 ms
--- 142.44.104.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.442/4.542/10.624 ms
2026-10-23 19:56:00,198 - INFO - Ping to IP 142.44.104.4 from VM ctest-TestRoutersBasic-48867457-95750138 passed
2026-10-23 19:56:00,198 - INFO - Deleting interface with subnet_id 0d58bca4-7996-4643-8ea0-aea7e87b756f, port_id None from router e46577b2-5af8-4961-8a60-2400de8de421
2026-10-23 19:56:00,483 - INFO - Deleting VM ctest-TestRoutersBasic-48867457-26123799
2026-10-23 19:56:00,599 - INFO - Deleting VM ctest-TestRoutersBasic-48867457-95750138
2026-10-23 19:56:00,729 - INFO - Deleting VN ctest-ext_vn-03584604
2026-10-23 19:56:00,827 - DEBUG - VN f7ba7cc3-ab62-473a-9e0e-f40e1309f044 still in use: Unable to complete operation on network f7ba7cc3-ab62-473a-9e0e-f40e1309f044. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e1c3e5cf-61c2-4a23-a638-47b2b91686a2']
2026-10-23 19:56:00,828 - WARNING - Deleting VN ctest-ext_vn-03584604 failed..Will retry
2026-10-23 19:56:02,881 - DEBUG - VN f7ba7cc3-ab62-473a-9e0e-f40e1309f044 still in use: Unable to complete operation on network f7ba7cc3-ab62-473a-9e0e-f40e1309f044. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dfa391d7-2d41-4d5d-b123-0b6d96ab9c2e']
2026-10-23 19:56:02,881 - WARNING - Deleting VN ctest-ext_vn-03584604 failed..Will retry
2026-10-23 19:56:05,051 - DEBUG - Response for deleting network ()
2026-10-23 19:56:05,051 - INFO - Deleting VN ctest-vn-89366313
2026-10-23 19:56:05,217 - DEBUG - Response for deleting network ()
2026-10-23 19:56:05,510 - DEBUG - No XMPP flaps were noticed during the test
2026-10-23 19:56:05,510 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:19]
2026-10-23 19:56:05,510 - INFO - --------------------------------------------------------------------------------
2026-10-23 19:56:06,427 - INFO - Deleted project: ctest-TestRoutersBasic-48867457, ID : a174fae0-c1c3-4f70-ab01-eed09184ce6f