2026-06-19 23:18:29,934 - INFO - Domain Default found not creating 2026-06-19 23:18:30,055 - INFO - Project ctest-TestRoutersBasic-14489118 not found, creating it 2026-06-19 23:18:30,501 - INFO - Created Project:ctest-TestRoutersBasic-14489118, ID : 93b22b24-5aa9-4cfc-b9e1-3692b9b28af1 2026-06-19 23:18:31,973 - INFO - ================================================================================ 2026-06-19 23:18:31,973 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 23:18:31,973 - 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-19 23:18:32,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-06-19 23:18:32,227 - INFO - Initial checks done. Running the testcase now 2026-06-19 23:18:32,227 - INFO - 2026-06-19 23:18:32,939 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14489118 2026-06-19 23:18:33,039 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14489118 2026-06-19 23:18:33,355 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14489118', 'default']} 2026-06-19 23:18:33,609 - DEBUG - Response for create_network : {'network': {'id': '54956a74-4253-4000-b977-2a8d2d1664de', 'name': 'ctest-vn-05417524', 'tenant_id': '93b22b245aa94cfcb9e13692b9b28af1', 'project_id': '93b22b245aa94cfcb9e13692b9b28af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14489118', 'ctest-vn-05417524'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:18:33,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '604f87a6-6b18-4a16-9849-3b2551c999ca', 'name': '', 'tenant_id': '93b22b245aa94cfcb9e13692b9b28af1', 'network_id': '54956a74-4253-4000-b977-2a8d2d1664de', 'ip_version': 4, 'cidr': '217.155.166.128/26', 'allocation_pools': [{'start': '217.155.166.130', 'end': '217.155.166.190'}], 'gateway_ip': '217.155.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.155.166.130', 'tags': [], 'project_id': '93b22b245aa94cfcb9e13692b9b28af1'}} 2026-06-19 23:18:33,821 - INFO - Created VN ctest-vn-05417524 2026-06-19 23:18:33,871 - DEBUG - VN ctest-vn-05417524 UUID is 54956a74-4253-4000-b977-2a8d2d1664de 2026-06-19 23:18:34,173 - DEBUG - Response for create_network : {'network': {'id': 'c67eecbb-d994-4a0d-a401-6173737ff198', 'name': 'ctest-ext_vn-69102501', 'tenant_id': '93b22b245aa94cfcb9e13692b9b28af1', 'project_id': '93b22b245aa94cfcb9e13692b9b28af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14489118', 'ctest-ext_vn-69102501'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:18:34,356 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3ac9523-e384-44c2-9ea7-d13006ce0374', 'name': '', 'tenant_id': '93b22b245aa94cfcb9e13692b9b28af1', 'network_id': 'c67eecbb-d994-4a0d-a401-6173737ff198', 'ip_version': 4, 'cidr': '32.35.109.128/26', 'allocation_pools': [{'start': '32.35.109.130', 'end': '32.35.109.190'}], 'gateway_ip': '32.35.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.35.109.130', 'tags': [], 'project_id': '93b22b245aa94cfcb9e13692b9b28af1'}} 2026-06-19 23:18:34,369 - INFO - Created VN ctest-ext_vn-69102501 2026-06-19 23:18:34,419 - DEBUG - VN ctest-ext_vn-69102501 UUID is c67eecbb-d994-4a0d-a401-6173737ff198 2026-06-19 23:18:34,602 - DEBUG - Services list from nova: [, , ] 2026-06-19 23:18:35,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6009-1) 2026-06-19 23:18:36,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6009-1) 2026-06-19 23:18:36,621 - INFO - Setting gateway for router 66cc837d-808b-428e-8a53-693a24e8945b to network c67eecbb-d994-4a0d-a401-6173737ff198 2026-06-19 23:18:36,663 - INFO - Adding interface with subnet_id 604f87a6-6b18-4a16-9849-3b2551c999ca, port_id None to router 66cc837d-808b-428e-8a53-693a24e8945b 2026-06-19 23:18:36,850 - INFO - Waiting for VM ctest-TestRoutersBasic-14489118-78784015 to be up.. 2026-06-19 23:18:36,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:18:42,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:18:47,089 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:18:47,089 - INFO - VM name : ctest-TestRoutersBasic-14489118-78784015 2026-06-19 23:18:47,152 - DEBUG - VM ctest-TestRoutersBasic-14489118-78784015 ID is d4bbebf1-68a7-421c-9d0b-bf37a63536e9 2026-06-19 23:18:47,169 - DEBUG - VM ctest-TestRoutersBasic-14489118-78784015 launched on Node cn-jenkins-deploy-platform-ansible-os-6009-1 2026-06-19 23:18:47,227 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d4bbebf1-68a7-421c-9d0b-bf37a63536e9 2026-06-19 23:18:47,543 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d4bbebf1-68a7-421c-9d0b-bf37a63536e9 2026-06-19 23:18:47,573 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1ee62820-84f1-43a3-9428-307a59984fd1 2026-06-19 23:18:50,809 - 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-19 23:18:50,809 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14489118-78784015 failed! 2026-06-19 23:18:50,863 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14489118:ctest-vn-05417524 is 217.155.166.129 and allocation pool is NOT set 2026-06-19 23:18:52,930 - 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=4.42 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.401/2.411/4.421/2.010 ms') 2026-06-19 23:18:52,930 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14489118-78784015 passed 2026-06-19 23:18:53,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:18:53,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14489118-78784015, IP 217.155.166.131, Port 22 2026-06-19 23:18:53,242 - DEBUG - VM ctest-TestRoutersBasic-14489118-78784015 is ready for SSH connections 2026-06-19 23:18:53,242 - INFO - Waiting for VM ctest-TestRoutersBasic-14489118-72828781 to be up.. 2026-06-19 23:18:53,302 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:18:53,302 - INFO - VM name : ctest-TestRoutersBasic-14489118-72828781 2026-06-19 23:18:53,361 - DEBUG - VM ctest-TestRoutersBasic-14489118-72828781 ID is ebc5639b-11e7-40b0-9830-02a49fe50885 2026-06-19 23:18:53,361 - DEBUG - VM ctest-TestRoutersBasic-14489118-72828781 launched on Node cn-jenkins-deploy-platform-ansible-os-6009-1 2026-06-19 23:18:53,430 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ebc5639b-11e7-40b0-9830-02a49fe50885 2026-06-19 23:18:53,436 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/91e064a8-f553-4aa2-a794-58eee0ae9c1b 2026-06-19 23:18:54,667 - 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.67 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.49 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.493/4.082/5.671/1.589 ms') 2026-06-19 23:18:54,667 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-14489118-72828781 passed 2026-06-19 23:18:54,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:18:54,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14489118-72828781, IP 32.35.109.132, Port 22 2026-06-19 23:18:54,870 - 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-19 23:18:54,936 - DEBUG - VM ctest-TestRoutersBasic-14489118-72828781 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 23:18:59,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:18:59,937 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14489118-72828781, IP 32.35.109.132, Port 22 2026-06-19 23:19:00,090 - DEBUG - VM ctest-TestRoutersBasic-14489118-72828781 is ready for SSH connections 2026-06-19 23:19:00,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:00,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.35.109.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 23:19:00,091 - DEBUG - ping -s 56 -c 3 -W 1 32.35.109.132 2026-06-19 23:19:02,639 - DEBUG - PING 32.35.109.132 (32.35.109.132): 56 data bytes 64 bytes from 32.35.109.132: seq=0 ttl=62 time=4.694 ms 64 bytes from 32.35.109.132: seq=1 ttl=62 time=0.859 ms 64 bytes from 32.35.109.132: seq=2 ttl=62 time=0.832 ms --- 32.35.109.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/2.128/4.694 ms 2026-06-19 23:19:02,639 - INFO - Ping to IP 32.35.109.132 from VM ctest-TestRoutersBasic-14489118-78784015 passed 2026-06-19 23:19:02,639 - INFO - Deleting interface with subnet_id 604f87a6-6b18-4a16-9849-3b2551c999ca, port_id None from router 66cc837d-808b-428e-8a53-693a24e8945b 2026-06-19 23:19:02,794 - INFO - Deleting VM ctest-TestRoutersBasic-14489118-72828781 2026-06-19 23:19:02,861 - INFO - Deleting VM ctest-TestRoutersBasic-14489118-78784015 2026-06-19 23:19:02,928 - INFO - Deleting VN ctest-ext_vn-69102501 2026-06-19 23:19:02,979 - DEBUG - VN c67eecbb-d994-4a0d-a401-6173737ff198 still in use: Unable to complete operation on network c67eecbb-d994-4a0d-a401-6173737ff198. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e569be3c-107c-408d-86c6-f31dec180229'] 2026-06-19 23:19:02,979 - WARNING - Deleting VN ctest-ext_vn-69102501 failed..Will retry 2026-06-19 23:19:05,062 - DEBUG - Response for deleting network () 2026-06-19 23:19:05,062 - INFO - Deleting VN ctest-vn-05417524 2026-06-19 23:19:05,137 - DEBUG - Response for deleting network () 2026-06-19 23:19:05,386 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 23:19:05,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-19 23:19:05,387 - INFO - -------------------------------------------------------------------------------- 2026-06-19 23:19:06,035 - INFO - Deleted project: ctest-TestRoutersBasic-14489118, ID : 93b22b24-5aa9-4cfc-b9e1-3692b9b28af1