2026-08-14 09:23:06,443 - INFO - Domain Default found not creating 2026-08-14 09:23:06,628 - INFO - Project ctest-TestRoutersBasic-15112643 not found, creating it 2026-08-14 09:23:07,145 - INFO - Created Project:ctest-TestRoutersBasic-15112643, ID : 10db3097-78ae-41aa-863e-ea1312e98d7f 2026-08-14 09:23:09,036 - INFO - ================================================================================ 2026-08-14 09:23:09,037 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 09:23:09,037 - 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-08-14 09:23:09,301 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-14 09:23:09,301 - INFO - Initial checks done. Running the testcase now 2026-08-14 09:23:09,301 - INFO - 2026-08-14 09:23:10,171 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15112643 2026-08-14 09:23:10,272 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15112643 2026-08-14 09:23:10,608 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15112643', 'default']} 2026-08-14 09:23:10,937 - DEBUG - Response for create_network : {'network': {'id': 'b7302bc3-fcd9-4787-ab5d-74f9a6836804', 'name': 'ctest-vn-22923329', 'tenant_id': '10db309778ae41aa863eea1312e98d7f', 'project_id': '10db309778ae41aa863eea1312e98d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15112643', 'ctest-vn-22923329'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:23:11,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a639eb15-5e01-407f-88ff-14a600720b66', 'name': '', 'tenant_id': '10db309778ae41aa863eea1312e98d7f', 'network_id': 'b7302bc3-fcd9-4787-ab5d-74f9a6836804', 'ip_version': 4, 'cidr': '7.157.16.64/26', 'allocation_pools': [{'start': '7.157.16.66', 'end': '7.157.16.126'}], 'gateway_ip': '7.157.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.157.16.66', 'tags': [], 'project_id': '10db309778ae41aa863eea1312e98d7f'}} 2026-08-14 09:23:11,145 - INFO - Created VN ctest-vn-22923329 2026-08-14 09:23:11,200 - DEBUG - VN ctest-vn-22923329 UUID is b7302bc3-fcd9-4787-ab5d-74f9a6836804 2026-08-14 09:23:11,574 - DEBUG - Response for create_network : {'network': {'id': '70dd2638-d765-441f-ad03-f9cbc0e643d3', 'name': 'ctest-ext_vn-31596933', 'tenant_id': '10db309778ae41aa863eea1312e98d7f', 'project_id': '10db309778ae41aa863eea1312e98d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15112643', 'ctest-ext_vn-31596933'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 09:23:11,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce9234c9-ea61-4008-86a3-9de708d3776e', 'name': '', 'tenant_id': '10db309778ae41aa863eea1312e98d7f', 'network_id': '70dd2638-d765-441f-ad03-f9cbc0e643d3', 'ip_version': 4, 'cidr': '94.55.43.128/26', 'allocation_pools': [{'start': '94.55.43.130', 'end': '94.55.43.190'}], 'gateway_ip': '94.55.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.55.43.130', 'tags': [], 'project_id': '10db309778ae41aa863eea1312e98d7f'}} 2026-08-14 09:23:11,774 - INFO - Created VN ctest-ext_vn-31596933 2026-08-14 09:23:11,832 - DEBUG - VN ctest-ext_vn-31596933 UUID is 70dd2638-d765-441f-ad03-f9cbc0e643d3 2026-08-14 09:23:12,022 - DEBUG - Services list from nova: [, , ] 2026-08-14 09:23:12,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6160-1) 2026-08-14 09:23:12,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6160-1) 2026-08-14 09:23:12,970 - INFO - Setting gateway for router c64024fe-1c78-4885-8c87-12e945d78448 to network 70dd2638-d765-441f-ad03-f9cbc0e643d3 2026-08-14 09:23:13,032 - INFO - Adding interface with subnet_id a639eb15-5e01-407f-88ff-14a600720b66, port_id None to router c64024fe-1c78-4885-8c87-12e945d78448 2026-08-14 09:23:13,391 - INFO - Waiting for VM ctest-TestRoutersBasic-15112643-09421629 to be up.. 2026-08-14 09:23:13,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:18,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:23,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:28,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:33,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:39,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:44,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:49,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 09:23:54,412 - DEBUG - VM is in ACTIVE state now 2026-08-14 09:23:54,412 - INFO - VM name : ctest-TestRoutersBasic-15112643-09421629 2026-08-14 09:23:54,507 - DEBUG - VM ctest-TestRoutersBasic-15112643-09421629 ID is d6b3ae55-588b-4bb0-ba24-5f73810dcccd 2026-08-14 09:23:54,537 - DEBUG - VM ctest-TestRoutersBasic-15112643-09421629 launched on Node cn-jenkins-deploy-platform-ansible-os-6160-1 2026-08-14 09:23:54,642 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/d6b3ae55-588b-4bb0-ba24-5f73810dcccd 2026-08-14 09:23:55,031 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/d6b3ae55-588b-4bb0-ba24-5f73810dcccd 2026-08-14 09:23:55,071 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/8339de3b-4490-4b19-9628-4281beb036ba 2026-08-14 09:23:58,356 - 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 1029ms') 2026-08-14 09:23:58,356 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15112643-09421629 failed! 2026-08-14 09:23:58,416 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15112643:ctest-vn-22923329 is 7.157.16.65 and allocation pool is NOT set 2026-08-14 09:24:00,488 - 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.85 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.641 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 = 0.641/2.744/4.847/2.103 ms') 2026-08-14 09:24:00,488 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15112643-09421629 passed 2026-08-14 09:24:00,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:24:00,644 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15112643-09421629, IP 7.157.16.67, Port 22 2026-08-14 09:24:00,811 - DEBUG - VM ctest-TestRoutersBasic-15112643-09421629 is ready for SSH connections 2026-08-14 09:24:00,811 - INFO - Waiting for VM ctest-TestRoutersBasic-15112643-05315271 to be up.. 2026-08-14 09:24:00,900 - DEBUG - VM is in ACTIVE state now 2026-08-14 09:24:00,900 - INFO - VM name : ctest-TestRoutersBasic-15112643-05315271 2026-08-14 09:24:00,995 - DEBUG - VM ctest-TestRoutersBasic-15112643-05315271 ID is 677093fa-e520-45c4-b2f4-4c9840925a50 2026-08-14 09:24:00,995 - DEBUG - VM ctest-TestRoutersBasic-15112643-05315271 launched on Node cn-jenkins-deploy-platform-ansible-os-6160-1 2026-08-14 09:24:01,099 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/677093fa-e520-45c4-b2f4-4c9840925a50 2026-08-14 09:24:01,110 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/bbb43265-a504-4b86-aed7-59e3400f51fc 2026-08-14 09:24:02,368 - 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=5.85 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.005/3.425/5.846/2.420 ms') 2026-08-14 09:24:02,368 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-15112643-05315271 passed 2026-08-14 09:24:02,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:24:02,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15112643-05315271, IP 94.55.43.132, Port 22 2026-08-14 09:24:02,694 - DEBUG - VM ctest-TestRoutersBasic-15112643-05315271 is ready for SSH connections 2026-08-14 09:24:02,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 09:24:02,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.55.43.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 09:24:02,695 - DEBUG - ping -s 56 -c 3 -W 1 94.55.43.132 2026-08-14 09:24:05,867 - DEBUG - PING 94.55.43.132 (94.55.43.132): 56 data bytes 64 bytes from 94.55.43.132: seq=0 ttl=62 time=7.901 ms 64 bytes from 94.55.43.132: seq=1 ttl=62 time=1.524 ms 64 bytes from 94.55.43.132: seq=2 ttl=62 time=1.381 ms --- 94.55.43.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.381/3.602/7.901 ms 2026-08-14 09:24:05,867 - INFO - Ping to IP 94.55.43.132 from VM ctest-TestRoutersBasic-15112643-09421629 passed 2026-08-14 09:24:05,867 - INFO - Deleting interface with subnet_id a639eb15-5e01-407f-88ff-14a600720b66, port_id None from router c64024fe-1c78-4885-8c87-12e945d78448 2026-08-14 09:24:06,148 - INFO - Deleting VM ctest-TestRoutersBasic-15112643-05315271 2026-08-14 09:24:06,236 - INFO - Deleting VM ctest-TestRoutersBasic-15112643-09421629 2026-08-14 09:24:06,327 - INFO - Deleting VN ctest-ext_vn-31596933 2026-08-14 09:24:06,403 - DEBUG - VN 70dd2638-d765-441f-ad03-f9cbc0e643d3 still in use: Unable to complete operation on network 70dd2638-d765-441f-ad03-f9cbc0e643d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd318f7d-0047-4988-a4dc-d71b87d6e6d8'] 2026-08-14 09:24:06,404 - WARNING - Deleting VN ctest-ext_vn-31596933 failed..Will retry 2026-08-14 09:24:08,448 - DEBUG - VN 70dd2638-d765-441f-ad03-f9cbc0e643d3 still in use: Unable to complete operation on network 70dd2638-d765-441f-ad03-f9cbc0e643d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fd564c8-79cf-4290-bd5e-f33c6170b3eb'] 2026-08-14 09:24:08,448 - WARNING - Deleting VN ctest-ext_vn-31596933 failed..Will retry 2026-08-14 09:24:10,574 - DEBUG - Response for deleting network () 2026-08-14 09:24:10,574 - INFO - Deleting VN ctest-vn-22923329 2026-08-14 09:24:10,700 - DEBUG - Response for deleting network () 2026-08-14 09:24:10,973 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 09:24:10,974 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-08-14 09:24:10,974 - INFO - -------------------------------------------------------------------------------- 2026-08-14 09:24:11,813 - INFO - Deleted project: ctest-TestRoutersBasic-15112643, ID : 10db3097-78ae-41aa-863e-ea1312e98d7f