2025-07-28 02:23:05,489 - INFO - Domain Default found not creating
2025-07-28 02:23:05,651 - INFO - Project ctest-TestRoutersBasic-65355361 not found, creating it
2025-07-28 02:23:06,142 - INFO - Created Project:ctest-TestRoutersBasic-65355361, ID : 58c17137-e7b0-4d5b-9620-6ef25a3e0cac
2025-07-28 02:23:07,666 - INFO - ================================================================================
2025-07-28 02:23:07,666 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-28 02:23:07,666 - 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
2025-07-28 02:23:07,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with
2025-07-28 02:23:07,932 - INFO - Initial checks done. Running the testcase now
2025-07-28 02:23:07,932 - INFO -
2025-07-28 02:23:08,662 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65355361
2025-07-28 02:23:08,765 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65355361
2025-07-28 02:23:09,088 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65355361', 'default']}
2025-07-28 02:23:09,393 - DEBUG - Response for create_network : {'network': {'id': '9fac928e-c230-465c-b829-0f3ba33f67eb', 'name': 'ctest-vn-47012106', 'tenant_id': '58c17137e7b04d5b96206ef25a3e0cac', 'project_id': '58c17137e7b04d5b96206ef25a3e0cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65355361', 'ctest-vn-47012106'], 'port_security_enabled': True, 'description': ''}}
2025-07-28 02:23:09,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '730bf281-b970-463f-b32e-71ea51470c62', 'name': '', 'tenant_id': '58c17137e7b04d5b96206ef25a3e0cac', 'network_id': '9fac928e-c230-465c-b829-0f3ba33f67eb', 'ip_version': 4, 'cidr': '110.98.17.192/26', 'allocation_pools': [{'start': '110.98.17.194', 'end': '110.98.17.254'}], 'gateway_ip': '110.98.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.98.17.194', 'tags': [], 'project_id': '58c17137e7b04d5b96206ef25a3e0cac'}}
2025-07-28 02:23:09,581 - INFO - Created VN ctest-vn-47012106
2025-07-28 02:23:09,636 - DEBUG - VN ctest-vn-47012106 UUID is 9fac928e-c230-465c-b829-0f3ba33f67eb
2025-07-28 02:23:09,962 - DEBUG - Response for create_network : {'network': {'id': '685d7e22-f13f-46a5-bc44-640f580100f9', 'name': 'ctest-ext_vn-03842834', 'tenant_id': '58c17137e7b04d5b96206ef25a3e0cac', 'project_id': '58c17137e7b04d5b96206ef25a3e0cac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65355361', 'ctest-ext_vn-03842834'], 'port_security_enabled': True, 'description': ''}}
2025-07-28 02:23:10,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e1c5936-cf83-45c2-8b4c-3432ca26ebc4', 'name': '', 'tenant_id': '58c17137e7b04d5b96206ef25a3e0cac', 'network_id': '685d7e22-f13f-46a5-bc44-640f580100f9', 'ip_version': 4, 'cidr': '65.220.150.192/26', 'allocation_pools': [{'start': '65.220.150.194', 'end': '65.220.150.254'}], 'gateway_ip': '65.220.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.220.150.194', 'tags': [], 'project_id': '58c17137e7b04d5b96206ef25a3e0cac'}}
2025-07-28 02:23:10,176 - INFO - Created VN ctest-ext_vn-03842834
2025-07-28 02:23:10,228 - DEBUG - VN ctest-ext_vn-03842834 UUID is 685d7e22-f13f-46a5-bc44-640f580100f9
2025-07-28 02:23:10,403 - DEBUG - Services list from nova: [, , ]
2025-07-28 02:23:11,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1)
2025-07-28 02:23:12,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1)
2025-07-28 02:23:12,677 - INFO - Setting gateway for router b5814109-416a-4f4c-9925-9719052e1b55 to network 685d7e22-f13f-46a5-bc44-640f580100f9
2025-07-28 02:23:12,765 - INFO - Adding interface with subnet_id 730bf281-b970-463f-b32e-71ea51470c62, port_id None to router b5814109-416a-4f4c-9925-9719052e1b55
2025-07-28 02:23:13,193 - INFO - Waiting for VM ctest-TestRoutersBasic-65355361-01235904 to be up..
2025-07-28 02:23:13,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-28 02:23:18,458 - DEBUG - VM is in ACTIVE state now
2025-07-28 02:23:18,458 - INFO - VM name : ctest-TestRoutersBasic-65355361-01235904
2025-07-28 02:23:18,534 - DEBUG - VM ctest-TestRoutersBasic-65355361-01235904 ID is 20a7d210-21c5-4f44-bdd2-7ca76169db8d
2025-07-28 02:23:18,552 - DEBUG - VM ctest-TestRoutersBasic-65355361-01235904 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1
2025-07-28 02:23:18,625 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/20a7d210-21c5-4f44-bdd2-7ca76169db8d
2025-07-28 02:23:18,928 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/20a7d210-21c5-4f44-bdd2-7ca76169db8d
2025-07-28 02:23:18,963 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/85159b90-a534-4652-9927-63dd6be7eda1
2025-07-28 02:23:22,240 - 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 1026ms')
2025-07-28 02:23:22,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65355361-01235904 failed!
2025-07-28 02:23:22,296 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65355361:ctest-vn-47012106 is 110.98.17.193 and allocation pool is NOT set
2025-07-28 02:23:24,357 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.685/2.945/1.260 ms')
2025-07-28 02:23:24,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65355361-01235904 passed
2025-07-28 02:23:24,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-28 02:23:24,508 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65355361-01235904, IP 110.98.17.195, Port 22
2025-07-28 02:23:24,681 - DEBUG - VM ctest-TestRoutersBasic-65355361-01235904 is ready for SSH connections
2025-07-28 02:23:24,681 - INFO - Waiting for VM ctest-TestRoutersBasic-65355361-56802421 to be up..
2025-07-28 02:23:24,764 - DEBUG - VM is in ACTIVE state now
2025-07-28 02:23:24,765 - INFO - VM name : ctest-TestRoutersBasic-65355361-56802421
2025-07-28 02:23:24,848 - DEBUG - VM ctest-TestRoutersBasic-65355361-56802421 ID is 0c02f9f9-bf60-435c-88d5-2562c3dc6f0d
2025-07-28 02:23:24,848 - DEBUG - VM ctest-TestRoutersBasic-65355361-56802421 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1
2025-07-28 02:23:24,931 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0c02f9f9-bf60-435c-88d5-2562c3dc6f0d
2025-07-28 02:23:24,942 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fe00cbb6-a6e1-462e-9569-d5c73adf504f
2025-07-28 02:23:26,197 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.371/2.780/5.189/2.409 ms')
2025-07-28 02:23:26,197 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65355361-56802421 passed
2025-07-28 02:23:26,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-28 02:23:26,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65355361-56802421, IP 65.220.150.195, Port 22
2025-07-28 02:23:26,515 - DEBUG - VM ctest-TestRoutersBasic-65355361-56802421 is ready for SSH connections
2025-07-28 02:23:26,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-28 02:23:26,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.220.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-07-28 02:23:26,516 - DEBUG - ping -s 56 -c 3 -W 1 65.220.150.195
2025-07-28 02:23:30,196 - DEBUG - PING 65.220.150.195 (65.220.150.195): 56 data bytes
64 bytes from 65.220.150.195: seq=0 ttl=62 time=6.179 ms
64 bytes from 65.220.150.195: seq=1 ttl=62 time=1.222 ms
64 bytes from 65.220.150.195: seq=2 ttl=62 time=1.042 ms
--- 65.220.150.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.042/2.814/6.179 ms
2025-07-28 02:23:30,196 - INFO - Ping to IP 65.220.150.195 from VM ctest-TestRoutersBasic-65355361-01235904 passed
2025-07-28 02:23:30,196 - INFO - Deleting interface with subnet_id 730bf281-b970-463f-b32e-71ea51470c62, port_id None from router b5814109-416a-4f4c-9925-9719052e1b55
2025-07-28 02:23:30,439 - INFO - Deleting VM ctest-TestRoutersBasic-65355361-56802421
2025-07-28 02:23:30,512 - INFO - Deleting VM ctest-TestRoutersBasic-65355361-01235904
2025-07-28 02:23:30,593 - INFO - Deleting VN ctest-ext_vn-03842834
2025-07-28 02:23:30,674 - DEBUG - VN 685d7e22-f13f-46a5-bc44-640f580100f9 still in use: Unable to complete operation on network 685d7e22-f13f-46a5-bc44-640f580100f9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2a9e155e-7940-4613-93f4-6e4cf0228c5f']
2025-07-28 02:23:30,674 - WARNING - Deleting VN ctest-ext_vn-03842834 failed..Will retry
2025-07-28 02:23:32,802 - DEBUG - Response for deleting network ()
2025-07-28 02:23:32,802 - INFO - Deleting VN ctest-vn-47012106
2025-07-28 02:23:32,922 - DEBUG - Response for deleting network ()
2025-07-28 02:23:33,186 - DEBUG - No XMPP flaps were noticed during the test
2025-07-28 02:23:33,186 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-28 02:23:33,186 - INFO - --------------------------------------------------------------------------------
2025-07-28 02:23:33,902 - INFO - Deleted project: ctest-TestRoutersBasic-65355361, ID : 58c17137-e7b0-4d5b-9620-6ef25a3e0cac