2025-07-04 15:44:21,105 - INFO - Domain Default found not creating
2025-07-04 15:44:21,251 - INFO - Project ctest-TestRoutersBasic-08664042 not found, creating it
2025-07-04 15:44:21,698 - INFO - Created Project:ctest-TestRoutersBasic-08664042, ID : 35d7dddc-74dc-401f-8353-06ba1679d712
2025-07-04 15:44:23,127 - INFO - ================================================================================
2025-07-04 15:44:23,127 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-04 15:44:23,127 - 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-04 15:44:23,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with
2025-07-04 15:44:23,383 - INFO - Initial checks done. Running the testcase now
2025-07-04 15:44:23,383 - INFO -
2025-07-04 15:44:24,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08664042
2025-07-04 15:44:24,177 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08664042
2025-07-04 15:44:24,501 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08664042', 'default']}
2025-07-04 15:44:24,809 - DEBUG - Response for create_network : {'network': {'id': 'e5715c47-8b70-49a3-bcda-312df7c7f069', 'name': 'ctest-vn-41080102', 'tenant_id': '35d7dddc74dc401f835306ba1679d712', 'project_id': '35d7dddc74dc401f835306ba1679d712', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08664042', 'ctest-vn-41080102'], 'port_security_enabled': True, 'description': ''}}
2025-07-04 15:44:24,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ea66d3b-2164-4216-a341-7e0ea5023e89', 'name': '', 'tenant_id': '35d7dddc74dc401f835306ba1679d712', 'network_id': 'e5715c47-8b70-49a3-bcda-312df7c7f069', 'ip_version': 4, 'cidr': '16.115.42.192/26', 'allocation_pools': [{'start': '16.115.42.194', 'end': '16.115.42.254'}], 'gateway_ip': '16.115.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.115.42.194', 'tags': [], 'project_id': '35d7dddc74dc401f835306ba1679d712'}}
2025-07-04 15:44:25,014 - INFO - Created VN ctest-vn-41080102
2025-07-04 15:44:25,069 - DEBUG - VN ctest-vn-41080102 UUID is e5715c47-8b70-49a3-bcda-312df7c7f069
2025-07-04 15:44:25,382 - DEBUG - Response for create_network : {'network': {'id': '1c3ab60d-98c9-4559-8d9b-dc4e28b418b7', 'name': 'ctest-ext_vn-23014120', 'tenant_id': '35d7dddc74dc401f835306ba1679d712', 'project_id': '35d7dddc74dc401f835306ba1679d712', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08664042', 'ctest-ext_vn-23014120'], 'port_security_enabled': True, 'description': ''}}
2025-07-04 15:44:25,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '615df2f7-8aae-463d-9471-54789fb17d54', 'name': '', 'tenant_id': '35d7dddc74dc401f835306ba1679d712', 'network_id': '1c3ab60d-98c9-4559-8d9b-dc4e28b418b7', 'ip_version': 4, 'cidr': '210.54.45.128/26', 'allocation_pools': [{'start': '210.54.45.130', 'end': '210.54.45.190'}], 'gateway_ip': '210.54.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.54.45.130', 'tags': [], 'project_id': '35d7dddc74dc401f835306ba1679d712'}}
2025-07-04 15:44:25,564 - INFO - Created VN ctest-ext_vn-23014120
2025-07-04 15:44:25,617 - DEBUG - VN ctest-ext_vn-23014120 UUID is 1c3ab60d-98c9-4559-8d9b-dc4e28b418b7
2025-07-04 15:44:25,811 - DEBUG - Services list from nova: [, , ]
2025-07-04 15:44:26,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3599-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3599-1)
2025-07-04 15:44:28,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3599-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3599-1)
2025-07-04 15:44:28,365 - INFO - Setting gateway for router 4f3a1b96-3494-4030-a0fc-b1bea603dfe8 to network 1c3ab60d-98c9-4559-8d9b-dc4e28b418b7
2025-07-04 15:44:28,437 - INFO - Adding interface with subnet_id 4ea66d3b-2164-4216-a341-7e0ea5023e89, port_id None to router 4f3a1b96-3494-4030-a0fc-b1bea603dfe8
2025-07-04 15:44:28,915 - INFO - Waiting for VM ctest-TestRoutersBasic-08664042-54402287 to be up..
2025-07-04 15:44:29,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-04 15:44:34,135 - DEBUG - VM is in ACTIVE state now
2025-07-04 15:44:34,136 - INFO - VM name : ctest-TestRoutersBasic-08664042-54402287
2025-07-04 15:44:34,215 - DEBUG - VM ctest-TestRoutersBasic-08664042-54402287 ID is 4cf213c8-b2f8-471f-bfff-ef567e5c5f44
2025-07-04 15:44:34,233 - DEBUG - VM ctest-TestRoutersBasic-08664042-54402287 launched on Node cn-jenkins-deploy-platform-ansible-os-3599-1
2025-07-04 15:44:34,307 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4cf213c8-b2f8-471f-bfff-ef567e5c5f44
2025-07-04 15:44:34,603 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4cf213c8-b2f8-471f-bfff-ef567e5c5f44
2025-07-04 15:44:34,640 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0a6376cb-78d2-44b7-876f-4fc85f02669a
2025-07-04 15:44:37,887 - 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 1015ms')
2025-07-04 15:44:37,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08664042-54402287 failed!
2025-07-04 15:44:37,950 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08664042:ctest-vn-41080102 is 16.115.42.193 and allocation pool is NOT set
2025-07-04 15:44:40,017 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/2.245/3.956/1.711 ms')
2025-07-04 15:44:40,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08664042-54402287 passed
2025-07-04 15:44:40,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-04 15:44:40,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08664042-54402287, IP 16.115.42.195, Port 22
2025-07-04 15:44:40,351 - DEBUG - VM ctest-TestRoutersBasic-08664042-54402287 is ready for SSH connections
2025-07-04 15:44:40,352 - INFO - Waiting for VM ctest-TestRoutersBasic-08664042-69249216 to be up..
2025-07-04 15:44:40,436 - DEBUG - VM is in ACTIVE state now
2025-07-04 15:44:40,436 - INFO - VM name : ctest-TestRoutersBasic-08664042-69249216
2025-07-04 15:44:40,524 - DEBUG - VM ctest-TestRoutersBasic-08664042-69249216 ID is a7e60a7b-8672-48f3-88ef-2621eedc8325
2025-07-04 15:44:40,525 - DEBUG - VM ctest-TestRoutersBasic-08664042-69249216 launched on Node cn-jenkins-deploy-platform-ansible-os-3599-1
2025-07-04 15:44:40,610 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a7e60a7b-8672-48f3-88ef-2621eedc8325
2025-07-04 15:44:40,619 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3906cf0a-b18e-4885-adca-fc249a57f644
2025-07-04 15:44:41,879 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.926 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.926/2.594/4.263/1.668 ms')
2025-07-04 15:44:41,879 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08664042-69249216 passed
2025-07-04 15:44:42,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-04 15:44:42,037 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08664042-69249216, IP 210.54.45.131, Port 22
2025-07-04 15:44:42,193 - DEBUG - VM ctest-TestRoutersBasic-08664042-69249216 is ready for SSH connections
2025-07-04 15:44:42,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-04 15:44:42,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.54.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-04 15:44:42,193 - DEBUG - ping -s 56 -c 3 -W 1 210.54.45.131
2025-07-04 15:44:46,203 - DEBUG - PING 210.54.45.131 (210.54.45.131): 56 data bytes
64 bytes from 210.54.45.131: seq=0 ttl=62 time=5.394 ms
64 bytes from 210.54.45.131: seq=1 ttl=62 time=1.710 ms
64 bytes from 210.54.45.131: seq=2 ttl=62 time=0.786 ms
--- 210.54.45.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.786/2.630/5.394 ms
2025-07-04 15:44:46,203 - INFO - Ping to IP 210.54.45.131 from VM ctest-TestRoutersBasic-08664042-54402287 passed
2025-07-04 15:44:46,203 - INFO - Deleting interface with subnet_id 4ea66d3b-2164-4216-a341-7e0ea5023e89, port_id None from router 4f3a1b96-3494-4030-a0fc-b1bea603dfe8
2025-07-04 15:44:46,421 - INFO - Deleting VM ctest-TestRoutersBasic-08664042-69249216
2025-07-04 15:44:46,488 - INFO - Deleting VM ctest-TestRoutersBasic-08664042-54402287
2025-07-04 15:44:46,557 - INFO - Deleting VN ctest-ext_vn-23014120
2025-07-04 15:44:46,637 - DEBUG - VN 1c3ab60d-98c9-4559-8d9b-dc4e28b418b7 still in use: Unable to complete operation on network 1c3ab60d-98c9-4559-8d9b-dc4e28b418b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ace7c5fd-0fcf-4d1f-816b-fc9c4c41ed96']
2025-07-04 15:44:46,638 - WARNING - Deleting VN ctest-ext_vn-23014120 failed..Will retry
2025-07-04 15:44:48,760 - DEBUG - Response for deleting network ()
2025-07-04 15:44:48,760 - INFO - Deleting VN ctest-vn-41080102
2025-07-04 15:44:48,874 - DEBUG - Response for deleting network ()
2025-07-04 15:44:49,135 - DEBUG - No XMPP flaps were noticed during the test
2025-07-04 15:44:49,135 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-04 15:44:49,135 - INFO - --------------------------------------------------------------------------------
2025-07-04 15:44:49,853 - INFO - Deleted project: ctest-TestRoutersBasic-08664042, ID : 35d7dddc-74dc-401f-8353-06ba1679d712