2026-09-03 11:56:37,627 - INFO - Domain Default found not creating 2026-09-03 11:56:37,839 - INFO - Project ctest-TestRoutersBasic-32375972 not found, creating it 2026-09-03 11:56:38,447 - INFO - Created Project:ctest-TestRoutersBasic-32375972, ID : 30b83517-c63d-4f9d-a03b-2eab44325e08 2026-09-03 11:56:40,315 - INFO - ================================================================================ 2026-09-03 11:56:40,315 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-03 11:56:40,316 - 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-03 11:56:40,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.14': '0'}} with 2026-09-03 11:56:40,589 - INFO - Initial checks done. Running the testcase now 2026-09-03 11:56:40,589 - INFO - 2026-09-03 11:56:41,504 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32375972 2026-09-03 11:56:41,607 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32375972 2026-09-03 11:56:41,946 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375972', 'default']} 2026-09-03 11:56:42,305 - DEBUG - Response for create_network : {'network': {'id': 'bd3d90ad-d684-4d45-bdd7-374fc771659b', 'name': 'ctest-vn-46164943', 'tenant_id': '30b83517c63d4f9da03b2eab44325e08', 'project_id': '30b83517c63d4f9da03b2eab44325e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375972', 'ctest-vn-46164943'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:56:42,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '665ff7d4-a9b7-4889-8b6a-4aff2652b079', 'name': '', 'tenant_id': '30b83517c63d4f9da03b2eab44325e08', 'network_id': 'bd3d90ad-d684-4d45-bdd7-374fc771659b', 'ip_version': 4, 'cidr': '116.224.248.0/26', 'allocation_pools': [{'start': '116.224.248.2', 'end': '116.224.248.62'}], 'gateway_ip': '116.224.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.224.248.2', 'tags': [], 'project_id': '30b83517c63d4f9da03b2eab44325e08'}} 2026-09-03 11:56:42,568 - INFO - Created VN ctest-vn-46164943 2026-09-03 11:56:42,627 - DEBUG - VN ctest-vn-46164943 UUID is bd3d90ad-d684-4d45-bdd7-374fc771659b 2026-09-03 11:56:43,020 - DEBUG - Response for create_network : {'network': {'id': '29f66bdf-95f7-4579-8337-a42088a737c1', 'name': 'ctest-ext_vn-21102470', 'tenant_id': '30b83517c63d4f9da03b2eab44325e08', 'project_id': '30b83517c63d4f9da03b2eab44325e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375972', 'ctest-ext_vn-21102470'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:56:43,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d56f5a5-ea5d-4f7a-8e72-ff22dccd4d04', 'name': '', 'tenant_id': '30b83517c63d4f9da03b2eab44325e08', 'network_id': '29f66bdf-95f7-4579-8337-a42088a737c1', 'ip_version': 4, 'cidr': '150.93.142.64/26', 'allocation_pools': [{'start': '150.93.142.66', 'end': '150.93.142.126'}], 'gateway_ip': '150.93.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.93.142.66', 'tags': [], 'project_id': '30b83517c63d4f9da03b2eab44325e08'}} 2026-09-03 11:56:43,269 - INFO - Created VN ctest-ext_vn-21102470 2026-09-03 11:56:43,323 - DEBUG - VN ctest-ext_vn-21102470 UUID is 29f66bdf-95f7-4579-8337-a42088a737c1 2026-09-03 11:56:43,520 - DEBUG - Services list from nova: [, , ] 2026-09-03 11:56:44,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6252-1) 2026-09-03 11:56:44,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6252-1) 2026-09-03 11:56:44,685 - INFO - Setting gateway for router 5c41086d-49fb-4d28-a0e0-2bf795f1db8a to network 29f66bdf-95f7-4579-8337-a42088a737c1 2026-09-03 11:56:44,777 - INFO - Adding interface with subnet_id 665ff7d4-a9b7-4889-8b6a-4aff2652b079, port_id None to router 5c41086d-49fb-4d28-a0e0-2bf795f1db8a 2026-09-03 11:56:45,121 - INFO - Waiting for VM ctest-TestRoutersBasic-32375972-89700236 to be up.. 2026-09-03 11:56:45,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:56:50,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:56:55,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:00,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:05,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:10,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:15,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:20,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:26,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:57:31,110 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:57:31,110 - INFO - VM name : ctest-TestRoutersBasic-32375972-89700236 2026-09-03 11:57:31,207 - DEBUG - VM ctest-TestRoutersBasic-32375972-89700236 ID is f6a3aed5-8592-43d6-8de1-aeaf52151c82 2026-09-03 11:57:31,233 - DEBUG - VM ctest-TestRoutersBasic-32375972-89700236 launched on Node cn-jenkins-deploy-platform-ansible-os-6252-1 2026-09-03 11:57:31,330 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/f6a3aed5-8592-43d6-8de1-aeaf52151c82 2026-09-03 11:57:31,703 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/f6a3aed5-8592-43d6-8de1-aeaf52151c82 2026-09-03 11:57:31,743 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/6e5b7755-a6ee-4a66-b524-93d964709e61 2026-09-03 11:57:35,012 - 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=2 ttl=63 time=5.11 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.112/5.112/5.112/0.000 ms') 2026-09-03 11:57:35,012 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-32375972-89700236 passed 2026-09-03 11:57:35,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:57:35,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375972-89700236, IP 116.224.248.3, Port 22 2026-09-03 11:57:35,341 - DEBUG - VM ctest-TestRoutersBasic-32375972-89700236 is ready for SSH connections 2026-09-03 11:57:35,341 - INFO - Waiting for VM ctest-TestRoutersBasic-32375972-05295898 to be up.. 2026-09-03 11:57:35,444 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:57:35,444 - INFO - VM name : ctest-TestRoutersBasic-32375972-05295898 2026-09-03 11:57:35,538 - DEBUG - VM ctest-TestRoutersBasic-32375972-05295898 ID is b2bc2e67-adff-4caf-9963-2b007772567d 2026-09-03 11:57:35,538 - DEBUG - VM ctest-TestRoutersBasic-32375972-05295898 launched on Node cn-jenkins-deploy-platform-ansible-os-6252-1 2026-09-03 11:57:35,643 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/b2bc2e67-adff-4caf-9963-2b007772567d 2026-09-03 11:57:35,655 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/b8251c1d-cce3-4599-8437-fa0686fd04f3 2026-09-03 11:57:36,916 - 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.50 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.740 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.740/2.618/4.496/1.878 ms') 2026-09-03 11:57:36,916 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-32375972-05295898 passed 2026-09-03 11:57:37,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:57:37,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375972-05295898, IP 150.93.142.68, Port 22 2026-09-03 11:57:37,141 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-03 11:57:37,246 - DEBUG - VM ctest-TestRoutersBasic-32375972-05295898 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-03 11:57:42,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:57:42,248 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375972-05295898, IP 150.93.142.68, Port 22 2026-09-03 11:57:42,434 - DEBUG - VM ctest-TestRoutersBasic-32375972-05295898 is ready for SSH connections 2026-09-03 11:57:42,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:57:42,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.93.142.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-03 11:57:42,435 - DEBUG - ping -s 56 -c 3 -W 1 150.93.142.68 2026-09-03 11:57:45,586 - DEBUG - PING 150.93.142.68 (150.93.142.68): 56 data bytes 64 bytes from 150.93.142.68: seq=0 ttl=62 time=11.006 ms 64 bytes from 150.93.142.68: seq=1 ttl=62 time=1.516 ms 64 bytes from 150.93.142.68: seq=2 ttl=62 time=1.470 ms --- 150.93.142.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.470/4.664/11.006 ms 2026-09-03 11:57:45,586 - INFO - Ping to IP 150.93.142.68 from VM ctest-TestRoutersBasic-32375972-89700236 passed 2026-09-03 11:57:45,586 - INFO - Deleting interface with subnet_id 665ff7d4-a9b7-4889-8b6a-4aff2652b079, port_id None from router 5c41086d-49fb-4d28-a0e0-2bf795f1db8a 2026-09-03 11:57:45,940 - INFO - Deleting VM ctest-TestRoutersBasic-32375972-05295898 2026-09-03 11:57:46,043 - INFO - Deleting VM ctest-TestRoutersBasic-32375972-89700236 2026-09-03 11:57:46,128 - INFO - Deleting VN ctest-ext_vn-21102470 2026-09-03 11:57:46,210 - DEBUG - VN 29f66bdf-95f7-4579-8337-a42088a737c1 still in use: Unable to complete operation on network 29f66bdf-95f7-4579-8337-a42088a737c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2cb7d5b-a9a6-48d2-8095-f931b45274b9'] 2026-09-03 11:57:46,211 - WARNING - Deleting VN ctest-ext_vn-21102470 failed..Will retry 2026-09-03 11:57:48,395 - DEBUG - Response for deleting network () 2026-09-03 11:57:48,395 - INFO - Deleting VN ctest-vn-46164943 2026-09-03 11:57:48,542 - DEBUG - Response for deleting network () 2026-09-03 11:57:48,814 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 11:57:48,814 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:08]
2026-09-03 11:57:48,814 - INFO - -------------------------------------------------------------------------------- 2026-09-03 11:57:49,605 - INFO - Deleted project: ctest-TestRoutersBasic-32375972, ID : 30b83517-c63d-4f9d-a03b-2eab44325e08