2026-04-22 15:54:53,124 - INFO - Domain Default found not creating 2026-04-22 15:54:53,333 - INFO - Project ctest-TestRoutersBasic-72445566 not found, creating it 2026-04-22 15:54:53,817 - INFO - Created Project:ctest-TestRoutersBasic-72445566, ID : 679b2e10-8b41-44ff-b889-0a4e6e4f4973 2026-04-22 15:54:55,295 - INFO - ================================================================================ 2026-04-22 15:54:55,295 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-22 15:54:55,296 - 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-04-22 15:54:55,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-22 15:54:55,549 - INFO - Initial checks done. Running the testcase now 2026-04-22 15:54:55,549 - INFO - 2026-04-22 15:54:56,294 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72445566 2026-04-22 15:54:56,388 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72445566 2026-04-22 15:54:56,703 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72445566', 'default']} 2026-04-22 15:54:57,006 - DEBUG - Response for create_network : {'network': {'id': '26a80483-2b7c-4af4-b5eb-23aa3aaebdab', 'name': 'ctest-vn-46085463', 'tenant_id': '679b2e108b4144ffb8890a4e6e4f4973', 'project_id': '679b2e108b4144ffb8890a4e6e4f4973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72445566', 'ctest-vn-46085463'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:54:57,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ded7582c-0c98-4192-88b1-3f0c6d286ddf', 'name': '', 'tenant_id': '679b2e108b4144ffb8890a4e6e4f4973', 'network_id': '26a80483-2b7c-4af4-b5eb-23aa3aaebdab', 'ip_version': 4, 'cidr': '56.61.185.64/26', 'allocation_pools': [{'start': '56.61.185.66', 'end': '56.61.185.126'}], 'gateway_ip': '56.61.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.61.185.66', 'tags': [], 'project_id': '679b2e108b4144ffb8890a4e6e4f4973'}} 2026-04-22 15:54:57,206 - INFO - Created VN ctest-vn-46085463 2026-04-22 15:54:57,260 - DEBUG - VN ctest-vn-46085463 UUID is 26a80483-2b7c-4af4-b5eb-23aa3aaebdab 2026-04-22 15:54:57,568 - DEBUG - Response for create_network : {'network': {'id': '7cef8414-b32c-4dc0-8eea-21c4985a94d7', 'name': 'ctest-ext_vn-33218543', 'tenant_id': '679b2e108b4144ffb8890a4e6e4f4973', 'project_id': '679b2e108b4144ffb8890a4e6e4f4973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72445566', 'ctest-ext_vn-33218543'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:54:57,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '121b706b-2019-4aa9-bec0-9ad850f2fb25', 'name': '', 'tenant_id': '679b2e108b4144ffb8890a4e6e4f4973', 'network_id': '7cef8414-b32c-4dc0-8eea-21c4985a94d7', 'ip_version': 4, 'cidr': '115.253.171.128/26', 'allocation_pools': [{'start': '115.253.171.130', 'end': '115.253.171.190'}], 'gateway_ip': '115.253.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.253.171.130', 'tags': [], 'project_id': '679b2e108b4144ffb8890a4e6e4f4973'}} 2026-04-22 15:54:57,776 - INFO - Created VN ctest-ext_vn-33218543 2026-04-22 15:54:57,827 - DEBUG - VN ctest-ext_vn-33218543 UUID is 7cef8414-b32c-4dc0-8eea-21c4985a94d7 2026-04-22 15:54:58,003 - DEBUG - Services list from nova: [, , ] 2026-04-22 15:54:59,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5669-1) 2026-04-22 15:55:00,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5669-1) 2026-04-22 15:55:00,284 - INFO - Setting gateway for router 6a2c97c8-aed3-4c14-80fa-f205fe27f7c4 to network 7cef8414-b32c-4dc0-8eea-21c4985a94d7 2026-04-22 15:55:00,340 - INFO - Adding interface with subnet_id ded7582c-0c98-4192-88b1-3f0c6d286ddf, port_id None to router 6a2c97c8-aed3-4c14-80fa-f205fe27f7c4 2026-04-22 15:55:00,702 - INFO - Waiting for VM ctest-TestRoutersBasic-72445566-59055890 to be up.. 2026-04-22 15:55:00,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 15:55:05,954 - DEBUG - VM is in ACTIVE state now 2026-04-22 15:55:05,954 - INFO - VM name : ctest-TestRoutersBasic-72445566-59055890 2026-04-22 15:55:06,031 - DEBUG - VM ctest-TestRoutersBasic-72445566-59055890 ID is f9f2c9c8-73ea-4b7d-a510-0c286a68846d 2026-04-22 15:55:06,057 - DEBUG - VM ctest-TestRoutersBasic-72445566-59055890 launched on Node cn-jenkins-deploy-platform-ansible-os-5669-1 2026-04-22 15:55:06,135 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f9f2c9c8-73ea-4b7d-a510-0c286a68846d 2026-04-22 15:55:06,439 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f9f2c9c8-73ea-4b7d-a510-0c286a68846d 2026-04-22 15:55:06,477 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fd2412ea-d9cd-43b9-a69a-f6e6e621138b 2026-04-22 15:55:09,718 - 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 1003ms') 2026-04-22 15:55:09,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72445566-59055890 failed! 2026-04-22 15:55:09,772 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72445566:ctest-vn-46085463 is 56.61.185.65 and allocation pool is NOT set 2026-04-22 15:55:11,835 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.436/1.598/2.760/1.162 ms') 2026-04-22 15:55:11,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72445566-59055890 passed 2026-04-22 15:55:11,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:11,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72445566-59055890, IP 56.61.185.67, Port 22 2026-04-22 15:55:12,139 - DEBUG - VM ctest-TestRoutersBasic-72445566-59055890 is ready for SSH connections 2026-04-22 15:55:12,140 - INFO - Waiting for VM ctest-TestRoutersBasic-72445566-12513050 to be up.. 2026-04-22 15:55:12,214 - DEBUG - VM is in ACTIVE state now 2026-04-22 15:55:12,214 - INFO - VM name : ctest-TestRoutersBasic-72445566-12513050 2026-04-22 15:55:12,289 - DEBUG - VM ctest-TestRoutersBasic-72445566-12513050 ID is a56df7e5-bb49-47a7-bedb-0fa024865b1b 2026-04-22 15:55:12,289 - DEBUG - VM ctest-TestRoutersBasic-72445566-12513050 launched on Node cn-jenkins-deploy-platform-ansible-os-5669-1 2026-04-22 15:55:12,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a56df7e5-bb49-47a7-bedb-0fa024865b1b 2026-04-22 15:55:12,377 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4a8ada17-9b34-43f9-834c-51d0556ca614 2026-04-22 15:55:13,619 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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 = 0.567/1.756/2.945/1.189 ms') 2026-04-22 15:55:13,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72445566-12513050 passed 2026-04-22 15:55:13,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:13,768 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72445566-12513050, IP 115.253.171.131, Port 22 2026-04-22 15:55:13,924 - DEBUG - VM ctest-TestRoutersBasic-72445566-12513050 is ready for SSH connections 2026-04-22 15:55:13,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:13,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.253.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-22 15:55:13,924 - DEBUG - ping -s 56 -c 3 -W 1 115.253.171.131 2026-04-22 15:55:17,654 - DEBUG - PING 115.253.171.131 (115.253.171.131): 56 data bytes 64 bytes from 115.253.171.131: seq=0 ttl=62 time=6.090 ms 64 bytes from 115.253.171.131: seq=1 ttl=62 time=1.110 ms 64 bytes from 115.253.171.131: seq=2 ttl=62 time=1.208 ms --- 115.253.171.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.110/2.802/6.090 ms 2026-04-22 15:55:17,655 - INFO - Ping to IP 115.253.171.131 from VM ctest-TestRoutersBasic-72445566-59055890 passed 2026-04-22 15:55:17,655 - INFO - Deleting interface with subnet_id ded7582c-0c98-4192-88b1-3f0c6d286ddf, port_id None from router 6a2c97c8-aed3-4c14-80fa-f205fe27f7c4 2026-04-22 15:55:17,859 - INFO - Deleting VM ctest-TestRoutersBasic-72445566-12513050 2026-04-22 15:55:17,940 - INFO - Deleting VM ctest-TestRoutersBasic-72445566-59055890 2026-04-22 15:55:18,019 - INFO - Deleting VN ctest-ext_vn-33218543 2026-04-22 15:55:18,081 - DEBUG - VN 7cef8414-b32c-4dc0-8eea-21c4985a94d7 still in use: Unable to complete operation on network 7cef8414-b32c-4dc0-8eea-21c4985a94d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7246e17-deca-481f-8dee-46ad199e40fe'] 2026-04-22 15:55:18,081 - WARNING - Deleting VN ctest-ext_vn-33218543 failed..Will retry 2026-04-22 15:55:20,187 - DEBUG - Response for deleting network () 2026-04-22 15:55:20,187 - INFO - Deleting VN ctest-vn-46085463 2026-04-22 15:55:20,284 - DEBUG - Response for deleting network () 2026-04-22 15:55:20,536 - DEBUG - No XMPP flaps were noticed during the test
2026-04-22 15:55:20,537 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-22 15:55:20,537 - INFO - -------------------------------------------------------------------------------- 2026-04-22 15:55:21,242 - INFO - Deleted project: ctest-TestRoutersBasic-72445566, ID : 679b2e10-8b41-44ff-b889-0a4e6e4f4973