2026-06-16 21:31:11,771 - INFO - Domain Default found not creating 2026-06-16 21:31:11,912 - INFO - Project ctest-TestRoutersBasic-90967089 not found, creating it 2026-06-16 21:31:12,338 - INFO - Created Project:ctest-TestRoutersBasic-90967089, ID : 0876d6cd-242c-473a-bec5-d9fac4b70224 2026-06-16 21:31:13,849 - INFO - ================================================================================ 2026-06-16 21:31:13,849 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-16 21:31:13,849 - 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-06-16 21:31:14,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-06-16 21:31:14,104 - INFO - Initial checks done. Running the testcase now 2026-06-16 21:31:14,104 - INFO - 2026-06-16 21:31:14,879 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90967089 2026-06-16 21:31:14,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90967089 2026-06-16 21:31:15,300 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90967089', 'default']} 2026-06-16 21:31:15,574 - DEBUG - Response for create_network : {'network': {'id': '74f07bf2-3638-4085-8e90-ccd065fcbbfa', 'name': 'ctest-vn-62262145', 'tenant_id': '0876d6cd242c473abec5d9fac4b70224', 'project_id': '0876d6cd242c473abec5d9fac4b70224', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90967089', 'ctest-vn-62262145'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:31:15,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '3559409e-919e-4d64-b7a8-05f677fa64bc', 'name': '', 'tenant_id': '0876d6cd242c473abec5d9fac4b70224', 'network_id': '74f07bf2-3638-4085-8e90-ccd065fcbbfa', 'ip_version': 4, 'cidr': '86.231.95.128/26', 'allocation_pools': [{'start': '86.231.95.130', 'end': '86.231.95.190'}], 'gateway_ip': '86.231.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.231.95.130', 'tags': [], 'project_id': '0876d6cd242c473abec5d9fac4b70224'}} 2026-06-16 21:31:15,757 - INFO - Created VN ctest-vn-62262145 2026-06-16 21:31:15,807 - DEBUG - VN ctest-vn-62262145 UUID is 74f07bf2-3638-4085-8e90-ccd065fcbbfa 2026-06-16 21:31:16,115 - DEBUG - Response for create_network : {'network': {'id': '15f4b253-02b5-4f59-ae20-4f1c97c81448', 'name': 'ctest-ext_vn-13355302', 'tenant_id': '0876d6cd242c473abec5d9fac4b70224', 'project_id': '0876d6cd242c473abec5d9fac4b70224', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90967089', 'ctest-ext_vn-13355302'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:31:16,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a463a6-170d-427b-942c-8f26c97fc399', 'name': '', 'tenant_id': '0876d6cd242c473abec5d9fac4b70224', 'network_id': '15f4b253-02b5-4f59-ae20-4f1c97c81448', 'ip_version': 4, 'cidr': '76.179.200.128/26', 'allocation_pools': [{'start': '76.179.200.130', 'end': '76.179.200.190'}], 'gateway_ip': '76.179.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.179.200.130', 'tags': [], 'project_id': '0876d6cd242c473abec5d9fac4b70224'}} 2026-06-16 21:31:16,307 - INFO - Created VN ctest-ext_vn-13355302 2026-06-16 21:31:16,359 - DEBUG - VN ctest-ext_vn-13355302 UUID is 15f4b253-02b5-4f59-ae20-4f1c97c81448 2026-06-16 21:31:16,544 - DEBUG - Services list from nova: [, , ] 2026-06-16 21:31:17,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5955-1) 2026-06-16 21:31:18,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5955-1) 2026-06-16 21:31:18,647 - INFO - Setting gateway for router ddeaf299-2401-4ef9-a4a8-544ae80d1834 to network 15f4b253-02b5-4f59-ae20-4f1c97c81448 2026-06-16 21:31:18,683 - INFO - Adding interface with subnet_id 3559409e-919e-4d64-b7a8-05f677fa64bc, port_id None to router ddeaf299-2401-4ef9-a4a8-544ae80d1834 2026-06-16 21:31:18,856 - INFO - Waiting for VM ctest-TestRoutersBasic-90967089-50035976 to be up.. 2026-06-16 21:31:18,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 21:31:24,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 21:31:29,087 - DEBUG - VM is in ACTIVE state now 2026-06-16 21:31:29,087 - INFO - VM name : ctest-TestRoutersBasic-90967089-50035976 2026-06-16 21:31:29,149 - DEBUG - VM ctest-TestRoutersBasic-90967089-50035976 ID is 8e62ba8b-99a7-4332-aeb1-05cc736bd83d 2026-06-16 21:31:29,166 - DEBUG - VM ctest-TestRoutersBasic-90967089-50035976 launched on Node cn-jenkins-deploy-platform-ansible-os-5955-1 2026-06-16 21:31:29,230 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8e62ba8b-99a7-4332-aeb1-05cc736bd83d 2026-06-16 21:31:29,552 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8e62ba8b-99a7-4332-aeb1-05cc736bd83d 2026-06-16 21:31:29,587 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f88f4338-ed18-4d25-99ef-fca9aa0f3997 2026-06-16 21:31:32,829 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-16 21:31:32,830 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90967089-50035976 failed! 2026-06-16 21:31:32,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90967089:ctest-vn-62262145 is 86.231.95.129 and allocation pool is NOT set 2026-06-16 21:31:34,939 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.69 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.398 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.398/2.046/3.694/1.648 ms') 2026-06-16 21:31:34,939 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90967089-50035976 passed 2026-06-16 21:31:35,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:31:35,087 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90967089-50035976, IP 86.231.95.131, Port 22 2026-06-16 21:31:35,239 - DEBUG - VM ctest-TestRoutersBasic-90967089-50035976 is ready for SSH connections 2026-06-16 21:31:35,239 - INFO - Waiting for VM ctest-TestRoutersBasic-90967089-61260968 to be up.. 2026-06-16 21:31:35,304 - DEBUG - VM is in ACTIVE state now 2026-06-16 21:31:35,304 - INFO - VM name : ctest-TestRoutersBasic-90967089-61260968 2026-06-16 21:31:35,370 - DEBUG - VM ctest-TestRoutersBasic-90967089-61260968 ID is a2883a44-db43-491d-bcf4-14534246886e 2026-06-16 21:31:35,370 - DEBUG - VM ctest-TestRoutersBasic-90967089-61260968 launched on Node cn-jenkins-deploy-platform-ansible-os-5955-1 2026-06-16 21:31:35,440 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a2883a44-db43-491d-bcf4-14534246886e 2026-06-16 21:31:35,448 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cb1926db-116b-4d45-976d-ca1c9faf4545 2026-06-16 21:31:36,682 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.00 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.30 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.296/3.650/5.004/1.354 ms') 2026-06-16 21:31:36,682 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90967089-61260968 passed 2026-06-16 21:31:36,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:31:36,831 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90967089-61260968, IP 76.179.200.132, Port 22 2026-06-16 21:31:36,897 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-16 21:31:36,962 - DEBUG - VM ctest-TestRoutersBasic-90967089-61260968 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-16 21:31:41,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:31:41,963 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90967089-61260968, IP 76.179.200.132, Port 22 2026-06-16 21:31:42,122 - DEBUG - VM ctest-TestRoutersBasic-90967089-61260968 is ready for SSH connections 2026-06-16 21:31:42,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:31:42,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.179.200.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-16 21:31:42,123 - DEBUG - ping -s 56 -c 3 -W 1 76.179.200.132 2026-06-16 21:31:44,667 - DEBUG - PING 76.179.200.132 (76.179.200.132): 56 data bytes 64 bytes from 76.179.200.132: seq=0 ttl=62 time=6.420 ms 64 bytes from 76.179.200.132: seq=1 ttl=62 time=1.022 ms 64 bytes from 76.179.200.132: seq=2 ttl=62 time=0.851 ms --- 76.179.200.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.764/6.420 ms 2026-06-16 21:31:44,667 - INFO - Ping to IP 76.179.200.132 from VM ctest-TestRoutersBasic-90967089-50035976 passed 2026-06-16 21:31:44,667 - INFO - Deleting interface with subnet_id 3559409e-919e-4d64-b7a8-05f677fa64bc, port_id None from router ddeaf299-2401-4ef9-a4a8-544ae80d1834 2026-06-16 21:31:44,822 - INFO - Deleting VM ctest-TestRoutersBasic-90967089-61260968 2026-06-16 21:31:44,882 - INFO - Deleting VM ctest-TestRoutersBasic-90967089-50035976 2026-06-16 21:31:44,941 - INFO - Deleting VN ctest-ext_vn-13355302 2026-06-16 21:31:44,991 - DEBUG - VN 15f4b253-02b5-4f59-ae20-4f1c97c81448 still in use: Unable to complete operation on network 15f4b253-02b5-4f59-ae20-4f1c97c81448. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9250376-cc99-4805-8b85-0a7afb52c563'] 2026-06-16 21:31:44,991 - WARNING - Deleting VN ctest-ext_vn-13355302 failed..Will retry 2026-06-16 21:31:47,085 - DEBUG - Response for deleting network () 2026-06-16 21:31:47,085 - INFO - Deleting VN ctest-vn-62262145 2026-06-16 21:31:47,186 - DEBUG - Response for deleting network () 2026-06-16 21:31:47,449 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 21:31:47,450 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-16 21:31:47,450 - INFO - -------------------------------------------------------------------------------- 2026-06-16 21:31:48,114 - INFO - Deleted project: ctest-TestRoutersBasic-90967089, ID : 0876d6cd-242c-473a-bec5-d9fac4b70224