2026-12-01 09:11:38,522 - INFO - Domain Default found not creating 2026-12-01 09:11:38,817 - INFO - Project ctest-TestRoutersBasic-04044033 not found, creating it 2026-12-01 09:11:39,463 - INFO - Created Project:ctest-TestRoutersBasic-04044033, ID : 1b89488d-39c6-43bc-8a07-0f1bf492eeb3 2026-12-01 09:11:41,738 - INFO - ================================================================================ 2026-12-01 09:11:41,739 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-12-01 09:11:41,739 - 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-12-01 09:11:42,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-12-01 09:11:42,024 - INFO - Initial checks done. Running the testcase now 2026-12-01 09:11:42,025 - INFO - 2026-12-01 09:11:43,088 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04044033 2026-12-01 09:11:43,194 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04044033 2026-12-01 09:11:43,567 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04044033', 'default']} 2026-12-01 09:11:43,998 - DEBUG - Response for create_network : {'network': {'id': 'f19b6d21-7a6b-425d-bd85-d498ab02f84e', 'name': 'ctest-vn-47726659', 'tenant_id': '1b89488d39c643bc8a070f1bf492eeb3', 'project_id': '1b89488d39c643bc8a070f1bf492eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04044033', 'ctest-vn-47726659'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:11:44,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cacbe4b-1053-41e0-8d5f-6564edd76d07', 'name': '', 'tenant_id': '1b89488d39c643bc8a070f1bf492eeb3', 'network_id': 'f19b6d21-7a6b-425d-bd85-d498ab02f84e', 'ip_version': 4, 'cidr': '72.226.76.0/26', 'allocation_pools': [{'start': '72.226.76.2', 'end': '72.226.76.62'}], 'gateway_ip': '72.226.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.226.76.2', 'tags': [], 'project_id': '1b89488d39c643bc8a070f1bf492eeb3'}} 2026-12-01 09:11:44,289 - INFO - Created VN ctest-vn-47726659 2026-12-01 09:11:44,354 - DEBUG - VN ctest-vn-47726659 UUID is f19b6d21-7a6b-425d-bd85-d498ab02f84e 2026-12-01 09:11:44,913 - DEBUG - Response for create_network : {'network': {'id': 'd4c0598e-2aa9-4c27-83a0-70917e9f1114', 'name': 'ctest-ext_vn-07938169', 'tenant_id': '1b89488d39c643bc8a070f1bf492eeb3', 'project_id': '1b89488d39c643bc8a070f1bf492eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04044033', 'ctest-ext_vn-07938169'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:11:45,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '94ca7ddd-99a8-4eb3-8456-766667fd146b', 'name': '', 'tenant_id': '1b89488d39c643bc8a070f1bf492eeb3', 'network_id': 'd4c0598e-2aa9-4c27-83a0-70917e9f1114', 'ip_version': 4, 'cidr': '36.242.61.64/26', 'allocation_pools': [{'start': '36.242.61.66', 'end': '36.242.61.126'}], 'gateway_ip': '36.242.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.242.61.66', 'tags': [], 'project_id': '1b89488d39c643bc8a070f1bf492eeb3'}} 2026-12-01 09:11:45,300 - INFO - Created VN ctest-ext_vn-07938169 2026-12-01 09:11:45,361 - DEBUG - VN ctest-ext_vn-07938169 UUID is d4c0598e-2aa9-4c27-83a0-70917e9f1114 2026-12-01 09:11:45,620 - DEBUG - Services list from nova: [, , ] 2026-12-01 09:11:46,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6525-1) 2026-12-01 09:11:47,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6525-1) 2026-12-01 09:11:47,318 - INFO - Setting gateway for router 732508e3-497f-4002-b6de-73ff07c00651 to network d4c0598e-2aa9-4c27-83a0-70917e9f1114 2026-12-01 09:11:47,403 - INFO - Adding interface with subnet_id 0cacbe4b-1053-41e0-8d5f-6564edd76d07, port_id None to router 732508e3-497f-4002-b6de-73ff07c00651 2026-12-01 09:11:47,836 - INFO - Waiting for VM ctest-TestRoutersBasic-04044033-00700176 to be up.. 2026-12-01 09:11:47,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:11:53,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:11:58,229 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:03,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:08,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:13,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:18,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:23,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:28,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:34,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:12:39,240 - DEBUG - VM is in ACTIVE state now 2026-12-01 09:12:39,240 - INFO - VM name : ctest-TestRoutersBasic-04044033-00700176 2026-12-01 09:12:39,376 - DEBUG - VM ctest-TestRoutersBasic-04044033-00700176 ID is 05a98202-9dc3-4646-a0a7-67ef9ff5abd1 2026-12-01 09:12:39,415 - DEBUG - VM ctest-TestRoutersBasic-04044033-00700176 launched on Node cn-jenkins-deploy-platform-ansible-os-6525-1 2026-12-01 09:12:39,560 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/05a98202-9dc3-4646-a0a7-67ef9ff5abd1 2026-12-01 09:12:40,009 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/05a98202-9dc3-4646-a0a7-67ef9ff5abd1 2026-12-01 09:12:40,075 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1332840c-fa8a-4abb-a1e1-175d0e753526 2026-12-01 09:12:43,370 - 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 1002ms') 2026-12-01 09:12:43,370 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-04044033-00700176 failed! 2026-12-01 09:12:43,441 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04044033:ctest-vn-47726659 is 72.226.76.1 and allocation pool is NOT set 2026-12-01 09:12:45,514 - 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.89 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.884 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.884/2.887/4.891/2.003 ms') 2026-12-01 09:12:45,514 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-04044033-00700176 passed 2026-12-01 09:12:45,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:12:45,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04044033-00700176, IP 72.226.76.3, Port 22 2026-12-01 09:12:45,893 - DEBUG - VM ctest-TestRoutersBasic-04044033-00700176 is ready for SSH connections 2026-12-01 09:12:45,893 - INFO - Waiting for VM ctest-TestRoutersBasic-04044033-86671102 to be up.. 2026-12-01 09:12:46,037 - DEBUG - VM is in ACTIVE state now 2026-12-01 09:12:46,037 - INFO - VM name : ctest-TestRoutersBasic-04044033-86671102 2026-12-01 09:12:46,179 - DEBUG - VM ctest-TestRoutersBasic-04044033-86671102 ID is 94144842-177c-4d2d-89f8-264af77d848f 2026-12-01 09:12:46,180 - DEBUG - VM ctest-TestRoutersBasic-04044033-86671102 launched on Node cn-jenkins-deploy-platform-ansible-os-6525-1 2026-12-01 09:12:46,326 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/94144842-177c-4d2d-89f8-264af77d848f 2026-12-01 09:12:46,341 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/d11e84e2-5649-4f19-a63d-708fda434a53 2026-12-01 09:12:47,648 - 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=6.21 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.769 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.769/3.488/6.207/2.719 ms') 2026-12-01 09:12:47,649 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-04044033-86671102 passed 2026-12-01 09:12:47,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:12:47,818 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04044033-86671102, IP 36.242.61.68, Port 22 2026-12-01 09:12:48,001 - DEBUG - VM ctest-TestRoutersBasic-04044033-86671102 is ready for SSH connections 2026-12-01 09:12:48,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:12:48,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.242.61.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-12-01 09:12:48,001 - DEBUG - ping -s 56 -c 3 -W 1 36.242.61.68 2026-12-01 09:12:51,411 - DEBUG - PING 36.242.61.68 (36.242.61.68): 56 data bytes 64 bytes from 36.242.61.68: seq=0 ttl=62 time=10.781 ms 64 bytes from 36.242.61.68: seq=1 ttl=62 time=1.595 ms 64 bytes from 36.242.61.68: seq=2 ttl=62 time=1.856 ms --- 36.242.61.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.595/4.744/10.781 ms 2026-12-01 09:12:51,412 - INFO - Ping to IP 36.242.61.68 from VM ctest-TestRoutersBasic-04044033-00700176 passed 2026-12-01 09:12:51,412 - INFO - Deleting interface with subnet_id 0cacbe4b-1053-41e0-8d5f-6564edd76d07, port_id None from router 732508e3-497f-4002-b6de-73ff07c00651 2026-12-01 09:12:51,726 - INFO - Deleting VM ctest-TestRoutersBasic-04044033-86671102 2026-12-01 09:12:51,843 - INFO - Deleting VM ctest-TestRoutersBasic-04044033-00700176 2026-12-01 09:12:52,154 - INFO - Deleting VN ctest-ext_vn-07938169 2026-12-01 09:12:52,317 - DEBUG - VN d4c0598e-2aa9-4c27-83a0-70917e9f1114 still in use: Unable to complete operation on network d4c0598e-2aa9-4c27-83a0-70917e9f1114. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bfffc8ec-094d-4a17-93fd-8a542ab9b118'] 2026-12-01 09:12:52,317 - WARNING - Deleting VN ctest-ext_vn-07938169 failed..Will retry 2026-12-01 09:12:54,368 - DEBUG - VN d4c0598e-2aa9-4c27-83a0-70917e9f1114 still in use: Unable to complete operation on network d4c0598e-2aa9-4c27-83a0-70917e9f1114. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-028f040d-0ad6-49c7-a99b-f6c05a9ac06b'] 2026-12-01 09:12:54,368 - WARNING - Deleting VN ctest-ext_vn-07938169 failed..Will retry 2026-12-01 09:12:56,604 - DEBUG - Response for deleting network () 2026-12-01 09:12:56,604 - INFO - Deleting VN ctest-vn-47726659 2026-12-01 09:12:56,793 - DEBUG - Response for deleting network () 2026-12-01 09:12:57,079 - DEBUG - No XMPP flaps were noticed during the test
2026-12-01 09:12:57,079 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:16]
2026-12-01 09:12:57,079 - INFO - -------------------------------------------------------------------------------- 2026-12-01 09:12:57,998 - INFO - Deleted project: ctest-TestRoutersBasic-04044033, ID : 1b89488d-39c6-43bc-8a07-0f1bf492eeb3