2026-01-12 02:05:09,357 - INFO - Domain Default found not creating 2026-01-12 02:05:09,555 - INFO - Project ctest-TestRoutersBasic-70411272 not found, creating it 2026-01-12 02:05:10,076 - INFO - Created Project:ctest-TestRoutersBasic-70411272, ID : 92c9e9db-08fa-499e-b541-3e5ab8a4e1b1 2026-01-12 02:05:11,808 - INFO - ================================================================================ 2026-01-12 02:05:11,808 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-12 02:05:11,808 - 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-01-12 02:05:12,067 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-01-12 02:05:12,068 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:05:12,068 - INFO - 2026-01-12 02:05:13,034 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70411272 2026-01-12 02:05:13,140 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70411272 2026-01-12 02:05:13,479 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70411272', 'default']} 2026-01-12 02:05:13,832 - DEBUG - Response for create_network : {'network': {'id': '0739d34c-520e-4706-9044-fb0bb2bce505', 'name': 'ctest-vn-75871260', 'tenant_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'project_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70411272', 'ctest-vn-75871260'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:05:14,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '08a0aaf3-9ec8-4e8b-98e2-ad8e6027f189', 'name': '', 'tenant_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'network_id': '0739d34c-520e-4706-9044-fb0bb2bce505', 'ip_version': 4, 'cidr': '199.26.10.128/26', 'allocation_pools': [{'start': '199.26.10.130', 'end': '199.26.10.190'}], 'gateway_ip': '199.26.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.26.10.130', 'tags': [], 'project_id': '92c9e9db08fa499eb5413e5ab8a4e1b1'}} 2026-01-12 02:05:14,102 - INFO - Created VN ctest-vn-75871260 2026-01-12 02:05:14,160 - DEBUG - VN ctest-vn-75871260 UUID is 0739d34c-520e-4706-9044-fb0bb2bce505 2026-01-12 02:05:14,535 - DEBUG - Response for create_network : {'network': {'id': '48a4ecb2-4202-49e4-b6ad-a77508147320', 'name': 'ctest-ext_vn-33134660', 'tenant_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'project_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70411272', 'ctest-ext_vn-33134660'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:05:14,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '84c918f0-76ad-43ed-923c-99f5f11e7c13', 'name': '', 'tenant_id': '92c9e9db08fa499eb5413e5ab8a4e1b1', 'network_id': '48a4ecb2-4202-49e4-b6ad-a77508147320', 'ip_version': 4, 'cidr': '87.211.139.192/26', 'allocation_pools': [{'start': '87.211.139.194', 'end': '87.211.139.254'}], 'gateway_ip': '87.211.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.211.139.194', 'tags': [], 'project_id': '92c9e9db08fa499eb5413e5ab8a4e1b1'}} 2026-01-12 02:05:14,811 - INFO - Created VN ctest-ext_vn-33134660 2026-01-12 02:05:14,864 - DEBUG - VN ctest-ext_vn-33134660 UUID is 48a4ecb2-4202-49e4-b6ad-a77508147320 2026-01-12 02:05:15,054 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:05:16,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4988-1) 2026-01-12 02:05:17,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4988-1) 2026-01-12 02:05:17,826 - INFO - Setting gateway for router 6cc60512-4837-4d43-a73a-8bde2e47cc2f to network 48a4ecb2-4202-49e4-b6ad-a77508147320 2026-01-12 02:05:17,931 - INFO - Adding interface with subnet_id 08a0aaf3-9ec8-4e8b-98e2-ad8e6027f189, port_id None to router 6cc60512-4837-4d43-a73a-8bde2e47cc2f 2026-01-12 02:05:18,389 - INFO - Waiting for VM ctest-TestRoutersBasic-70411272-63868088 to be up.. 2026-01-12 02:05:18,582 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:05:18,582 - INFO - VM name : ctest-TestRoutersBasic-70411272-63868088 2026-01-12 02:05:18,746 - DEBUG - VM ctest-TestRoutersBasic-70411272-63868088 ID is 764d3011-d3bb-48ba-911e-633c876f4a34 2026-01-12 02:05:18,773 - DEBUG - VM ctest-TestRoutersBasic-70411272-63868088 launched on Node cn-jenkins-deploy-platform-ansible-os-4988-1 2026-01-12 02:05:18,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/764d3011-d3bb-48ba-911e-633c876f4a34 2026-01-12 02:05:19,314 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/764d3011-d3bb-48ba-911e-633c876f4a34 2026-01-12 02:05:19,364 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6f564d12-fc21-4190-979b-8eca40ab9870 2026-01-12 02:05:22,634 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-01-12 02:05:22,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70411272-63868088 failed! 2026-01-12 02:05:22,696 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70411272:ctest-vn-75871260 is 199.26.10.129 and allocation pool is NOT set 2026-01-12 02:05:26,794 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms') 2026-01-12 02:05:26,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70411272-63868088 failed! 2026-01-12 02:05:26,852 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70411272:ctest-vn-75871260 is 199.26.10.129 and allocation pool is NOT set 2026-01-12 02:05:28,918 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.784/3.252/4.721/1.468 ms') 2026-01-12 02:05:28,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70411272-63868088 passed 2026-01-12 02:05:29,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:05:29,072 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70411272-63868088, IP 199.26.10.131, Port 22 2026-01-12 02:05:29,238 - DEBUG - VM ctest-TestRoutersBasic-70411272-63868088 is ready for SSH connections 2026-01-12 02:05:29,238 - INFO - Waiting for VM ctest-TestRoutersBasic-70411272-66410611 to be up.. 2026-01-12 02:05:29,338 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:05:29,338 - INFO - VM name : ctest-TestRoutersBasic-70411272-66410611 2026-01-12 02:05:29,434 - DEBUG - VM ctest-TestRoutersBasic-70411272-66410611 ID is 4b5ffdec-7d1b-44ea-93d9-ed433897f667 2026-01-12 02:05:29,434 - DEBUG - VM ctest-TestRoutersBasic-70411272-66410611 launched on Node cn-jenkins-deploy-platform-ansible-os-4988-1 2026-01-12 02:05:29,529 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4b5ffdec-7d1b-44ea-93d9-ed433897f667 2026-01-12 02:05:29,538 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c7336ede-8187-4bec-9b66-925d7d23e987 2026-01-12 02:05:30,796 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.50 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.497/3.378/5.260/1.881 ms') 2026-01-12 02:05:30,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70411272-66410611 passed 2026-01-12 02:05:30,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:05:30,948 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70411272-66410611, IP 87.211.139.195, Port 22 2026-01-12 02:05:31,117 - DEBUG - VM ctest-TestRoutersBasic-70411272-66410611 is ready for SSH connections 2026-01-12 02:05:31,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:05:31,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.211.139.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-12 02:05:31,118 - DEBUG - ping -s 56 -c 3 -W 1 87.211.139.195 2026-01-12 02:05:34,876 - DEBUG - PING 87.211.139.195 (87.211.139.195): 56 data bytes 64 bytes from 87.211.139.195: seq=0 ttl=62 time=6.973 ms 64 bytes from 87.211.139.195: seq=1 ttl=62 time=1.001 ms 64 bytes from 87.211.139.195: seq=2 ttl=62 time=1.393 ms --- 87.211.139.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/3.122/6.973 ms 2026-01-12 02:05:34,876 - INFO - Ping to IP 87.211.139.195 from VM ctest-TestRoutersBasic-70411272-63868088 passed 2026-01-12 02:05:34,876 - INFO - Deleting interface with subnet_id 08a0aaf3-9ec8-4e8b-98e2-ad8e6027f189, port_id None from router 6cc60512-4837-4d43-a73a-8bde2e47cc2f 2026-01-12 02:05:35,089 - INFO - Deleting VM ctest-TestRoutersBasic-70411272-66410611 2026-01-12 02:05:35,174 - INFO - Deleting VM ctest-TestRoutersBasic-70411272-63868088 2026-01-12 02:05:35,275 - INFO - Deleting VN ctest-ext_vn-33134660 2026-01-12 02:05:35,355 - DEBUG - VN 48a4ecb2-4202-49e4-b6ad-a77508147320 still in use: Unable to complete operation on network 48a4ecb2-4202-49e4-b6ad-a77508147320. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d7f3c3b-5b03-4488-a3a6-edb8675a198f'] 2026-01-12 02:05:35,355 - WARNING - Deleting VN ctest-ext_vn-33134660 failed..Will retry 2026-01-12 02:05:37,488 - DEBUG - Response for deleting network () 2026-01-12 02:05:37,488 - INFO - Deleting VN ctest-vn-75871260 2026-01-12 02:05:37,606 - DEBUG - Response for deleting network () 2026-01-12 02:05:37,869 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:05:37,869 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-12 02:05:37,869 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:05:38,609 - INFO - Deleted project: ctest-TestRoutersBasic-70411272, ID : 92c9e9db-08fa-499e-b541-3e5ab8a4e1b1