2026-01-16 00:49:22,361 - INFO - Domain Default found not creating 2026-01-16 00:49:22,576 - INFO - Project ctest-TestRoutersBasic-57482629 not found, creating it 2026-01-16 00:49:23,121 - INFO - Created Project:ctest-TestRoutersBasic-57482629, ID : 9f53dade-5d68-446b-afde-c5f3f1e1bb48 2026-01-16 00:49:24,769 - INFO - ================================================================================ 2026-01-16 00:49:24,769 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-16 00:49:24,769 - 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-16 00:49:25,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-01-16 00:49:25,031 - INFO - Initial checks done. Running the testcase now 2026-01-16 00:49:25,031 - INFO - 2026-01-16 00:49:25,872 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57482629 2026-01-16 00:49:25,972 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57482629 2026-01-16 00:49:26,304 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57482629', 'default']} 2026-01-16 00:49:26,623 - DEBUG - Response for create_network : {'network': {'id': '3a3c171a-2fe0-47f0-869b-7f53595cb52c', 'name': 'ctest-vn-71890665', 'tenant_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'project_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57482629', 'ctest-vn-71890665'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 00:49:26,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f016361-cf19-4ebe-9eeb-ef3ef4e8f44f', 'name': '', 'tenant_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'network_id': '3a3c171a-2fe0-47f0-869b-7f53595cb52c', 'ip_version': 4, 'cidr': '32.93.148.128/26', 'allocation_pools': [{'start': '32.93.148.130', 'end': '32.93.148.190'}], 'gateway_ip': '32.93.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.93.148.130', 'tags': [], 'project_id': '9f53dade5d68446bafdec5f3f1e1bb48'}} 2026-01-16 00:49:26,837 - INFO - Created VN ctest-vn-71890665 2026-01-16 00:49:26,892 - DEBUG - VN ctest-vn-71890665 UUID is 3a3c171a-2fe0-47f0-869b-7f53595cb52c 2026-01-16 00:49:27,208 - DEBUG - Response for create_network : {'network': {'id': 'a7117e87-32aa-4490-a1b3-6522bbf81fec', 'name': 'ctest-ext_vn-56998731', 'tenant_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'project_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57482629', 'ctest-ext_vn-56998731'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 00:49:27,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '60323b2d-99b6-4696-8cab-99ed2e7582dc', 'name': '', 'tenant_id': '9f53dade5d68446bafdec5f3f1e1bb48', 'network_id': 'a7117e87-32aa-4490-a1b3-6522bbf81fec', 'ip_version': 4, 'cidr': '134.152.164.192/26', 'allocation_pools': [{'start': '134.152.164.194', 'end': '134.152.164.254'}], 'gateway_ip': '134.152.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.152.164.194', 'tags': [], 'project_id': '9f53dade5d68446bafdec5f3f1e1bb48'}} 2026-01-16 00:49:27,413 - INFO - Created VN ctest-ext_vn-56998731 2026-01-16 00:49:27,464 - DEBUG - VN ctest-ext_vn-56998731 UUID is a7117e87-32aa-4490-a1b3-6522bbf81fec 2026-01-16 00:49:27,628 - DEBUG - Services list from nova: [, , ] 2026-01-16 00:49:28,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5026-1) 2026-01-16 00:49:30,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5026-1) 2026-01-16 00:49:30,128 - INFO - Setting gateway for router c80a98a8-b5d0-4434-9c6f-2b3853a6b647 to network a7117e87-32aa-4490-a1b3-6522bbf81fec 2026-01-16 00:49:30,195 - INFO - Adding interface with subnet_id 6f016361-cf19-4ebe-9eeb-ef3ef4e8f44f, port_id None to router c80a98a8-b5d0-4434-9c6f-2b3853a6b647 2026-01-16 00:49:30,522 - INFO - Waiting for VM ctest-TestRoutersBasic-57482629-76737908 to be up.. 2026-01-16 00:49:30,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 00:49:35,808 - DEBUG - VM is in ACTIVE state now 2026-01-16 00:49:35,808 - INFO - VM name : ctest-TestRoutersBasic-57482629-76737908 2026-01-16 00:49:35,894 - DEBUG - VM ctest-TestRoutersBasic-57482629-76737908 ID is 6fb6ca38-1821-45d7-bba4-fda32fb39973 2026-01-16 00:49:35,916 - DEBUG - VM ctest-TestRoutersBasic-57482629-76737908 launched on Node cn-jenkins-deploy-platform-ansible-os-5026-1 2026-01-16 00:49:36,003 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6fb6ca38-1821-45d7-bba4-fda32fb39973 2026-01-16 00:49:36,348 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6fb6ca38-1821-45d7-bba4-fda32fb39973 2026-01-16 00:49:36,382 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/07d37556-f02a-42f6-8b24-0d7234869cee 2026-01-16 00:49:39,620 - 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 1005ms') 2026-01-16 00:49:39,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57482629-76737908 failed! 2026-01-16 00:49:39,676 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57482629:ctest-vn-71890665 is 32.93.148.129 and allocation pool is NOT set 2026-01-16 00:49:41,739 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.139/2.786/4.434/1.647 ms') 2026-01-16 00:49:41,740 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57482629-76737908 passed 2026-01-16 00:49:41,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 00:49:41,888 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57482629-76737908, IP 32.93.148.131, Port 22 2026-01-16 00:49:42,047 - DEBUG - VM ctest-TestRoutersBasic-57482629-76737908 is ready for SSH connections 2026-01-16 00:49:42,048 - INFO - Waiting for VM ctest-TestRoutersBasic-57482629-60213703 to be up.. 2026-01-16 00:49:42,132 - DEBUG - VM is in ACTIVE state now 2026-01-16 00:49:42,132 - INFO - VM name : ctest-TestRoutersBasic-57482629-60213703 2026-01-16 00:49:42,210 - DEBUG - VM ctest-TestRoutersBasic-57482629-60213703 ID is a2bb5282-da05-4a9e-9ba8-aa6ab92c0cd8 2026-01-16 00:49:42,210 - DEBUG - VM ctest-TestRoutersBasic-57482629-60213703 launched on Node cn-jenkins-deploy-platform-ansible-os-5026-1 2026-01-16 00:49:42,288 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/a2bb5282-da05-4a9e-9ba8-aa6ab92c0cd8 2026-01-16 00:49:42,296 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8744f3ce-4c88-4983-b0aa-f09ed3e25e75 2026-01-16 00:49:43,527 - 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=7.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.03 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 = 2.030/4.717/7.405/2.687 ms') 2026-01-16 00:49:43,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57482629-60213703 passed 2026-01-16 00:49:43,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 00:49:43,684 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57482629-60213703, IP 134.152.164.195, Port 22 2026-01-16 00:49:43,839 - DEBUG - VM ctest-TestRoutersBasic-57482629-60213703 is ready for SSH connections 2026-01-16 00:49:43,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 00:49:43,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.152.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-16 00:49:43,839 - DEBUG - ping -s 56 -c 3 -W 1 134.152.164.195 2026-01-16 00:49:47,612 - DEBUG - PING 134.152.164.195 (134.152.164.195): 56 data bytes 64 bytes from 134.152.164.195: seq=0 ttl=62 time=5.294 ms 64 bytes from 134.152.164.195: seq=1 ttl=62 time=1.270 ms 64 bytes from 134.152.164.195: seq=2 ttl=62 time=1.063 ms --- 134.152.164.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/2.542/5.294 ms 2026-01-16 00:49:47,612 - INFO - Ping to IP 134.152.164.195 from VM ctest-TestRoutersBasic-57482629-76737908 passed 2026-01-16 00:49:47,612 - INFO - Deleting interface with subnet_id 6f016361-cf19-4ebe-9eeb-ef3ef4e8f44f, port_id None from router c80a98a8-b5d0-4434-9c6f-2b3853a6b647 2026-01-16 00:49:47,819 - INFO - Deleting VM ctest-TestRoutersBasic-57482629-60213703 2026-01-16 00:49:47,904 - INFO - Deleting VM ctest-TestRoutersBasic-57482629-76737908 2026-01-16 00:49:48,003 - INFO - Deleting VN ctest-ext_vn-56998731 2026-01-16 00:49:48,089 - DEBUG - VN a7117e87-32aa-4490-a1b3-6522bbf81fec still in use: Unable to complete operation on network a7117e87-32aa-4490-a1b3-6522bbf81fec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7db6614c-1c5e-4080-8b3e-a9515c5dc1c7'] 2026-01-16 00:49:48,089 - WARNING - Deleting VN ctest-ext_vn-56998731 failed..Will retry 2026-01-16 00:49:50,225 - DEBUG - Response for deleting network () 2026-01-16 00:49:50,225 - INFO - Deleting VN ctest-vn-71890665 2026-01-16 00:49:50,343 - DEBUG - Response for deleting network () 2026-01-16 00:49:50,607 - DEBUG - No XMPP flaps were noticed during the test 2026-01-16 00:49:50,607 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-16 00:49:50,607 - INFO - -------------------------------------------------------------------------------- 2026-01-16 00:49:51,372 - INFO - Deleted project: ctest-TestRoutersBasic-57482629, ID : 9f53dade-5d68-446b-afde-c5f3f1e1bb48