2026-09-09 11:03:33,034 - INFO - Domain Default found not creating 2026-09-09 11:03:33,243 - INFO - Project ctest-TestRoutersBasic-97695896 not found, creating it 2026-09-09 11:03:33,826 - INFO - Created Project:ctest-TestRoutersBasic-97695896, ID : 94f0dbfb-d63d-4bf9-87ae-cf743df77f82 2026-09-09 11:03:35,888 - INFO - ================================================================================ 2026-09-09 11:03:35,888 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-09 11:03:35,888 - 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-09-09 11:03:36,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.254': '0'}} with 2026-09-09 11:03:36,169 - INFO - Initial checks done. Running the testcase now 2026-09-09 11:03:36,169 - INFO - 2026-09-09 11:03:37,115 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97695896 2026-09-09 11:03:37,218 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97695896 2026-09-09 11:03:37,562 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97695896', 'default']} 2026-09-09 11:03:37,896 - DEBUG - Response for create_network : {'network': {'id': 'c4c25d21-fd52-46a8-9cff-bcd9680f8adb', 'name': 'ctest-vn-51547402', 'tenant_id': '94f0dbfbd63d4bf987aecf743df77f82', 'project_id': '94f0dbfbd63d4bf987aecf743df77f82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97695896', 'ctest-vn-51547402'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 11:03:38,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '577f99e2-f2a4-41f4-8770-36bea948a63b', 'name': '', 'tenant_id': '94f0dbfbd63d4bf987aecf743df77f82', 'network_id': 'c4c25d21-fd52-46a8-9cff-bcd9680f8adb', 'ip_version': 4, 'cidr': '107.81.74.192/26', 'allocation_pools': [{'start': '107.81.74.194', 'end': '107.81.74.254'}], 'gateway_ip': '107.81.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.81.74.194', 'tags': [], 'project_id': '94f0dbfbd63d4bf987aecf743df77f82'}} 2026-09-09 11:03:38,129 - INFO - Created VN ctest-vn-51547402 2026-09-09 11:03:38,182 - DEBUG - VN ctest-vn-51547402 UUID is c4c25d21-fd52-46a8-9cff-bcd9680f8adb 2026-09-09 11:03:38,585 - DEBUG - Response for create_network : {'network': {'id': '7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc', 'name': 'ctest-ext_vn-68206893', 'tenant_id': '94f0dbfbd63d4bf987aecf743df77f82', 'project_id': '94f0dbfbd63d4bf987aecf743df77f82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97695896', 'ctest-ext_vn-68206893'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 11:03:38,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '748ea951-d7ba-4aba-8b36-0b190fa6628d', 'name': '', 'tenant_id': '94f0dbfbd63d4bf987aecf743df77f82', 'network_id': '7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc', 'ip_version': 4, 'cidr': '86.38.37.0/26', 'allocation_pools': [{'start': '86.38.37.2', 'end': '86.38.37.62'}], 'gateway_ip': '86.38.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.38.37.2', 'tags': [], 'project_id': '94f0dbfbd63d4bf987aecf743df77f82'}} 2026-09-09 11:03:38,797 - INFO - Created VN ctest-ext_vn-68206893 2026-09-09 11:03:38,854 - DEBUG - VN ctest-ext_vn-68206893 UUID is 7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc 2026-09-09 11:03:39,057 - DEBUG - Services list from nova: [, , ] 2026-09-09 11:03:39,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6267-1) 2026-09-09 11:03:40,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6267-1) 2026-09-09 11:03:40,327 - INFO - Setting gateway for router 02714495-514a-4c0a-bdc9-89afac86ceb9 to network 7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc 2026-09-09 11:03:40,411 - INFO - Adding interface with subnet_id 577f99e2-f2a4-41f4-8770-36bea948a63b, port_id None to router 02714495-514a-4c0a-bdc9-89afac86ceb9 2026-09-09 11:03:40,754 - INFO - Waiting for VM ctest-TestRoutersBasic-97695896-80758728 to be up.. 2026-09-09 11:03:40,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:03:45,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:03:51,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:03:56,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:01,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:06,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:11,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:16,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:21,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:04:26,768 - DEBUG - VM is in ACTIVE state now 2026-09-09 11:04:26,768 - INFO - VM name : ctest-TestRoutersBasic-97695896-80758728 2026-09-09 11:04:26,862 - DEBUG - VM ctest-TestRoutersBasic-97695896-80758728 ID is 5014ccfb-6b90-4ced-a8d2-f334fe6874b8 2026-09-09 11:04:26,884 - DEBUG - VM ctest-TestRoutersBasic-97695896-80758728 launched on Node cn-jenkins-deploy-platform-ansible-os-6267-1 2026-09-09 11:04:26,970 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/5014ccfb-6b90-4ced-a8d2-f334fe6874b8 2026-09-09 11:04:27,351 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/5014ccfb-6b90-4ced-a8d2-f334fe6874b8 2026-09-09 11:04:27,388 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/77dff4b2-3901-4761-b663-da6c97a202e5 2026-09-09 11:04:30,654 - 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=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 10.726/10.726/10.726/0.000 ms') 2026-09-09 11:04:30,655 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97695896-80758728 passed 2026-09-09 11:04:30,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:04:30,811 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97695896-80758728, IP 107.81.74.195, Port 22 2026-09-09 11:04:30,876 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-09 11:04:30,964 - DEBUG - VM ctest-TestRoutersBasic-97695896-80758728 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 11:04:35,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:04:35,965 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97695896-80758728, IP 107.81.74.195, Port 22 2026-09-09 11:04:36,137 - DEBUG - VM ctest-TestRoutersBasic-97695896-80758728 is ready for SSH connections 2026-09-09 11:04:36,137 - INFO - Waiting for VM ctest-TestRoutersBasic-97695896-20186193 to be up.. 2026-09-09 11:04:36,230 - DEBUG - VM is in ACTIVE state now 2026-09-09 11:04:36,230 - INFO - VM name : ctest-TestRoutersBasic-97695896-20186193 2026-09-09 11:04:36,315 - DEBUG - VM ctest-TestRoutersBasic-97695896-20186193 ID is 56919360-5ea7-45c3-bff7-19a4417f5d9a 2026-09-09 11:04:36,315 - DEBUG - VM ctest-TestRoutersBasic-97695896-20186193 launched on Node cn-jenkins-deploy-platform-ansible-os-6267-1 2026-09-09 11:04:36,392 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/56919360-5ea7-45c3-bff7-19a4417f5d9a 2026-09-09 11:04:36,401 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/948b01ee-78f2-481c-8902-842b0f881dbe 2026-09-09 11:04:37,654 - 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=4.92 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.517 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 = 0.517/2.717/4.918/2.200 ms') 2026-09-09 11:04:37,654 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97695896-20186193 passed 2026-09-09 11:04:37,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:04:37,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97695896-20186193, IP 86.38.37.4, Port 22 2026-09-09 11:04:37,973 - DEBUG - VM ctest-TestRoutersBasic-97695896-20186193 is ready for SSH connections 2026-09-09 11:04:37,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:04:37,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.38.37.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-09 11:04:37,973 - DEBUG - ping -s 56 -c 3 -W 1 86.38.37.4 2026-09-09 11:04:41,006 - DEBUG - PING 86.38.37.4 (86.38.37.4): 56 data bytes 64 bytes from 86.38.37.4: seq=0 ttl=62 time=6.648 ms 64 bytes from 86.38.37.4: seq=1 ttl=62 time=1.443 ms 64 bytes from 86.38.37.4: seq=2 ttl=62 time=1.223 ms --- 86.38.37.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.223/3.104/6.648 ms 2026-09-09 11:04:41,006 - INFO - Ping to IP 86.38.37.4 from VM ctest-TestRoutersBasic-97695896-80758728 passed 2026-09-09 11:04:41,006 - INFO - Deleting interface with subnet_id 577f99e2-f2a4-41f4-8770-36bea948a63b, port_id None from router 02714495-514a-4c0a-bdc9-89afac86ceb9 2026-09-09 11:04:41,347 - INFO - Deleting VM ctest-TestRoutersBasic-97695896-20186193 2026-09-09 11:04:41,448 - INFO - Deleting VM ctest-TestRoutersBasic-97695896-80758728 2026-09-09 11:04:41,540 - INFO - Deleting VN ctest-ext_vn-68206893 2026-09-09 11:04:41,660 - DEBUG - VN 7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc still in use: Unable to complete operation on network 7e41d1cf-4edb-4bc6-bda0-f4c51a7ab2dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bdb93861-a624-41c2-b5ee-1253958cb91c'] 2026-09-09 11:04:41,660 - WARNING - Deleting VN ctest-ext_vn-68206893 failed..Will retry 2026-09-09 11:04:43,843 - DEBUG - Response for deleting network () 2026-09-09 11:04:43,843 - INFO - Deleting VN ctest-vn-51547402 2026-09-09 11:04:43,957 - DEBUG - Response for deleting network () 2026-09-09 11:04:44,227 - DEBUG - No XMPP flaps were noticed during the test 2026-09-09 11:04:44,227 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09] 2026-09-09 11:04:44,228 - INFO - -------------------------------------------------------------------------------- 2026-09-09 11:04:45,020 - INFO - Deleted project: ctest-TestRoutersBasic-97695896, ID : 94f0dbfb-d63d-4bf9-87ae-cf743df77f82