2026-06-04 02:48:14,579 - INFO - Domain Default found not creating 2026-06-04 02:48:14,789 - INFO - Project ctest-TestRoutersBasic-40581198 not found, creating it 2026-06-04 02:48:15,310 - INFO - Created Project:ctest-TestRoutersBasic-40581198, ID : 5f500a0e-e6e2-4924-a7d1-b9278353b782 2026-06-04 02:48:17,333 - INFO - ================================================================================ 2026-06-04 02:48:17,333 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-04 02:48:17,333 - 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-04 02:48:18,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-06-04 02:48:18,625 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:48:18,626 - INFO - 2026-06-04 02:48:19,432 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40581198 2026-06-04 02:48:19,492 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40581198 2026-06-04 02:48:19,814 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40581198', 'default']} 2026-06-04 02:48:20,266 - DEBUG - Response for create_network : {'network': {'id': 'ad81589d-01aa-4d2c-8afd-7bd3a86bcfab', 'name': 'ctest-vn-32325529', 'tenant_id': '5f500a0ee6e24924a7d1b9278353b782', 'project_id': '5f500a0ee6e24924a7d1b9278353b782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40581198', 'ctest-vn-32325529'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:48:20,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '33848bee-2012-4480-a7ee-b216a524b319', 'name': '', 'tenant_id': '5f500a0ee6e24924a7d1b9278353b782', 'network_id': 'ad81589d-01aa-4d2c-8afd-7bd3a86bcfab', 'ip_version': 4, 'cidr': '6.237.197.192/26', 'allocation_pools': [{'start': '6.237.197.194', 'end': '6.237.197.254'}], 'gateway_ip': '6.237.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.237.197.194', 'tags': [], 'project_id': '5f500a0ee6e24924a7d1b9278353b782'}} 2026-06-04 02:48:20,602 - INFO - Created VN ctest-vn-32325529 2026-06-04 02:48:20,616 - DEBUG - VN ctest-vn-32325529 UUID is ad81589d-01aa-4d2c-8afd-7bd3a86bcfab 2026-06-04 02:48:21,045 - DEBUG - Response for create_network : {'network': {'id': '0518c83d-61a6-4966-a0a8-9128a84d9ed9', 'name': 'ctest-ext_vn-37132050', 'tenant_id': '5f500a0ee6e24924a7d1b9278353b782', 'project_id': '5f500a0ee6e24924a7d1b9278353b782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40581198', 'ctest-ext_vn-37132050'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:48:21,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3b2ada2-f0fd-4ee2-bba0-877e9e1e0358', 'name': '', 'tenant_id': '5f500a0ee6e24924a7d1b9278353b782', 'network_id': '0518c83d-61a6-4966-a0a8-9128a84d9ed9', 'ip_version': 4, 'cidr': '58.199.237.128/26', 'allocation_pools': [{'start': '58.199.237.130', 'end': '58.199.237.190'}], 'gateway_ip': '58.199.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.199.237.130', 'tags': [], 'project_id': '5f500a0ee6e24924a7d1b9278353b782'}} 2026-06-04 02:48:21,347 - INFO - Created VN ctest-ext_vn-37132050 2026-06-04 02:48:21,364 - DEBUG - VN ctest-ext_vn-37132050 UUID is 0518c83d-61a6-4966-a0a8-9128a84d9ed9 2026-06-04 02:48:21,523 - DEBUG - Services list from nova: [, , , ] 2026-06-04 02:48:22,732 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-2) 2026-06-04 02:48:24,190 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-1) 2026-06-04 02:48:24,302 - INFO - Setting gateway for router 160a6acd-db7a-4ca8-b6ec-22991618f7dd to network 0518c83d-61a6-4966-a0a8-9128a84d9ed9 2026-06-04 02:48:24,434 - INFO - Adding interface with subnet_id 33848bee-2012-4480-a7ee-b216a524b319, port_id None to router 160a6acd-db7a-4ca8-b6ec-22991618f7dd 2026-06-04 02:48:24,945 - INFO - Waiting for VM ctest-TestRoutersBasic-40581198-37916880 to be up.. 2026-06-04 02:48:25,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:48:30,230 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:48:30,230 - INFO - VM name : ctest-TestRoutersBasic-40581198-37916880 2026-06-04 02:48:30,350 - DEBUG - VM ctest-TestRoutersBasic-40581198-37916880 ID is 23a42a30-000d-496a-b57e-d5be999fb2dd 2026-06-04 02:48:30,405 - DEBUG - VM ctest-TestRoutersBasic-40581198-37916880 launched on Node an-jenkins-deploy-platform-ansible-os-5884-2 2026-06-04 02:48:30,524 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/23a42a30-000d-496a-b57e-d5be999fb2dd 2026-06-04 02:48:30,892 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/23a42a30-000d-496a-b57e-d5be999fb2dd 2026-06-04 02:48:30,990 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0afebd63-95ac-486e-979c-db26790ae010 2026-06-04 02:48:34,221 - 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 1030ms') 2026-06-04 02:48:34,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40581198-37916880 failed! 2026-06-04 02:48:34,238 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40581198:ctest-vn-32325529 is 6.237.197.193 and allocation pool is NOT set 2026-06-04 02:48:36,303 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.713 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 = 0.713/2.625/4.537/1.912 ms') 2026-06-04 02:48:36,303 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40581198-37916880 passed 2026-06-04 02:48:36,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:48:36,380 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40581198-37916880, IP 6.237.197.195, Port 22 2026-06-04 02:48:36,541 - DEBUG - VM ctest-TestRoutersBasic-40581198-37916880 is ready for SSH connections 2026-06-04 02:48:36,542 - INFO - Waiting for VM ctest-TestRoutersBasic-40581198-85099590 to be up.. 2026-06-04 02:48:36,648 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:48:36,648 - INFO - VM name : ctest-TestRoutersBasic-40581198-85099590 2026-06-04 02:48:36,762 - DEBUG - VM ctest-TestRoutersBasic-40581198-85099590 ID is 8907a443-53f2-4343-9925-e24514eed4a8 2026-06-04 02:48:36,762 - DEBUG - VM ctest-TestRoutersBasic-40581198-85099590 launched on Node an-jenkins-deploy-platform-ansible-os-5884-1 2026-06-04 02:48:36,878 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8907a443-53f2-4343-9925-e24514eed4a8 2026-06-04 02:48:36,889 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5331f5ae-084a-4a12-a212-0787133c64b3 2026-06-04 02:48:38,068 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.66 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.658/3.098/4.538/1.440 ms') 2026-06-04 02:48:38,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40581198-85099590 passed 2026-06-04 02:48:38,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:48:38,145 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40581198-85099590, IP 58.199.237.131, Port 22 2026-06-04 02:48:38,215 - 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-06-04 02:48:38,322 - DEBUG - VM ctest-TestRoutersBasic-40581198-85099590 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 02:48:43,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:48:43,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40581198-85099590, IP 58.199.237.131, Port 22 2026-06-04 02:48:43,494 - DEBUG - VM ctest-TestRoutersBasic-40581198-85099590 is ready for SSH connections 2026-06-04 02:48:43,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:48:43,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.199.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 02:48:43,495 - DEBUG - ping -s 56 -c 3 -W 1 58.199.237.131 2026-06-04 02:48:47,263 - DEBUG - PING 58.199.237.131 (58.199.237.131): 56 data bytes 64 bytes from 58.199.237.131: seq=0 ttl=62 time=9.736 ms 64 bytes from 58.199.237.131: seq=1 ttl=62 time=1.390 ms 64 bytes from 58.199.237.131: seq=2 ttl=62 time=1.729 ms --- 58.199.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.390/4.285/9.736 ms 2026-06-04 02:48:47,263 - INFO - Ping to IP 58.199.237.131 from VM ctest-TestRoutersBasic-40581198-37916880 passed 2026-06-04 02:48:47,263 - INFO - Deleting interface with subnet_id 33848bee-2012-4480-a7ee-b216a524b319, port_id None from router 160a6acd-db7a-4ca8-b6ec-22991618f7dd 2026-06-04 02:48:47,666 - INFO - Deleting VM ctest-TestRoutersBasic-40581198-85099590 2026-06-04 02:48:47,889 - INFO - Deleting VM ctest-TestRoutersBasic-40581198-37916880 2026-06-04 02:48:48,114 - INFO - Deleting VN ctest-ext_vn-37132050 2026-06-04 02:48:48,267 - DEBUG - VN 0518c83d-61a6-4966-a0a8-9128a84d9ed9 still in use: Unable to complete operation on network 0518c83d-61a6-4966-a0a8-9128a84d9ed9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1001819-9ad2-465f-aecc-51e56e7c248c'] 2026-06-04 02:48:48,267 - WARNING - Deleting VN ctest-ext_vn-37132050 failed..Will retry 2026-06-04 02:48:50,438 - DEBUG - Response for deleting network () 2026-06-04 02:48:50,438 - INFO - Deleting VN ctest-vn-32325529 2026-06-04 02:48:50,633 - DEBUG - Response for deleting network () 2026-06-04 02:48:51,945 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 02:48:51,945 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-04 02:48:51,945 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:48:52,720 - INFO - Deleted project: ctest-TestRoutersBasic-40581198, ID : 5f500a0e-e6e2-4924-a7d1-b9278353b782