2026-09-16 07:32:51,421 - INFO - Domain Default found not creating
2026-09-16 07:32:51,594 - INFO - Project ctest-TestRoutersBasic-67479455 not found, creating it
2026-09-16 07:32:52,096 - INFO - Created Project:ctest-TestRoutersBasic-67479455, ID : 4ba0a9f6-1c46-4205-b5ca-2eaed12f22a7
2026-09-16 07:32:53,661 - INFO - ================================================================================
2026-09-16 07:32:53,661 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-09-16 07:32:53,661 - 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-16 07:32:53,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-09-16 07:32:53,918 - INFO - Initial checks done. Running the testcase now
2026-09-16 07:32:53,918 - INFO -
2026-09-16 07:32:54,808 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67479455
2026-09-16 07:32:54,904 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67479455
2026-09-16 07:32:55,232 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67479455', 'default']}
2026-09-16 07:32:55,541 - DEBUG - Response for create_network : {'network': {'id': 'bd1f47d0-9678-4c23-aca1-10d768724bb3', 'name': 'ctest-vn-60885713', 'tenant_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'project_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67479455', 'ctest-vn-60885713'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:32:55,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcc30b8e-6542-4b7b-8614-c2c38da021aa', 'name': '', 'tenant_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'network_id': 'bd1f47d0-9678-4c23-aca1-10d768724bb3', 'ip_version': 4, 'cidr': '141.179.143.0/26', 'allocation_pools': [{'start': '141.179.143.2', 'end': '141.179.143.62'}], 'gateway_ip': '141.179.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.179.143.2', 'tags': [], 'project_id': '4ba0a9f61c464205b5ca2eaed12f22a7'}}
2026-09-16 07:32:55,778 - INFO - Created VN ctest-vn-60885713
2026-09-16 07:32:55,828 - DEBUG - VN ctest-vn-60885713 UUID is bd1f47d0-9678-4c23-aca1-10d768724bb3
2026-09-16 07:32:56,199 - DEBUG - Response for create_network : {'network': {'id': '76dbc582-fabe-498e-af42-7aa75ecd635e', 'name': 'ctest-ext_vn-19230235', 'tenant_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'project_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67479455', 'ctest-ext_vn-19230235'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:32:56,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3c169b2-5ab2-43ac-b50e-766492dd79cc', 'name': '', 'tenant_id': '4ba0a9f61c464205b5ca2eaed12f22a7', 'network_id': '76dbc582-fabe-498e-af42-7aa75ecd635e', 'ip_version': 4, 'cidr': '76.170.8.64/26', 'allocation_pools': [{'start': '76.170.8.66', 'end': '76.170.8.126'}], 'gateway_ip': '76.170.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.170.8.66', 'tags': [], 'project_id': '4ba0a9f61c464205b5ca2eaed12f22a7'}}
2026-09-16 07:32:56,388 - INFO - Created VN ctest-ext_vn-19230235
2026-09-16 07:32:56,440 - DEBUG - VN ctest-ext_vn-19230235 UUID is 76dbc582-fabe-498e-af42-7aa75ecd635e
2026-09-16 07:32:56,640 - DEBUG - Services list from nova: [, , ]
2026-09-16 07:32:56,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6288-1)
2026-09-16 07:32:57,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6288-1)
2026-09-16 07:32:57,418 - INFO - Setting gateway for router 109a91a3-31b2-4bc2-9f6d-97267d32a680 to network 76dbc582-fabe-498e-af42-7aa75ecd635e
2026-09-16 07:32:57,492 - INFO - Adding interface with subnet_id dcc30b8e-6542-4b7b-8614-c2c38da021aa, port_id None to router 109a91a3-31b2-4bc2-9f6d-97267d32a680
2026-09-16 07:32:57,818 - INFO - Waiting for VM ctest-TestRoutersBasic-67479455-88946292 to be up..
2026-09-16 07:32:57,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:02,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:08,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:13,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:18,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:23,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:28,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 07:33:33,511 - DEBUG - VM is in ACTIVE state now
2026-09-16 07:33:33,511 - INFO - VM name : ctest-TestRoutersBasic-67479455-88946292
2026-09-16 07:33:33,601 - DEBUG - VM ctest-TestRoutersBasic-67479455-88946292 ID is 25fee9a0-4cbc-4337-a7f8-20a6ba6df98d
2026-09-16 07:33:33,630 - DEBUG - VM ctest-TestRoutersBasic-67479455-88946292 launched on Node cn-jenkins-deploy-platform-ansible-os-6288-1
2026-09-16 07:33:33,711 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/25fee9a0-4cbc-4337-a7f8-20a6ba6df98d
2026-09-16 07:33:34,037 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/25fee9a0-4cbc-4337-a7f8-20a6ba6df98d
2026-09-16 07:33:34,071 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/49a99301-8ca6-4aa5-a780-a51dbf555b84
2026-09-16 07:33:37,335 - 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 1026ms')
2026-09-16 07:33:37,335 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-67479455-88946292 failed!
2026-09-16 07:33:37,392 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67479455:ctest-vn-60885713 is 141.179.143.1 and allocation pool is NOT set
2026-09-16 07:33:39,457 - 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=11.8 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.55 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 = 1.548/6.661/11.775/5.113 ms')
2026-09-16 07:33:39,457 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-67479455-88946292 passed
2026-09-16 07:33:39,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 07:33:39,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67479455-88946292, IP 141.179.143.3, Port 22
2026-09-16 07:33:39,673 - 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-16 07:33:39,757 - DEBUG - VM ctest-TestRoutersBasic-67479455-88946292 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-16 07:33:44,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 07:33:44,758 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67479455-88946292, IP 141.179.143.3, Port 22
2026-09-16 07:33:44,916 - DEBUG - VM ctest-TestRoutersBasic-67479455-88946292 is ready for SSH connections
2026-09-16 07:33:44,916 - INFO - Waiting for VM ctest-TestRoutersBasic-67479455-22791713 to be up..
2026-09-16 07:33:44,998 - DEBUG - VM is in ACTIVE state now
2026-09-16 07:33:44,999 - INFO - VM name : ctest-TestRoutersBasic-67479455-22791713
2026-09-16 07:33:45,086 - DEBUG - VM ctest-TestRoutersBasic-67479455-22791713 ID is a568ae4f-0011-4377-a943-7c618f49eeda
2026-09-16 07:33:45,086 - DEBUG - VM ctest-TestRoutersBasic-67479455-22791713 launched on Node cn-jenkins-deploy-platform-ansible-os-6288-1
2026-09-16 07:33:45,178 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a568ae4f-0011-4377-a943-7c618f49eeda
2026-09-16 07:33:45,189 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/7e8d8596-32d3-42ba-8cfd-6dd30ead68ba
2026-09-16 07:33:46,439 - 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=3.51 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.510 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.510/2.011/3.513/1.501 ms')
2026-09-16 07:33:46,440 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-67479455-22791713 passed
2026-09-16 07:33:46,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 07:33:46,592 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67479455-22791713, IP 76.170.8.68, Port 22
2026-09-16 07:33:46,747 - DEBUG - VM ctest-TestRoutersBasic-67479455-22791713 is ready for SSH connections
2026-09-16 07:33:46,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 07:33:46,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.170.8.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-09-16 07:33:46,747 - DEBUG - ping -s 56 -c 3 -W 1 76.170.8.68
2026-09-16 07:33:49,651 - DEBUG - PING 76.170.8.68 (76.170.8.68): 56 data bytes
64 bytes from 76.170.8.68: seq=0 ttl=62 time=5.447 ms
64 bytes from 76.170.8.68: seq=1 ttl=62 time=1.236 ms
64 bytes from 76.170.8.68: seq=2 ttl=62 time=1.097 ms
--- 76.170.8.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.097/2.593/5.447 ms
2026-09-16 07:33:49,651 - INFO - Ping to IP 76.170.8.68 from VM ctest-TestRoutersBasic-67479455-88946292 passed
2026-09-16 07:33:49,651 - INFO - Deleting interface with subnet_id dcc30b8e-6542-4b7b-8614-c2c38da021aa, port_id None from router 109a91a3-31b2-4bc2-9f6d-97267d32a680
2026-09-16 07:33:49,930 - INFO - Deleting VM ctest-TestRoutersBasic-67479455-22791713
2026-09-16 07:33:50,002 - INFO - Deleting VM ctest-TestRoutersBasic-67479455-88946292
2026-09-16 07:33:50,084 - INFO - Deleting VN ctest-ext_vn-19230235
2026-09-16 07:33:50,157 - DEBUG - VN 76dbc582-fabe-498e-af42-7aa75ecd635e still in use: Unable to complete operation on network 76dbc582-fabe-498e-af42-7aa75ecd635e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e1189dc3-bf01-4a50-ba70-24e68ba72a43']
2026-09-16 07:33:50,157 - WARNING - Deleting VN ctest-ext_vn-19230235 failed..Will retry
2026-09-16 07:33:52,312 - DEBUG - Response for deleting network ()
2026-09-16 07:33:52,312 - INFO - Deleting VN ctest-vn-60885713
2026-09-16 07:33:52,449 - DEBUG - Response for deleting network ()
2026-09-16 07:33:52,717 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 07:33:52,717 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-09-16 07:33:52,717 - INFO - --------------------------------------------------------------------------------
2026-09-16 07:33:53,490 - INFO - Deleted project: ctest-TestRoutersBasic-67479455, ID : 4ba0a9f6-1c46-4205-b5ca-2eaed12f22a7