2026-07-10 16:04:18,166 - INFO - Domain Default found not creating 2026-07-10 16:04:18,338 - INFO - Project ctest-TestRoutersBasic-54106819 not found, creating it 2026-07-10 16:04:18,829 - INFO - Created Project:ctest-TestRoutersBasic-54106819, ID : e2137b9c-647b-4924-b95a-557ac250afc5 2026-07-10 16:04:20,365 - INFO - ================================================================================ 2026-07-10 16:04:20,366 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-10 16:04:20,366 - 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-10 16:04:20,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-10 16:04:20,626 - INFO - Initial checks done. Running the testcase now 2026-07-10 16:04:20,626 - INFO - 2026-07-10 16:04:21,431 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54106819 2026-07-10 16:04:21,534 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54106819 2026-07-10 16:04:21,854 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54106819', 'default']} 2026-07-10 16:04:22,142 - DEBUG - Response for create_network : {'network': {'id': '09fbe52f-57b6-4eef-8ee4-7a1e210b1b39', 'name': 'ctest-vn-94685038', 'tenant_id': 'e2137b9c647b4924b95a557ac250afc5', 'project_id': 'e2137b9c647b4924b95a557ac250afc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54106819', 'ctest-vn-94685038'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:04:22,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5179781-3f38-4411-a8aa-b26696b4a4ae', 'name': '', 'tenant_id': 'e2137b9c647b4924b95a557ac250afc5', 'network_id': '09fbe52f-57b6-4eef-8ee4-7a1e210b1b39', 'ip_version': 4, 'cidr': '1.55.77.128/26', 'allocation_pools': [{'start': '1.55.77.130', 'end': '1.55.77.190'}], 'gateway_ip': '1.55.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.55.77.130', 'tags': [], 'project_id': 'e2137b9c647b4924b95a557ac250afc5'}} 2026-07-10 16:04:22,356 - INFO - Created VN ctest-vn-94685038 2026-07-10 16:04:22,406 - DEBUG - VN ctest-vn-94685038 UUID is 09fbe52f-57b6-4eef-8ee4-7a1e210b1b39 2026-07-10 16:04:22,778 - DEBUG - Response for create_network : {'network': {'id': 'bc58a55c-c58d-44d9-8b13-9dae8eb49759', 'name': 'ctest-ext_vn-67094367', 'tenant_id': 'e2137b9c647b4924b95a557ac250afc5', 'project_id': 'e2137b9c647b4924b95a557ac250afc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54106819', 'ctest-ext_vn-67094367'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:04:22,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ae5e3cd-aa5f-40eb-8aa8-eb26e1f9b159', 'name': '', 'tenant_id': 'e2137b9c647b4924b95a557ac250afc5', 'network_id': 'bc58a55c-c58d-44d9-8b13-9dae8eb49759', 'ip_version': 4, 'cidr': '5.64.38.192/26', 'allocation_pools': [{'start': '5.64.38.194', 'end': '5.64.38.254'}], 'gateway_ip': '5.64.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.64.38.194', 'tags': [], 'project_id': 'e2137b9c647b4924b95a557ac250afc5'}} 2026-07-10 16:04:23,007 - INFO - Created VN ctest-ext_vn-67094367 2026-07-10 16:04:23,058 - DEBUG - VN ctest-ext_vn-67094367 UUID is bc58a55c-c58d-44d9-8b13-9dae8eb49759 2026-07-10 16:04:23,274 - DEBUG - Services list from nova: [, , ] 2026-07-10 16:04:23,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1) 2026-07-10 16:04:23,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1) 2026-07-10 16:04:24,048 - INFO - Setting gateway for router 0f16cbd5-8bf7-421c-8514-9a5e1a0baa9f to network bc58a55c-c58d-44d9-8b13-9dae8eb49759 2026-07-10 16:04:24,093 - INFO - Adding interface with subnet_id b5179781-3f38-4411-a8aa-b26696b4a4ae, port_id None to router 0f16cbd5-8bf7-421c-8514-9a5e1a0baa9f 2026-07-10 16:04:24,284 - INFO - Waiting for VM ctest-TestRoutersBasic-54106819-54282934 to be up.. 2026-07-10 16:04:24,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 16:04:29,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 16:04:34,587 - DEBUG - VM is in ACTIVE state now 2026-07-10 16:04:34,588 - INFO - VM name : ctest-TestRoutersBasic-54106819-54282934 2026-07-10 16:04:34,668 - DEBUG - VM ctest-TestRoutersBasic-54106819-54282934 ID is 0f41d0d7-b1c9-4bd3-8e68-bd8cfece9679 2026-07-10 16:04:34,689 - DEBUG - VM ctest-TestRoutersBasic-54106819-54282934 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1 2026-07-10 16:04:34,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0f41d0d7-b1c9-4bd3-8e68-bd8cfece9679 2026-07-10 16:04:35,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0f41d0d7-b1c9-4bd3-8e68-bd8cfece9679 2026-07-10 16:04:35,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6cec6fa4-da24-4a95-9b64-b5163edf7cef 2026-07-10 16:04:38,396 - 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 1017ms') 2026-07-10 16:04:38,396 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54106819-54282934 failed! 2026-07-10 16:04:38,454 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54106819:ctest-vn-94685038 is 1.55.77.129 and allocation pool is NOT set 2026-07-10 16:04:40,522 - 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=8.40 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.39 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 = 1.392/4.896/8.401/3.504 ms') 2026-07-10 16:04:40,522 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54106819-54282934 passed 2026-07-10 16:04:40,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:04:40,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54106819-54282934, IP 1.55.77.131, Port 22 2026-07-10 16:04:40,736 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-10 16:04:40,811 - DEBUG - VM ctest-TestRoutersBasic-54106819-54282934 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 16:04:45,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:04:45,812 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54106819-54282934, IP 1.55.77.131, Port 22 2026-07-10 16:04:45,970 - DEBUG - VM ctest-TestRoutersBasic-54106819-54282934 is ready for SSH connections 2026-07-10 16:04:45,970 - INFO - Waiting for VM ctest-TestRoutersBasic-54106819-25405033 to be up.. 2026-07-10 16:04:46,040 - DEBUG - VM is in ACTIVE state now 2026-07-10 16:04:46,040 - INFO - VM name : ctest-TestRoutersBasic-54106819-25405033 2026-07-10 16:04:46,119 - DEBUG - VM ctest-TestRoutersBasic-54106819-25405033 ID is 8d9ccb95-e636-4043-ae54-51dc103034d1 2026-07-10 16:04:46,119 - DEBUG - VM ctest-TestRoutersBasic-54106819-25405033 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1 2026-07-10 16:04:46,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d9ccb95-e636-4043-ae54-51dc103034d1 2026-07-10 16:04:46,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/07e99f51-a8be-498d-9c73-584c9aaa9bcb 2026-07-10 16:04:47,441 - 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=3.78 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.358 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.358/2.067/3.776/1.709 ms') 2026-07-10 16:04:47,441 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-54106819-25405033 passed 2026-07-10 16:04:47,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:04:47,595 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54106819-25405033, IP 5.64.38.196, Port 22 2026-07-10 16:04:47,753 - DEBUG - VM ctest-TestRoutersBasic-54106819-25405033 is ready for SSH connections 2026-07-10 16:04:47,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:04:47,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.64.38.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 16:04:47,754 - DEBUG - ping -s 56 -c 3 -W 1 5.64.38.196 2026-07-10 16:04:50,323 - DEBUG - PING 5.64.38.196 (5.64.38.196): 56 data bytes 64 bytes from 5.64.38.196: seq=0 ttl=62 time=5.092 ms 64 bytes from 5.64.38.196: seq=1 ttl=62 time=0.977 ms 64 bytes from 5.64.38.196: seq=2 ttl=62 time=0.921 ms --- 5.64.38.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/2.330/5.092 ms 2026-07-10 16:04:50,323 - INFO - Ping to IP 5.64.38.196 from VM ctest-TestRoutersBasic-54106819-54282934 passed 2026-07-10 16:04:50,323 - INFO - Deleting interface with subnet_id b5179781-3f38-4411-a8aa-b26696b4a4ae, port_id None from router 0f16cbd5-8bf7-421c-8514-9a5e1a0baa9f 2026-07-10 16:04:50,511 - INFO - Deleting VM ctest-TestRoutersBasic-54106819-25405033 2026-07-10 16:04:50,576 - INFO - Deleting VM ctest-TestRoutersBasic-54106819-54282934 2026-07-10 16:04:50,647 - INFO - Deleting VN ctest-ext_vn-67094367 2026-07-10 16:04:50,701 - DEBUG - VN bc58a55c-c58d-44d9-8b13-9dae8eb49759 still in use: Unable to complete operation on network bc58a55c-c58d-44d9-8b13-9dae8eb49759. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79a22007-265a-48cb-865d-abe5e5de4be5'] 2026-07-10 16:04:50,701 - WARNING - Deleting VN ctest-ext_vn-67094367 failed..Will retry 2026-07-10 16:04:52,838 - DEBUG - Response for deleting network () 2026-07-10 16:04:52,838 - INFO - Deleting VN ctest-vn-94685038 2026-07-10 16:04:52,926 - DEBUG - Response for deleting network () 2026-07-10 16:04:53,183 - DEBUG - No XMPP flaps were noticed during the test 2026-07-10 16:04:53,183 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-07-10 16:04:53,183 - INFO - -------------------------------------------------------------------------------- 2026-07-10 16:04:54,001 - INFO - Deleted project: ctest-TestRoutersBasic-54106819, ID : e2137b9c-647b-4924-b95a-557ac250afc5