2025-12-22 16:59:02,405 - INFO - Domain Default found not creating 2025-12-22 16:59:02,578 - INFO - Project ctest-TestRoutersBasic-37976835 not found, creating it 2025-12-22 16:59:03,058 - INFO - Created Project:ctest-TestRoutersBasic-37976835, ID : 90cd5a30-69aa-4398-80d8-e0e30d6948c8 2025-12-22 16:59:04,706 - INFO - ================================================================================ 2025-12-22 16:59:04,706 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-22 16:59:04,706 - 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 2025-12-22 16:59:04,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-22 16:59:04,975 - INFO - Initial checks done. Running the testcase now 2025-12-22 16:59:04,975 - INFO - 2025-12-22 16:59:05,772 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37976835 2025-12-22 16:59:05,871 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37976835 2025-12-22 16:59:06,194 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37976835', 'default']} 2025-12-22 16:59:06,483 - DEBUG - Response for create_network : {'network': {'id': '36737f1f-253c-41a6-8846-b019be09a1ca', 'name': 'ctest-vn-96077156', 'tenant_id': '90cd5a3069aa439880d8e0e30d6948c8', 'project_id': '90cd5a3069aa439880d8e0e30d6948c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37976835', 'ctest-vn-96077156'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:06,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fb52752-471f-46b7-a16c-8b6781eb8be8', 'name': '', 'tenant_id': '90cd5a3069aa439880d8e0e30d6948c8', 'network_id': '36737f1f-253c-41a6-8846-b019be09a1ca', 'ip_version': 4, 'cidr': '67.173.92.128/26', 'allocation_pools': [{'start': '67.173.92.130', 'end': '67.173.92.190'}], 'gateway_ip': '67.173.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.173.92.130', 'tags': [], 'project_id': '90cd5a3069aa439880d8e0e30d6948c8'}} 2025-12-22 16:59:06,697 - INFO - Created VN ctest-vn-96077156 2025-12-22 16:59:06,751 - DEBUG - VN ctest-vn-96077156 UUID is 36737f1f-253c-41a6-8846-b019be09a1ca 2025-12-22 16:59:07,060 - DEBUG - Response for create_network : {'network': {'id': 'aab34be7-8738-469b-b63a-6475e73280a8', 'name': 'ctest-ext_vn-55292793', 'tenant_id': '90cd5a3069aa439880d8e0e30d6948c8', 'project_id': '90cd5a3069aa439880d8e0e30d6948c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37976835', 'ctest-ext_vn-55292793'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:07,210 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd234096f-2bcf-487a-859d-7df3158dfe52', 'name': '', 'tenant_id': '90cd5a3069aa439880d8e0e30d6948c8', 'network_id': 'aab34be7-8738-469b-b63a-6475e73280a8', 'ip_version': 4, 'cidr': '26.178.238.192/26', 'allocation_pools': [{'start': '26.178.238.194', 'end': '26.178.238.254'}], 'gateway_ip': '26.178.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.178.238.194', 'tags': [], 'project_id': '90cd5a3069aa439880d8e0e30d6948c8'}} 2025-12-22 16:59:07,228 - INFO - Created VN ctest-ext_vn-55292793 2025-12-22 16:59:07,279 - DEBUG - VN ctest-ext_vn-55292793 UUID is aab34be7-8738-469b-b63a-6475e73280a8 2025-12-22 16:59:07,449 - DEBUG - Services list from nova: [, , ] 2025-12-22 16:59:08,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 16:59:09,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 16:59:09,877 - INFO - Setting gateway for router 5183e85b-eafe-418c-b4b7-6b90c51ff644 to network aab34be7-8738-469b-b63a-6475e73280a8 2025-12-22 16:59:09,926 - INFO - Adding interface with subnet_id 4fb52752-471f-46b7-a16c-8b6781eb8be8, port_id None to router 5183e85b-eafe-418c-b4b7-6b90c51ff644 2025-12-22 16:59:10,276 - INFO - Waiting for VM ctest-TestRoutersBasic-37976835-27224315 to be up.. 2025-12-22 16:59:10,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 16:59:15,541 - DEBUG - VM is in ACTIVE state now 2025-12-22 16:59:15,541 - INFO - VM name : ctest-TestRoutersBasic-37976835-27224315 2025-12-22 16:59:15,644 - DEBUG - VM ctest-TestRoutersBasic-37976835-27224315 ID is 55d3a3bf-d5e9-4af2-8457-3eefcf16f547 2025-12-22 16:59:15,668 - DEBUG - VM ctest-TestRoutersBasic-37976835-27224315 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 16:59:15,831 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/55d3a3bf-d5e9-4af2-8457-3eefcf16f547 2025-12-22 16:59:16,328 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/55d3a3bf-d5e9-4af2-8457-3eefcf16f547 2025-12-22 16:59:16,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2c02fa1c-982f-4765-9f75-528d90f268ec 2025-12-22 16:59:19,629 - 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 1026ms') 2025-12-22 16:59:19,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37976835-27224315 failed! 2025-12-22 16:59:19,687 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37976835:ctest-vn-96077156 is 67.173.92.129 and allocation pool is NOT set 2025-12-22 16:59:21,753 - 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=4.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.076/2.681/4.286/1.605 ms') 2025-12-22 16:59:21,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37976835-27224315 passed 2025-12-22 16:59:21,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:59:21,907 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37976835-27224315, IP 67.173.92.131, Port 22 2025-12-22 16:59:21,973 - 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': ''} 2025-12-22 16:59:22,062 - DEBUG - VM ctest-TestRoutersBasic-37976835-27224315 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 16:59:27,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:59:27,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37976835-27224315, IP 67.173.92.131, Port 22 2025-12-22 16:59:27,218 - DEBUG - VM ctest-TestRoutersBasic-37976835-27224315 is ready for SSH connections 2025-12-22 16:59:27,219 - INFO - Waiting for VM ctest-TestRoutersBasic-37976835-64357571 to be up.. 2025-12-22 16:59:27,302 - DEBUG - VM is in ACTIVE state now 2025-12-22 16:59:27,302 - INFO - VM name : ctest-TestRoutersBasic-37976835-64357571 2025-12-22 16:59:27,378 - DEBUG - VM ctest-TestRoutersBasic-37976835-64357571 ID is 4c3b6eff-dc6a-4847-b7b3-fe539fbdaa72 2025-12-22 16:59:27,378 - DEBUG - VM ctest-TestRoutersBasic-37976835-64357571 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 16:59:27,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4c3b6eff-dc6a-4847-b7b3-fe539fbdaa72 2025-12-22 16:59:27,464 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f57a3af0-f899-49d4-bb85-a3dd748f234c 2025-12-22 16:59:28,705 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.873/3.261/1.387 ms') 2025-12-22 16:59:28,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37976835-64357571 passed 2025-12-22 16:59:28,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:59:28,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37976835-64357571, IP 26.178.238.195, Port 22 2025-12-22 16:59:29,014 - DEBUG - VM ctest-TestRoutersBasic-37976835-64357571 is ready for SSH connections 2025-12-22 16:59:29,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:59:29,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.178.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:59:29,015 - DEBUG - ping -s 56 -c 3 -W 1 26.178.238.195 2025-12-22 16:59:32,758 - DEBUG - PING 26.178.238.195 (26.178.238.195): 56 data bytes 64 bytes from 26.178.238.195: seq=0 ttl=62 time=5.066 ms 64 bytes from 26.178.238.195: seq=1 ttl=62 time=1.135 ms 64 bytes from 26.178.238.195: seq=2 ttl=62 time=0.890 ms --- 26.178.238.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.363/5.066 ms 2025-12-22 16:59:32,758 - INFO - Ping to IP 26.178.238.195 from VM ctest-TestRoutersBasic-37976835-27224315 passed 2025-12-22 16:59:32,759 - INFO - Deleting interface with subnet_id 4fb52752-471f-46b7-a16c-8b6781eb8be8, port_id None from router 5183e85b-eafe-418c-b4b7-6b90c51ff644 2025-12-22 16:59:32,958 - INFO - Deleting VM ctest-TestRoutersBasic-37976835-64357571 2025-12-22 16:59:33,033 - INFO - Deleting VM ctest-TestRoutersBasic-37976835-27224315 2025-12-22 16:59:33,115 - INFO - Deleting VN ctest-ext_vn-55292793 2025-12-22 16:59:33,181 - DEBUG - VN aab34be7-8738-469b-b63a-6475e73280a8 still in use: Unable to complete operation on network aab34be7-8738-469b-b63a-6475e73280a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36c92e67-ab4f-4f7c-ad79-fa680cb2cd36'] 2025-12-22 16:59:33,181 - WARNING - Deleting VN ctest-ext_vn-55292793 failed..Will retry 2025-12-22 16:59:35,293 - DEBUG - Response for deleting network () 2025-12-22 16:59:35,293 - INFO - Deleting VN ctest-vn-96077156 2025-12-22 16:59:35,385 - DEBUG - Response for deleting network () 2025-12-22 16:59:35,655 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 16:59:35,655 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-12-22 16:59:35,655 - INFO - -------------------------------------------------------------------------------- 2025-12-22 16:59:36,385 - INFO - Deleted project: ctest-TestRoutersBasic-37976835, ID : 90cd5a30-69aa-4398-80d8-e0e30d6948c8