2026-04-20 12:09:40,631 - INFO - Domain Default found not creating
2026-04-20 12:09:40,820 - INFO - Project ctest-TestRoutersBasic-94531331 not found, creating it
2026-04-20 12:09:41,317 - INFO - Created Project:ctest-TestRoutersBasic-94531331, ID : f129a868-0565-475e-977e-dcc83f025a73
2026-04-20 12:09:42,923 - INFO - ================================================================================
2026-04-20 12:09:42,923 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-04-20 12:09:42,923 - 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-04-20 12:09:43,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-20 12:09:43,184 - INFO - Initial checks done. Running the testcase now
2026-04-20 12:09:43,185 - INFO -
2026-04-20 12:09:43,931 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94531331
2026-04-20 12:09:44,030 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94531331
2026-04-20 12:09:44,358 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94531331', 'default']}
2026-04-20 12:09:44,670 - DEBUG - Response for create_network : {'network': {'id': 'f87bba5f-3cf4-4f2d-bccf-e7cf867dad57', 'name': 'ctest-vn-74308050', 'tenant_id': 'f129a8680565475e977edcc83f025a73', 'project_id': 'f129a8680565475e977edcc83f025a73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94531331', 'ctest-vn-74308050'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 12:09:44,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a930cce-f2f3-43da-840c-7e762498208c', 'name': '', 'tenant_id': 'f129a8680565475e977edcc83f025a73', 'network_id': 'f87bba5f-3cf4-4f2d-bccf-e7cf867dad57', 'ip_version': 4, 'cidr': '140.86.197.192/26', 'allocation_pools': [{'start': '140.86.197.194', 'end': '140.86.197.254'}], 'gateway_ip': '140.86.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.86.197.194', 'tags': [], 'project_id': 'f129a8680565475e977edcc83f025a73'}}
2026-04-20 12:09:44,853 - INFO - Created VN ctest-vn-74308050
2026-04-20 12:09:44,906 - DEBUG - VN ctest-vn-74308050 UUID is f87bba5f-3cf4-4f2d-bccf-e7cf867dad57
2026-04-20 12:09:45,399 - DEBUG - Response for create_network : {'network': {'id': 'f3f2f534-64a5-4fe7-a482-811072d47ae4', 'name': 'ctest-ext_vn-42582356', 'tenant_id': 'f129a8680565475e977edcc83f025a73', 'project_id': 'f129a8680565475e977edcc83f025a73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94531331', 'ctest-ext_vn-42582356'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 12:09:45,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '5016b8cc-a8f0-48dd-84de-42456a62271d', 'name': '', 'tenant_id': 'f129a8680565475e977edcc83f025a73', 'network_id': 'f3f2f534-64a5-4fe7-a482-811072d47ae4', 'ip_version': 4, 'cidr': '17.94.56.128/26', 'allocation_pools': [{'start': '17.94.56.130', 'end': '17.94.56.190'}], 'gateway_ip': '17.94.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.94.56.130', 'tags': [], 'project_id': 'f129a8680565475e977edcc83f025a73'}}
2026-04-20 12:09:45,742 - INFO - Created VN ctest-ext_vn-42582356
2026-04-20 12:09:45,794 - DEBUG - VN ctest-ext_vn-42582356 UUID is f3f2f534-64a5-4fe7-a482-811072d47ae4
2026-04-20 12:09:45,975 - DEBUG - Services list from nova: [, , ]
2026-04-20 12:09:47,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1)
2026-04-20 12:09:48,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1)
2026-04-20 12:09:48,356 - INFO - Setting gateway for router 2bfd8e40-5dab-4b30-b65a-c6f7719bb70e to network f3f2f534-64a5-4fe7-a482-811072d47ae4
2026-04-20 12:09:48,423 - INFO - Adding interface with subnet_id 8a930cce-f2f3-43da-840c-7e762498208c, port_id None to router 2bfd8e40-5dab-4b30-b65a-c6f7719bb70e
2026-04-20 12:09:48,856 - INFO - Waiting for VM ctest-TestRoutersBasic-94531331-25430067 to be up..
2026-04-20 12:09:49,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 12:09:54,169 - DEBUG - VM is in ACTIVE state now
2026-04-20 12:09:54,169 - INFO - VM name : ctest-TestRoutersBasic-94531331-25430067
2026-04-20 12:09:54,248 - DEBUG - VM ctest-TestRoutersBasic-94531331-25430067 ID is 98192165-8e24-4e8d-9d65-eac87aaae88f
2026-04-20 12:09:54,269 - DEBUG - VM ctest-TestRoutersBasic-94531331-25430067 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1
2026-04-20 12:09:54,351 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98192165-8e24-4e8d-9d65-eac87aaae88f
2026-04-20 12:09:54,651 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98192165-8e24-4e8d-9d65-eac87aaae88f
2026-04-20 12:09:54,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dd4f9dad-7c44-4a08-9dc2-150cc8be0793
2026-04-20 12:09:57,926 - 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 1002ms')
2026-04-20 12:09:57,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94531331-25430067 failed!
2026-04-20 12:09:57,982 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94531331:ctest-vn-74308050 is 140.86.197.193 and allocation pool is NOT set
2026-04-20 12:10:00,043 - 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=3.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.938 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.938/2.273/3.609/1.335 ms')
2026-04-20 12:10:00,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94531331-25430067 passed
2026-04-20 12:10:00,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:10:00,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94531331-25430067, IP 140.86.197.195, Port 22
2026-04-20 12:10:00,381 - DEBUG - VM ctest-TestRoutersBasic-94531331-25430067 is ready for SSH connections
2026-04-20 12:10:00,381 - INFO - Waiting for VM ctest-TestRoutersBasic-94531331-56218189 to be up..
2026-04-20 12:10:00,476 - DEBUG - VM is in ACTIVE state now
2026-04-20 12:10:00,476 - INFO - VM name : ctest-TestRoutersBasic-94531331-56218189
2026-04-20 12:10:00,570 - DEBUG - VM ctest-TestRoutersBasic-94531331-56218189 ID is ff5f4bd6-4cc4-40f3-a08e-c1dbebb2265b
2026-04-20 12:10:00,570 - DEBUG - VM ctest-TestRoutersBasic-94531331-56218189 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1
2026-04-20 12:10:00,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ff5f4bd6-4cc4-40f3-a08e-c1dbebb2265b
2026-04-20 12:10:00,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47587c20-f831-4d44-a176-968b3a5052f4
2026-04-20 12:10:01,916 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.57 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.568/3.224/4.881/1.656 ms')
2026-04-20 12:10:01,916 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94531331-56218189 passed
2026-04-20 12:10:02,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:10:02,070 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94531331-56218189, IP 17.94.56.131, Port 22
2026-04-20 12:10:02,136 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 12:10:02,247 - DEBUG - VM ctest-TestRoutersBasic-94531331-56218189 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 12:10:07,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:10:07,248 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94531331-56218189, IP 17.94.56.131, Port 22
2026-04-20 12:10:07,416 - DEBUG - VM ctest-TestRoutersBasic-94531331-56218189 is ready for SSH connections
2026-04-20 12:10:07,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:10:07,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.94.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-20 12:10:07,417 - DEBUG - ping -s 56 -c 3 -W 1 17.94.56.131
2026-04-20 12:10:11,191 - DEBUG - PING 17.94.56.131 (17.94.56.131): 56 data bytes
64 bytes from 17.94.56.131: seq=0 ttl=62 time=8.521 ms
64 bytes from 17.94.56.131: seq=1 ttl=62 time=1.316 ms
64 bytes from 17.94.56.131: seq=2 ttl=62 time=1.098 ms
--- 17.94.56.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.098/3.645/8.521 ms
2026-04-20 12:10:11,191 - INFO - Ping to IP 17.94.56.131 from VM ctest-TestRoutersBasic-94531331-25430067 passed
2026-04-20 12:10:11,191 - INFO - Deleting interface with subnet_id 8a930cce-f2f3-43da-840c-7e762498208c, port_id None from router 2bfd8e40-5dab-4b30-b65a-c6f7719bb70e
2026-04-20 12:10:11,428 - INFO - Deleting VM ctest-TestRoutersBasic-94531331-56218189
2026-04-20 12:10:11,531 - INFO - Deleting VM ctest-TestRoutersBasic-94531331-25430067
2026-04-20 12:10:11,638 - INFO - Deleting VN ctest-ext_vn-42582356
2026-04-20 12:10:11,745 - DEBUG - VN f3f2f534-64a5-4fe7-a482-811072d47ae4 still in use: Unable to complete operation on network f3f2f534-64a5-4fe7-a482-811072d47ae4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6248c610-0683-4510-9858-d7f43c0daa71']
2026-04-20 12:10:11,746 - WARNING - Deleting VN ctest-ext_vn-42582356 failed..Will retry
2026-04-20 12:10:13,861 - DEBUG - Response for deleting network ()
2026-04-20 12:10:13,861 - INFO - Deleting VN ctest-vn-74308050
2026-04-20 12:10:13,982 - DEBUG - Response for deleting network ()
2026-04-20 12:10:14,256 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 12:10:14,256 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-04-20 12:10:14,256 - INFO - --------------------------------------------------------------------------------
2026-04-20 12:10:14,987 - INFO - Deleted project: ctest-TestRoutersBasic-94531331, ID : f129a868-0565-475e-977e-dcc83f025a73