2026-08-21 07:48:52,641 - INFO - Domain Default found not creating
2026-08-21 07:48:52,941 - INFO - Project ctest-TestRoutersBasic-69193582 not found, creating it
2026-08-21 07:48:53,529 - INFO - Created Project:ctest-TestRoutersBasic-69193582, ID : 31abb0c1-895b-421a-afae-af86274f034d
2026-08-21 07:48:55,316 - INFO - ================================================================================
2026-08-21 07:48:55,316 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-21 07:48:55,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-08-21 07:48:55,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-21 07:48:55,588 - INFO - Initial checks done. Running the testcase now
2026-08-21 07:48:55,588 - INFO -
2026-08-21 07:48:56,473 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69193582
2026-08-21 07:48:56,567 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69193582
2026-08-21 07:48:56,906 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69193582', 'default']}
2026-08-21 07:48:57,224 - DEBUG - Response for create_network : {'network': {'id': 'a3eabe9a-d399-45e6-b2b7-ff50ad5d070f', 'name': 'ctest-vn-69133917', 'tenant_id': '31abb0c1895b421aafaeaf86274f034d', 'project_id': '31abb0c1895b421aafaeaf86274f034d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69193582', 'ctest-vn-69133917'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:48:57,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '91be359b-8a5b-472c-ab7b-5c7372f89f83', 'name': '', 'tenant_id': '31abb0c1895b421aafaeaf86274f034d', 'network_id': 'a3eabe9a-d399-45e6-b2b7-ff50ad5d070f', 'ip_version': 4, 'cidr': '160.195.99.0/26', 'allocation_pools': [{'start': '160.195.99.2', 'end': '160.195.99.62'}], 'gateway_ip': '160.195.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.195.99.2', 'tags': [], 'project_id': '31abb0c1895b421aafaeaf86274f034d'}}
2026-08-21 07:48:57,450 - INFO - Created VN ctest-vn-69133917
2026-08-21 07:48:57,503 - DEBUG - VN ctest-vn-69133917 UUID is a3eabe9a-d399-45e6-b2b7-ff50ad5d070f
2026-08-21 07:48:57,867 - DEBUG - Response for create_network : {'network': {'id': '22784397-e33b-458c-8679-dc8372453f21', 'name': 'ctest-ext_vn-36155869', 'tenant_id': '31abb0c1895b421aafaeaf86274f034d', 'project_id': '31abb0c1895b421aafaeaf86274f034d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69193582', 'ctest-ext_vn-36155869'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:48:58,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '083985b1-7197-48d8-95cc-c2fa85404e46', 'name': '', 'tenant_id': '31abb0c1895b421aafaeaf86274f034d', 'network_id': '22784397-e33b-458c-8679-dc8372453f21', 'ip_version': 4, 'cidr': '190.78.233.0/26', 'allocation_pools': [{'start': '190.78.233.2', 'end': '190.78.233.62'}], 'gateway_ip': '190.78.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.78.233.2', 'tags': [], 'project_id': '31abb0c1895b421aafaeaf86274f034d'}}
2026-08-21 07:48:58,081 - INFO - Created VN ctest-ext_vn-36155869
2026-08-21 07:48:58,135 - DEBUG - VN ctest-ext_vn-36155869 UUID is 22784397-e33b-458c-8679-dc8372453f21
2026-08-21 07:48:58,324 - DEBUG - Services list from nova: [, , ]
2026-08-21 07:48:58,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6200-1)
2026-08-21 07:48:59,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6200-1)
2026-08-21 07:48:59,287 - INFO - Setting gateway for router b47a0a9b-4f43-43a9-aa3a-79b53830ec87 to network 22784397-e33b-458c-8679-dc8372453f21
2026-08-21 07:48:59,363 - INFO - Adding interface with subnet_id 91be359b-8a5b-472c-ab7b-5c7372f89f83, port_id None to router b47a0a9b-4f43-43a9-aa3a-79b53830ec87
2026-08-21 07:48:59,733 - INFO - Waiting for VM ctest-TestRoutersBasic-69193582-54907627 to be up..
2026-08-21 07:48:59,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:04,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:10,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:15,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:20,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:25,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:30,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 07:49:35,526 - DEBUG - VM is in ACTIVE state now
2026-08-21 07:49:35,527 - INFO - VM name : ctest-TestRoutersBasic-69193582-54907627
2026-08-21 07:49:35,618 - DEBUG - VM ctest-TestRoutersBasic-69193582-54907627 ID is 2a98e75a-3989-4dad-8166-3cb49d313ed6
2026-08-21 07:49:35,642 - DEBUG - VM ctest-TestRoutersBasic-69193582-54907627 launched on Node cn-jenkins-deploy-platform-ansible-os-6200-1
2026-08-21 07:49:35,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a98e75a-3989-4dad-8166-3cb49d313ed6
2026-08-21 07:49:36,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a98e75a-3989-4dad-8166-3cb49d313ed6
2026-08-21 07:49:36,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c09617b9-4c08-4008-886f-757426c3283f
2026-08-21 07:49:39,418 - 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 1009ms')
2026-08-21 07:49:39,419 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69193582-54907627 failed!
2026-08-21 07:49:39,475 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69193582:ctest-vn-69133917 is 160.195.99.1 and allocation pool is NOT set
2026-08-21 07:49:43,550 - 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=7.12 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 7.122/7.122/7.122/0.000 ms')
2026-08-21 07:49:43,550 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69193582-54907627 passed
2026-08-21 07:49:43,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 07:49:43,703 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69193582-54907627, IP 160.195.99.3, Port 22
2026-08-21 07:49:43,873 - DEBUG - VM ctest-TestRoutersBasic-69193582-54907627 is ready for SSH connections
2026-08-21 07:49:43,873 - INFO - Waiting for VM ctest-TestRoutersBasic-69193582-85223300 to be up..
2026-08-21 07:49:43,963 - DEBUG - VM is in ACTIVE state now
2026-08-21 07:49:43,964 - INFO - VM name : ctest-TestRoutersBasic-69193582-85223300
2026-08-21 07:49:44,048 - DEBUG - VM ctest-TestRoutersBasic-69193582-85223300 ID is ee48b9bf-d24a-4310-af13-1e6eed4a3710
2026-08-21 07:49:44,048 - DEBUG - VM ctest-TestRoutersBasic-69193582-85223300 launched on Node cn-jenkins-deploy-platform-ansible-os-6200-1
2026-08-21 07:49:44,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee48b9bf-d24a-4310-af13-1e6eed4a3710
2026-08-21 07:49:44,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/836e85bf-f859-4346-bcea-0df8805c2063
2026-08-21 07:49:47,425 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-08-21 07:49:47,425 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-69193582-85223300 failed!
2026-08-21 07:49:47,483 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69193582:ctest-ext_vn-36155869 is 190.78.233.1 and allocation pool is NOT set
2026-08-21 07:49:49,552 - 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=5.14 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.76 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 = 1.756/3.447/5.138/1.691 ms')
2026-08-21 07:49:49,552 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-69193582-85223300 passed
2026-08-21 07:49:49,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 07:49:49,703 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69193582-85223300, IP 190.78.233.4, Port 22
2026-08-21 07:49:49,769 - 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-08-21 07:49:49,859 - DEBUG - VM ctest-TestRoutersBasic-69193582-85223300 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-21 07:49:54,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 07:49:54,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69193582-85223300, IP 190.78.233.4, Port 22
2026-08-21 07:49:55,033 - DEBUG - VM ctest-TestRoutersBasic-69193582-85223300 is ready for SSH connections
2026-08-21 07:49:55,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 07:49:55,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.78.233.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-21 07:49:55,034 - DEBUG - ping -s 56 -c 3 -W 1 190.78.233.4
2026-08-21 07:49:58,128 - DEBUG - PING 190.78.233.4 (190.78.233.4): 56 data bytes
64 bytes from 190.78.233.4: seq=0 ttl=62 time=9.429 ms
64 bytes from 190.78.233.4: seq=1 ttl=62 time=1.137 ms
64 bytes from 190.78.233.4: seq=2 ttl=62 time=1.800 ms
--- 190.78.233.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.137/4.122/9.429 ms
2026-08-21 07:49:58,128 - INFO - Ping to IP 190.78.233.4 from VM ctest-TestRoutersBasic-69193582-54907627 passed
2026-08-21 07:49:58,128 - INFO - Deleting interface with subnet_id 91be359b-8a5b-472c-ab7b-5c7372f89f83, port_id None from router b47a0a9b-4f43-43a9-aa3a-79b53830ec87
2026-08-21 07:49:58,375 - INFO - Deleting VM ctest-TestRoutersBasic-69193582-85223300
2026-08-21 07:49:58,463 - INFO - Deleting VM ctest-TestRoutersBasic-69193582-54907627
2026-08-21 07:49:58,569 - INFO - Deleting VN ctest-ext_vn-36155869
2026-08-21 07:49:58,654 - DEBUG - VN 22784397-e33b-458c-8679-dc8372453f21 still in use: Unable to complete operation on network 22784397-e33b-458c-8679-dc8372453f21. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-681f0357-853f-401d-ba0c-c4ce1a56142c']
2026-08-21 07:49:58,654 - WARNING - Deleting VN ctest-ext_vn-36155869 failed..Will retry
2026-08-21 07:50:00,721 - DEBUG - VN 22784397-e33b-458c-8679-dc8372453f21 still in use: Unable to complete operation on network 22784397-e33b-458c-8679-dc8372453f21. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e91c3744-513e-4267-b7d1-f6087b3cdb2d']
2026-08-21 07:50:00,721 - WARNING - Deleting VN ctest-ext_vn-36155869 failed..Will retry
2026-08-21 07:50:02,857 - DEBUG - Response for deleting network ()
2026-08-21 07:50:02,857 - INFO - Deleting VN ctest-vn-69133917
2026-08-21 07:50:02,995 - DEBUG - Response for deleting network ()
2026-08-21 07:50:03,271 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 07:50:03,271 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:08]
2026-08-21 07:50:03,271 - INFO - --------------------------------------------------------------------------------
2026-08-21 07:50:04,069 - INFO - Deleted project: ctest-TestRoutersBasic-69193582, ID : 31abb0c1-895b-421a-afae-af86274f034d