2025-09-05 12:44:23,441 - INFO - Domain Default found not creating
2025-09-05 12:44:23,602 - INFO - Project ctest-TestRoutersBasic-81225874 not found, creating it
2025-09-05 12:44:24,048 - INFO - Created Project:ctest-TestRoutersBasic-81225874, ID : 99943510-420c-4e40-add9-40a2894bb43b
2025-09-05 12:44:25,605 - INFO - ================================================================================
2025-09-05 12:44:25,605 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-05 12:44:25,605 - 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-09-05 12:44:25,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-05 12:44:25,862 - INFO - Initial checks done. Running the testcase now
2025-09-05 12:44:25,862 - INFO -
2025-09-05 12:44:26,666 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81225874
2025-09-05 12:44:26,761 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81225874
2025-09-05 12:44:27,077 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81225874', 'default']}
2025-09-05 12:44:27,377 - DEBUG - Response for create_network : {'network': {'id': '4b5e9cba-9e44-43ed-ba99-67d589abf28f', 'name': 'ctest-vn-27576951', 'tenant_id': '99943510420c4e40add940a2894bb43b', 'project_id': '99943510420c4e40add940a2894bb43b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81225874', 'ctest-vn-27576951'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 12:44:27,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '3acbbbc8-2f4b-408d-8b7c-329fad50825e', 'name': '', 'tenant_id': '99943510420c4e40add940a2894bb43b', 'network_id': '4b5e9cba-9e44-43ed-ba99-67d589abf28f', 'ip_version': 4, 'cidr': '216.17.191.128/26', 'allocation_pools': [{'start': '216.17.191.130', 'end': '216.17.191.190'}], 'gateway_ip': '216.17.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.17.191.130', 'tags': [], 'project_id': '99943510420c4e40add940a2894bb43b'}}
2025-09-05 12:44:27,594 - INFO - Created VN ctest-vn-27576951
2025-09-05 12:44:27,649 - DEBUG - VN ctest-vn-27576951 UUID is 4b5e9cba-9e44-43ed-ba99-67d589abf28f
2025-09-05 12:44:27,968 - DEBUG - Response for create_network : {'network': {'id': '7ef9edf8-43d9-4f8e-8f47-d3af05e420d4', 'name': 'ctest-ext_vn-77504754', 'tenant_id': '99943510420c4e40add940a2894bb43b', 'project_id': '99943510420c4e40add940a2894bb43b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81225874', 'ctest-ext_vn-77504754'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 12:44:28,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d6c8759-8d57-42d7-8572-41834de8947e', 'name': '', 'tenant_id': '99943510420c4e40add940a2894bb43b', 'network_id': '7ef9edf8-43d9-4f8e-8f47-d3af05e420d4', 'ip_version': 4, 'cidr': '215.250.212.128/26', 'allocation_pools': [{'start': '215.250.212.130', 'end': '215.250.212.190'}], 'gateway_ip': '215.250.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.250.212.130', 'tags': [], 'project_id': '99943510420c4e40add940a2894bb43b'}}
2025-09-05 12:44:28,181 - INFO - Created VN ctest-ext_vn-77504754
2025-09-05 12:44:28,233 - DEBUG - VN ctest-ext_vn-77504754 UUID is 7ef9edf8-43d9-4f8e-8f47-d3af05e420d4
2025-09-05 12:44:28,436 - DEBUG - Services list from nova: [, , ]
2025-09-05 12:44:29,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1)
2025-09-05 12:44:30,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1)
2025-09-05 12:44:30,859 - INFO - Setting gateway for router c71a5c04-09f6-41c6-b03d-281f0687f49d to network 7ef9edf8-43d9-4f8e-8f47-d3af05e420d4
2025-09-05 12:44:30,933 - INFO - Adding interface with subnet_id 3acbbbc8-2f4b-408d-8b7c-329fad50825e, port_id None to router c71a5c04-09f6-41c6-b03d-281f0687f49d
2025-09-05 12:44:31,408 - INFO - Waiting for VM ctest-TestRoutersBasic-81225874-59680934 to be up..
2025-09-05 12:44:31,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-05 12:44:36,666 - DEBUG - VM is in ACTIVE state now
2025-09-05 12:44:36,666 - INFO - VM name : ctest-TestRoutersBasic-81225874-59680934
2025-09-05 12:44:36,752 - DEBUG - VM ctest-TestRoutersBasic-81225874-59680934 ID is 10fb6d4c-d110-478a-b3c8-6e446a5377f3
2025-09-05 12:44:36,771 - DEBUG - VM ctest-TestRoutersBasic-81225874-59680934 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1
2025-09-05 12:44:36,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/10fb6d4c-d110-478a-b3c8-6e446a5377f3
2025-09-05 12:44:37,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/10fb6d4c-d110-478a-b3c8-6e446a5377f3
2025-09-05 12:44:37,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3e4cf4fe-4bad-4686-abf9-64ccb7436b05
2025-09-05 12:44:40,460 - 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 1014ms')
2025-09-05 12:44:40,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81225874-59680934 failed!
2025-09-05 12:44:40,525 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81225874:ctest-vn-27576951 is 216.17.191.129 and allocation pool is NOT set
2025-09-05 12:44:42,597 - 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=4.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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 = 2.626/3.689/4.752/1.063 ms')
2025-09-05 12:44:42,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81225874-59680934 passed
2025-09-05 12:44:42,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 12:44:42,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81225874-59680934, IP 216.17.191.131, Port 22
2025-09-05 12:44:42,900 - DEBUG - VM ctest-TestRoutersBasic-81225874-59680934 is ready for SSH connections
2025-09-05 12:44:42,901 - INFO - Waiting for VM ctest-TestRoutersBasic-81225874-54601923 to be up..
2025-09-05 12:44:42,974 - DEBUG - VM is in ACTIVE state now
2025-09-05 12:44:42,974 - INFO - VM name : ctest-TestRoutersBasic-81225874-54601923
2025-09-05 12:44:43,048 - DEBUG - VM ctest-TestRoutersBasic-81225874-54601923 ID is 1274f3e6-7b80-4ae2-aef3-e4e5ba9ccc98
2025-09-05 12:44:43,048 - DEBUG - VM ctest-TestRoutersBasic-81225874-54601923 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1
2025-09-05 12:44:43,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1274f3e6-7b80-4ae2-aef3-e4e5ba9ccc98
2025-09-05 12:44:43,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a305aa73-d34d-492b-b7cc-4501af857f13
2025-09-05 12:44:44,369 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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 = 1.212/2.773/4.334/1.561 ms')
2025-09-05 12:44:44,369 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81225874-54601923 passed
2025-09-05 12:44:44,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 12:44:44,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81225874-54601923, IP 215.250.212.131, Port 22
2025-09-05 12:44:44,687 - DEBUG - VM ctest-TestRoutersBasic-81225874-54601923 is ready for SSH connections
2025-09-05 12:44:44,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 12:44:44,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.250.212.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-05 12:44:44,687 - DEBUG - ping -s 56 -c 3 -W 1 215.250.212.131
2025-09-05 12:44:48,410 - DEBUG - PING 215.250.212.131 (215.250.212.131): 56 data bytes
64 bytes from 215.250.212.131: seq=0 ttl=62 time=6.378 ms
64 bytes from 215.250.212.131: seq=1 ttl=62 time=0.848 ms
64 bytes from 215.250.212.131: seq=2 ttl=62 time=0.906 ms
--- 215.250.212.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.848/2.710/6.378 ms
2025-09-05 12:44:48,411 - INFO - Ping to IP 215.250.212.131 from VM ctest-TestRoutersBasic-81225874-59680934 passed
2025-09-05 12:44:48,411 - INFO - Deleting interface with subnet_id 3acbbbc8-2f4b-408d-8b7c-329fad50825e, port_id None from router c71a5c04-09f6-41c6-b03d-281f0687f49d
2025-09-05 12:44:48,597 - INFO - Deleting VM ctest-TestRoutersBasic-81225874-54601923
2025-09-05 12:44:48,663 - INFO - Deleting VM ctest-TestRoutersBasic-81225874-59680934
2025-09-05 12:44:48,741 - INFO - Deleting VN ctest-ext_vn-77504754
2025-09-05 12:44:48,804 - DEBUG - VN 7ef9edf8-43d9-4f8e-8f47-d3af05e420d4 still in use: Unable to complete operation on network 7ef9edf8-43d9-4f8e-8f47-d3af05e420d4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-86c79f88-249a-46b7-910d-74716c80dc67']
2025-09-05 12:44:48,804 - WARNING - Deleting VN ctest-ext_vn-77504754 failed..Will retry
2025-09-05 12:44:50,902 - DEBUG - Response for deleting network ()
2025-09-05 12:44:50,902 - INFO - Deleting VN ctest-vn-27576951
2025-09-05 12:44:50,997 - DEBUG - Response for deleting network ()
2025-09-05 12:44:51,251 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 12:44:51,251 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-05 12:44:51,251 - INFO - --------------------------------------------------------------------------------
2025-09-05 12:44:51,966 - INFO - Deleted project: ctest-TestRoutersBasic-81225874, ID : 99943510-420c-4e40-add9-40a2894bb43b