2026-04-20 18:09:55,867 - INFO - Domain Default found not creating 2026-04-20 18:09:56,054 - INFO - Project ctest-TestRoutersBasic-66463029 not found, creating it 2026-04-20 18:09:56,541 - INFO - Created Project:ctest-TestRoutersBasic-66463029, ID : fd7c3e26-d497-4c8c-aba6-bf7afe0cc576 2026-04-20 18:09:58,140 - INFO - ================================================================================ 2026-04-20 18:09:58,140 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-20 18:09:58,140 - 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-04-20 18:09:58,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-20 18:09:58,407 - INFO - Initial checks done. Running the testcase now 2026-04-20 18:09:58,407 - INFO - 2026-04-20 18:09:59,216 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66463029 2026-04-20 18:09:59,317 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66463029 2026-04-20 18:09:59,652 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66463029', 'default']} 2026-04-20 18:09:59,985 - DEBUG - Response for create_network : {'network': {'id': '6e1d54bf-abec-48ff-9ff8-4140f9b1ada5', 'name': 'ctest-vn-98691501', 'tenant_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'project_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66463029', 'ctest-vn-98691501'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:00,233 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef710359-e42a-4b10-9f55-ccf62dae79eb', 'name': '', 'tenant_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'network_id': '6e1d54bf-abec-48ff-9ff8-4140f9b1ada5', 'ip_version': 4, 'cidr': '178.77.153.192/26', 'allocation_pools': [{'start': '178.77.153.194', 'end': '178.77.153.254'}], 'gateway_ip': '178.77.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.77.153.194', 'tags': [], 'project_id': 'fd7c3e26d4974c8caba6bf7afe0cc576'}} 2026-04-20 18:10:00,257 - INFO - Created VN ctest-vn-98691501 2026-04-20 18:10:00,313 - DEBUG - VN ctest-vn-98691501 UUID is 6e1d54bf-abec-48ff-9ff8-4140f9b1ada5 2026-04-20 18:10:00,698 - DEBUG - Response for create_network : {'network': {'id': 'ddefc968-e0ff-4b70-9fc6-130fb738c0bf', 'name': 'ctest-ext_vn-34682593', 'tenant_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'project_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66463029', 'ctest-ext_vn-34682593'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:00,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '3581dcc2-ef37-4830-8aa2-a57fc813da70', 'name': '', 'tenant_id': 'fd7c3e26d4974c8caba6bf7afe0cc576', 'network_id': 'ddefc968-e0ff-4b70-9fc6-130fb738c0bf', 'ip_version': 4, 'cidr': '168.13.129.192/26', 'allocation_pools': [{'start': '168.13.129.194', 'end': '168.13.129.254'}], 'gateway_ip': '168.13.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.13.129.194', 'tags': [], 'project_id': 'fd7c3e26d4974c8caba6bf7afe0cc576'}} 2026-04-20 18:10:00,961 - INFO - Created VN ctest-ext_vn-34682593 2026-04-20 18:10:01,017 - DEBUG - VN ctest-ext_vn-34682593 UUID is ddefc968-e0ff-4b70-9fc6-130fb738c0bf 2026-04-20 18:10:01,214 - DEBUG - Services list from nova: [, , ] 2026-04-20 18:10:02,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:10:03,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:10:03,705 - INFO - Setting gateway for router e52e7b9a-d432-4de3-af77-9ac44104a8bd to network ddefc968-e0ff-4b70-9fc6-130fb738c0bf 2026-04-20 18:10:03,797 - INFO - Adding interface with subnet_id ef710359-e42a-4b10-9f55-ccf62dae79eb, port_id None to router e52e7b9a-d432-4de3-af77-9ac44104a8bd 2026-04-20 18:10:04,278 - INFO - Waiting for VM ctest-TestRoutersBasic-66463029-42665422 to be up.. 2026-04-20 18:10:04,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 18:10:09,596 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:10:09,596 - INFO - VM name : ctest-TestRoutersBasic-66463029-42665422 2026-04-20 18:10:09,707 - DEBUG - VM ctest-TestRoutersBasic-66463029-42665422 ID is fe9bb76d-7b0a-4ae8-95d1-7fb05909eb19 2026-04-20 18:10:09,730 - DEBUG - VM ctest-TestRoutersBasic-66463029-42665422 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:10:09,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fe9bb76d-7b0a-4ae8-95d1-7fb05909eb19 2026-04-20 18:10:10,135 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fe9bb76d-7b0a-4ae8-95d1-7fb05909eb19 2026-04-20 18:10:10,175 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8c5eb6a2-9612-41f7-a543-02bcb1617a48 2026-04-20 18:10:13,429 - 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 1010ms') 2026-04-20 18:10:13,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66463029-42665422 failed! 2026-04-20 18:10:13,485 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66463029:ctest-vn-98691501 is 178.77.153.193 and allocation pool is NOT set 2026-04-20 18:10:15,549 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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 = 1.442/2.986/4.531/1.544 ms') 2026-04-20 18:10:15,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66463029-42665422 passed 2026-04-20 18:10:15,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:10:15,709 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66463029-42665422, IP 178.77.153.195, Port 22 2026-04-20 18:10:15,879 - DEBUG - VM ctest-TestRoutersBasic-66463029-42665422 is ready for SSH connections 2026-04-20 18:10:15,879 - INFO - Waiting for VM ctest-TestRoutersBasic-66463029-03142632 to be up.. 2026-04-20 18:10:15,987 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:10:15,988 - INFO - VM name : ctest-TestRoutersBasic-66463029-03142632 2026-04-20 18:10:16,078 - DEBUG - VM ctest-TestRoutersBasic-66463029-03142632 ID is 713ae1bf-b8f8-4565-bac3-f01cffc70c48 2026-04-20 18:10:16,079 - DEBUG - VM ctest-TestRoutersBasic-66463029-03142632 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:10:16,173 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/713ae1bf-b8f8-4565-bac3-f01cffc70c48 2026-04-20 18:10:16,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b497e0eb-8278-4a7a-b6d4-f9ee9a263e61 2026-04-20 18:10:17,444 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.181/3.013/4.845/1.832 ms') 2026-04-20 18:10:17,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66463029-03142632 passed 2026-04-20 18:10:17,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:10:17,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66463029-03142632, IP 168.13.129.195, Port 22 2026-04-20 18:10:17,675 - 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-04-20 18:10:17,774 - DEBUG - VM ctest-TestRoutersBasic-66463029-03142632 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 18:10:22,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:10:22,775 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66463029-03142632, IP 168.13.129.195, Port 22 2026-04-20 18:10:22,932 - DEBUG - VM ctest-TestRoutersBasic-66463029-03142632 is ready for SSH connections 2026-04-20 18:10:22,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:10:22,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.13.129.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-20 18:10:22,933 - DEBUG - ping -s 56 -c 3 -W 1 168.13.129.195 2026-04-20 18:10:26,709 - DEBUG - PING 168.13.129.195 (168.13.129.195): 56 data bytes 64 bytes from 168.13.129.195: seq=0 ttl=62 time=5.089 ms 64 bytes from 168.13.129.195: seq=1 ttl=62 time=1.125 ms 64 bytes from 168.13.129.195: seq=2 ttl=62 time=1.454 ms --- 168.13.129.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.125/2.556/5.089 ms 2026-04-20 18:10:26,709 - INFO - Ping to IP 168.13.129.195 from VM ctest-TestRoutersBasic-66463029-42665422 passed 2026-04-20 18:10:26,709 - INFO - Deleting interface with subnet_id ef710359-e42a-4b10-9f55-ccf62dae79eb, port_id None from router e52e7b9a-d432-4de3-af77-9ac44104a8bd 2026-04-20 18:10:26,938 - INFO - Deleting VM ctest-TestRoutersBasic-66463029-03142632 2026-04-20 18:10:27,031 - INFO - Deleting VM ctest-TestRoutersBasic-66463029-42665422 2026-04-20 18:10:27,123 - INFO - Deleting VN ctest-ext_vn-34682593 2026-04-20 18:10:27,215 - DEBUG - VN ddefc968-e0ff-4b70-9fc6-130fb738c0bf still in use: Unable to complete operation on network ddefc968-e0ff-4b70-9fc6-130fb738c0bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc39155d-ec78-4907-b98c-2f8a0fbe3d38'] 2026-04-20 18:10:27,215 - WARNING - Deleting VN ctest-ext_vn-34682593 failed..Will retry 2026-04-20 18:10:29,353 - DEBUG - Response for deleting network () 2026-04-20 18:10:29,353 - INFO - Deleting VN ctest-vn-98691501 2026-04-20 18:10:29,487 - DEBUG - Response for deleting network () 2026-04-20 18:10:29,750 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 18:10:29,751 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-04-20 18:10:29,751 - INFO - -------------------------------------------------------------------------------- 2026-04-20 18:10:30,476 - INFO - Deleted project: ctest-TestRoutersBasic-66463029, ID : fd7c3e26-d497-4c8c-aba6-bf7afe0cc576