2026-01-27 20:33:59,651 - INFO - Domain Default found not creating 2026-01-27 20:33:59,832 - INFO - Project ctest-TestRoutersBasic-81545725 not found, creating it 2026-01-27 20:34:00,324 - INFO - Created Project:ctest-TestRoutersBasic-81545725, ID : 5f63fdd6-ec0f-4e80-a95f-ee4eb4734262 2026-01-27 20:34:01,797 - INFO - ================================================================================ 2026-01-27 20:34:01,797 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-27 20:34:01,797 - 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-01-27 20:34:02,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-01-27 20:34:02,051 - INFO - Initial checks done. Running the testcase now 2026-01-27 20:34:02,051 - INFO - 2026-01-27 20:34:02,758 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81545725 2026-01-27 20:34:02,857 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81545725 2026-01-27 20:34:03,181 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81545725', 'default']} 2026-01-27 20:34:03,473 - DEBUG - Response for create_network : {'network': {'id': '98b77eb1-10f8-418e-b32a-e5959b6ec59c', 'name': 'ctest-vn-81772369', 'tenant_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'project_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81545725', 'ctest-vn-81772369'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:03,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccccb72b-e2a7-42ff-aa97-86f8cb5e0947', 'name': '', 'tenant_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'network_id': '98b77eb1-10f8-418e-b32a-e5959b6ec59c', 'ip_version': 4, 'cidr': '161.210.249.192/26', 'allocation_pools': [{'start': '161.210.249.194', 'end': '161.210.249.254'}], 'gateway_ip': '161.210.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.210.249.194', 'tags': [], 'project_id': '5f63fdd6ec0f4e80a95fee4eb4734262'}} 2026-01-27 20:34:03,671 - INFO - Created VN ctest-vn-81772369 2026-01-27 20:34:03,721 - DEBUG - VN ctest-vn-81772369 UUID is 98b77eb1-10f8-418e-b32a-e5959b6ec59c 2026-01-27 20:34:04,080 - DEBUG - Response for create_network : {'network': {'id': '9d92e981-34e8-4704-bcdb-82aab3e86245', 'name': 'ctest-ext_vn-42423727', 'tenant_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'project_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81545725', 'ctest-ext_vn-42423727'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 20:34:04,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a0b1be9-a57a-4a8a-af0e-13e2d28ad02b', 'name': '', 'tenant_id': '5f63fdd6ec0f4e80a95fee4eb4734262', 'network_id': '9d92e981-34e8-4704-bcdb-82aab3e86245', 'ip_version': 4, 'cidr': '150.123.230.128/26', 'allocation_pools': [{'start': '150.123.230.130', 'end': '150.123.230.190'}], 'gateway_ip': '150.123.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.123.230.130', 'tags': [], 'project_id': '5f63fdd6ec0f4e80a95fee4eb4734262'}} 2026-01-27 20:34:04,270 - INFO - Created VN ctest-ext_vn-42423727 2026-01-27 20:34:04,325 - DEBUG - VN ctest-ext_vn-42423727 UUID is 9d92e981-34e8-4704-bcdb-82aab3e86245 2026-01-27 20:34:04,521 - DEBUG - Services list from nova: [, , ] 2026-01-27 20:34:05,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5089-1) 2026-01-27 20:34:06,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5089-1) 2026-01-27 20:34:06,711 - INFO - Setting gateway for router 66f98fd5-ae95-408e-bc30-d4a902f67363 to network 9d92e981-34e8-4704-bcdb-82aab3e86245 2026-01-27 20:34:06,758 - INFO - Adding interface with subnet_id ccccb72b-e2a7-42ff-aa97-86f8cb5e0947, port_id None to router 66f98fd5-ae95-408e-bc30-d4a902f67363 2026-01-27 20:34:07,117 - INFO - Waiting for VM ctest-TestRoutersBasic-81545725-99505143 to be up.. 2026-01-27 20:34:07,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-27 20:34:12,333 - DEBUG - VM is in ACTIVE state now 2026-01-27 20:34:12,333 - INFO - VM name : ctest-TestRoutersBasic-81545725-99505143 2026-01-27 20:34:12,402 - DEBUG - VM ctest-TestRoutersBasic-81545725-99505143 ID is 27adc647-a9a5-4524-a9a5-4e41a69bc4c9 2026-01-27 20:34:12,419 - DEBUG - VM ctest-TestRoutersBasic-81545725-99505143 launched on Node cn-jenkins-deploy-platform-ansible-os-5089-1 2026-01-27 20:34:12,489 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/27adc647-a9a5-4524-a9a5-4e41a69bc4c9 2026-01-27 20:34:12,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/27adc647-a9a5-4524-a9a5-4e41a69bc4c9 2026-01-27 20:34:12,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f382b5cc-6aec-4438-98e9-99c25d6ad290 2026-01-27 20:34:16,051 - 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 1007ms') 2026-01-27 20:34:16,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81545725-99505143 failed! 2026-01-27 20:34:16,105 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81545725:ctest-vn-81772369 is 161.210.249.193 and allocation pool is NOT set 2026-01-27 20:34:18,169 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.472/1.701/2.930/1.229 ms') 2026-01-27 20:34:18,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81545725-99505143 passed 2026-01-27 20:34:18,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:34:18,321 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81545725-99505143, IP 161.210.249.195, Port 22 2026-01-27 20:34:18,477 - DEBUG - VM ctest-TestRoutersBasic-81545725-99505143 is ready for SSH connections 2026-01-27 20:34:18,477 - INFO - Waiting for VM ctest-TestRoutersBasic-81545725-90918241 to be up.. 2026-01-27 20:34:18,551 - DEBUG - VM is in ACTIVE state now 2026-01-27 20:34:18,551 - INFO - VM name : ctest-TestRoutersBasic-81545725-90918241 2026-01-27 20:34:18,625 - DEBUG - VM ctest-TestRoutersBasic-81545725-90918241 ID is 1be3d951-d4f0-4fec-87c3-a81170d30d5f 2026-01-27 20:34:18,625 - DEBUG - VM ctest-TestRoutersBasic-81545725-90918241 launched on Node cn-jenkins-deploy-platform-ansible-os-5089-1 2026-01-27 20:34:18,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1be3d951-d4f0-4fec-87c3-a81170d30d5f 2026-01-27 20:34:18,705 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/068663c7-4252-48e6-a01c-e781e0f03ccd 2026-01-27 20:34:19,938 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.422/1.685/2.949/1.263 ms') 2026-01-27 20:34:19,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81545725-90918241 passed 2026-01-27 20:34:20,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:34:20,085 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81545725-90918241, IP 150.123.230.131, Port 22 2026-01-27 20:34:20,237 - DEBUG - VM ctest-TestRoutersBasic-81545725-90918241 is ready for SSH connections 2026-01-27 20:34:20,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 20:34:20,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.123.230.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-27 20:34:20,237 - DEBUG - ping -s 56 -c 3 -W 1 150.123.230.131 2026-01-27 20:34:23,962 - DEBUG - PING 150.123.230.131 (150.123.230.131): 56 data bytes 64 bytes from 150.123.230.131: seq=0 ttl=62 time=4.997 ms 64 bytes from 150.123.230.131: seq=1 ttl=62 time=0.873 ms 64 bytes from 150.123.230.131: seq=2 ttl=62 time=0.914 ms --- 150.123.230.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/2.261/4.997 ms 2026-01-27 20:34:23,962 - INFO - Ping to IP 150.123.230.131 from VM ctest-TestRoutersBasic-81545725-99505143 passed 2026-01-27 20:34:23,962 - INFO - Deleting interface with subnet_id ccccb72b-e2a7-42ff-aa97-86f8cb5e0947, port_id None from router 66f98fd5-ae95-408e-bc30-d4a902f67363 2026-01-27 20:34:24,138 - INFO - Deleting VM ctest-TestRoutersBasic-81545725-90918241 2026-01-27 20:34:24,199 - INFO - Deleting VM ctest-TestRoutersBasic-81545725-99505143 2026-01-27 20:34:24,284 - INFO - Deleting VN ctest-ext_vn-42423727 2026-01-27 20:34:24,351 - DEBUG - VN 9d92e981-34e8-4704-bcdb-82aab3e86245 still in use: Unable to complete operation on network 9d92e981-34e8-4704-bcdb-82aab3e86245. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66aa1f57-3c87-49a5-ac5e-32e28db4bc54'] 2026-01-27 20:34:24,352 - WARNING - Deleting VN ctest-ext_vn-42423727 failed..Will retry 2026-01-27 20:34:26,453 - DEBUG - Response for deleting network () 2026-01-27 20:34:26,453 - INFO - Deleting VN ctest-vn-81772369 2026-01-27 20:34:26,559 - DEBUG - Response for deleting network () 2026-01-27 20:34:26,814 - DEBUG - No XMPP flaps were noticed during the test
2026-01-27 20:34:26,814 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-27 20:34:26,814 - INFO - -------------------------------------------------------------------------------- 2026-01-27 20:34:27,479 - INFO - Deleted project: ctest-TestRoutersBasic-81545725, ID : 5f63fdd6-ec0f-4e80-a95f-ee4eb4734262