2026-02-07 11:36:12,491 - INFO - Domain Default found not creating 2026-02-07 11:36:12,919 - INFO - Project ctest-TestRoutersBasic-72026743 not found, creating it 2026-02-07 11:36:13,676 - INFO - Created Project:ctest-TestRoutersBasic-72026743, ID : 16230f3c-11dd-40d6-9d42-1f0c3e40c1b2 2026-02-07 11:36:15,995 - INFO - ================================================================================ 2026-02-07 11:36:15,996 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-07 11:36:15,996 - 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-02-07 11:36:16,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-07 11:36:16,330 - INFO - Initial checks done. Running the testcase now 2026-02-07 11:36:16,331 - INFO - 2026-02-07 11:36:17,344 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72026743 2026-02-07 11:36:17,450 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72026743 2026-02-07 11:36:17,881 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72026743', 'default']} 2026-02-07 11:36:18,276 - DEBUG - Response for create_network : {'network': {'id': '5f4fc4b6-5347-4368-96fb-ec2c6906d47d', 'name': 'ctest-vn-51627171', 'tenant_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'project_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72026743', 'ctest-vn-51627171'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:36:18,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aef9ff2-4fb5-406d-9852-e3a435960769', 'name': '', 'tenant_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'network_id': '5f4fc4b6-5347-4368-96fb-ec2c6906d47d', 'ip_version': 4, 'cidr': '151.91.71.128/26', 'allocation_pools': [{'start': '151.91.71.130', 'end': '151.91.71.190'}], 'gateway_ip': '151.91.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.91.71.130', 'tags': [], 'project_id': '16230f3c11dd40d69d421f0c3e40c1b2'}} 2026-02-07 11:36:18,608 - INFO - Created VN ctest-vn-51627171 2026-02-07 11:36:18,678 - DEBUG - VN ctest-vn-51627171 UUID is 5f4fc4b6-5347-4368-96fb-ec2c6906d47d 2026-02-07 11:36:19,195 - DEBUG - Response for create_network : {'network': {'id': '40837ab2-b793-45e6-9ed7-c9e50bc3d202', 'name': 'ctest-ext_vn-34307433', 'tenant_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'project_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72026743', 'ctest-ext_vn-34307433'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:36:19,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c139071-e1c6-4ac7-a7c0-698973e445c7', 'name': '', 'tenant_id': '16230f3c11dd40d69d421f0c3e40c1b2', 'network_id': '40837ab2-b793-45e6-9ed7-c9e50bc3d202', 'ip_version': 4, 'cidr': '155.62.3.192/26', 'allocation_pools': [{'start': '155.62.3.194', 'end': '155.62.3.254'}], 'gateway_ip': '155.62.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.62.3.194', 'tags': [], 'project_id': '16230f3c11dd40d69d421f0c3e40c1b2'}} 2026-02-07 11:36:19,486 - INFO - Created VN ctest-ext_vn-34307433 2026-02-07 11:36:19,554 - DEBUG - VN ctest-ext_vn-34307433 UUID is 40837ab2-b793-45e6-9ed7-c9e50bc3d202 2026-02-07 11:36:19,888 - DEBUG - Services list from nova: [, , ] 2026-02-07 11:36:21,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1) 2026-02-07 11:36:22,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1) 2026-02-07 11:36:22,969 - INFO - Setting gateway for router 118f1016-9265-4b0e-a90b-6ab588c9ed12 to network 40837ab2-b793-45e6-9ed7-c9e50bc3d202 2026-02-07 11:36:23,034 - INFO - Adding interface with subnet_id 4aef9ff2-4fb5-406d-9852-e3a435960769, port_id None to router 118f1016-9265-4b0e-a90b-6ab588c9ed12 2026-02-07 11:36:23,309 - INFO - Waiting for VM ctest-TestRoutersBasic-72026743-25221934 to be up.. 2026-02-07 11:36:23,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-07 11:36:28,591 - DEBUG - VM is in ACTIVE state now 2026-02-07 11:36:28,592 - INFO - VM name : ctest-TestRoutersBasic-72026743-25221934 2026-02-07 11:36:28,754 - DEBUG - VM ctest-TestRoutersBasic-72026743-25221934 ID is 5d7f70b5-dbeb-4f1c-91dc-eb52a2ff38ed 2026-02-07 11:36:28,815 - DEBUG - VM ctest-TestRoutersBasic-72026743-25221934 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1 2026-02-07 11:36:28,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d7f70b5-dbeb-4f1c-91dc-eb52a2ff38ed 2026-02-07 11:36:29,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d7f70b5-dbeb-4f1c-91dc-eb52a2ff38ed 2026-02-07 11:36:29,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7fce1dfb-47de-4d3f-b070-bd78fcc00628 2026-02-07 11:36:32,792 - 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 1025ms') 2026-02-07 11:36:32,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72026743-25221934 failed! 2026-02-07 11:36:32,850 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72026743:ctest-vn-51627171 is 151.91.71.129 and allocation pool is NOT set 2026-02-07 11:36:34,931 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.914 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.914/3.034/5.154/2.120 ms') 2026-02-07 11:36:34,931 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72026743-25221934 passed 2026-02-07 11:36:35,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:36:35,113 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72026743-25221934, IP 151.91.71.131, Port 22 2026-02-07 11:36:35,309 - DEBUG - VM ctest-TestRoutersBasic-72026743-25221934 is ready for SSH connections 2026-02-07 11:36:35,309 - INFO - Waiting for VM ctest-TestRoutersBasic-72026743-08944035 to be up.. 2026-02-07 11:36:35,460 - DEBUG - VM is in ACTIVE state now 2026-02-07 11:36:35,460 - INFO - VM name : ctest-TestRoutersBasic-72026743-08944035 2026-02-07 11:36:35,584 - DEBUG - VM ctest-TestRoutersBasic-72026743-08944035 ID is 23b13537-1df6-4c6f-97d2-39e8074a772a 2026-02-07 11:36:35,584 - DEBUG - VM ctest-TestRoutersBasic-72026743-08944035 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1 2026-02-07 11:36:35,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/23b13537-1df6-4c6f-97d2-39e8074a772a 2026-02-07 11:36:35,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e201f62-1eab-4b8f-99c0-95e86711967f 2026-02-07 11:36:37,015 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 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 = 1.285/2.786/4.288/1.501 ms') 2026-02-07 11:36:37,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72026743-08944035 passed 2026-02-07 11:36:37,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:36:37,202 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72026743-08944035, IP 155.62.3.195, Port 22 2026-02-07 11:36:37,285 - 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-02-07 11:36:37,408 - DEBUG - VM ctest-TestRoutersBasic-72026743-08944035 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-07 11:36:42,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:36:42,410 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72026743-08944035, IP 155.62.3.195, Port 22 2026-02-07 11:36:42,621 - DEBUG - VM ctest-TestRoutersBasic-72026743-08944035 is ready for SSH connections 2026-02-07 11:36:42,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:36:42,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.62.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-07 11:36:42,622 - DEBUG - ping -s 56 -c 3 -W 1 155.62.3.195 2026-02-07 11:36:46,798 - DEBUG - PING 155.62.3.195 (155.62.3.195): 56 data bytes 64 bytes from 155.62.3.195: seq=0 ttl=62 time=9.696 ms 64 bytes from 155.62.3.195: seq=1 ttl=62 time=2.736 ms 64 bytes from 155.62.3.195: seq=2 ttl=62 time=1.866 ms --- 155.62.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.866/4.766/9.696 ms 2026-02-07 11:36:46,798 - INFO - Ping to IP 155.62.3.195 from VM ctest-TestRoutersBasic-72026743-25221934 passed 2026-02-07 11:36:46,798 - INFO - Deleting interface with subnet_id 4aef9ff2-4fb5-406d-9852-e3a435960769, port_id None from router 118f1016-9265-4b0e-a90b-6ab588c9ed12 2026-02-07 11:36:47,102 - INFO - Deleting VM ctest-TestRoutersBasic-72026743-08944035 2026-02-07 11:36:47,182 - INFO - Deleting VM ctest-TestRoutersBasic-72026743-25221934 2026-02-07 11:36:47,266 - INFO - Deleting VN ctest-ext_vn-34307433 2026-02-07 11:36:47,328 - DEBUG - VN 40837ab2-b793-45e6-9ed7-c9e50bc3d202 still in use: Unable to complete operation on network 40837ab2-b793-45e6-9ed7-c9e50bc3d202. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb939a6b-0500-4c46-a78c-353f318c8a43'] 2026-02-07 11:36:47,328 - WARNING - Deleting VN ctest-ext_vn-34307433 failed..Will retry 2026-02-07 11:36:49,559 - DEBUG - Response for deleting network () 2026-02-07 11:36:49,560 - INFO - Deleting VN ctest-vn-51627171 2026-02-07 11:36:49,712 - DEBUG - Response for deleting network () 2026-02-07 11:36:50,028 - DEBUG - No XMPP flaps were noticed during the test 2026-02-07 11:36:50,028 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-02-07 11:36:50,028 - INFO - -------------------------------------------------------------------------------- 2026-02-07 11:36:50,901 - INFO - Deleted project: ctest-TestRoutersBasic-72026743, ID : 16230f3c-11dd-40d6-9d42-1f0c3e40c1b2