2026-03-25 13:05:23,931 - INFO - Domain Default found not creating 2026-03-25 13:05:24,093 - INFO - Project ctest-TestRoutersBasic-94743498 not found, creating it 2026-03-25 13:05:24,581 - INFO - Created Project:ctest-TestRoutersBasic-94743498, ID : 0b5dc888-545a-442c-a18b-83db3de70f1a 2026-03-25 13:05:26,077 - INFO - ================================================================================ 2026-03-25 13:05:26,077 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-25 13:05:26,077 - 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-03-25 13:05:26,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-25 13:05:26,334 - INFO - Initial checks done. Running the testcase now 2026-03-25 13:05:26,334 - INFO - 2026-03-25 13:05:27,042 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94743498 2026-03-25 13:05:27,139 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94743498 2026-03-25 13:05:27,458 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94743498', 'default']} 2026-03-25 13:05:27,757 - DEBUG - Response for create_network : {'network': {'id': '72f28f99-fac5-4ddf-a5bd-f0dfdcb168e2', 'name': 'ctest-vn-06921425', 'tenant_id': '0b5dc888545a442ca18b83db3de70f1a', 'project_id': '0b5dc888545a442ca18b83db3de70f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94743498', 'ctest-vn-06921425'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:05:27,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '768b6d09-1d8c-4e53-838d-ab50fd6fd5ce', 'name': '', 'tenant_id': '0b5dc888545a442ca18b83db3de70f1a', 'network_id': '72f28f99-fac5-4ddf-a5bd-f0dfdcb168e2', 'ip_version': 4, 'cidr': '66.34.44.128/26', 'allocation_pools': [{'start': '66.34.44.130', 'end': '66.34.44.190'}], 'gateway_ip': '66.34.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.34.44.130', 'tags': [], 'project_id': '0b5dc888545a442ca18b83db3de70f1a'}} 2026-03-25 13:05:27,982 - INFO - Created VN ctest-vn-06921425 2026-03-25 13:05:28,034 - DEBUG - VN ctest-vn-06921425 UUID is 72f28f99-fac5-4ddf-a5bd-f0dfdcb168e2 2026-03-25 13:05:28,376 - DEBUG - Response for create_network : {'network': {'id': 'baf21be5-25d0-4f3d-9843-602322039cd1', 'name': 'ctest-ext_vn-38406529', 'tenant_id': '0b5dc888545a442ca18b83db3de70f1a', 'project_id': '0b5dc888545a442ca18b83db3de70f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94743498', 'ctest-ext_vn-38406529'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:05:28,521 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0b1609a-bd95-4ed8-bdcd-f98ca774bc77', 'name': '', 'tenant_id': '0b5dc888545a442ca18b83db3de70f1a', 'network_id': 'baf21be5-25d0-4f3d-9843-602322039cd1', 'ip_version': 4, 'cidr': '179.86.30.192/26', 'allocation_pools': [{'start': '179.86.30.194', 'end': '179.86.30.254'}], 'gateway_ip': '179.86.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.86.30.194', 'tags': [], 'project_id': '0b5dc888545a442ca18b83db3de70f1a'}} 2026-03-25 13:05:28,537 - INFO - Created VN ctest-ext_vn-38406529 2026-03-25 13:05:28,591 - DEBUG - VN ctest-ext_vn-38406529 UUID is baf21be5-25d0-4f3d-9843-602322039cd1 2026-03-25 13:05:28,800 - DEBUG - Services list from nova: [, , ] 2026-03-25 13:05:29,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1) 2026-03-25 13:05:30,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1) 2026-03-25 13:05:31,013 - INFO - Setting gateway for router d55e826e-feaa-40a4-aedf-f2312f4fe0fb to network baf21be5-25d0-4f3d-9843-602322039cd1 2026-03-25 13:05:31,087 - INFO - Adding interface with subnet_id 768b6d09-1d8c-4e53-838d-ab50fd6fd5ce, port_id None to router d55e826e-feaa-40a4-aedf-f2312f4fe0fb 2026-03-25 13:05:31,444 - INFO - Waiting for VM ctest-TestRoutersBasic-94743498-31624350 to be up.. 2026-03-25 13:05:31,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-25 13:05:36,656 - DEBUG - VM is in ACTIVE state now 2026-03-25 13:05:36,657 - INFO - VM name : ctest-TestRoutersBasic-94743498-31624350 2026-03-25 13:05:36,728 - DEBUG - VM ctest-TestRoutersBasic-94743498-31624350 ID is f1dd45f2-7f31-4ad2-a8d1-130f98f8cc0f 2026-03-25 13:05:36,748 - DEBUG - VM ctest-TestRoutersBasic-94743498-31624350 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1 2026-03-25 13:05:36,826 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1dd45f2-7f31-4ad2-a8d1-130f98f8cc0f 2026-03-25 13:05:37,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1dd45f2-7f31-4ad2-a8d1-130f98f8cc0f 2026-03-25 13:05:37,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/15096263-1e73-450e-806d-3f49c51fe496 2026-03-25 13:05:40,397 - 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 1007ms') 2026-03-25 13:05:40,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94743498-31624350 failed! 2026-03-25 13:05:40,450 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94743498:ctest-vn-06921425 is 66.34.44.129 and allocation pool is NOT set 2026-03-25 13:05:42,512 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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.505/1.660/2.815/1.155 ms') 2026-03-25 13:05:42,512 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94743498-31624350 passed 2026-03-25 13:05:42,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:05:42,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94743498-31624350, IP 66.34.44.131, Port 22 2026-03-25 13:05:42,818 - DEBUG - VM ctest-TestRoutersBasic-94743498-31624350 is ready for SSH connections 2026-03-25 13:05:42,818 - INFO - Waiting for VM ctest-TestRoutersBasic-94743498-64318631 to be up.. 2026-03-25 13:05:42,891 - DEBUG - VM is in ACTIVE state now 2026-03-25 13:05:42,891 - INFO - VM name : ctest-TestRoutersBasic-94743498-64318631 2026-03-25 13:05:42,963 - DEBUG - VM ctest-TestRoutersBasic-94743498-64318631 ID is 4daab13e-cd90-472c-afec-1b4e6e7789cd 2026-03-25 13:05:42,963 - DEBUG - VM ctest-TestRoutersBasic-94743498-64318631 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1 2026-03-25 13:05:43,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4daab13e-cd90-472c-afec-1b4e6e7789cd 2026-03-25 13:05:43,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/814e5ce0-ec33-40e9-94d6-e4e51977ab40 2026-03-25 13:05:44,274 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.396/1.613/2.831/1.217 ms') 2026-03-25 13:05:44,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94743498-64318631 passed 2026-03-25 13:05:44,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:05:44,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94743498-64318631, IP 179.86.30.195, Port 22 2026-03-25 13:05:44,586 - DEBUG - VM ctest-TestRoutersBasic-94743498-64318631 is ready for SSH connections 2026-03-25 13:05:44,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:05:44,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.86.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-25 13:05:44,586 - DEBUG - ping -s 56 -c 3 -W 1 179.86.30.195 2026-03-25 13:05:48,269 - DEBUG - PING 179.86.30.195 (179.86.30.195): 56 data bytes 64 bytes from 179.86.30.195: seq=0 ttl=62 time=4.388 ms 64 bytes from 179.86.30.195: seq=1 ttl=62 time=0.919 ms 64 bytes from 179.86.30.195: seq=2 ttl=62 time=0.971 ms --- 179.86.30.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/2.092/4.388 ms 2026-03-25 13:05:48,270 - INFO - Ping to IP 179.86.30.195 from VM ctest-TestRoutersBasic-94743498-31624350 passed 2026-03-25 13:05:48,270 - INFO - Deleting interface with subnet_id 768b6d09-1d8c-4e53-838d-ab50fd6fd5ce, port_id None from router d55e826e-feaa-40a4-aedf-f2312f4fe0fb 2026-03-25 13:05:48,460 - INFO - Deleting VM ctest-TestRoutersBasic-94743498-64318631 2026-03-25 13:05:48,536 - INFO - Deleting VM ctest-TestRoutersBasic-94743498-31624350 2026-03-25 13:05:48,623 - INFO - Deleting VN ctest-ext_vn-38406529 2026-03-25 13:05:48,690 - DEBUG - VN baf21be5-25d0-4f3d-9843-602322039cd1 still in use: Unable to complete operation on network baf21be5-25d0-4f3d-9843-602322039cd1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc968f7b-27eb-4fbe-b5a7-66633eefb26a'] 2026-03-25 13:05:48,690 - WARNING - Deleting VN ctest-ext_vn-38406529 failed..Will retry 2026-03-25 13:05:50,784 - DEBUG - Response for deleting network () 2026-03-25 13:05:50,784 - INFO - Deleting VN ctest-vn-06921425 2026-03-25 13:05:50,882 - DEBUG - Response for deleting network () 2026-03-25 13:05:51,135 - DEBUG - No XMPP flaps were noticed during the test
2026-03-25 13:05:51,136 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-25 13:05:51,136 - INFO - -------------------------------------------------------------------------------- 2026-03-25 13:05:51,826 - INFO - Deleted project: ctest-TestRoutersBasic-94743498, ID : 0b5dc888-545a-442c-a18b-83db3de70f1a