2026-11-05 21:05:17,355 - INFO - Domain Default found not creating
2026-11-05 21:05:17,528 - INFO - Project ctest-TestRoutersBasic-82742540 not found, creating it
2026-11-05 21:05:18,005 - INFO - Created Project:ctest-TestRoutersBasic-82742540, ID : 8b97b5f2-d2a6-40c7-8753-6108c37ac0f5
2026-11-05 21:05:19,716 - INFO - ================================================================================
2026-11-05 21:05:19,716 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-11-05 21:05:19,717 - 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-11-05 21:05:19,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-11-05 21:05:19,973 - INFO - Initial checks done. Running the testcase now
2026-11-05 21:05:19,973 - INFO -
2026-11-05 21:05:20,810 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82742540
2026-11-05 21:05:20,903 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82742540
2026-11-05 21:05:21,227 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82742540', 'default']}
2026-11-05 21:05:21,504 - DEBUG - Response for create_network : {'network': {'id': '47ab915a-01ab-4ab2-a661-f652d7082af9', 'name': 'ctest-vn-10133051', 'tenant_id': '8b97b5f2d2a640c787536108c37ac0f5', 'project_id': '8b97b5f2d2a640c787536108c37ac0f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82742540', 'ctest-vn-10133051'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:05:21,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '356affe1-724c-4e0b-8906-b2d3bf7899d9', 'name': '', 'tenant_id': '8b97b5f2d2a640c787536108c37ac0f5', 'network_id': '47ab915a-01ab-4ab2-a661-f652d7082af9', 'ip_version': 4, 'cidr': '2.81.229.128/26', 'allocation_pools': [{'start': '2.81.229.130', 'end': '2.81.229.190'}], 'gateway_ip': '2.81.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.81.229.130', 'tags': [], 'project_id': '8b97b5f2d2a640c787536108c37ac0f5'}}
2026-11-05 21:05:21,740 - INFO - Created VN ctest-vn-10133051
2026-11-05 21:05:21,791 - DEBUG - VN ctest-vn-10133051 UUID is 47ab915a-01ab-4ab2-a661-f652d7082af9
2026-11-05 21:05:22,138 - DEBUG - Response for create_network : {'network': {'id': '8fd5092b-0a0e-4605-ad68-04b581c4f39e', 'name': 'ctest-ext_vn-43733442', 'tenant_id': '8b97b5f2d2a640c787536108c37ac0f5', 'project_id': '8b97b5f2d2a640c787536108c37ac0f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82742540', 'ctest-ext_vn-43733442'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 21:05:22,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '29be3f6c-10cc-4950-a9b2-c0d75874c259', 'name': '', 'tenant_id': '8b97b5f2d2a640c787536108c37ac0f5', 'network_id': '8fd5092b-0a0e-4605-ad68-04b581c4f39e', 'ip_version': 4, 'cidr': '71.143.38.0/26', 'allocation_pools': [{'start': '71.143.38.2', 'end': '71.143.38.62'}], 'gateway_ip': '71.143.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.143.38.2', 'tags': [], 'project_id': '8b97b5f2d2a640c787536108c37ac0f5'}}
2026-11-05 21:05:22,343 - INFO - Created VN ctest-ext_vn-43733442
2026-11-05 21:05:22,395 - DEBUG - VN ctest-ext_vn-43733442 UUID is 8fd5092b-0a0e-4605-ad68-04b581c4f39e
2026-11-05 21:05:22,594 - DEBUG - Services list from nova: [, , ]
2026-11-05 21:05:22,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6485-1)
2026-11-05 21:05:23,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6485-1)
2026-11-05 21:05:23,331 - INFO - Setting gateway for router a4588953-8bac-49fb-9bd1-0f0f175c33f5 to network 8fd5092b-0a0e-4605-ad68-04b581c4f39e
2026-11-05 21:05:23,392 - INFO - Adding interface with subnet_id 356affe1-724c-4e0b-8906-b2d3bf7899d9, port_id None to router a4588953-8bac-49fb-9bd1-0f0f175c33f5
2026-11-05 21:05:23,663 - INFO - Waiting for VM ctest-TestRoutersBasic-82742540-92686097 to be up..
2026-11-05 21:05:23,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:28,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:33,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:38,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:44,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:49,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:54,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:05:59,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 21:06:04,416 - DEBUG - VM is in ACTIVE state now
2026-11-05 21:06:04,416 - INFO - VM name : ctest-TestRoutersBasic-82742540-92686097
2026-11-05 21:06:04,512 - DEBUG - VM ctest-TestRoutersBasic-82742540-92686097 ID is 834acec3-c98f-4f25-93c5-dae87164687f
2026-11-05 21:06:04,539 - DEBUG - VM ctest-TestRoutersBasic-82742540-92686097 launched on Node cn-jenkins-deploy-platform-ansible-os-6485-1
2026-11-05 21:06:04,622 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/834acec3-c98f-4f25-93c5-dae87164687f
2026-11-05 21:06:04,983 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/834acec3-c98f-4f25-93c5-dae87164687f
2026-11-05 21:06:05,011 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0a03b448-27b4-4a43-ad6c-71d7dac82066
2026-11-05 21:06:06,256 - 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=3.71 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.505 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.505/2.105/3.705/1.600 ms')
2026-11-05 21:06:06,257 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-82742540-92686097 passed
2026-11-05 21:06:06,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 21:06:06,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82742540-92686097, IP 2.81.229.131, Port 22
2026-11-05 21:06:06,570 - DEBUG - VM ctest-TestRoutersBasic-82742540-92686097 is ready for SSH connections
2026-11-05 21:06:06,571 - INFO - Waiting for VM ctest-TestRoutersBasic-82742540-89705456 to be up..
2026-11-05 21:06:06,639 - DEBUG - VM is in ACTIVE state now
2026-11-05 21:06:06,639 - INFO - VM name : ctest-TestRoutersBasic-82742540-89705456
2026-11-05 21:06:06,709 - DEBUG - VM ctest-TestRoutersBasic-82742540-89705456 ID is 48e6cffa-4ac7-4a28-ba52-6cc46ed4b4a9
2026-11-05 21:06:06,709 - DEBUG - VM ctest-TestRoutersBasic-82742540-89705456 launched on Node cn-jenkins-deploy-platform-ansible-os-6485-1
2026-11-05 21:06:06,778 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/48e6cffa-4ac7-4a28-ba52-6cc46ed4b4a9
2026-11-05 21:06:06,785 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/16ba015d-4eca-4353-9166-833a2245c820
2026-11-05 21:06:10,015 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms')
2026-11-05 21:06:10,015 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-82742540-89705456 failed!
2026-11-05 21:06:10,071 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82742540:ctest-ext_vn-43733442 is 71.143.38.1 and allocation pool is NOT set
2026-11-05 21:06:12,127 - 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=3.56 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.381 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.381/1.970/3.559/1.589 ms')
2026-11-05 21:06:12,127 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-82742540-89705456 passed
2026-11-05 21:06:12,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 21:06:12,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82742540-89705456, IP 71.143.38.4, Port 22
2026-11-05 21:06:12,345 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-11-05 21:06:12,417 - DEBUG - VM ctest-TestRoutersBasic-82742540-89705456 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-05 21:06:17,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 21:06:17,418 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82742540-89705456, IP 71.143.38.4, Port 22
2026-11-05 21:06:17,574 - DEBUG - VM ctest-TestRoutersBasic-82742540-89705456 is ready for SSH connections
2026-11-05 21:06:17,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 21:06:17,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.143.38.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123
2026-11-05 21:06:17,575 - DEBUG - ping -s 56 -c 3 -W 1 71.143.38.4
2026-11-05 21:06:20,526 - DEBUG - PING 71.143.38.4 (71.143.38.4): 56 data bytes
64 bytes from 71.143.38.4: seq=0 ttl=62 time=7.845 ms
64 bytes from 71.143.38.4: seq=1 ttl=62 time=0.911 ms
64 bytes from 71.143.38.4: seq=2 ttl=62 time=0.925 ms
--- 71.143.38.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.911/3.227/7.845 ms
2026-11-05 21:06:20,527 - INFO - Ping to IP 71.143.38.4 from VM ctest-TestRoutersBasic-82742540-92686097 passed
2026-11-05 21:06:20,527 - INFO - Deleting interface with subnet_id 356affe1-724c-4e0b-8906-b2d3bf7899d9, port_id None from router a4588953-8bac-49fb-9bd1-0f0f175c33f5
2026-11-05 21:06:20,706 - INFO - Deleting VM ctest-TestRoutersBasic-82742540-89705456
2026-11-05 21:06:20,779 - INFO - Deleting VM ctest-TestRoutersBasic-82742540-92686097
2026-11-05 21:06:20,847 - INFO - Deleting VN ctest-ext_vn-43733442
2026-11-05 21:06:20,910 - DEBUG - VN 8fd5092b-0a0e-4605-ad68-04b581c4f39e still in use: Unable to complete operation on network 8fd5092b-0a0e-4605-ad68-04b581c4f39e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0a7e0c41-151d-4474-81dc-ee471f839e02']
2026-11-05 21:06:20,911 - WARNING - Deleting VN ctest-ext_vn-43733442 failed..Will retry
2026-11-05 21:06:22,942 - DEBUG - VN 8fd5092b-0a0e-4605-ad68-04b581c4f39e still in use: Unable to complete operation on network 8fd5092b-0a0e-4605-ad68-04b581c4f39e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3414fb65-0a7d-4687-9de1-08e40e9f2515']
2026-11-05 21:06:22,942 - WARNING - Deleting VN ctest-ext_vn-43733442 failed..Will retry
2026-11-05 21:06:25,050 - DEBUG - Response for deleting network ()
2026-11-05 21:06:25,050 - INFO - Deleting VN ctest-vn-10133051
2026-11-05 21:06:25,152 - DEBUG - Response for deleting network ()
2026-11-05 21:06:25,418 - DEBUG - No XMPP flaps were noticed during the test
2026-11-05 21:06:25,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-11-05 21:06:25,418 - INFO - --------------------------------------------------------------------------------
2026-11-05 21:06:26,189 - INFO - Deleted project: ctest-TestRoutersBasic-82742540, ID : 8b97b5f2-d2a6-40c7-8753-6108c37ac0f5