2026-09-17 13:14:58,733 - INFO - Domain Default found not creating 2026-09-17 13:14:58,981 - INFO - Project ctest-TestRoutersBasic-90917521 not found, creating it 2026-09-17 13:14:59,622 - INFO - Created Project:ctest-TestRoutersBasic-90917521, ID : a53eecd4-9000-4cb0-8d5d-9a628dd7cf12 2026-09-17 13:15:01,896 - INFO - ================================================================================ 2026-09-17 13:15:01,896 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-17 13:15:01,896 - 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-17 13:15:02,181 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-17 13:15:02,181 - INFO - Initial checks done. Running the testcase now 2026-09-17 13:15:02,181 - INFO - 2026-09-17 13:15:03,127 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90917521 2026-09-17 13:15:03,228 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90917521 2026-09-17 13:15:03,596 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90917521', 'default']} 2026-09-17 13:15:04,043 - DEBUG - Response for create_network : {'network': {'id': 'dc358b2f-2423-45eb-aab3-0a4c7fec78f3', 'name': 'ctest-vn-62177216', 'tenant_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'project_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90917521', 'ctest-vn-62177216'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 13:15:04,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '75516ed0-2d72-455c-8fab-06edc4c943ce', 'name': '', 'tenant_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'network_id': 'dc358b2f-2423-45eb-aab3-0a4c7fec78f3', 'ip_version': 4, 'cidr': '98.179.202.0/26', 'allocation_pools': [{'start': '98.179.202.2', 'end': '98.179.202.62'}], 'gateway_ip': '98.179.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.179.202.2', 'tags': [], 'project_id': 'a53eecd490004cb08d5d9a628dd7cf12'}} 2026-09-17 13:15:04,299 - INFO - Created VN ctest-vn-62177216 2026-09-17 13:15:04,356 - DEBUG - VN ctest-vn-62177216 UUID is dc358b2f-2423-45eb-aab3-0a4c7fec78f3 2026-09-17 13:15:04,753 - DEBUG - Response for create_network : {'network': {'id': '624cf7e8-425d-44ad-98a2-9c5a99684323', 'name': 'ctest-ext_vn-77932613', 'tenant_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'project_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90917521', 'ctest-ext_vn-77932613'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 13:15:05,014 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce2f09f0-f6ec-4a84-ab63-8afdd48b7a68', 'name': '', 'tenant_id': 'a53eecd490004cb08d5d9a628dd7cf12', 'network_id': '624cf7e8-425d-44ad-98a2-9c5a99684323', 'ip_version': 4, 'cidr': '188.106.59.64/26', 'allocation_pools': [{'start': '188.106.59.66', 'end': '188.106.59.126'}], 'gateway_ip': '188.106.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.106.59.66', 'tags': [], 'project_id': 'a53eecd490004cb08d5d9a628dd7cf12'}} 2026-09-17 13:15:05,040 - INFO - Created VN ctest-ext_vn-77932613 2026-09-17 13:15:05,100 - DEBUG - VN ctest-ext_vn-77932613 UUID is 624cf7e8-425d-44ad-98a2-9c5a99684323 2026-09-17 13:15:05,300 - DEBUG - Services list from nova: [, , ] 2026-09-17 13:15:05,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6299-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6299-1) 2026-09-17 13:15:06,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6299-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6299-1) 2026-09-17 13:15:06,578 - INFO - Setting gateway for router cb7989ac-77f7-4f8f-90fa-ae64d2f8e0c5 to network 624cf7e8-425d-44ad-98a2-9c5a99684323 2026-09-17 13:15:06,655 - INFO - Adding interface with subnet_id 75516ed0-2d72-455c-8fab-06edc4c943ce, port_id None to router cb7989ac-77f7-4f8f-90fa-ae64d2f8e0c5 2026-09-17 13:15:07,015 - INFO - Waiting for VM ctest-TestRoutersBasic-90917521-55497294 to be up.. 2026-09-17 13:15:07,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:12,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:17,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:22,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:27,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:32,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:37,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:42,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:47,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 13:15:53,035 - DEBUG - VM is in ACTIVE state now 2026-09-17 13:15:53,036 - INFO - VM name : ctest-TestRoutersBasic-90917521-55497294 2026-09-17 13:15:53,137 - DEBUG - VM ctest-TestRoutersBasic-90917521-55497294 ID is 720fd551-880a-4e4b-8543-acb1de9e21f1 2026-09-17 13:15:53,164 - DEBUG - VM ctest-TestRoutersBasic-90917521-55497294 launched on Node cn-jenkins-deploy-platform-ansible-os-6299-1 2026-09-17 13:15:53,261 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/720fd551-880a-4e4b-8543-acb1de9e21f1 2026-09-17 13:15:53,645 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/720fd551-880a-4e4b-8543-acb1de9e21f1 2026-09-17 13:15:53,685 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/6cb9d254-b2e8-4f43-b762-b5c0ae855725 2026-09-17 13:15:56,983 - 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-17 13:15:56,983 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90917521-55497294 failed! 2026-09-17 13:15:57,040 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90917521:ctest-vn-62177216 is 98.179.202.1 and allocation pool is NOT set 2026-09-17 13:15:59,110 - 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.29 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.498 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.498/2.391/4.285/1.893 ms') 2026-09-17 13:15:59,111 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90917521-55497294 passed 2026-09-17 13:15:59,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 13:15:59,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90917521-55497294, IP 98.179.202.3, Port 22 2026-09-17 13:15:59,446 - DEBUG - VM ctest-TestRoutersBasic-90917521-55497294 is ready for SSH connections 2026-09-17 13:15:59,446 - INFO - Waiting for VM ctest-TestRoutersBasic-90917521-00116333 to be up.. 2026-09-17 13:15:59,539 - DEBUG - VM is in ACTIVE state now 2026-09-17 13:15:59,540 - INFO - VM name : ctest-TestRoutersBasic-90917521-00116333 2026-09-17 13:15:59,634 - DEBUG - VM ctest-TestRoutersBasic-90917521-00116333 ID is 3dd15bb6-e16e-44a3-aaf6-9dee6f3b5240 2026-09-17 13:15:59,634 - DEBUG - VM ctest-TestRoutersBasic-90917521-00116333 launched on Node cn-jenkins-deploy-platform-ansible-os-6299-1 2026-09-17 13:15:59,817 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/3dd15bb6-e16e-44a3-aaf6-9dee6f3b5240 2026-09-17 13:15:59,828 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/5a8860dc-35cc-48f8-a9a7-32b2a973467d 2026-09-17 13:16:01,089 - 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.96 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.667 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.667/2.814/4.961/2.147 ms') 2026-09-17 13:16:01,089 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90917521-00116333 passed 2026-09-17 13:16:01,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 13:16:01,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90917521-00116333, IP 188.106.59.68, Port 22 2026-09-17 13:16:01,430 - DEBUG - VM ctest-TestRoutersBasic-90917521-00116333 is ready for SSH connections 2026-09-17 13:16:01,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 13:16:01,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.106.59.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-17 13:16:01,431 - DEBUG - ping -s 56 -c 3 -W 1 188.106.59.68 2026-09-17 13:16:04,607 - DEBUG - PING 188.106.59.68 (188.106.59.68): 56 data bytes 64 bytes from 188.106.59.68: seq=0 ttl=62 time=9.661 ms 64 bytes from 188.106.59.68: seq=1 ttl=62 time=1.383 ms 64 bytes from 188.106.59.68: seq=2 ttl=62 time=1.439 ms --- 188.106.59.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.383/4.161/9.661 ms 2026-09-17 13:16:04,607 - INFO - Ping to IP 188.106.59.68 from VM ctest-TestRoutersBasic-90917521-55497294 passed 2026-09-17 13:16:04,608 - INFO - Deleting interface with subnet_id 75516ed0-2d72-455c-8fab-06edc4c943ce, port_id None from router cb7989ac-77f7-4f8f-90fa-ae64d2f8e0c5 2026-09-17 13:16:04,882 - INFO - Deleting VM ctest-TestRoutersBasic-90917521-00116333 2026-09-17 13:16:05,006 - INFO - Deleting VM ctest-TestRoutersBasic-90917521-55497294 2026-09-17 13:16:05,124 - INFO - Deleting VN ctest-ext_vn-77932613 2026-09-17 13:16:05,251 - DEBUG - VN 624cf7e8-425d-44ad-98a2-9c5a99684323 still in use: Unable to complete operation on network 624cf7e8-425d-44ad-98a2-9c5a99684323. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd6dc1ea-379e-400f-a2f0-dcc15327d329'] 2026-09-17 13:16:05,251 - WARNING - Deleting VN ctest-ext_vn-77932613 failed..Will retry 2026-09-17 13:16:07,493 - DEBUG - Response for deleting network () 2026-09-17 13:16:07,493 - INFO - Deleting VN ctest-vn-62177216 2026-09-17 13:16:07,709 - DEBUG - Response for deleting network () 2026-09-17 13:16:07,992 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 13:16:07,992 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-09-17 13:16:07,992 - INFO - -------------------------------------------------------------------------------- 2026-09-17 13:16:08,860 - INFO - Deleted project: ctest-TestRoutersBasic-90917521, ID : a53eecd4-9000-4cb0-8d5d-9a628dd7cf12