2026-07-30 11:46:33,460 - INFO - Domain Default found not creating 2026-07-30 11:46:33,638 - INFO - Project ctest-TestRoutersBasic-57006870 not found, creating it 2026-07-30 11:46:34,164 - INFO - Created Project:ctest-TestRoutersBasic-57006870, ID : 78245c2f-53b7-47de-9074-9878122fefe3 2026-07-30 11:46:35,774 - INFO - ================================================================================ 2026-07-30 11:46:35,774 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-30 11:46:35,774 - 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-30 11:46:36,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-07-30 11:46:36,049 - INFO - Initial checks done. Running the testcase now 2026-07-30 11:46:36,049 - INFO - 2026-07-30 11:46:36,876 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57006870 2026-07-30 11:46:36,978 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57006870 2026-07-30 11:46:37,310 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57006870', 'default']} 2026-07-30 11:46:37,669 - DEBUG - Response for create_network : {'network': {'id': '19882821-42f1-4cf7-9108-ed9183b9d1e6', 'name': 'ctest-vn-65820097', 'tenant_id': '78245c2f53b747de90749878122fefe3', 'project_id': '78245c2f53b747de90749878122fefe3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57006870', 'ctest-vn-65820097'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:46:37,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cfcf84b-0e9d-4e77-aa53-79e7a7eb9d56', 'name': '', 'tenant_id': '78245c2f53b747de90749878122fefe3', 'network_id': '19882821-42f1-4cf7-9108-ed9183b9d1e6', 'ip_version': 4, 'cidr': '209.172.97.0/26', 'allocation_pools': [{'start': '209.172.97.2', 'end': '209.172.97.62'}], 'gateway_ip': '209.172.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.172.97.2', 'tags': [], 'project_id': '78245c2f53b747de90749878122fefe3'}} 2026-07-30 11:46:37,919 - INFO - Created VN ctest-vn-65820097 2026-07-30 11:46:37,974 - DEBUG - VN ctest-vn-65820097 UUID is 19882821-42f1-4cf7-9108-ed9183b9d1e6 2026-07-30 11:46:38,338 - DEBUG - Response for create_network : {'network': {'id': '73225acd-df5a-4369-af24-f671e6749532', 'name': 'ctest-ext_vn-58713979', 'tenant_id': '78245c2f53b747de90749878122fefe3', 'project_id': '78245c2f53b747de90749878122fefe3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57006870', 'ctest-ext_vn-58713979'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:46:38,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f131243a-c2df-4505-bfde-e2921644732d', 'name': '', 'tenant_id': '78245c2f53b747de90749878122fefe3', 'network_id': '73225acd-df5a-4369-af24-f671e6749532', 'ip_version': 4, 'cidr': '94.102.117.128/26', 'allocation_pools': [{'start': '94.102.117.130', 'end': '94.102.117.190'}], 'gateway_ip': '94.102.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.102.117.130', 'tags': [], 'project_id': '78245c2f53b747de90749878122fefe3'}} 2026-07-30 11:46:38,543 - INFO - Created VN ctest-ext_vn-58713979 2026-07-30 11:46:38,594 - DEBUG - VN ctest-ext_vn-58713979 UUID is 73225acd-df5a-4369-af24-f671e6749532 2026-07-30 11:46:38,810 - DEBUG - Services list from nova: [, , ] 2026-07-30 11:46:39,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6123-1) 2026-07-30 11:46:39,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6123-1) 2026-07-30 11:46:39,670 - INFO - Setting gateway for router 254b7ec4-6358-49d4-9e2e-75e1c80b99f6 to network 73225acd-df5a-4369-af24-f671e6749532 2026-07-30 11:46:39,725 - INFO - Adding interface with subnet_id 0cfcf84b-0e9d-4e77-aa53-79e7a7eb9d56, port_id None to router 254b7ec4-6358-49d4-9e2e-75e1c80b99f6 2026-07-30 11:46:40,026 - INFO - Waiting for VM ctest-TestRoutersBasic-57006870-37623258 to be up.. 2026-07-30 11:46:40,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:46:45,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:46:50,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:46:55,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:47:00,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:47:05,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:47:10,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:47:15,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:47:20,921 - DEBUG - VM is in ACTIVE state now 2026-07-30 11:47:20,921 - INFO - VM name : ctest-TestRoutersBasic-57006870-37623258 2026-07-30 11:47:21,003 - DEBUG - VM ctest-TestRoutersBasic-57006870-37623258 ID is 8c6158b2-ff73-46b3-ba2a-a7ce259e0344 2026-07-30 11:47:21,025 - DEBUG - VM ctest-TestRoutersBasic-57006870-37623258 launched on Node cn-jenkins-deploy-platform-ansible-os-6123-1 2026-07-30 11:47:21,107 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8c6158b2-ff73-46b3-ba2a-a7ce259e0344 2026-07-30 11:47:21,449 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8c6158b2-ff73-46b3-ba2a-a7ce259e0344 2026-07-30 11:47:21,482 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/4f197206-5804-4c20-972d-b0bba7da27d5 2026-07-30 11:47:24,754 - 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 1030ms') 2026-07-30 11:47:24,754 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-57006870-37623258 failed! 2026-07-30 11:47:24,810 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57006870:ctest-vn-65820097 is 209.172.97.1 and allocation pool is NOT set 2026-07-30 11:47:26,873 - 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=5.28 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.702 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.702/2.993/5.284/2.291 ms') 2026-07-30 11:47:26,873 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-57006870-37623258 passed 2026-07-30 11:47:27,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:47:27,031 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57006870-37623258, IP 209.172.97.3, Port 22 2026-07-30 11:47:27,201 - DEBUG - VM ctest-TestRoutersBasic-57006870-37623258 is ready for SSH connections 2026-07-30 11:47:27,201 - INFO - Waiting for VM ctest-TestRoutersBasic-57006870-88763563 to be up.. 2026-07-30 11:47:27,279 - DEBUG - VM is in ACTIVE state now 2026-07-30 11:47:27,279 - INFO - VM name : ctest-TestRoutersBasic-57006870-88763563 2026-07-30 11:47:27,372 - DEBUG - VM ctest-TestRoutersBasic-57006870-88763563 ID is 315c86d7-5da3-448b-a77f-6481d5e0b033 2026-07-30 11:47:27,373 - DEBUG - VM ctest-TestRoutersBasic-57006870-88763563 launched on Node cn-jenkins-deploy-platform-ansible-os-6123-1 2026-07-30 11:47:27,455 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/315c86d7-5da3-448b-a77f-6481d5e0b033 2026-07-30 11:47:27,464 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/ff92b5c8-6535-42d7-95ac-42b6b00ef7e6 2026-07-30 11:47:28,715 - 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=6.59 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.14 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 = 1.144/3.864/6.585/2.720 ms') 2026-07-30 11:47:28,716 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-57006870-88763563 passed 2026-07-30 11:47:28,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:47:28,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57006870-88763563, IP 94.102.117.132, Port 22 2026-07-30 11:47:29,036 - DEBUG - VM ctest-TestRoutersBasic-57006870-88763563 is ready for SSH connections 2026-07-30 11:47:29,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:47:29,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.102.117.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-07-30 11:47:29,037 - DEBUG - ping -s 56 -c 3 -W 1 94.102.117.132 2026-07-30 11:47:32,011 - DEBUG - PING 94.102.117.132 (94.102.117.132): 56 data bytes 64 bytes from 94.102.117.132: seq=0 ttl=62 time=8.285 ms 64 bytes from 94.102.117.132: seq=1 ttl=62 time=1.088 ms 64 bytes from 94.102.117.132: seq=2 ttl=62 time=1.253 ms --- 94.102.117.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.088/3.542/8.285 ms 2026-07-30 11:47:32,012 - INFO - Ping to IP 94.102.117.132 from VM ctest-TestRoutersBasic-57006870-37623258 passed 2026-07-30 11:47:32,012 - INFO - Deleting interface with subnet_id 0cfcf84b-0e9d-4e77-aa53-79e7a7eb9d56, port_id None from router 254b7ec4-6358-49d4-9e2e-75e1c80b99f6 2026-07-30 11:47:32,252 - INFO - Deleting VM ctest-TestRoutersBasic-57006870-88763563 2026-07-30 11:47:32,338 - INFO - Deleting VM ctest-TestRoutersBasic-57006870-37623258 2026-07-30 11:47:32,426 - INFO - Deleting VN ctest-ext_vn-58713979 2026-07-30 11:47:32,513 - DEBUG - VN 73225acd-df5a-4369-af24-f671e6749532 still in use: Unable to complete operation on network 73225acd-df5a-4369-af24-f671e6749532. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5dde65d-0ed7-4e80-a2aa-6a4288d884d6'] 2026-07-30 11:47:32,513 - WARNING - Deleting VN ctest-ext_vn-58713979 failed..Will retry 2026-07-30 11:47:34,707 - DEBUG - Response for deleting network () 2026-07-30 11:47:34,708 - INFO - Deleting VN ctest-vn-65820097 2026-07-30 11:47:34,841 - DEBUG - Response for deleting network () 2026-07-30 11:47:35,110 - DEBUG - No XMPP flaps were noticed during the test
2026-07-30 11:47:35,110 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-07-30 11:47:35,110 - INFO - -------------------------------------------------------------------------------- 2026-07-30 11:47:35,875 - INFO - Deleted project: ctest-TestRoutersBasic-57006870, ID : 78245c2f-53b7-47de-9074-9878122fefe3