2026-08-31 02:39:06,917 - INFO - Domain Default found not creating 2026-08-31 02:39:07,084 - INFO - Project ctest-TestRoutersBasic-39136663 not found, creating it 2026-08-31 02:39:07,711 - INFO - Created Project:ctest-TestRoutersBasic-39136663, ID : 6177ba07-0cf2-405a-bcdd-bac0fef75249 2026-08-31 02:39:09,334 - INFO - ================================================================================ 2026-08-31 02:39:09,334 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-31 02:39:09,334 - 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-31 02:39:10,635 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.176': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2026-08-31 02:39:10,635 - INFO - Initial checks done. Running the testcase now 2026-08-31 02:39:10,636 - INFO - 2026-08-31 02:39:12,082 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39136663 2026-08-31 02:39:12,145 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39136663 2026-08-31 02:39:12,494 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39136663', 'default']} 2026-08-31 02:39:12,955 - DEBUG - Response for create_network : {'network': {'id': 'c086bd9f-052d-4072-aeff-72f55b5b6da0', 'name': 'ctest-vn-11267493', 'tenant_id': '6177ba070cf2405abcddbac0fef75249', 'project_id': '6177ba070cf2405abcddbac0fef75249', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39136663', 'ctest-vn-11267493'], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:39:13,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3a2a4e0-3d30-4a8c-8f7c-a38f668afc3d', 'name': '', 'tenant_id': '6177ba070cf2405abcddbac0fef75249', 'network_id': 'c086bd9f-052d-4072-aeff-72f55b5b6da0', 'ip_version': 4, 'cidr': '183.203.71.64/26', 'allocation_pools': [{'start': '183.203.71.66', 'end': '183.203.71.126'}], 'gateway_ip': '183.203.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.203.71.66', 'tags': [], 'project_id': '6177ba070cf2405abcddbac0fef75249'}} 2026-08-31 02:39:13,282 - INFO - Created VN ctest-vn-11267493 2026-08-31 02:39:13,300 - DEBUG - VN ctest-vn-11267493 UUID is c086bd9f-052d-4072-aeff-72f55b5b6da0 2026-08-31 02:39:13,792 - DEBUG - Response for create_network : {'network': {'id': '5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4', 'name': 'ctest-ext_vn-47967928', 'tenant_id': '6177ba070cf2405abcddbac0fef75249', 'project_id': '6177ba070cf2405abcddbac0fef75249', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39136663', 'ctest-ext_vn-47967928'], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:39:14,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f7de9c9-63d6-4cfd-b893-adf9c0698450', 'name': '', 'tenant_id': '6177ba070cf2405abcddbac0fef75249', 'network_id': '5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4', 'ip_version': 4, 'cidr': '39.32.27.128/26', 'allocation_pools': [{'start': '39.32.27.130', 'end': '39.32.27.190'}], 'gateway_ip': '39.32.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.32.27.130', 'tags': [], 'project_id': '6177ba070cf2405abcddbac0fef75249'}} 2026-08-31 02:39:14,073 - INFO - Created VN ctest-ext_vn-47967928 2026-08-31 02:39:14,090 - DEBUG - VN ctest-ext_vn-47967928 UUID is 5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4 2026-08-31 02:39:14,247 - DEBUG - Services list from nova: [, , , ] 2026-08-31 02:39:14,720 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-1) 2026-08-31 02:39:15,220 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-2) 2026-08-31 02:39:15,359 - INFO - Setting gateway for router bfa72875-d26a-482b-b8b2-7be448402377 to network 5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4 2026-08-31 02:39:15,450 - INFO - Adding interface with subnet_id e3a2a4e0-3d30-4a8c-8f7c-a38f668afc3d, port_id None to router bfa72875-d26a-482b-b8b2-7be448402377 2026-08-31 02:39:15,967 - INFO - Waiting for VM ctest-TestRoutersBasic-39136663-29592434 to be up.. 2026-08-31 02:39:16,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:39:21,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:39:26,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:39:31,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:39:36,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:39:41,569 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:39:41,570 - INFO - VM name : ctest-TestRoutersBasic-39136663-29592434 2026-08-31 02:39:41,664 - DEBUG - VM ctest-TestRoutersBasic-39136663-29592434 ID is 4537e146-0220-4beb-9a37-b78f0cbf7b69 2026-08-31 02:39:41,696 - DEBUG - VM ctest-TestRoutersBasic-39136663-29592434 launched on Node an-jenkins-deploy-platform-ansible-os-6237-1 2026-08-31 02:39:41,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4537e146-0220-4beb-9a37-b78f0cbf7b69 2026-08-31 02:39:42,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4537e146-0220-4beb-9a37-b78f0cbf7b69 2026-08-31 02:39:42,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1086ad9-7995-482f-a981-ec6b3b01c984 2026-08-31 02:39:45,333 - 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 1010ms') 2026-08-31 02:39:45,333 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39136663-29592434 failed! 2026-08-31 02:39:45,370 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39136663:ctest-vn-11267493 is 183.203.71.65 and allocation pool is NOT set 2026-08-31 02:39:47,433 - 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=11.6 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.25 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 = 2.245/6.940/11.636/4.695 ms') 2026-08-31 02:39:47,433 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39136663-29592434 passed 2026-08-31 02:39:47,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:39:47,509 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39136663-29592434, IP 183.203.71.67, Port 22 2026-08-31 02:39:47,578 - 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-31 02:39:47,685 - DEBUG - VM ctest-TestRoutersBasic-39136663-29592434 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:39:52,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:39:52,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39136663-29592434, IP 183.203.71.67, Port 22 2026-08-31 02:39:52,862 - DEBUG - VM ctest-TestRoutersBasic-39136663-29592434 is ready for SSH connections 2026-08-31 02:39:52,862 - INFO - Waiting for VM ctest-TestRoutersBasic-39136663-61730585 to be up.. 2026-08-31 02:39:52,955 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:39:52,955 - INFO - VM name : ctest-TestRoutersBasic-39136663-61730585 2026-08-31 02:39:53,051 - DEBUG - VM ctest-TestRoutersBasic-39136663-61730585 ID is cfb89831-dff9-467d-8883-7277c76a3f3b 2026-08-31 02:39:53,051 - DEBUG - VM ctest-TestRoutersBasic-39136663-61730585 launched on Node an-jenkins-deploy-platform-ansible-os-6237-2 2026-08-31 02:39:53,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfb89831-dff9-467d-8883-7277c76a3f3b 2026-08-31 02:39:53,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/76bfb24e-b405-49e6-9a4e-aaf5691e8f11 2026-08-31 02:39:54,360 - 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=4.21 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.516 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.516/2.363/4.211/1.847 ms') 2026-08-31 02:39:54,360 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39136663-61730585 passed 2026-08-31 02:39:54,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:39:54,437 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39136663-61730585, IP 39.32.27.132, Port 22 2026-08-31 02:39:54,610 - DEBUG - VM ctest-TestRoutersBasic-39136663-61730585 is ready for SSH connections 2026-08-31 02:39:54,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:39:54,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.32.27.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-08-31 02:39:54,611 - DEBUG - ping -s 56 -c 3 -W 1 39.32.27.132 2026-08-31 02:39:57,585 - DEBUG - PING 39.32.27.132 (39.32.27.132): 56 data bytes 64 bytes from 39.32.27.132: seq=0 ttl=62 time=9.916 ms 64 bytes from 39.32.27.132: seq=1 ttl=62 time=1.732 ms 64 bytes from 39.32.27.132: seq=2 ttl=62 time=1.491 ms --- 39.32.27.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.491/4.379/9.916 ms 2026-08-31 02:39:57,586 - INFO - Ping to IP 39.32.27.132 from VM ctest-TestRoutersBasic-39136663-29592434 passed 2026-08-31 02:39:57,586 - INFO - Deleting interface with subnet_id e3a2a4e0-3d30-4a8c-8f7c-a38f668afc3d, port_id None from router bfa72875-d26a-482b-b8b2-7be448402377 2026-08-31 02:39:58,049 - INFO - Deleting VM ctest-TestRoutersBasic-39136663-61730585 2026-08-31 02:39:58,248 - INFO - Deleting VM ctest-TestRoutersBasic-39136663-29592434 2026-08-31 02:39:58,420 - INFO - Deleting VN ctest-ext_vn-47967928 2026-08-31 02:39:58,613 - DEBUG - VN 5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4 still in use: Unable to complete operation on network 5c7d4ad9-1557-4b0c-b8a9-3b16bd6acce4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91f4db7c-7f91-44c7-ba16-fa4e3b00dffc'] 2026-08-31 02:39:58,613 - WARNING - Deleting VN ctest-ext_vn-47967928 failed..Will retry 2026-08-31 02:40:00,893 - DEBUG - Response for deleting network () 2026-08-31 02:40:00,893 - INFO - Deleting VN ctest-vn-11267493 2026-08-31 02:40:01,083 - DEBUG - Response for deleting network () 2026-08-31 02:40:02,386 - DEBUG - No XMPP flaps were noticed during the test 2026-08-31 02:40:02,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:53] 2026-08-31 02:40:02,386 - INFO - -------------------------------------------------------------------------------- 2026-08-31 02:40:03,233 - INFO - Deleted project: ctest-TestRoutersBasic-39136663, ID : 6177ba07-0cf2-405a-bcdd-bac0fef75249