2026-03-26 06:10:07,826 - INFO - Domain Default found not creating 2026-03-26 06:10:08,015 - INFO - Project ctest-TestRoutersBasic-83025274 not found, creating it 2026-03-26 06:10:08,669 - INFO - Created Project:ctest-TestRoutersBasic-83025274, ID : adb11705-3875-4842-a591-728a5193bc3d 2026-03-26 06:10:10,472 - INFO - ================================================================================ 2026-03-26 06:10:10,472 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-26 06:10:10,473 - 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-03-26 06:10:11,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.249': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2026-03-26 06:10:11,814 - INFO - Initial checks done. Running the testcase now 2026-03-26 06:10:11,814 - INFO - 2026-03-26 06:10:12,791 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83025274 2026-03-26 06:10:12,852 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83025274 2026-03-26 06:10:13,186 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83025274', 'default']} 2026-03-26 06:10:13,706 - DEBUG - Response for create_network : {'network': {'id': '55db042e-c63f-45d1-9b46-09ddb7501c76', 'name': 'ctest-vn-87741854', 'tenant_id': 'adb1170538754842a591728a5193bc3d', 'project_id': 'adb1170538754842a591728a5193bc3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83025274', 'ctest-vn-87741854'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:10:14,078 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5c71c46-e0d2-4eb3-9f76-9f4d9d05d6a4', 'name': '', 'tenant_id': 'adb1170538754842a591728a5193bc3d', 'network_id': '55db042e-c63f-45d1-9b46-09ddb7501c76', 'ip_version': 4, 'cidr': '41.200.84.192/26', 'allocation_pools': [{'start': '41.200.84.194', 'end': '41.200.84.254'}], 'gateway_ip': '41.200.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.200.84.194', 'tags': [], 'project_id': 'adb1170538754842a591728a5193bc3d'}} 2026-03-26 06:10:14,119 - INFO - Created VN ctest-vn-87741854 2026-03-26 06:10:14,133 - DEBUG - VN ctest-vn-87741854 UUID is 55db042e-c63f-45d1-9b46-09ddb7501c76 2026-03-26 06:10:14,665 - DEBUG - Response for create_network : {'network': {'id': '4de0ed73-9a37-4790-8ac6-b0c5afd94215', 'name': 'ctest-ext_vn-73918258', 'tenant_id': 'adb1170538754842a591728a5193bc3d', 'project_id': 'adb1170538754842a591728a5193bc3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83025274', 'ctest-ext_vn-73918258'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:10:15,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed4f8d10-9d0f-43f8-881f-727df78a1fd7', 'name': '', 'tenant_id': 'adb1170538754842a591728a5193bc3d', 'network_id': '4de0ed73-9a37-4790-8ac6-b0c5afd94215', 'ip_version': 4, 'cidr': '177.63.7.0/26', 'allocation_pools': [{'start': '177.63.7.2', 'end': '177.63.7.62'}], 'gateway_ip': '177.63.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.63.7.2', 'tags': [], 'project_id': 'adb1170538754842a591728a5193bc3d'}} 2026-03-26 06:10:15,044 - INFO - Created VN ctest-ext_vn-73918258 2026-03-26 06:10:15,070 - DEBUG - VN ctest-ext_vn-73918258 UUID is 4de0ed73-9a37-4790-8ac6-b0c5afd94215 2026-03-26 06:10:15,227 - DEBUG - Services list from nova: [, , , ] 2026-03-26 06:10:16,951 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5546-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5546-2) 2026-03-26 06:10:18,780 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5546-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5546-1) 2026-03-26 06:10:18,952 - INFO - Setting gateway for router 9f63cc6e-e4c6-41a6-a36a-16fb63570b6c to network 4de0ed73-9a37-4790-8ac6-b0c5afd94215 2026-03-26 06:10:19,097 - INFO - Adding interface with subnet_id c5c71c46-e0d2-4eb3-9f76-9f4d9d05d6a4, port_id None to router 9f63cc6e-e4c6-41a6-a36a-16fb63570b6c 2026-03-26 06:10:19,783 - INFO - Waiting for VM ctest-TestRoutersBasic-83025274-74328457 to be up.. 2026-03-26 06:10:19,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 06:10:25,109 - DEBUG - VM is in ACTIVE state now 2026-03-26 06:10:25,109 - INFO - VM name : ctest-TestRoutersBasic-83025274-74328457 2026-03-26 06:10:25,210 - DEBUG - VM ctest-TestRoutersBasic-83025274-74328457 ID is 299f14f3-2829-4dec-8c7b-b96682df23fe 2026-03-26 06:10:25,240 - DEBUG - VM ctest-TestRoutersBasic-83025274-74328457 launched on Node an-jenkins-deploy-platform-ansible-os-5546-2 2026-03-26 06:10:25,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/299f14f3-2829-4dec-8c7b-b96682df23fe 2026-03-26 06:10:25,692 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/299f14f3-2829-4dec-8c7b-b96682df23fe 2026-03-26 06:10:25,732 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bb0e5f22-f209-45b9-a01f-04b27100c704 2026-03-26 06:10:28,984 - 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 1032ms') 2026-03-26 06:10:28,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83025274-74328457 failed! 2026-03-26 06:10:29,007 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83025274:ctest-vn-87741854 is 41.200.84.193 and allocation pool is NOT set 2026-03-26 06:10:31,077 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.45 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 = 3.454/7.799/12.144/4.345 ms') 2026-03-26 06:10:31,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83025274-74328457 passed 2026-03-26 06:10:31,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:10:31,188 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83025274-74328457, IP 41.200.84.195, Port 22 2026-03-26 06:10:31,256 - 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-03-26 06:10:31,361 - DEBUG - VM ctest-TestRoutersBasic-83025274-74328457 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 06:10:36,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:10:36,362 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83025274-74328457, IP 41.200.84.195, Port 22 2026-03-26 06:10:36,535 - DEBUG - VM ctest-TestRoutersBasic-83025274-74328457 is ready for SSH connections 2026-03-26 06:10:36,535 - INFO - Waiting for VM ctest-TestRoutersBasic-83025274-84148468 to be up.. 2026-03-26 06:10:36,637 - DEBUG - VM is in ACTIVE state now 2026-03-26 06:10:36,638 - INFO - VM name : ctest-TestRoutersBasic-83025274-84148468 2026-03-26 06:10:36,751 - DEBUG - VM ctest-TestRoutersBasic-83025274-84148468 ID is 135e0d9c-935e-4f4f-a3d3-f55b1beeb05f 2026-03-26 06:10:36,751 - DEBUG - VM ctest-TestRoutersBasic-83025274-84148468 launched on Node an-jenkins-deploy-platform-ansible-os-5546-1 2026-03-26 06:10:36,859 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/135e0d9c-935e-4f4f-a3d3-f55b1beeb05f 2026-03-26 06:10:36,873 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aa528b6b-48cc-4921-a015-b44e18ed04e1 2026-03-26 06:10:38,104 - 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=7.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.041/4.424/7.807/3.383 ms') 2026-03-26 06:10:38,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83025274-84148468 passed 2026-03-26 06:10:38,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:10:38,228 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83025274-84148468, IP 177.63.7.3, Port 22 2026-03-26 06:10:38,399 - DEBUG - VM ctest-TestRoutersBasic-83025274-84148468 is ready for SSH connections 2026-03-26 06:10:38,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:10:38,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.63.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-26 06:10:38,399 - DEBUG - ping -s 56 -c 3 -W 1 177.63.7.3 2026-03-26 06:10:42,216 - DEBUG - PING 177.63.7.3 (177.63.7.3): 56 data bytes 64 bytes from 177.63.7.3: seq=0 ttl=62 time=15.312 ms 64 bytes from 177.63.7.3: seq=1 ttl=62 time=1.622 ms 64 bytes from 177.63.7.3: seq=2 ttl=62 time=1.601 ms --- 177.63.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.601/6.178/15.312 ms 2026-03-26 06:10:42,217 - INFO - Ping to IP 177.63.7.3 from VM ctest-TestRoutersBasic-83025274-74328457 passed 2026-03-26 06:10:42,217 - INFO - Deleting interface with subnet_id c5c71c46-e0d2-4eb3-9f76-9f4d9d05d6a4, port_id None from router 9f63cc6e-e4c6-41a6-a36a-16fb63570b6c 2026-03-26 06:10:42,755 - INFO - Deleting VM ctest-TestRoutersBasic-83025274-84148468 2026-03-26 06:10:42,899 - INFO - Deleting VM ctest-TestRoutersBasic-83025274-74328457 2026-03-26 06:10:43,035 - INFO - Deleting VN ctest-ext_vn-73918258 2026-03-26 06:10:43,210 - DEBUG - VN 4de0ed73-9a37-4790-8ac6-b0c5afd94215 still in use: Unable to complete operation on network 4de0ed73-9a37-4790-8ac6-b0c5afd94215. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8dda07b2-9673-4085-bd05-954e9ca2c3c9'] 2026-03-26 06:10:43,210 - WARNING - Deleting VN ctest-ext_vn-73918258 failed..Will retry 2026-03-26 06:10:45,435 - DEBUG - Response for deleting network () 2026-03-26 06:10:45,436 - INFO - Deleting VN ctest-vn-87741854 2026-03-26 06:10:45,678 - DEBUG - Response for deleting network () 2026-03-26 06:10:47,083 - DEBUG - No XMPP flaps were noticed during the test 2026-03-26 06:10:47,083 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:37] 2026-03-26 06:10:47,083 - INFO - -------------------------------------------------------------------------------- 2026-03-26 06:10:47,934 - INFO - Deleted project: ctest-TestRoutersBasic-83025274, ID : adb11705-3875-4842-a591-728a5193bc3d