2025-09-17 17:43:04,057 - INFO - Domain Default found not creating 2025-09-17 17:43:04,232 - INFO - Project ctest-TestRoutersBasic-69027806 not found, creating it 2025-09-17 17:43:04,723 - INFO - Created Project:ctest-TestRoutersBasic-69027806, ID : c3465a02-7726-4f31-aae8-acc0c92f52f3 2025-09-17 17:43:06,439 - INFO - ================================================================================ 2025-09-17 17:43:06,439 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-17 17:43:06,439 - 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 2025-09-17 17:43:06,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 17:43:06,709 - INFO - Initial checks done. Running the testcase now 2025-09-17 17:43:06,709 - INFO - 2025-09-17 17:43:07,512 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69027806 2025-09-17 17:43:07,612 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69027806 2025-09-17 17:43:07,939 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69027806', 'default']} 2025-09-17 17:43:08,242 - DEBUG - Response for create_network : {'network': {'id': 'c8f99e3a-3bec-465f-821a-f7f215762c4e', 'name': 'ctest-vn-04764563', 'tenant_id': 'c3465a0277264f31aae8acc0c92f52f3', 'project_id': 'c3465a0277264f31aae8acc0c92f52f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69027806', 'ctest-vn-04764563'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:08,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d2a1979-270e-47a7-9eb4-b013c6139122', 'name': '', 'tenant_id': 'c3465a0277264f31aae8acc0c92f52f3', 'network_id': 'c8f99e3a-3bec-465f-821a-f7f215762c4e', 'ip_version': 4, 'cidr': '136.125.38.128/26', 'allocation_pools': [{'start': '136.125.38.130', 'end': '136.125.38.190'}], 'gateway_ip': '136.125.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.125.38.130', 'tags': [], 'project_id': 'c3465a0277264f31aae8acc0c92f52f3'}} 2025-09-17 17:43:08,454 - INFO - Created VN ctest-vn-04764563 2025-09-17 17:43:08,512 - DEBUG - VN ctest-vn-04764563 UUID is c8f99e3a-3bec-465f-821a-f7f215762c4e 2025-09-17 17:43:08,866 - DEBUG - Response for create_network : {'network': {'id': 'e2bec309-a945-436b-91a9-4188b541591c', 'name': 'ctest-ext_vn-28418493', 'tenant_id': 'c3465a0277264f31aae8acc0c92f52f3', 'project_id': 'c3465a0277264f31aae8acc0c92f52f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69027806', 'ctest-ext_vn-28418493'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:09,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe253a6b-9378-448a-82fd-0b81d9eb7244', 'name': '', 'tenant_id': 'c3465a0277264f31aae8acc0c92f52f3', 'network_id': 'e2bec309-a945-436b-91a9-4188b541591c', 'ip_version': 4, 'cidr': '108.206.151.192/26', 'allocation_pools': [{'start': '108.206.151.194', 'end': '108.206.151.254'}], 'gateway_ip': '108.206.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.206.151.194', 'tags': [], 'project_id': 'c3465a0277264f31aae8acc0c92f52f3'}} 2025-09-17 17:43:09,129 - INFO - Created VN ctest-ext_vn-28418493 2025-09-17 17:43:09,184 - DEBUG - VN ctest-ext_vn-28418493 UUID is e2bec309-a945-436b-91a9-4188b541591c 2025-09-17 17:43:09,364 - DEBUG - Services list from nova: [, , ] 2025-09-17 17:43:10,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:43:11,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:43:11,801 - INFO - Setting gateway for router 4aa7593d-7efd-4c08-8feb-2dc86d6315ce to network e2bec309-a945-436b-91a9-4188b541591c 2025-09-17 17:43:11,882 - INFO - Adding interface with subnet_id 6d2a1979-270e-47a7-9eb4-b013c6139122, port_id None to router 4aa7593d-7efd-4c08-8feb-2dc86d6315ce 2025-09-17 17:43:12,224 - INFO - Waiting for VM ctest-TestRoutersBasic-69027806-87965090 to be up.. 2025-09-17 17:43:12,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 17:43:17,509 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:43:17,509 - INFO - VM name : ctest-TestRoutersBasic-69027806-87965090 2025-09-17 17:43:17,583 - DEBUG - VM ctest-TestRoutersBasic-69027806-87965090 ID is b73e1a87-f54d-4254-aaf6-48473e0e3322 2025-09-17 17:43:17,603 - DEBUG - VM ctest-TestRoutersBasic-69027806-87965090 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:43:17,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b73e1a87-f54d-4254-aaf6-48473e0e3322 2025-09-17 17:43:17,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b73e1a87-f54d-4254-aaf6-48473e0e3322 2025-09-17 17:43:18,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff338b6e-e3f2-453b-a346-fa8890b71b3c 2025-09-17 17:43:21,301 - 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') 2025-09-17 17:43:21,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69027806-87965090 failed! 2025-09-17 17:43:21,360 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69027806:ctest-vn-04764563 is 136.125.38.129 and allocation pool is NOT set 2025-09-17 17:43:23,427 - 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=5.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.491/3.988/5.486/1.497 ms') 2025-09-17 17:43:23,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69027806-87965090 passed 2025-09-17 17:43:23,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:43:23,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69027806-87965090, IP 136.125.38.131, Port 22 2025-09-17 17:43:23,736 - DEBUG - VM ctest-TestRoutersBasic-69027806-87965090 is ready for SSH connections 2025-09-17 17:43:23,736 - INFO - Waiting for VM ctest-TestRoutersBasic-69027806-67896256 to be up.. 2025-09-17 17:43:23,830 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:43:23,830 - INFO - VM name : ctest-TestRoutersBasic-69027806-67896256 2025-09-17 17:43:23,914 - DEBUG - VM ctest-TestRoutersBasic-69027806-67896256 ID is ba66a386-84b3-4d57-a854-25e4e6d3670f 2025-09-17 17:43:23,915 - DEBUG - VM ctest-TestRoutersBasic-69027806-67896256 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:43:24,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba66a386-84b3-4d57-a854-25e4e6d3670f 2025-09-17 17:43:24,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/71a2babd-2af9-4101-ae99-a456c32750e5 2025-09-17 17:43:25,249 - 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=3.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.838 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.838/2.375/3.913/1.537 ms') 2025-09-17 17:43:25,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69027806-67896256 passed 2025-09-17 17:43:25,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:43:25,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69027806-67896256, IP 108.206.151.195, Port 22 2025-09-17 17:43:25,566 - DEBUG - VM ctest-TestRoutersBasic-69027806-67896256 is ready for SSH connections 2025-09-17 17:43:25,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:43:25,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.206.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:43:25,566 - DEBUG - ping -s 56 -c 3 -W 1 108.206.151.195 2025-09-17 17:43:29,271 - DEBUG - PING 108.206.151.195 (108.206.151.195): 56 data bytes 64 bytes from 108.206.151.195: seq=0 ttl=62 time=7.646 ms 64 bytes from 108.206.151.195: seq=1 ttl=62 time=1.249 ms 64 bytes from 108.206.151.195: seq=2 ttl=62 time=1.254 ms --- 108.206.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.249/3.383/7.646 ms 2025-09-17 17:43:29,271 - INFO - Ping to IP 108.206.151.195 from VM ctest-TestRoutersBasic-69027806-87965090 passed 2025-09-17 17:43:29,271 - INFO - Deleting interface with subnet_id 6d2a1979-270e-47a7-9eb4-b013c6139122, port_id None from router 4aa7593d-7efd-4c08-8feb-2dc86d6315ce 2025-09-17 17:43:29,494 - INFO - Deleting VM ctest-TestRoutersBasic-69027806-67896256 2025-09-17 17:43:29,567 - INFO - Deleting VM ctest-TestRoutersBasic-69027806-87965090 2025-09-17 17:43:29,664 - INFO - Deleting VN ctest-ext_vn-28418493 2025-09-17 17:43:29,754 - DEBUG - VN e2bec309-a945-436b-91a9-4188b541591c still in use: Unable to complete operation on network e2bec309-a945-436b-91a9-4188b541591c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1c5d18c-5de1-4a72-aadb-0ac14d2c2e24'] 2025-09-17 17:43:29,754 - WARNING - Deleting VN ctest-ext_vn-28418493 failed..Will retry 2025-09-17 17:43:31,864 - DEBUG - Response for deleting network () 2025-09-17 17:43:31,864 - INFO - Deleting VN ctest-vn-04764563 2025-09-17 17:43:31,995 - DEBUG - Response for deleting network () 2025-09-17 17:43:32,253 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 17:43:32,253 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-17 17:43:32,253 - INFO - -------------------------------------------------------------------------------- 2025-09-17 17:43:32,967 - INFO - Deleted project: ctest-TestRoutersBasic-69027806, ID : c3465a02-7726-4f31-aae8-acc0c92f52f3