2026-08-25 08:18:47,227 - INFO - Domain Default found not creating 2026-08-25 08:18:47,421 - INFO - Project ctest-TestRoutersBasic-94137011 not found, creating it 2026-08-25 08:18:47,975 - INFO - Created Project:ctest-TestRoutersBasic-94137011, ID : 4c532bd6-8f77-4574-94ad-aa6d84688754 2026-08-25 08:18:49,906 - INFO - ================================================================================ 2026-08-25 08:18:49,906 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-25 08:18:49,906 - 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-08-25 08:18:50,181 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-25 08:18:50,181 - INFO - Initial checks done. Running the testcase now 2026-08-25 08:18:50,181 - INFO - 2026-08-25 08:18:51,112 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94137011 2026-08-25 08:18:51,218 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94137011 2026-08-25 08:18:51,550 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94137011', 'default']} 2026-08-25 08:18:51,906 - DEBUG - Response for create_network : {'network': {'id': '4356d758-0170-4361-8009-d08094c1204b', 'name': 'ctest-vn-35001245', 'tenant_id': '4c532bd68f77457494adaa6d84688754', 'project_id': '4c532bd68f77457494adaa6d84688754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94137011', 'ctest-vn-35001245'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:18:52,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f318e03c-5fa5-4279-9cfa-bd562b7d6f39', 'name': '', 'tenant_id': '4c532bd68f77457494adaa6d84688754', 'network_id': '4356d758-0170-4361-8009-d08094c1204b', 'ip_version': 4, 'cidr': '54.235.102.128/26', 'allocation_pools': [{'start': '54.235.102.130', 'end': '54.235.102.190'}], 'gateway_ip': '54.235.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.235.102.130', 'tags': [], 'project_id': '4c532bd68f77457494adaa6d84688754'}} 2026-08-25 08:18:52,193 - INFO - Created VN ctest-vn-35001245 2026-08-25 08:18:52,250 - DEBUG - VN ctest-vn-35001245 UUID is 4356d758-0170-4361-8009-d08094c1204b 2026-08-25 08:18:52,618 - DEBUG - Response for create_network : {'network': {'id': '5b1611c1-ac43-4f2e-a585-b5fbf67af207', 'name': 'ctest-ext_vn-79362594', 'tenant_id': '4c532bd68f77457494adaa6d84688754', 'project_id': '4c532bd68f77457494adaa6d84688754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94137011', 'ctest-ext_vn-79362594'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:18:52,822 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd86b48ac-d6fc-47a2-b2c5-be0800e9d5e0', 'name': '', 'tenant_id': '4c532bd68f77457494adaa6d84688754', 'network_id': '5b1611c1-ac43-4f2e-a585-b5fbf67af207', 'ip_version': 4, 'cidr': '182.29.134.64/26', 'allocation_pools': [{'start': '182.29.134.66', 'end': '182.29.134.126'}], 'gateway_ip': '182.29.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.29.134.66', 'tags': [], 'project_id': '4c532bd68f77457494adaa6d84688754'}} 2026-08-25 08:18:52,841 - INFO - Created VN ctest-ext_vn-79362594 2026-08-25 08:18:52,898 - DEBUG - VN ctest-ext_vn-79362594 UUID is 5b1611c1-ac43-4f2e-a585-b5fbf67af207 2026-08-25 08:18:53,083 - DEBUG - Services list from nova: [, , ] 2026-08-25 08:18:54,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6217-1) 2026-08-25 08:18:54,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6217-1) 2026-08-25 08:18:54,949 - INFO - Setting gateway for router 5878a464-e21b-4103-943c-824d41ef8c68 to network 5b1611c1-ac43-4f2e-a585-b5fbf67af207 2026-08-25 08:18:55,026 - INFO - Adding interface with subnet_id f318e03c-5fa5-4279-9cfa-bd562b7d6f39, port_id None to router 5878a464-e21b-4103-943c-824d41ef8c68 2026-08-25 08:18:55,372 - INFO - Waiting for VM ctest-TestRoutersBasic-94137011-13076768 to be up.. 2026-08-25 08:18:55,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:00,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:05,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:10,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:15,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:20,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:26,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:31,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:19:36,202 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:19:36,203 - INFO - VM name : ctest-TestRoutersBasic-94137011-13076768 2026-08-25 08:19:36,289 - DEBUG - VM ctest-TestRoutersBasic-94137011-13076768 ID is 2b36b8c5-953d-4c97-b926-fea09b116897 2026-08-25 08:19:36,315 - DEBUG - VM ctest-TestRoutersBasic-94137011-13076768 launched on Node cn-jenkins-deploy-platform-ansible-os-6217-1 2026-08-25 08:19:36,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b36b8c5-953d-4c97-b926-fea09b116897 2026-08-25 08:19:36,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b36b8c5-953d-4c97-b926-fea09b116897 2026-08-25 08:19:36,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6364a5e2-852a-43dd-a763-71dbea1f430f 2026-08-25 08:19:40,112 - 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 1022ms') 2026-08-25 08:19:40,112 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-94137011-13076768 failed! 2026-08-25 08:19:40,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94137011:ctest-vn-35001245 is 54.235.102.129 and allocation pool is NOT set 2026-08-25 08:19:42,244 - 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=6.81 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.54 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.539/4.673/6.807/2.134 ms') 2026-08-25 08:19:42,244 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-94137011-13076768 passed 2026-08-25 08:19:42,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:19:42,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94137011-13076768, IP 54.235.102.131, Port 22 2026-08-25 08:19:42,473 - 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-08-25 08:19:42,577 - DEBUG - VM ctest-TestRoutersBasic-94137011-13076768 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 08:19:47,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:19:47,579 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94137011-13076768, IP 54.235.102.131, Port 22 2026-08-25 08:19:47,752 - DEBUG - VM ctest-TestRoutersBasic-94137011-13076768 is ready for SSH connections 2026-08-25 08:19:47,752 - INFO - Waiting for VM ctest-TestRoutersBasic-94137011-76400534 to be up.. 2026-08-25 08:19:47,865 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:19:47,865 - INFO - VM name : ctest-TestRoutersBasic-94137011-76400534 2026-08-25 08:19:47,954 - DEBUG - VM ctest-TestRoutersBasic-94137011-76400534 ID is 2a2ed875-457b-4b14-abea-d04fca30e132 2026-08-25 08:19:47,955 - DEBUG - VM ctest-TestRoutersBasic-94137011-76400534 launched on Node cn-jenkins-deploy-platform-ansible-os-6217-1 2026-08-25 08:19:48,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2a2ed875-457b-4b14-abea-d04fca30e132 2026-08-25 08:19:48,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/901e4895-91d0-43aa-b363-468c00e64c61 2026-08-25 08:19:49,324 - 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.61 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.618 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.618/2.615/4.613/1.997 ms') 2026-08-25 08:19:49,325 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-94137011-76400534 passed 2026-08-25 08:19:49,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:19:49,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94137011-76400534, IP 182.29.134.68, Port 22 2026-08-25 08:19:49,653 - DEBUG - VM ctest-TestRoutersBasic-94137011-76400534 is ready for SSH connections 2026-08-25 08:19:49,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:19:49,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.29.134.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-25 08:19:49,653 - DEBUG - ping -s 56 -c 3 -W 1 182.29.134.68 2026-08-25 08:19:52,861 - DEBUG - PING 182.29.134.68 (182.29.134.68): 56 data bytes 64 bytes from 182.29.134.68: seq=0 ttl=62 time=9.463 ms 64 bytes from 182.29.134.68: seq=1 ttl=62 time=1.661 ms 64 bytes from 182.29.134.68: seq=2 ttl=62 time=1.278 ms --- 182.29.134.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.278/4.134/9.463 ms 2026-08-25 08:19:52,861 - INFO - Ping to IP 182.29.134.68 from VM ctest-TestRoutersBasic-94137011-13076768 passed 2026-08-25 08:19:52,861 - INFO - Deleting interface with subnet_id f318e03c-5fa5-4279-9cfa-bd562b7d6f39, port_id None from router 5878a464-e21b-4103-943c-824d41ef8c68 2026-08-25 08:19:53,137 - INFO - Deleting VM ctest-TestRoutersBasic-94137011-76400534 2026-08-25 08:19:53,260 - INFO - Deleting VM ctest-TestRoutersBasic-94137011-13076768 2026-08-25 08:19:53,370 - INFO - Deleting VN ctest-ext_vn-79362594 2026-08-25 08:19:53,532 - DEBUG - VN 5b1611c1-ac43-4f2e-a585-b5fbf67af207 still in use: Unable to complete operation on network 5b1611c1-ac43-4f2e-a585-b5fbf67af207. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5152f384-9a53-4406-a33f-a49a109be3fa'] 2026-08-25 08:19:53,533 - WARNING - Deleting VN ctest-ext_vn-79362594 failed..Will retry 2026-08-25 08:19:55,793 - DEBUG - Response for deleting network () 2026-08-25 08:19:55,794 - INFO - Deleting VN ctest-vn-35001245 2026-08-25 08:19:55,943 - DEBUG - Response for deleting network () 2026-08-25 08:19:56,230 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 08:19:56,230 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-08-25 08:19:56,230 - INFO - -------------------------------------------------------------------------------- 2026-08-25 08:19:57,059 - INFO - Deleted project: ctest-TestRoutersBasic-94137011, ID : 4c532bd6-8f77-4574-94ad-aa6d84688754