2026-07-17 11:19:08,156 - INFO - Domain Default found not creating
2026-07-17 11:19:08,328 - INFO - Project ctest-TestRoutersBasic-51543818 not found, creating it
2026-07-17 11:19:08,866 - INFO - Created Project:ctest-TestRoutersBasic-51543818, ID : 30542f4d-3336-4bc9-b602-ea8905228cbe
2026-07-17 11:19:10,578 - INFO - ================================================================================
2026-07-17 11:19:10,578 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-07-17 11:19:10,578 - 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-07-17 11:19:10,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-17 11:19:10,841 - INFO - Initial checks done. Running the testcase now
2026-07-17 11:19:10,841 - INFO -
2026-07-17 11:19:11,627 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51543818
2026-07-17 11:19:11,727 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51543818
2026-07-17 11:19:12,062 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51543818', 'default']}
2026-07-17 11:19:12,377 - DEBUG - Response for create_network : {'network': {'id': 'fa7322cb-246a-4ac5-af65-7f5d6cf30032', 'name': 'ctest-vn-00183200', 'tenant_id': '30542f4d33364bc9b602ea8905228cbe', 'project_id': '30542f4d33364bc9b602ea8905228cbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51543818', 'ctest-vn-00183200'], 'port_security_enabled': True, 'description': ''}}
2026-07-17 11:19:12,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '33ebdeab-c5aa-4b16-a949-414224d35ec4', 'name': '', 'tenant_id': '30542f4d33364bc9b602ea8905228cbe', 'network_id': 'fa7322cb-246a-4ac5-af65-7f5d6cf30032', 'ip_version': 4, 'cidr': '220.138.254.192/26', 'allocation_pools': [{'start': '220.138.254.194', 'end': '220.138.254.254'}], 'gateway_ip': '220.138.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.138.254.194', 'tags': [], 'project_id': '30542f4d33364bc9b602ea8905228cbe'}}
2026-07-17 11:19:12,642 - INFO - Created VN ctest-vn-00183200
2026-07-17 11:19:12,694 - DEBUG - VN ctest-vn-00183200 UUID is fa7322cb-246a-4ac5-af65-7f5d6cf30032
2026-07-17 11:19:13,078 - DEBUG - Response for create_network : {'network': {'id': 'b1e580c8-6af1-4c60-8441-87ae5a8bc80c', 'name': 'ctest-ext_vn-86164572', 'tenant_id': '30542f4d33364bc9b602ea8905228cbe', 'project_id': '30542f4d33364bc9b602ea8905228cbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51543818', 'ctest-ext_vn-86164572'], 'port_security_enabled': True, 'description': ''}}
2026-07-17 11:19:13,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '159420c7-2bc5-42e6-9be1-aa01b1b1bd58', 'name': '', 'tenant_id': '30542f4d33364bc9b602ea8905228cbe', 'network_id': 'b1e580c8-6af1-4c60-8441-87ae5a8bc80c', 'ip_version': 4, 'cidr': '153.101.138.0/26', 'allocation_pools': [{'start': '153.101.138.2', 'end': '153.101.138.62'}], 'gateway_ip': '153.101.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.101.138.2', 'tags': [], 'project_id': '30542f4d33364bc9b602ea8905228cbe'}}
2026-07-17 11:19:13,257 - INFO - Created VN ctest-ext_vn-86164572
2026-07-17 11:19:13,311 - DEBUG - VN ctest-ext_vn-86164572 UUID is b1e580c8-6af1-4c60-8441-87ae5a8bc80c
2026-07-17 11:19:13,489 - DEBUG - Services list from nova: [, , ]
2026-07-17 11:19:13,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6098-1)
2026-07-17 11:19:14,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6098-1)
2026-07-17 11:19:14,379 - INFO - Setting gateway for router b891914e-6019-4fc5-9ce0-38a74e549021 to network b1e580c8-6af1-4c60-8441-87ae5a8bc80c
2026-07-17 11:19:14,445 - INFO - Adding interface with subnet_id 33ebdeab-c5aa-4b16-a949-414224d35ec4, port_id None to router b891914e-6019-4fc5-9ce0-38a74e549021
2026-07-17 11:19:14,744 - INFO - Waiting for VM ctest-TestRoutersBasic-51543818-33685798 to be up..
2026-07-17 11:19:14,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:19,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:24,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:30,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:35,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:40,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:45,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:50,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-17 11:19:55,589 - DEBUG - VM is in ACTIVE state now
2026-07-17 11:19:55,589 - INFO - VM name : ctest-TestRoutersBasic-51543818-33685798
2026-07-17 11:19:55,686 - DEBUG - VM ctest-TestRoutersBasic-51543818-33685798 ID is a30b39bb-f03a-4eae-8372-62e97fd2038d
2026-07-17 11:19:55,712 - DEBUG - VM ctest-TestRoutersBasic-51543818-33685798 launched on Node cn-jenkins-deploy-platform-ansible-os-6098-1
2026-07-17 11:19:55,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a30b39bb-f03a-4eae-8372-62e97fd2038d
2026-07-17 11:19:56,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a30b39bb-f03a-4eae-8372-62e97fd2038d
2026-07-17 11:19:56,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1254ea46-8e28-4143-86a7-398dbb35b37d
2026-07-17 11:19:59,461 - 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 1026ms')
2026-07-17 11:19:59,461 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51543818-33685798 failed!
2026-07-17 11:19:59,518 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51543818:ctest-vn-00183200 is 220.138.254.193 and allocation pool is NOT set
2026-07-17 11:20:01,588 - 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.62 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.605 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 = 0.605/2.113/3.622/1.508 ms')
2026-07-17 11:20:01,588 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51543818-33685798 passed
2026-07-17 11:20:01,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-17 11:20:01,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51543818-33685798, IP 220.138.254.195, Port 22
2026-07-17 11:20:01,917 - DEBUG - VM ctest-TestRoutersBasic-51543818-33685798 is ready for SSH connections
2026-07-17 11:20:01,917 - INFO - Waiting for VM ctest-TestRoutersBasic-51543818-21437470 to be up..
2026-07-17 11:20:02,025 - DEBUG - VM is in ACTIVE state now
2026-07-17 11:20:02,025 - INFO - VM name : ctest-TestRoutersBasic-51543818-21437470
2026-07-17 11:20:02,136 - DEBUG - VM ctest-TestRoutersBasic-51543818-21437470 ID is 7a399fe0-23a8-4543-88eb-0eb647eb5ac9
2026-07-17 11:20:02,136 - DEBUG - VM ctest-TestRoutersBasic-51543818-21437470 launched on Node cn-jenkins-deploy-platform-ansible-os-6098-1
2026-07-17 11:20:02,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7a399fe0-23a8-4543-88eb-0eb647eb5ac9
2026-07-17 11:20:02,243 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e3baf45e-93da-47a0-ad0e-b977f8a3fd86
2026-07-17 11:20:03,512 - 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=5.29 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.52 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 = 3.517/4.402/5.287/0.885 ms')
2026-07-17 11:20:03,512 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-51543818-21437470 passed
2026-07-17 11:20:03,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-17 11:20:03,671 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51543818-21437470, IP 153.101.138.4, Port 22
2026-07-17 11:20:03,736 - 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-07-17 11:20:03,826 - DEBUG - VM ctest-TestRoutersBasic-51543818-21437470 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-17 11:20:08,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-17 11:20:08,828 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51543818-21437470, IP 153.101.138.4, Port 22
2026-07-17 11:20:09,001 - DEBUG - VM ctest-TestRoutersBasic-51543818-21437470 is ready for SSH connections
2026-07-17 11:20:09,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-17 11:20:09,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.101.138.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-07-17 11:20:09,002 - DEBUG - ping -s 56 -c 3 -W 1 153.101.138.4
2026-07-17 11:20:12,032 - DEBUG - PING 153.101.138.4 (153.101.138.4): 56 data bytes
64 bytes from 153.101.138.4: seq=0 ttl=62 time=8.208 ms
64 bytes from 153.101.138.4: seq=1 ttl=62 time=1.364 ms
64 bytes from 153.101.138.4: seq=2 ttl=62 time=1.149 ms
--- 153.101.138.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.149/3.573/8.208 ms
2026-07-17 11:20:12,033 - INFO - Ping to IP 153.101.138.4 from VM ctest-TestRoutersBasic-51543818-33685798 passed
2026-07-17 11:20:12,033 - INFO - Deleting interface with subnet_id 33ebdeab-c5aa-4b16-a949-414224d35ec4, port_id None from router b891914e-6019-4fc5-9ce0-38a74e549021
2026-07-17 11:20:12,280 - INFO - Deleting VM ctest-TestRoutersBasic-51543818-21437470
2026-07-17 11:20:12,380 - INFO - Deleting VM ctest-TestRoutersBasic-51543818-33685798
2026-07-17 11:20:12,462 - INFO - Deleting VN ctest-ext_vn-86164572
2026-07-17 11:20:12,541 - DEBUG - VN b1e580c8-6af1-4c60-8441-87ae5a8bc80c still in use: Unable to complete operation on network b1e580c8-6af1-4c60-8441-87ae5a8bc80c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b8e129ea-f039-4de7-b5b6-0e439b56ea17']
2026-07-17 11:20:12,541 - WARNING - Deleting VN ctest-ext_vn-86164572 failed..Will retry
2026-07-17 11:20:14,698 - DEBUG - Response for deleting network ()
2026-07-17 11:20:14,698 - INFO - Deleting VN ctest-vn-00183200
2026-07-17 11:20:14,820 - DEBUG - Response for deleting network ()
2026-07-17 11:20:15,099 - DEBUG - No XMPP flaps were noticed during the test
2026-07-17 11:20:15,099 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-07-17 11:20:15,099 - INFO - --------------------------------------------------------------------------------
2026-07-17 11:20:15,889 - INFO - Deleted project: ctest-TestRoutersBasic-51543818, ID : 30542f4d-3336-4bc9-b602-ea8905228cbe