2026-05-20 14:12:19,164 - INFO - Domain Default found not creating 2026-05-20 14:12:19,364 - INFO - Project ctest-TestRoutersBasic-86715294 not found, creating it 2026-05-20 14:12:19,886 - INFO - Created Project:ctest-TestRoutersBasic-86715294, ID : dc585a48-14c9-4109-8e03-6c6812cce462 2026-05-20 14:12:21,551 - INFO - ================================================================================ 2026-05-20 14:12:21,551 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-20 14:12:21,551 - 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-05-20 14:12:21,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.17': '0'}} with 2026-05-20 14:12:21,827 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:12:21,827 - INFO - 2026-05-20 14:12:22,591 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86715294 2026-05-20 14:12:22,686 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86715294 2026-05-20 14:12:23,030 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86715294', 'default']} 2026-05-20 14:12:23,334 - DEBUG - Response for create_network : {'network': {'id': '501c8c2f-7bc6-49dd-88f4-c962d3bb2172', 'name': 'ctest-vn-64717477', 'tenant_id': 'dc585a4814c941098e036c6812cce462', 'project_id': 'dc585a4814c941098e036c6812cce462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86715294', 'ctest-vn-64717477'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:12:23,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f243eea5-813a-4bc7-93c3-4d3c257939a8', 'name': '', 'tenant_id': 'dc585a4814c941098e036c6812cce462', 'network_id': '501c8c2f-7bc6-49dd-88f4-c962d3bb2172', 'ip_version': 4, 'cidr': '9.226.22.192/26', 'allocation_pools': [{'start': '9.226.22.194', 'end': '9.226.22.254'}], 'gateway_ip': '9.226.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.226.22.194', 'tags': [], 'project_id': 'dc585a4814c941098e036c6812cce462'}} 2026-05-20 14:12:23,553 - INFO - Created VN ctest-vn-64717477 2026-05-20 14:12:23,610 - DEBUG - VN ctest-vn-64717477 UUID is 501c8c2f-7bc6-49dd-88f4-c962d3bb2172 2026-05-20 14:12:23,944 - DEBUG - Response for create_network : {'network': {'id': '6a678f7c-fe18-4586-9fac-83e9b5afc9ff', 'name': 'ctest-ext_vn-07088763', 'tenant_id': 'dc585a4814c941098e036c6812cce462', 'project_id': 'dc585a4814c941098e036c6812cce462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86715294', 'ctest-ext_vn-07088763'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:12:24,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '877dda1d-e370-4ec8-9552-75bf6aa4eebf', 'name': '', 'tenant_id': 'dc585a4814c941098e036c6812cce462', 'network_id': '6a678f7c-fe18-4586-9fac-83e9b5afc9ff', 'ip_version': 4, 'cidr': '212.7.222.128/26', 'allocation_pools': [{'start': '212.7.222.130', 'end': '212.7.222.190'}], 'gateway_ip': '212.7.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.7.222.130', 'tags': [], 'project_id': 'dc585a4814c941098e036c6812cce462'}} 2026-05-20 14:12:24,156 - INFO - Created VN ctest-ext_vn-07088763 2026-05-20 14:12:24,210 - DEBUG - VN ctest-ext_vn-07088763 UUID is 6a678f7c-fe18-4586-9fac-83e9b5afc9ff 2026-05-20 14:12:24,392 - DEBUG - Services list from nova: [, , ] 2026-05-20 14:12:25,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:12:26,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:12:26,866 - INFO - Setting gateway for router decf85d2-e38b-47d7-98f3-c777f967d391 to network 6a678f7c-fe18-4586-9fac-83e9b5afc9ff 2026-05-20 14:12:26,943 - INFO - Adding interface with subnet_id f243eea5-813a-4bc7-93c3-4d3c257939a8, port_id None to router decf85d2-e38b-47d7-98f3-c777f967d391 2026-05-20 14:12:27,255 - INFO - Waiting for VM ctest-TestRoutersBasic-86715294-69137492 to be up.. 2026-05-20 14:12:27,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:12:32,498 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:12:32,498 - INFO - VM name : ctest-TestRoutersBasic-86715294-69137492 2026-05-20 14:12:32,586 - DEBUG - VM ctest-TestRoutersBasic-86715294-69137492 ID is edbd127c-6fe3-4a14-82bc-b6a75c8c25fa 2026-05-20 14:12:32,607 - DEBUG - VM ctest-TestRoutersBasic-86715294-69137492 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:12:32,692 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/edbd127c-6fe3-4a14-82bc-b6a75c8c25fa 2026-05-20 14:12:33,012 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/edbd127c-6fe3-4a14-82bc-b6a75c8c25fa 2026-05-20 14:12:33,063 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/b221c9d9-971e-4380-9a88-f359c19821cf 2026-05-20 14:12:36,324 - 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 1016ms') 2026-05-20 14:12:36,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86715294-69137492 failed! 2026-05-20 14:12:36,382 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86715294:ctest-vn-64717477 is 9.226.22.193 and allocation pool is NOT set 2026-05-20 14:12:38,442 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.722 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.722/2.181/3.640/1.459 ms') 2026-05-20 14:12:38,442 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86715294-69137492 passed 2026-05-20 14:12:38,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:38,598 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86715294-69137492, IP 9.226.22.195, Port 22 2026-05-20 14:12:38,754 - DEBUG - VM ctest-TestRoutersBasic-86715294-69137492 is ready for SSH connections 2026-05-20 14:12:38,754 - INFO - Waiting for VM ctest-TestRoutersBasic-86715294-30028000 to be up.. 2026-05-20 14:12:38,842 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:12:38,842 - INFO - VM name : ctest-TestRoutersBasic-86715294-30028000 2026-05-20 14:12:38,931 - DEBUG - VM ctest-TestRoutersBasic-86715294-30028000 ID is 3e8216f0-652a-4feb-90b7-399c4b4e197f 2026-05-20 14:12:38,931 - DEBUG - VM ctest-TestRoutersBasic-86715294-30028000 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:12:39,027 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3e8216f0-652a-4feb-90b7-399c4b4e197f 2026-05-20 14:12:39,036 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/61741581-697c-4c7c-98a3-0c4b52739fba 2026-05-20 14:12:40,284 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.920 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.920/2.067/3.214/1.147 ms') 2026-05-20 14:12:40,284 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86715294-30028000 passed 2026-05-20 14:12:40,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:40,438 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86715294-30028000, IP 212.7.222.131, Port 22 2026-05-20 14:12:40,508 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-20 14:12:40,604 - DEBUG - VM ctest-TestRoutersBasic-86715294-30028000 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-20 14:12:45,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:45,605 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86715294-30028000, IP 212.7.222.131, Port 22 2026-05-20 14:12:45,766 - DEBUG - VM ctest-TestRoutersBasic-86715294-30028000 is ready for SSH connections 2026-05-20 14:12:45,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:45,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.7.222.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:12:45,766 - DEBUG - ping -s 56 -c 3 -W 1 212.7.222.131 2026-05-20 14:12:49,506 - DEBUG - PING 212.7.222.131 (212.7.222.131): 56 data bytes 64 bytes from 212.7.222.131: seq=0 ttl=62 time=5.633 ms 64 bytes from 212.7.222.131: seq=1 ttl=62 time=1.358 ms 64 bytes from 212.7.222.131: seq=2 ttl=62 time=0.906 ms --- 212.7.222.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.632/5.633 ms 2026-05-20 14:12:49,506 - INFO - Ping to IP 212.7.222.131 from VM ctest-TestRoutersBasic-86715294-69137492 passed 2026-05-20 14:12:49,506 - INFO - Deleting interface with subnet_id f243eea5-813a-4bc7-93c3-4d3c257939a8, port_id None from router decf85d2-e38b-47d7-98f3-c777f967d391 2026-05-20 14:12:49,736 - INFO - Deleting VM ctest-TestRoutersBasic-86715294-30028000 2026-05-20 14:12:49,837 - INFO - Deleting VM ctest-TestRoutersBasic-86715294-69137492 2026-05-20 14:12:49,933 - INFO - Deleting VN ctest-ext_vn-07088763 2026-05-20 14:12:50,012 - DEBUG - VN 6a678f7c-fe18-4586-9fac-83e9b5afc9ff still in use: Unable to complete operation on network 6a678f7c-fe18-4586-9fac-83e9b5afc9ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-add98283-acc6-42e8-9906-9ecb88febb32'] 2026-05-20 14:12:50,012 - WARNING - Deleting VN ctest-ext_vn-07088763 failed..Will retry 2026-05-20 14:12:52,137 - DEBUG - Response for deleting network () 2026-05-20 14:12:52,137 - INFO - Deleting VN ctest-vn-64717477 2026-05-20 14:12:52,256 - DEBUG - Response for deleting network () 2026-05-20 14:12:52,530 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 14:12:52,531 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-05-20 14:12:52,531 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:12:53,311 - INFO - Deleted project: ctest-TestRoutersBasic-86715294, ID : dc585a48-14c9-4109-8e03-6c6812cce462