2026-01-29 16:54:56,498 - INFO - Domain Default found not creating 2026-01-29 16:54:56,679 - INFO - Project ctest-TestRoutersBasic-49079094 not found, creating it 2026-01-29 16:54:57,176 - INFO - Created Project:ctest-TestRoutersBasic-49079094, ID : fd9311e7-0518-434a-a31c-e6d9b4f89e93 2026-01-29 16:54:58,687 - INFO - ================================================================================ 2026-01-29 16:54:58,688 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 16:54:58,688 - 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-29 16:54:58,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with 2026-01-29 16:54:58,953 - INFO - Initial checks done. Running the testcase now 2026-01-29 16:54:58,953 - INFO - 2026-01-29 16:54:59,693 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49079094 2026-01-29 16:54:59,787 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49079094 2026-01-29 16:55:00,102 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49079094', 'default']} 2026-01-29 16:55:00,400 - DEBUG - Response for create_network : {'network': {'id': '41239557-f894-41af-9218-98cc563180ab', 'name': 'ctest-vn-82779081', 'tenant_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'project_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49079094', 'ctest-vn-82779081'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 16:55:00,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baba53e7-d378-4d76-8854-6773cf81d33c', 'name': '', 'tenant_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'network_id': '41239557-f894-41af-9218-98cc563180ab', 'ip_version': 4, 'cidr': '91.243.156.128/26', 'allocation_pools': [{'start': '91.243.156.130', 'end': '91.243.156.190'}], 'gateway_ip': '91.243.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.243.156.130', 'tags': [], 'project_id': 'fd9311e70518434aa31ce6d9b4f89e93'}} 2026-01-29 16:55:00,627 - INFO - Created VN ctest-vn-82779081 2026-01-29 16:55:00,679 - DEBUG - VN ctest-vn-82779081 UUID is 41239557-f894-41af-9218-98cc563180ab 2026-01-29 16:55:01,016 - DEBUG - Response for create_network : {'network': {'id': '5809bb13-0f0f-48fd-b2aa-03d4a2d319c4', 'name': 'ctest-ext_vn-88588493', 'tenant_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'project_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49079094', 'ctest-ext_vn-88588493'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 16:55:01,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '804a79f3-60b3-48dc-8691-0740b0b6370b', 'name': '', 'tenant_id': 'fd9311e70518434aa31ce6d9b4f89e93', 'network_id': '5809bb13-0f0f-48fd-b2aa-03d4a2d319c4', 'ip_version': 4, 'cidr': '182.18.45.64/26', 'allocation_pools': [{'start': '182.18.45.66', 'end': '182.18.45.126'}], 'gateway_ip': '182.18.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.18.45.66', 'tags': [], 'project_id': 'fd9311e70518434aa31ce6d9b4f89e93'}} 2026-01-29 16:55:01,181 - INFO - Created VN ctest-ext_vn-88588493 2026-01-29 16:55:01,235 - DEBUG - VN ctest-ext_vn-88588493 UUID is 5809bb13-0f0f-48fd-b2aa-03d4a2d319c4 2026-01-29 16:55:01,439 - DEBUG - Services list from nova: [, , ] 2026-01-29 16:55:02,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5131-1) 2026-01-29 16:55:03,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5131-1) 2026-01-29 16:55:03,667 - INFO - Setting gateway for router a4581d23-6376-4f63-b09a-eaf9986be26f to network 5809bb13-0f0f-48fd-b2aa-03d4a2d319c4 2026-01-29 16:55:03,720 - INFO - Adding interface with subnet_id baba53e7-d378-4d76-8854-6773cf81d33c, port_id None to router a4581d23-6376-4f63-b09a-eaf9986be26f 2026-01-29 16:55:04,162 - INFO - Waiting for VM ctest-TestRoutersBasic-49079094-68345478 to be up.. 2026-01-29 16:55:04,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 16:55:09,401 - DEBUG - VM is in ACTIVE state now 2026-01-29 16:55:09,401 - INFO - VM name : ctest-TestRoutersBasic-49079094-68345478 2026-01-29 16:55:09,479 - DEBUG - VM ctest-TestRoutersBasic-49079094-68345478 ID is 60ace214-547b-44d9-93cd-87e57ec6aff9 2026-01-29 16:55:09,496 - DEBUG - VM ctest-TestRoutersBasic-49079094-68345478 launched on Node cn-jenkins-deploy-platform-ansible-os-5131-1 2026-01-29 16:55:09,567 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/60ace214-547b-44d9-93cd-87e57ec6aff9 2026-01-29 16:55:09,870 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/60ace214-547b-44d9-93cd-87e57ec6aff9 2026-01-29 16:55:09,912 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/d970241c-0997-4e4b-bc18-f33feb4a893a 2026-01-29 16:55:13,167 - 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 1023ms') 2026-01-29 16:55:13,167 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49079094-68345478 failed! 2026-01-29 16:55:13,223 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49079094:ctest-vn-82779081 is 91.243.156.129 and allocation pool is NOT set 2026-01-29 16:55:15,280 - 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=3.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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 = 0.461/1.946/3.431/1.485 ms') 2026-01-29 16:55:15,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49079094-68345478 passed 2026-01-29 16:55:15,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 16:55:15,427 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49079094-68345478, IP 91.243.156.131, Port 22 2026-01-29 16:55:15,600 - DEBUG - VM ctest-TestRoutersBasic-49079094-68345478 is ready for SSH connections 2026-01-29 16:55:15,601 - INFO - Waiting for VM ctest-TestRoutersBasic-49079094-35531818 to be up.. 2026-01-29 16:55:15,673 - DEBUG - VM is in ACTIVE state now 2026-01-29 16:55:15,673 - INFO - VM name : ctest-TestRoutersBasic-49079094-35531818 2026-01-29 16:55:15,739 - DEBUG - VM ctest-TestRoutersBasic-49079094-35531818 ID is 8b635dbb-0e35-4d0f-9868-210ebd9d2a2d 2026-01-29 16:55:15,739 - DEBUG - VM ctest-TestRoutersBasic-49079094-35531818 launched on Node cn-jenkins-deploy-platform-ansible-os-5131-1 2026-01-29 16:55:15,809 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/8b635dbb-0e35-4d0f-9868-210ebd9d2a2d 2026-01-29 16:55:15,816 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/115d569b-1957-45fd-816e-36e251ea42c7 2026-01-29 16:55:17,052 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/2.228/3.939/1.711 ms') 2026-01-29 16:55:17,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49079094-35531818 passed 2026-01-29 16:55:17,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 16:55:17,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49079094-35531818, IP 182.18.45.67, Port 22 2026-01-29 16:55:17,359 - DEBUG - VM ctest-TestRoutersBasic-49079094-35531818 is ready for SSH connections 2026-01-29 16:55:17,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 16:55:17,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.18.45.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-29 16:55:17,359 - DEBUG - ping -s 56 -c 3 -W 1 182.18.45.67 2026-01-29 16:55:21,364 - DEBUG - PING 182.18.45.67 (182.18.45.67): 56 data bytes 64 bytes from 182.18.45.67: seq=0 ttl=62 time=6.735 ms 64 bytes from 182.18.45.67: seq=1 ttl=62 time=0.958 ms 64 bytes from 182.18.45.67: seq=2 ttl=62 time=0.966 ms --- 182.18.45.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/2.886/6.735 ms 2026-01-29 16:55:21,364 - INFO - Ping to IP 182.18.45.67 from VM ctest-TestRoutersBasic-49079094-68345478 passed 2026-01-29 16:55:21,364 - INFO - Deleting interface with subnet_id baba53e7-d378-4d76-8854-6773cf81d33c, port_id None from router a4581d23-6376-4f63-b09a-eaf9986be26f 2026-01-29 16:55:21,529 - INFO - Deleting VM ctest-TestRoutersBasic-49079094-35531818 2026-01-29 16:55:21,593 - INFO - Deleting VM ctest-TestRoutersBasic-49079094-68345478 2026-01-29 16:55:21,682 - INFO - Deleting VN ctest-ext_vn-88588493 2026-01-29 16:55:21,748 - DEBUG - VN 5809bb13-0f0f-48fd-b2aa-03d4a2d319c4 still in use: Unable to complete operation on network 5809bb13-0f0f-48fd-b2aa-03d4a2d319c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ecd63f9-bf92-4b4b-9b71-8cff3c213064'] 2026-01-29 16:55:21,748 - WARNING - Deleting VN ctest-ext_vn-88588493 failed..Will retry 2026-01-29 16:55:23,848 - DEBUG - Response for deleting network () 2026-01-29 16:55:23,848 - INFO - Deleting VN ctest-vn-82779081 2026-01-29 16:55:23,938 - DEBUG - Response for deleting network () 2026-01-29 16:55:24,191 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 16:55:24,191 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-29 16:55:24,191 - INFO - -------------------------------------------------------------------------------- 2026-01-29 16:55:24,865 - INFO - Deleted project: ctest-TestRoutersBasic-49079094, ID : fd9311e7-0518-434a-a31c-e6d9b4f89e93