2026-06-22 02:04:33,202 - INFO - Domain Default found not creating 2026-06-22 02:04:33,353 - INFO - Project ctest-TestRoutersBasic-75595768 not found, creating it 2026-06-22 02:04:33,799 - INFO - Created Project:ctest-TestRoutersBasic-75595768, ID : 542a864f-d97b-4f4a-a9e8-22a1ddd21e38 2026-06-22 02:04:35,549 - INFO - ================================================================================ 2026-06-22 02:04:35,549 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-22 02:04:35,549 - 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-22 02:04:35,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-22 02:04:35,811 - INFO - Initial checks done. Running the testcase now 2026-06-22 02:04:35,811 - INFO - 2026-06-22 02:04:36,659 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75595768 2026-06-22 02:04:36,753 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75595768 2026-06-22 02:04:37,093 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75595768', 'default']} 2026-06-22 02:04:37,364 - DEBUG - Response for create_network : {'network': {'id': 'd9b51c11-aa75-425b-93cb-481fc1ef325f', 'name': 'ctest-vn-60124847', 'tenant_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'project_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75595768', 'ctest-vn-60124847'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:04:37,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '99ad7d67-cb60-4929-8de1-348777c47dc0', 'name': '', 'tenant_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'network_id': 'd9b51c11-aa75-425b-93cb-481fc1ef325f', 'ip_version': 4, 'cidr': '140.186.155.192/26', 'allocation_pools': [{'start': '140.186.155.194', 'end': '140.186.155.254'}], 'gateway_ip': '140.186.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.186.155.194', 'tags': [], 'project_id': '542a864fd97b4f4aa9e822a1ddd21e38'}} 2026-06-22 02:04:37,564 - INFO - Created VN ctest-vn-60124847 2026-06-22 02:04:37,617 - DEBUG - VN ctest-vn-60124847 UUID is d9b51c11-aa75-425b-93cb-481fc1ef325f 2026-06-22 02:04:37,957 - DEBUG - Response for create_network : {'network': {'id': '3e945c08-b3d1-454d-aca9-2a2345c1c744', 'name': 'ctest-ext_vn-45019857', 'tenant_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'project_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75595768', 'ctest-ext_vn-45019857'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:04:38,156 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c12e848d-b6c7-4310-85eb-5e076089d667', 'name': '', 'tenant_id': '542a864fd97b4f4aa9e822a1ddd21e38', 'network_id': '3e945c08-b3d1-454d-aca9-2a2345c1c744', 'ip_version': 4, 'cidr': '164.180.133.128/26', 'allocation_pools': [{'start': '164.180.133.130', 'end': '164.180.133.190'}], 'gateway_ip': '164.180.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.180.133.130', 'tags': [], 'project_id': '542a864fd97b4f4aa9e822a1ddd21e38'}} 2026-06-22 02:04:38,171 - INFO - Created VN ctest-ext_vn-45019857 2026-06-22 02:04:38,221 - DEBUG - VN ctest-ext_vn-45019857 UUID is 3e945c08-b3d1-454d-aca9-2a2345c1c744 2026-06-22 02:04:38,419 - DEBUG - Services list from nova: [, , ] 2026-06-22 02:04:39,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6015-1) 2026-06-22 02:04:40,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6015-1) 2026-06-22 02:04:40,777 - INFO - Setting gateway for router b6b0327d-4cab-4d8d-be88-01b69fe6617d to network 3e945c08-b3d1-454d-aca9-2a2345c1c744 2026-06-22 02:04:40,822 - INFO - Adding interface with subnet_id 99ad7d67-cb60-4929-8de1-348777c47dc0, port_id None to router b6b0327d-4cab-4d8d-be88-01b69fe6617d 2026-06-22 02:04:41,022 - INFO - Waiting for VM ctest-TestRoutersBasic-75595768-62628603 to be up.. 2026-06-22 02:04:41,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 02:04:46,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 02:04:51,253 - DEBUG - VM is in ACTIVE state now 2026-06-22 02:04:51,253 - INFO - VM name : ctest-TestRoutersBasic-75595768-62628603 2026-06-22 02:04:51,322 - DEBUG - VM ctest-TestRoutersBasic-75595768-62628603 ID is faf67666-ba3d-48dc-8466-c6b32bb56697 2026-06-22 02:04:51,344 - DEBUG - VM ctest-TestRoutersBasic-75595768-62628603 launched on Node cn-jenkins-deploy-platform-ansible-os-6015-1 2026-06-22 02:04:51,421 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/faf67666-ba3d-48dc-8466-c6b32bb56697 2026-06-22 02:04:51,797 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/faf67666-ba3d-48dc-8466-c6b32bb56697 2026-06-22 02:04:51,826 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/05687e6d-f7d0-4ed7-8c95-a45f18b0153d 2026-06-22 02:04:55,089 - 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 1026ms') 2026-06-22 02:04:55,089 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-75595768-62628603 failed! 2026-06-22 02:04:55,145 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75595768:ctest-vn-60124847 is 140.186.155.193 and allocation pool is NOT set 2026-06-22 02:04:57,215 - 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=12.0 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.321 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.321/6.182/12.044/5.861 ms') 2026-06-22 02:04:57,215 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-75595768-62628603 passed 2026-06-22 02:04:57,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:04:57,365 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75595768-62628603, IP 140.186.155.195, Port 22 2026-06-22 02:04:57,543 - DEBUG - VM ctest-TestRoutersBasic-75595768-62628603 is ready for SSH connections 2026-06-22 02:04:57,543 - INFO - Waiting for VM ctest-TestRoutersBasic-75595768-27693489 to be up.. 2026-06-22 02:04:57,621 - DEBUG - VM is in ACTIVE state now 2026-06-22 02:04:57,621 - INFO - VM name : ctest-TestRoutersBasic-75595768-27693489 2026-06-22 02:04:57,701 - DEBUG - VM ctest-TestRoutersBasic-75595768-27693489 ID is d47181ce-5a67-4ae2-ba19-7cddf558e0d2 2026-06-22 02:04:57,701 - DEBUG - VM ctest-TestRoutersBasic-75595768-27693489 launched on Node cn-jenkins-deploy-platform-ansible-os-6015-1 2026-06-22 02:04:57,785 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d47181ce-5a67-4ae2-ba19-7cddf558e0d2 2026-06-22 02:04:57,793 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7a80fff1-c485-4916-b16c-b4fb0f5e7b0c 2026-06-22 02:04:59,022 - 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=10.6 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.954 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.954/5.770/10.586/4.816 ms') 2026-06-22 02:04:59,023 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-75595768-27693489 passed 2026-06-22 02:04:59,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:04:59,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75595768-27693489, IP 164.180.133.132, Port 22 2026-06-22 02:04:59,235 - 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-22 02:04:59,321 - DEBUG - VM ctest-TestRoutersBasic-75595768-27693489 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 02:05:04,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:05:04,322 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75595768-27693489, IP 164.180.133.132, Port 22 2026-06-22 02:05:04,491 - DEBUG - VM ctest-TestRoutersBasic-75595768-27693489 is ready for SSH connections 2026-06-22 02:05:04,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:05:04,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.180.133.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-22 02:05:04,491 - DEBUG - ping -s 56 -c 3 -W 1 164.180.133.132 2026-06-22 02:05:07,112 - DEBUG - PING 164.180.133.132 (164.180.133.132): 56 data bytes 64 bytes from 164.180.133.132: seq=0 ttl=62 time=6.130 ms 64 bytes from 164.180.133.132: seq=1 ttl=62 time=0.799 ms 64 bytes from 164.180.133.132: seq=2 ttl=62 time=1.390 ms --- 164.180.133.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/2.773/6.130 ms 2026-06-22 02:05:07,113 - INFO - Ping to IP 164.180.133.132 from VM ctest-TestRoutersBasic-75595768-62628603 passed 2026-06-22 02:05:07,113 - INFO - Deleting interface with subnet_id 99ad7d67-cb60-4929-8de1-348777c47dc0, port_id None from router b6b0327d-4cab-4d8d-be88-01b69fe6617d 2026-06-22 02:05:07,321 - INFO - Deleting VM ctest-TestRoutersBasic-75595768-27693489 2026-06-22 02:05:07,411 - INFO - Deleting VM ctest-TestRoutersBasic-75595768-62628603 2026-06-22 02:05:07,491 - INFO - Deleting VN ctest-ext_vn-45019857 2026-06-22 02:05:07,561 - DEBUG - VN 3e945c08-b3d1-454d-aca9-2a2345c1c744 still in use: Unable to complete operation on network 3e945c08-b3d1-454d-aca9-2a2345c1c744. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4a7c0e7-0be9-4e5e-ba01-a525865cb35c'] 2026-06-22 02:05:07,561 - WARNING - Deleting VN ctest-ext_vn-45019857 failed..Will retry 2026-06-22 02:05:09,667 - DEBUG - Response for deleting network () 2026-06-22 02:05:09,667 - INFO - Deleting VN ctest-vn-60124847 2026-06-22 02:05:09,760 - DEBUG - Response for deleting network () 2026-06-22 02:05:10,015 - DEBUG - No XMPP flaps were noticed during the test 2026-06-22 02:05:10,015 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-06-22 02:05:10,015 - INFO - -------------------------------------------------------------------------------- 2026-06-22 02:05:10,770 - INFO - Deleted project: ctest-TestRoutersBasic-75595768, ID : 542a864f-d97b-4f4a-a9e8-22a1ddd21e38