2025-04-25 10:44:26,310 - INFO - Domain Default found not creating
2025-04-25 10:44:26,432 - INFO - Project ctest-TestRoutersBasic-12015590 not found, creating it
2025-04-25 10:44:26,849 - INFO - Created Project:ctest-TestRoutersBasic-12015590, ID : ad6186c1-f8b8-43ab-98dd-3473244905b0
2025-04-25 10:44:28,172 - INFO - ================================================================================
2025-04-25 10:44:28,172 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-25 10:44:28,172 - 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-04-25 10:44:28,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-25 10:44:28,430 - INFO - Initial checks done. Running the testcase now
2025-04-25 10:44:28,430 - INFO -
2025-04-25 10:44:29,099 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12015590
2025-04-25 10:44:29,196 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12015590
2025-04-25 10:44:29,520 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12015590', 'default']}
2025-04-25 10:44:29,789 - DEBUG - Response for create_network : {'network': {'id': '34a3342e-c0c8-4875-a21e-06cf694d947b', 'name': 'ctest-vn-03516505', 'tenant_id': 'ad6186c1f8b843ab98dd3473244905b0', 'project_id': 'ad6186c1f8b843ab98dd3473244905b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12015590', 'ctest-vn-03516505'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 10:44:29,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '86ebc0b6-22f9-4ee3-9fb8-609c1624488d', 'name': '', 'tenant_id': 'ad6186c1f8b843ab98dd3473244905b0', 'network_id': '34a3342e-c0c8-4875-a21e-06cf694d947b', 'ip_version': 4, 'cidr': '159.135.171.192/26', 'allocation_pools': [{'start': '159.135.171.194', 'end': '159.135.171.254'}], 'gateway_ip': '159.135.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.135.171.194', 'tags': [], 'project_id': 'ad6186c1f8b843ab98dd3473244905b0'}}
2025-04-25 10:44:30,008 - INFO - Created VN ctest-vn-03516505
2025-04-25 10:44:30,060 - DEBUG - VN ctest-vn-03516505 UUID is 34a3342e-c0c8-4875-a21e-06cf694d947b
2025-04-25 10:44:30,388 - DEBUG - Response for create_network : {'network': {'id': '2882f02a-83e5-4b1f-8455-b84eae2b0a48', 'name': 'ctest-ext_vn-67284051', 'tenant_id': 'ad6186c1f8b843ab98dd3473244905b0', 'project_id': 'ad6186c1f8b843ab98dd3473244905b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12015590', 'ctest-ext_vn-67284051'], 'port_security_enabled': True, 'description': ''}}
2025-04-25 10:44:30,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cb834be-2476-4c93-a9d1-0c97b8411061', 'name': '', 'tenant_id': 'ad6186c1f8b843ab98dd3473244905b0', 'network_id': '2882f02a-83e5-4b1f-8455-b84eae2b0a48', 'ip_version': 4, 'cidr': '19.195.147.128/26', 'allocation_pools': [{'start': '19.195.147.130', 'end': '19.195.147.190'}], 'gateway_ip': '19.195.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.195.147.130', 'tags': [], 'project_id': 'ad6186c1f8b843ab98dd3473244905b0'}}
2025-04-25 10:44:30,573 - INFO - Created VN ctest-ext_vn-67284051
2025-04-25 10:44:30,624 - DEBUG - VN ctest-ext_vn-67284051 UUID is 2882f02a-83e5-4b1f-8455-b84eae2b0a48
2025-04-25 10:44:30,814 - DEBUG - Services list from nova: [, , ]
2025-04-25 10:44:31,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3216-1)
2025-04-25 10:44:32,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3216-1)
2025-04-25 10:44:32,926 - INFO - Setting gateway for router e401d133-c5b8-4291-84d7-43c4e07a6380 to network 2882f02a-83e5-4b1f-8455-b84eae2b0a48
2025-04-25 10:44:33,002 - INFO - Adding interface with subnet_id 86ebc0b6-22f9-4ee3-9fb8-609c1624488d, port_id None to router e401d133-c5b8-4291-84d7-43c4e07a6380
2025-04-25 10:44:33,361 - INFO - Waiting for VM ctest-TestRoutersBasic-12015590-23645755 to be up..
2025-04-25 10:44:33,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-25 10:44:38,623 - DEBUG - VM is in ACTIVE state now
2025-04-25 10:44:38,623 - INFO - VM name : ctest-TestRoutersBasic-12015590-23645755
2025-04-25 10:44:38,689 - DEBUG - VM ctest-TestRoutersBasic-12015590-23645755 ID is ac0681eb-ebfb-4c7a-b3bc-62915c1a3407
2025-04-25 10:44:38,705 - DEBUG - VM ctest-TestRoutersBasic-12015590-23645755 launched on Node cn-jenkins-deploy-platform-ansible-os-3216-1
2025-04-25 10:44:38,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ac0681eb-ebfb-4c7a-b3bc-62915c1a3407
2025-04-25 10:44:39,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ac0681eb-ebfb-4c7a-b3bc-62915c1a3407
2025-04-25 10:44:39,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42772ee1-aa40-457c-aaa8-bc86feb33ccc
2025-04-25 10:44:42,361 - 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 1032ms')
2025-04-25 10:44:42,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12015590-23645755 failed!
2025-04-25 10:44:42,416 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12015590:ctest-vn-03516505 is 159.135.171.193 and allocation pool is NOT set
2025-04-25 10:44:44,479 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/1.731/3.092/1.360 ms')
2025-04-25 10:44:44,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12015590-23645755 passed
2025-04-25 10:44:44,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 10:44:44,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12015590-23645755, IP 159.135.171.195, Port 22
2025-04-25 10:44:44,800 - DEBUG - VM ctest-TestRoutersBasic-12015590-23645755 is ready for SSH connections
2025-04-25 10:44:44,800 - INFO - Waiting for VM ctest-TestRoutersBasic-12015590-08033433 to be up..
2025-04-25 10:44:44,870 - DEBUG - VM is in ACTIVE state now
2025-04-25 10:44:44,870 - INFO - VM name : ctest-TestRoutersBasic-12015590-08033433
2025-04-25 10:44:44,937 - DEBUG - VM ctest-TestRoutersBasic-12015590-08033433 ID is 9ffd98e9-d860-40a0-a2ab-273346d499b0
2025-04-25 10:44:44,938 - DEBUG - VM ctest-TestRoutersBasic-12015590-08033433 launched on Node cn-jenkins-deploy-platform-ansible-os-3216-1
2025-04-25 10:44:45,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ffd98e9-d860-40a0-a2ab-273346d499b0
2025-04-25 10:44:45,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4aedfd3d-4d77-4873-9cb6-ec6654c8bb7f
2025-04-25 10:44:46,262 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.304 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 = 0.304/1.549/2.795/1.245 ms')
2025-04-25 10:44:46,262 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12015590-08033433 passed
2025-04-25 10:44:46,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 10:44:46,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12015590-08033433, IP 19.195.147.131, Port 22
2025-04-25 10:44:46,560 - DEBUG - VM ctest-TestRoutersBasic-12015590-08033433 is ready for SSH connections
2025-04-25 10:44:46,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-25 10:44:46,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.195.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-25 10:44:46,560 - DEBUG - ping -s 56 -c 3 -W 1 19.195.147.131
2025-04-25 10:44:50,216 - DEBUG - PING 19.195.147.131 (19.195.147.131): 56 data bytes
64 bytes from 19.195.147.131: seq=0 ttl=62 time=7.133 ms
64 bytes from 19.195.147.131: seq=1 ttl=62 time=0.734 ms
64 bytes from 19.195.147.131: seq=2 ttl=62 time=0.739 ms
--- 19.195.147.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.734/2.868/7.133 ms
2025-04-25 10:44:50,216 - INFO - Ping to IP 19.195.147.131 from VM ctest-TestRoutersBasic-12015590-23645755 passed
2025-04-25 10:44:50,216 - INFO - Deleting interface with subnet_id 86ebc0b6-22f9-4ee3-9fb8-609c1624488d, port_id None from router e401d133-c5b8-4291-84d7-43c4e07a6380
2025-04-25 10:44:50,380 - INFO - Deleting VM ctest-TestRoutersBasic-12015590-08033433
2025-04-25 10:44:50,441 - INFO - Deleting VM ctest-TestRoutersBasic-12015590-23645755
2025-04-25 10:44:50,509 - INFO - Deleting VN ctest-ext_vn-67284051
2025-04-25 10:44:50,571 - DEBUG - VN 2882f02a-83e5-4b1f-8455-b84eae2b0a48 still in use: Unable to complete operation on network 2882f02a-83e5-4b1f-8455-b84eae2b0a48. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2fe2db0d-ab5b-4d3d-ab87-0e7fe3f2de52']
2025-04-25 10:44:50,571 - WARNING - Deleting VN ctest-ext_vn-67284051 failed..Will retry
2025-04-25 10:44:52,659 - DEBUG - Response for deleting network ()
2025-04-25 10:44:52,659 - INFO - Deleting VN ctest-vn-03516505
2025-04-25 10:44:52,747 - DEBUG - Response for deleting network ()
2025-04-25 10:44:53,005 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 10:44:53,005 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-25 10:44:53,005 - INFO - --------------------------------------------------------------------------------
2025-04-25 10:44:53,664 - INFO - Deleted project: ctest-TestRoutersBasic-12015590, ID : ad6186c1-f8b8-43ab-98dd-3473244905b0