2026-07-06 04:57:34,238 - INFO - Domain Default found not creating 2026-07-06 04:57:34,414 - INFO - Project ctest-TestRoutersBasic-99063240 not found, creating it 2026-07-06 04:57:34,896 - INFO - Created Project:ctest-TestRoutersBasic-99063240, ID : 3ed5e4a0-c070-45c3-881b-a2317883b65a 2026-07-06 04:57:36,453 - INFO - ================================================================================ 2026-07-06 04:57:36,454 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-06 04:57:36,454 - 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-07-06 04:57:36,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-07-06 04:57:36,715 - INFO - Initial checks done. Running the testcase now 2026-07-06 04:57:36,715 - INFO - 2026-07-06 04:57:37,494 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99063240 2026-07-06 04:57:37,593 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99063240 2026-07-06 04:57:37,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99063240', 'default']} 2026-07-06 04:57:38,210 - DEBUG - Response for create_network : {'network': {'id': 'b47a240e-deeb-4c1f-9955-13ce72ede786', 'name': 'ctest-vn-00007591', 'tenant_id': '3ed5e4a0c07045c3881ba2317883b65a', 'project_id': '3ed5e4a0c07045c3881ba2317883b65a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99063240', 'ctest-vn-00007591'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:57:38,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f2f005d-3d0a-474a-9582-fe4af00af28a', 'name': '', 'tenant_id': '3ed5e4a0c07045c3881ba2317883b65a', 'network_id': 'b47a240e-deeb-4c1f-9955-13ce72ede786', 'ip_version': 4, 'cidr': '75.140.36.64/26', 'allocation_pools': [{'start': '75.140.36.66', 'end': '75.140.36.126'}], 'gateway_ip': '75.140.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.140.36.66', 'tags': [], 'project_id': '3ed5e4a0c07045c3881ba2317883b65a'}} 2026-07-06 04:57:38,381 - INFO - Created VN ctest-vn-00007591 2026-07-06 04:57:38,432 - DEBUG - VN ctest-vn-00007591 UUID is b47a240e-deeb-4c1f-9955-13ce72ede786 2026-07-06 04:57:38,776 - DEBUG - Response for create_network : {'network': {'id': '2c162235-eead-470f-b127-2033faa019ff', 'name': 'ctest-ext_vn-73240386', 'tenant_id': '3ed5e4a0c07045c3881ba2317883b65a', 'project_id': '3ed5e4a0c07045c3881ba2317883b65a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99063240', 'ctest-ext_vn-73240386'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:57:38,975 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7bd7bdc-57b5-4eb5-9a40-b5b87a2572e3', 'name': '', 'tenant_id': '3ed5e4a0c07045c3881ba2317883b65a', 'network_id': '2c162235-eead-470f-b127-2033faa019ff', 'ip_version': 4, 'cidr': '185.178.224.128/26', 'allocation_pools': [{'start': '185.178.224.130', 'end': '185.178.224.190'}], 'gateway_ip': '185.178.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.178.224.130', 'tags': [], 'project_id': '3ed5e4a0c07045c3881ba2317883b65a'}} 2026-07-06 04:57:38,991 - INFO - Created VN ctest-ext_vn-73240386 2026-07-06 04:57:39,044 - DEBUG - VN ctest-ext_vn-73240386 UUID is 2c162235-eead-470f-b127-2033faa019ff 2026-07-06 04:57:39,212 - DEBUG - Services list from nova: [, , ] 2026-07-06 04:57:39,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6081-1) 2026-07-06 04:57:39,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6081-1) 2026-07-06 04:57:40,036 - INFO - Setting gateway for router 5a7ae8a7-9710-4176-b154-92ef42e6b8d7 to network 2c162235-eead-470f-b127-2033faa019ff 2026-07-06 04:57:40,100 - INFO - Adding interface with subnet_id 8f2f005d-3d0a-474a-9582-fe4af00af28a, port_id None to router 5a7ae8a7-9710-4176-b154-92ef42e6b8d7 2026-07-06 04:57:40,342 - INFO - Waiting for VM ctest-TestRoutersBasic-99063240-39438911 to be up.. 2026-07-06 04:57:40,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 04:57:45,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 04:57:50,553 - DEBUG - VM is in ACTIVE state now 2026-07-06 04:57:50,553 - INFO - VM name : ctest-TestRoutersBasic-99063240-39438911 2026-07-06 04:57:50,623 - DEBUG - VM ctest-TestRoutersBasic-99063240-39438911 ID is bde884bf-1d47-4987-bd9a-572508ac6df5 2026-07-06 04:57:50,647 - DEBUG - VM ctest-TestRoutersBasic-99063240-39438911 launched on Node cn-jenkins-deploy-platform-ansible-os-6081-1 2026-07-06 04:57:50,735 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bde884bf-1d47-4987-bd9a-572508ac6df5 2026-07-06 04:57:51,061 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bde884bf-1d47-4987-bd9a-572508ac6df5 2026-07-06 04:57:51,089 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9a9d71e1-d777-48d6-a4c8-b7aeaf43c151 2026-07-06 04:57:54,355 - 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 1033ms') 2026-07-06 04:57:54,355 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-99063240-39438911 failed! 2026-07-06 04:57:54,408 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99063240:ctest-vn-00007591 is 75.140.36.65 and allocation pool is NOT set 2026-07-06 04:57:56,476 - 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=10.8 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.36 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 = 3.361/7.058/10.756/3.697 ms') 2026-07-06 04:57:56,476 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-99063240-39438911 passed 2026-07-06 04:57:56,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:57:56,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99063240-39438911, IP 75.140.36.67, Port 22 2026-07-06 04:57:56,694 - 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-07-06 04:57:56,778 - DEBUG - VM ctest-TestRoutersBasic-99063240-39438911 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-06 04:58:01,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:01,778 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99063240-39438911, IP 75.140.36.67, Port 22 2026-07-06 04:58:01,954 - DEBUG - VM ctest-TestRoutersBasic-99063240-39438911 is ready for SSH connections 2026-07-06 04:58:01,954 - INFO - Waiting for VM ctest-TestRoutersBasic-99063240-01762844 to be up.. 2026-07-06 04:58:02,046 - DEBUG - VM is in ACTIVE state now 2026-07-06 04:58:02,046 - INFO - VM name : ctest-TestRoutersBasic-99063240-01762844 2026-07-06 04:58:02,143 - DEBUG - VM ctest-TestRoutersBasic-99063240-01762844 ID is 13e4b61c-c8bf-4fe4-b181-bef6fd53fcfb 2026-07-06 04:58:02,143 - DEBUG - VM ctest-TestRoutersBasic-99063240-01762844 launched on Node cn-jenkins-deploy-platform-ansible-os-6081-1 2026-07-06 04:58:02,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/13e4b61c-c8bf-4fe4-b181-bef6fd53fcfb 2026-07-06 04:58:02,236 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/107b61b8-205e-4c10-946d-b1ba51ed376f 2026-07-06 04:58:03,490 - 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.02 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.505 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.505/2.263/4.022/1.758 ms') 2026-07-06 04:58:03,490 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-99063240-01762844 passed 2026-07-06 04:58:03,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:03,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99063240-01762844, IP 185.178.224.132, Port 22 2026-07-06 04:58:03,813 - DEBUG - VM ctest-TestRoutersBasic-99063240-01762844 is ready for SSH connections 2026-07-06 04:58:03,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:03,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.178.224.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-06 04:58:03,814 - DEBUG - ping -s 56 -c 3 -W 1 185.178.224.132 2026-07-06 04:58:06,401 - DEBUG - PING 185.178.224.132 (185.178.224.132): 56 data bytes 64 bytes from 185.178.224.132: seq=0 ttl=62 time=4.908 ms 64 bytes from 185.178.224.132: seq=1 ttl=62 time=2.410 ms 64 bytes from 185.178.224.132: seq=2 ttl=62 time=1.239 ms --- 185.178.224.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/2.852/4.908 ms 2026-07-06 04:58:06,401 - INFO - Ping to IP 185.178.224.132 from VM ctest-TestRoutersBasic-99063240-39438911 passed 2026-07-06 04:58:06,402 - INFO - Deleting interface with subnet_id 8f2f005d-3d0a-474a-9582-fe4af00af28a, port_id None from router 5a7ae8a7-9710-4176-b154-92ef42e6b8d7 2026-07-06 04:58:06,708 - INFO - Deleting VM ctest-TestRoutersBasic-99063240-01762844 2026-07-06 04:58:06,798 - INFO - Deleting VM ctest-TestRoutersBasic-99063240-39438911 2026-07-06 04:58:06,883 - INFO - Deleting VN ctest-ext_vn-73240386 2026-07-06 04:58:06,955 - DEBUG - VN 2c162235-eead-470f-b127-2033faa019ff still in use: Unable to complete operation on network 2c162235-eead-470f-b127-2033faa019ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bacf784-0be1-4c33-b57f-fcf856a400de'] 2026-07-06 04:58:06,955 - WARNING - Deleting VN ctest-ext_vn-73240386 failed..Will retry 2026-07-06 04:58:09,080 - DEBUG - Response for deleting network () 2026-07-06 04:58:09,080 - INFO - Deleting VN ctest-vn-00007591 2026-07-06 04:58:09,183 - DEBUG - Response for deleting network () 2026-07-06 04:58:09,447 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 04:58:09,447 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-07-06 04:58:09,447 - INFO - -------------------------------------------------------------------------------- 2026-07-06 04:58:10,314 - INFO - Deleted project: ctest-TestRoutersBasic-99063240, ID : 3ed5e4a0-c070-45c3-881b-a2317883b65a