2026-01-28 20:33:51,290 - INFO - Domain Default found not creating 2026-01-28 20:33:51,443 - INFO - Project ctest-TestRoutersBasic-13885103 not found, creating it 2026-01-28 20:33:51,902 - INFO - Created Project:ctest-TestRoutersBasic-13885103, ID : 85ce3b10-45b3-4e69-9734-4685395f272f 2026-01-28 20:33:53,520 - INFO - ================================================================================ 2026-01-28 20:33:53,520 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 20:33:53,520 - 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-01-28 20:33:53,774 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-28 20:33:53,774 - INFO - Initial checks done. Running the testcase now 2026-01-28 20:33:53,775 - INFO - 2026-01-28 20:33:54,572 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13885103 2026-01-28 20:33:54,665 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13885103 2026-01-28 20:33:54,980 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13885103', 'default']} 2026-01-28 20:33:55,267 - DEBUG - Response for create_network : {'network': {'id': 'f853a89d-f4d7-4a87-b60e-168ffed3b754', 'name': 'ctest-vn-06237860', 'tenant_id': '85ce3b1045b34e6997344685395f272f', 'project_id': '85ce3b1045b34e6997344685395f272f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13885103', 'ctest-vn-06237860'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 20:33:55,448 - DEBUG - Response for create_subnet : {'subnet': {'id': '649c20a8-e349-470b-8fff-aa14afa4519f', 'name': '', 'tenant_id': '85ce3b1045b34e6997344685395f272f', 'network_id': 'f853a89d-f4d7-4a87-b60e-168ffed3b754', 'ip_version': 4, 'cidr': '26.82.75.128/26', 'allocation_pools': [{'start': '26.82.75.130', 'end': '26.82.75.190'}], 'gateway_ip': '26.82.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.82.75.130', 'tags': [], 'project_id': '85ce3b1045b34e6997344685395f272f'}} 2026-01-28 20:33:55,466 - INFO - Created VN ctest-vn-06237860 2026-01-28 20:33:55,516 - DEBUG - VN ctest-vn-06237860 UUID is f853a89d-f4d7-4a87-b60e-168ffed3b754 2026-01-28 20:33:55,862 - DEBUG - Response for create_network : {'network': {'id': '8d2f6c16-e207-424c-8bba-663e52105e4b', 'name': 'ctest-ext_vn-42306773', 'tenant_id': '85ce3b1045b34e6997344685395f272f', 'project_id': '85ce3b1045b34e6997344685395f272f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13885103', 'ctest-ext_vn-42306773'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 20:33:56,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e34c978d-3aef-4bf8-9b1e-0987c637dbab', 'name': '', 'tenant_id': '85ce3b1045b34e6997344685395f272f', 'network_id': '8d2f6c16-e207-424c-8bba-663e52105e4b', 'ip_version': 4, 'cidr': '149.170.97.128/26', 'allocation_pools': [{'start': '149.170.97.130', 'end': '149.170.97.190'}], 'gateway_ip': '149.170.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.170.97.130', 'tags': [], 'project_id': '85ce3b1045b34e6997344685395f272f'}} 2026-01-28 20:33:56,046 - INFO - Created VN ctest-ext_vn-42306773 2026-01-28 20:33:56,097 - DEBUG - VN ctest-ext_vn-42306773 UUID is 8d2f6c16-e207-424c-8bba-663e52105e4b 2026-01-28 20:33:56,268 - DEBUG - Services list from nova: [, , ] 2026-01-28 20:33:57,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5102-1) 2026-01-28 20:33:58,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5102-1) 2026-01-28 20:33:58,663 - INFO - Setting gateway for router 319d8bcb-f7fd-4aab-be80-b745866d2eb6 to network 8d2f6c16-e207-424c-8bba-663e52105e4b 2026-01-28 20:33:58,736 - INFO - Adding interface with subnet_id 649c20a8-e349-470b-8fff-aa14afa4519f, port_id None to router 319d8bcb-f7fd-4aab-be80-b745866d2eb6 2026-01-28 20:33:59,097 - INFO - Waiting for VM ctest-TestRoutersBasic-13885103-60166849 to be up.. 2026-01-28 20:33:59,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 20:34:04,333 - DEBUG - VM is in ACTIVE state now 2026-01-28 20:34:04,333 - INFO - VM name : ctest-TestRoutersBasic-13885103-60166849 2026-01-28 20:34:04,414 - DEBUG - VM ctest-TestRoutersBasic-13885103-60166849 ID is 61ef42bf-ae5f-4a0f-8b4a-d90377731faa 2026-01-28 20:34:04,436 - DEBUG - VM ctest-TestRoutersBasic-13885103-60166849 launched on Node cn-jenkins-deploy-platform-ansible-os-5102-1 2026-01-28 20:34:04,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/61ef42bf-ae5f-4a0f-8b4a-d90377731faa 2026-01-28 20:34:04,847 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/61ef42bf-ae5f-4a0f-8b4a-d90377731faa 2026-01-28 20:34:04,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8f65286a-7ef9-4e73-b196-79b20547cf36 2026-01-28 20:34:08,152 - 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 1030ms') 2026-01-28 20:34:08,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13885103-60166849 failed! 2026-01-28 20:34:08,208 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13885103:ctest-vn-06237860 is 26.82.75.129 and allocation pool is NOT set 2026-01-28 20:34:10,272 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.773/3.932/5.091/1.159 ms') 2026-01-28 20:34:10,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13885103-60166849 passed 2026-01-28 20:34:10,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:34:10,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13885103-60166849, IP 26.82.75.131, Port 22 2026-01-28 20:34:10,480 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-28 20:34:10,551 - DEBUG - VM ctest-TestRoutersBasic-13885103-60166849 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 20:34:15,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:34:15,552 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13885103-60166849, IP 26.82.75.131, Port 22 2026-01-28 20:34:15,708 - DEBUG - VM ctest-TestRoutersBasic-13885103-60166849 is ready for SSH connections 2026-01-28 20:34:15,709 - INFO - Waiting for VM ctest-TestRoutersBasic-13885103-90458676 to be up.. 2026-01-28 20:34:15,787 - DEBUG - VM is in ACTIVE state now 2026-01-28 20:34:15,787 - INFO - VM name : ctest-TestRoutersBasic-13885103-90458676 2026-01-28 20:34:15,862 - DEBUG - VM ctest-TestRoutersBasic-13885103-90458676 ID is 0737201a-5461-41f1-8549-4e9b96687ac0 2026-01-28 20:34:15,863 - DEBUG - VM ctest-TestRoutersBasic-13885103-90458676 launched on Node cn-jenkins-deploy-platform-ansible-os-5102-1 2026-01-28 20:34:15,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0737201a-5461-41f1-8549-4e9b96687ac0 2026-01-28 20:34:15,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/466733c7-872f-4796-995d-49e138240826 2026-01-28 20:34:17,177 - 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=3.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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 = 0.388/1.866/3.344/1.478 ms') 2026-01-28 20:34:17,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13885103-90458676 passed 2026-01-28 20:34:17,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:34:17,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13885103-90458676, IP 149.170.97.131, Port 22 2026-01-28 20:34:17,488 - DEBUG - VM ctest-TestRoutersBasic-13885103-90458676 is ready for SSH connections 2026-01-28 20:34:17,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 20:34:17,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.170.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-28 20:34:17,489 - DEBUG - ping -s 56 -c 3 -W 1 149.170.97.131 2026-01-28 20:34:21,278 - DEBUG - PING 149.170.97.131 (149.170.97.131): 56 data bytes 64 bytes from 149.170.97.131: seq=0 ttl=62 time=8.655 ms 64 bytes from 149.170.97.131: seq=1 ttl=62 time=1.074 ms 64 bytes from 149.170.97.131: seq=2 ttl=62 time=0.870 ms --- 149.170.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/3.533/8.655 ms 2026-01-28 20:34:21,279 - INFO - Ping to IP 149.170.97.131 from VM ctest-TestRoutersBasic-13885103-60166849 passed 2026-01-28 20:34:21,279 - INFO - Deleting interface with subnet_id 649c20a8-e349-470b-8fff-aa14afa4519f, port_id None from router 319d8bcb-f7fd-4aab-be80-b745866d2eb6 2026-01-28 20:34:21,458 - INFO - Deleting VM ctest-TestRoutersBasic-13885103-90458676 2026-01-28 20:34:21,529 - INFO - Deleting VM ctest-TestRoutersBasic-13885103-60166849 2026-01-28 20:34:21,613 - INFO - Deleting VN ctest-ext_vn-42306773 2026-01-28 20:34:21,706 - DEBUG - VN 8d2f6c16-e207-424c-8bba-663e52105e4b still in use: Unable to complete operation on network 8d2f6c16-e207-424c-8bba-663e52105e4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cde412c-ca7c-4da4-be19-fbbc34a21c26'] 2026-01-28 20:34:21,706 - WARNING - Deleting VN ctest-ext_vn-42306773 failed..Will retry 2026-01-28 20:34:23,818 - DEBUG - Response for deleting network () 2026-01-28 20:34:23,818 - INFO - Deleting VN ctest-vn-06237860 2026-01-28 20:34:23,926 - DEBUG - Response for deleting network () 2026-01-28 20:34:24,186 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 20:34:24,186 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-28 20:34:24,186 - INFO - -------------------------------------------------------------------------------- 2026-01-28 20:34:24,916 - INFO - Deleted project: ctest-TestRoutersBasic-13885103, ID : 85ce3b10-45b3-4e69-9734-4685395f272f