2026-08-14 17:22:51,485 - INFO - Domain Default found not creating
2026-08-14 17:22:51,677 - INFO - Project ctest-TestRoutersBasic-31094708 not found, creating it
2026-08-14 17:22:52,207 - INFO - Created Project:ctest-TestRoutersBasic-31094708, ID : 909ca1f3-a2bc-46c6-8b07-6ffcfda40375
2026-08-14 17:22:54,172 - INFO - ================================================================================
2026-08-14 17:22:54,172 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-14 17:22:54,172 - 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 17:22:54,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with
2026-08-14 17:22:54,448 - INFO - Initial checks done. Running the testcase now
2026-08-14 17:22:54,448 - INFO -
2026-08-14 17:22:55,379 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31094708
2026-08-14 17:22:55,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31094708
2026-08-14 17:22:55,839 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31094708', 'default']}
2026-08-14 17:22:56,224 - DEBUG - Response for create_network : {'network': {'id': '7d78f5f3-75a7-4f2b-bcd3-72b7c8855d7f', 'name': 'ctest-vn-84573345', 'tenant_id': '909ca1f3a2bc46c68b076ffcfda40375', 'project_id': '909ca1f3a2bc46c68b076ffcfda40375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31094708', 'ctest-vn-84573345'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 17:22:56,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '53b640ec-3323-4423-bdfb-89a3b5780459', 'name': '', 'tenant_id': '909ca1f3a2bc46c68b076ffcfda40375', 'network_id': '7d78f5f3-75a7-4f2b-bcd3-72b7c8855d7f', 'ip_version': 4, 'cidr': '138.9.240.128/26', 'allocation_pools': [{'start': '138.9.240.130', 'end': '138.9.240.190'}], 'gateway_ip': '138.9.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.9.240.130', 'tags': [], 'project_id': '909ca1f3a2bc46c68b076ffcfda40375'}}
2026-08-14 17:22:56,458 - INFO - Created VN ctest-vn-84573345
2026-08-14 17:22:56,519 - DEBUG - VN ctest-vn-84573345 UUID is 7d78f5f3-75a7-4f2b-bcd3-72b7c8855d7f
2026-08-14 17:22:56,934 - DEBUG - Response for create_network : {'network': {'id': '4f03c5ea-d0cf-40bd-a298-9b9490269f43', 'name': 'ctest-ext_vn-94771273', 'tenant_id': '909ca1f3a2bc46c68b076ffcfda40375', 'project_id': '909ca1f3a2bc46c68b076ffcfda40375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31094708', 'ctest-ext_vn-94771273'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 17:22:57,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '58af8546-0cd5-4db5-8409-72d43b1fec6f', 'name': '', 'tenant_id': '909ca1f3a2bc46c68b076ffcfda40375', 'network_id': '4f03c5ea-d0cf-40bd-a298-9b9490269f43', 'ip_version': 4, 'cidr': '220.92.6.192/26', 'allocation_pools': [{'start': '220.92.6.194', 'end': '220.92.6.254'}], 'gateway_ip': '220.92.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.92.6.194', 'tags': [], 'project_id': '909ca1f3a2bc46c68b076ffcfda40375'}}
2026-08-14 17:22:57,250 - INFO - Created VN ctest-ext_vn-94771273
2026-08-14 17:22:57,311 - DEBUG - VN ctest-ext_vn-94771273 UUID is 4f03c5ea-d0cf-40bd-a298-9b9490269f43
2026-08-14 17:22:57,514 - DEBUG - Services list from nova: [, , ]
2026-08-14 17:22:57,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6164-1)
2026-08-14 17:22:58,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6164-1)
2026-08-14 17:22:58,459 - INFO - Setting gateway for router 3de4ee70-6b4f-4860-af87-4490c516457c to network 4f03c5ea-d0cf-40bd-a298-9b9490269f43
2026-08-14 17:22:58,549 - INFO - Adding interface with subnet_id 53b640ec-3323-4423-bdfb-89a3b5780459, port_id None to router 3de4ee70-6b4f-4860-af87-4490c516457c
2026-08-14 17:22:58,931 - INFO - Waiting for VM ctest-TestRoutersBasic-31094708-78464473 to be up..
2026-08-14 17:22:58,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:04,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:09,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:14,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:19,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:24,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:29,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:34,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-14 17:23:39,872 - DEBUG - VM is in ACTIVE state now
2026-08-14 17:23:39,872 - INFO - VM name : ctest-TestRoutersBasic-31094708-78464473
2026-08-14 17:23:39,970 - DEBUG - VM ctest-TestRoutersBasic-31094708-78464473 ID is 46867e9d-84a9-4e78-b5e1-27577f04d3ba
2026-08-14 17:23:39,996 - DEBUG - VM ctest-TestRoutersBasic-31094708-78464473 launched on Node cn-jenkins-deploy-platform-ansible-os-6164-1
2026-08-14 17:23:40,094 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/46867e9d-84a9-4e78-b5e1-27577f04d3ba
2026-08-14 17:23:40,476 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/46867e9d-84a9-4e78-b5e1-27577f04d3ba
2026-08-14 17:23:40,514 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/baf0b9cb-5875-4d9a-9a3f-b962bbb8645f
2026-08-14 17:23:43,781 - 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 1007ms')
2026-08-14 17:23:43,781 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31094708-78464473 failed!
2026-08-14 17:23:43,839 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31094708:ctest-vn-84573345 is 138.9.240.129 and allocation pool is NOT set
2026-08-14 17:23:45,910 - 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.49 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.54 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 = 3.543/4.015/4.488/0.472 ms')
2026-08-14 17:23:45,910 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31094708-78464473 passed
2026-08-14 17:23:46,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-14 17:23:46,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31094708-78464473, IP 138.9.240.131, Port 22
2026-08-14 17:23:46,133 - 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-08-14 17:23:46,222 - DEBUG - VM ctest-TestRoutersBasic-31094708-78464473 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-14 17:23:51,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-14 17:23:51,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31094708-78464473, IP 138.9.240.131, Port 22
2026-08-14 17:23:51,393 - DEBUG - VM ctest-TestRoutersBasic-31094708-78464473 is ready for SSH connections
2026-08-14 17:23:51,393 - INFO - Waiting for VM ctest-TestRoutersBasic-31094708-66868283 to be up..
2026-08-14 17:23:51,484 - DEBUG - VM is in ACTIVE state now
2026-08-14 17:23:51,485 - INFO - VM name : ctest-TestRoutersBasic-31094708-66868283
2026-08-14 17:23:51,586 - DEBUG - VM ctest-TestRoutersBasic-31094708-66868283 ID is 897c0e0c-6dc7-4f17-b6eb-49f65d1fe1f6
2026-08-14 17:23:51,586 - DEBUG - VM ctest-TestRoutersBasic-31094708-66868283 launched on Node cn-jenkins-deploy-platform-ansible-os-6164-1
2026-08-14 17:23:51,685 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/897c0e0c-6dc7-4f17-b6eb-49f65d1fe1f6
2026-08-14 17:23:51,696 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/6263dfb9-3843-4aa7-99ee-5bd6e8093360
2026-08-14 17:23:52,956 - 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.57 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.649 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 = 0.649/2.610/4.572/1.961 ms')
2026-08-14 17:23:52,956 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-31094708-66868283 passed
2026-08-14 17:23:53,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-14 17:23:53,111 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31094708-66868283, IP 220.92.6.196, Port 22
2026-08-14 17:23:53,285 - DEBUG - VM ctest-TestRoutersBasic-31094708-66868283 is ready for SSH connections
2026-08-14 17:23:53,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-14 17:23:53,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.92.6.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-08-14 17:23:53,285 - DEBUG - ping -s 56 -c 3 -W 1 220.92.6.196
2026-08-14 17:23:56,404 - DEBUG - PING 220.92.6.196 (220.92.6.196): 56 data bytes
64 bytes from 220.92.6.196: seq=0 ttl=62 time=7.929 ms
64 bytes from 220.92.6.196: seq=1 ttl=62 time=1.204 ms
64 bytes from 220.92.6.196: seq=2 ttl=62 time=1.405 ms
--- 220.92.6.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.204/3.512/7.929 ms
2026-08-14 17:23:56,404 - INFO - Ping to IP 220.92.6.196 from VM ctest-TestRoutersBasic-31094708-78464473 passed
2026-08-14 17:23:56,404 - INFO - Deleting interface with subnet_id 53b640ec-3323-4423-bdfb-89a3b5780459, port_id None from router 3de4ee70-6b4f-4860-af87-4490c516457c
2026-08-14 17:23:56,664 - INFO - Deleting VM ctest-TestRoutersBasic-31094708-66868283
2026-08-14 17:23:56,749 - INFO - Deleting VM ctest-TestRoutersBasic-31094708-78464473
2026-08-14 17:23:56,833 - INFO - Deleting VN ctest-ext_vn-94771273
2026-08-14 17:23:56,915 - DEBUG - VN 4f03c5ea-d0cf-40bd-a298-9b9490269f43 still in use: Unable to complete operation on network 4f03c5ea-d0cf-40bd-a298-9b9490269f43. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c0edc550-8b3b-4bc2-8adb-590ccd1c92c4']
2026-08-14 17:23:56,916 - WARNING - Deleting VN ctest-ext_vn-94771273 failed..Will retry
2026-08-14 17:23:59,087 - DEBUG - Response for deleting network ()
2026-08-14 17:23:59,087 - INFO - Deleting VN ctest-vn-84573345
2026-08-14 17:23:59,269 - DEBUG - Response for deleting network ()
2026-08-14 17:23:59,544 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 17:23:59,544 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-08-14 17:23:59,544 - INFO - --------------------------------------------------------------------------------
2026-08-14 17:24:00,390 - INFO - Deleted project: ctest-TestRoutersBasic-31094708, ID : 909ca1f3-a2bc-46c6-8b07-6ffcfda40375