2026-09-30 13:28:36,691 - INFO - Domain Default found not creating
2026-09-30 13:28:36,883 - INFO - Project ctest-TestRoutersBasic-42237969 not found, creating it
2026-09-30 13:28:37,521 - INFO - Created Project:ctest-TestRoutersBasic-42237969, ID : 39eae11a-f09b-42c4-b964-e12d8cad9948
2026-09-30 13:28:39,834 - INFO - ================================================================================
2026-09-30 13:28:39,834 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-09-30 13:28:39,834 - 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-09-30 13:28:40,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with
2026-09-30 13:28:40,105 - INFO - Initial checks done. Running the testcase now
2026-09-30 13:28:40,105 - INFO -
2026-09-30 13:28:41,069 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42237969
2026-09-30 13:28:41,167 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42237969
2026-09-30 13:28:41,499 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42237969', 'default']}
2026-09-30 13:28:41,831 - DEBUG - Response for create_network : {'network': {'id': '0261387a-677e-409d-8ba3-d8b7ea4bef01', 'name': 'ctest-vn-96260339', 'tenant_id': '39eae11af09b42c4b964e12d8cad9948', 'project_id': '39eae11af09b42c4b964e12d8cad9948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42237969', 'ctest-vn-96260339'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:28:42,065 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1a388bd-1de0-44bd-9f63-60f84186de83', 'name': '', 'tenant_id': '39eae11af09b42c4b964e12d8cad9948', 'network_id': '0261387a-677e-409d-8ba3-d8b7ea4bef01', 'ip_version': 4, 'cidr': '159.112.70.128/26', 'allocation_pools': [{'start': '159.112.70.130', 'end': '159.112.70.190'}], 'gateway_ip': '159.112.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.112.70.130', 'tags': [], 'project_id': '39eae11af09b42c4b964e12d8cad9948'}}
2026-09-30 13:28:42,084 - INFO - Created VN ctest-vn-96260339
2026-09-30 13:28:42,139 - DEBUG - VN ctest-vn-96260339 UUID is 0261387a-677e-409d-8ba3-d8b7ea4bef01
2026-09-30 13:28:42,555 - DEBUG - Response for create_network : {'network': {'id': '858c6a18-42a8-4403-8df2-c33d8c9742d9', 'name': 'ctest-ext_vn-12549851', 'tenant_id': '39eae11af09b42c4b964e12d8cad9948', 'project_id': '39eae11af09b42c4b964e12d8cad9948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42237969', 'ctest-ext_vn-12549851'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:28:42,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aa33a0e-1edb-4d8c-8e69-12832b8da1f3', 'name': '', 'tenant_id': '39eae11af09b42c4b964e12d8cad9948', 'network_id': '858c6a18-42a8-4403-8df2-c33d8c9742d9', 'ip_version': 4, 'cidr': '214.202.113.192/26', 'allocation_pools': [{'start': '214.202.113.194', 'end': '214.202.113.254'}], 'gateway_ip': '214.202.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.202.113.194', 'tags': [], 'project_id': '39eae11af09b42c4b964e12d8cad9948'}}
2026-09-30 13:28:42,798 - INFO - Created VN ctest-ext_vn-12549851
2026-09-30 13:28:42,851 - DEBUG - VN ctest-ext_vn-12549851 UUID is 858c6a18-42a8-4403-8df2-c33d8c9742d9
2026-09-30 13:28:43,032 - DEBUG - Services list from nova: [, , ]
2026-09-30 13:28:43,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6332-1)
2026-09-30 13:28:43,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6332-1)
2026-09-30 13:28:43,934 - INFO - Setting gateway for router 224f527b-dba1-4aed-a9e3-052697d299c1 to network 858c6a18-42a8-4403-8df2-c33d8c9742d9
2026-09-30 13:28:44,006 - INFO - Adding interface with subnet_id e1a388bd-1de0-44bd-9f63-60f84186de83, port_id None to router 224f527b-dba1-4aed-a9e3-052697d299c1
2026-09-30 13:28:44,361 - INFO - Waiting for VM ctest-TestRoutersBasic-42237969-73306668 to be up..
2026-09-30 13:28:44,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:28:49,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:28:54,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:28:59,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:29:04,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:29:09,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:29:15,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:29:20,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-30 13:29:25,215 - DEBUG - VM is in ACTIVE state now
2026-09-30 13:29:25,216 - INFO - VM name : ctest-TestRoutersBasic-42237969-73306668
2026-09-30 13:29:25,317 - DEBUG - VM ctest-TestRoutersBasic-42237969-73306668 ID is a9d8b1f0-9f50-42f3-9ebf-9ab4c04524d7
2026-09-30 13:29:25,346 - DEBUG - VM ctest-TestRoutersBasic-42237969-73306668 launched on Node cn-jenkins-deploy-platform-ansible-os-6332-1
2026-09-30 13:29:25,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a9d8b1f0-9f50-42f3-9ebf-9ab4c04524d7
2026-09-30 13:29:25,831 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a9d8b1f0-9f50-42f3-9ebf-9ab4c04524d7
2026-09-30 13:29:25,872 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e3a9b69d-6039-41ed-a313-88cb320ffd60
2026-09-30 13:29:29,158 - 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 1031ms')
2026-09-30 13:29:29,158 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-42237969-73306668 failed!
2026-09-30 13:29:29,219 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42237969:ctest-vn-96260339 is 159.112.70.129 and allocation pool is NOT set
2026-09-30 13:29:31,286 - 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=4.68 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.94 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.935/4.308/4.681/0.373 ms')
2026-09-30 13:29:31,286 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-42237969-73306668 passed
2026-09-30 13:29:31,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-30 13:29:31,451 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42237969-73306668, IP 159.112.70.131, Port 22
2026-09-30 13:29:31,522 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-09-30 13:29:31,650 - DEBUG - VM ctest-TestRoutersBasic-42237969-73306668 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-30 13:29:36,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-30 13:29:36,651 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42237969-73306668, IP 159.112.70.131, Port 22
2026-09-30 13:29:36,826 - DEBUG - VM ctest-TestRoutersBasic-42237969-73306668 is ready for SSH connections
2026-09-30 13:29:36,826 - INFO - Waiting for VM ctest-TestRoutersBasic-42237969-43136929 to be up..
2026-09-30 13:29:36,913 - DEBUG - VM is in ACTIVE state now
2026-09-30 13:29:36,913 - INFO - VM name : ctest-TestRoutersBasic-42237969-43136929
2026-09-30 13:29:37,012 - DEBUG - VM ctest-TestRoutersBasic-42237969-43136929 ID is 0e029a93-7836-4a2e-8ef0-18f3961bdf9f
2026-09-30 13:29:37,012 - DEBUG - VM ctest-TestRoutersBasic-42237969-43136929 launched on Node cn-jenkins-deploy-platform-ansible-os-6332-1
2026-09-30 13:29:37,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0e029a93-7836-4a2e-8ef0-18f3961bdf9f
2026-09-30 13:29:37,115 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1bfa7456-272a-4f65-8779-f1f05e4135e0
2026-09-30 13:29:38,369 - 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=4.01 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.475 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 = 0.475/2.244/4.013/1.769 ms')
2026-09-30 13:29:38,369 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-42237969-43136929 passed
2026-09-30 13:29:38,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-30 13:29:38,524 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42237969-43136929, IP 214.202.113.196, Port 22
2026-09-30 13:29:38,701 - DEBUG - VM ctest-TestRoutersBasic-42237969-43136929 is ready for SSH connections
2026-09-30 13:29:38,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-30 13:29:38,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.202.113.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-09-30 13:29:38,702 - DEBUG - ping -s 56 -c 3 -W 1 214.202.113.196
2026-09-30 13:29:41,769 - DEBUG - PING 214.202.113.196 (214.202.113.196): 56 data bytes
64 bytes from 214.202.113.196: seq=0 ttl=62 time=6.523 ms
64 bytes from 214.202.113.196: seq=1 ttl=62 time=1.186 ms
64 bytes from 214.202.113.196: seq=2 ttl=62 time=1.079 ms
--- 214.202.113.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.079/2.929/6.523 ms
2026-09-30 13:29:41,769 - INFO - Ping to IP 214.202.113.196 from VM ctest-TestRoutersBasic-42237969-73306668 passed
2026-09-30 13:29:41,769 - INFO - Deleting interface with subnet_id e1a388bd-1de0-44bd-9f63-60f84186de83, port_id None from router 224f527b-dba1-4aed-a9e3-052697d299c1
2026-09-30 13:29:42,045 - INFO - Deleting VM ctest-TestRoutersBasic-42237969-43136929
2026-09-30 13:29:42,153 - INFO - Deleting VM ctest-TestRoutersBasic-42237969-73306668
2026-09-30 13:29:42,262 - INFO - Deleting VN ctest-ext_vn-12549851
2026-09-30 13:29:42,379 - DEBUG - VN 858c6a18-42a8-4403-8df2-c33d8c9742d9 still in use: Unable to complete operation on network 858c6a18-42a8-4403-8df2-c33d8c9742d9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6d035f47-5839-4c9f-a6f3-6e6287a64d3e']
2026-09-30 13:29:42,379 - WARNING - Deleting VN ctest-ext_vn-12549851 failed..Will retry
2026-09-30 13:29:44,429 - DEBUG - VN 858c6a18-42a8-4403-8df2-c33d8c9742d9 still in use: Unable to complete operation on network 858c6a18-42a8-4403-8df2-c33d8c9742d9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dcd2f62a-c804-4506-abfe-0e91b828ddd8']
2026-09-30 13:29:44,429 - WARNING - Deleting VN ctest-ext_vn-12549851 failed..Will retry
2026-09-30 13:29:46,560 - DEBUG - Response for deleting network ()
2026-09-30 13:29:46,560 - INFO - Deleting VN ctest-vn-96260339
2026-09-30 13:29:46,696 - DEBUG - Response for deleting network ()
2026-09-30 13:29:46,973 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 13:29:46,973 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-09-30 13:29:46,973 - INFO - --------------------------------------------------------------------------------
2026-09-30 13:29:47,800 - INFO - Deleted project: ctest-TestRoutersBasic-42237969, ID : 39eae11a-f09b-42c4-b964-e12d8cad9948