2026-03-04 14:43:18,615 - INFO - Domain Default found not creating 2026-03-04 14:43:18,785 - INFO - Project ctest-TestRoutersBasic-60008956 not found, creating it 2026-03-04 14:43:19,299 - INFO - Created Project:ctest-TestRoutersBasic-60008956, ID : bd1d7286-b280-4c78-81c3-50388ebffa1c 2026-03-04 14:43:20,792 - INFO - ================================================================================ 2026-03-04 14:43:20,792 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-04 14:43:20,792 - 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-03-04 14:43:21,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 14:43:21,048 - INFO - Initial checks done. Running the testcase now 2026-03-04 14:43:21,048 - INFO - 2026-03-04 14:43:21,751 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60008956 2026-03-04 14:43:21,846 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60008956 2026-03-04 14:43:22,161 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60008956', 'default']} 2026-03-04 14:43:22,453 - DEBUG - Response for create_network : {'network': {'id': 'a10d1e5d-e6c4-452b-ba10-ebdb2c9c118f', 'name': 'ctest-vn-17101651', 'tenant_id': 'bd1d7286b2804c7881c350388ebffa1c', 'project_id': 'bd1d7286b2804c7881c350388ebffa1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60008956', 'ctest-vn-17101651'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:43:22,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dac7536-446f-4d4f-a447-40c3d6eb3b68', 'name': '', 'tenant_id': 'bd1d7286b2804c7881c350388ebffa1c', 'network_id': 'a10d1e5d-e6c4-452b-ba10-ebdb2c9c118f', 'ip_version': 4, 'cidr': '17.69.131.128/26', 'allocation_pools': [{'start': '17.69.131.130', 'end': '17.69.131.190'}], 'gateway_ip': '17.69.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.69.131.130', 'tags': [], 'project_id': 'bd1d7286b2804c7881c350388ebffa1c'}} 2026-03-04 14:43:22,687 - INFO - Created VN ctest-vn-17101651 2026-03-04 14:43:22,738 - DEBUG - VN ctest-vn-17101651 UUID is a10d1e5d-e6c4-452b-ba10-ebdb2c9c118f 2026-03-04 14:43:23,096 - DEBUG - Response for create_network : {'network': {'id': '81635ab7-cabd-46f8-bf38-d20910fa7d0f', 'name': 'ctest-ext_vn-97653253', 'tenant_id': 'bd1d7286b2804c7881c350388ebffa1c', 'project_id': 'bd1d7286b2804c7881c350388ebffa1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60008956', 'ctest-ext_vn-97653253'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:43:23,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8aba7fb-8b53-4727-93ae-0a4cfa386b5e', 'name': '', 'tenant_id': 'bd1d7286b2804c7881c350388ebffa1c', 'network_id': '81635ab7-cabd-46f8-bf38-d20910fa7d0f', 'ip_version': 4, 'cidr': '196.156.13.64/26', 'allocation_pools': [{'start': '196.156.13.66', 'end': '196.156.13.126'}], 'gateway_ip': '196.156.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.156.13.66', 'tags': [], 'project_id': 'bd1d7286b2804c7881c350388ebffa1c'}} 2026-03-04 14:43:23,275 - INFO - Created VN ctest-ext_vn-97653253 2026-03-04 14:43:23,326 - DEBUG - VN ctest-ext_vn-97653253 UUID is 81635ab7-cabd-46f8-bf38-d20910fa7d0f 2026-03-04 14:43:23,499 - DEBUG - Services list from nova: [, , ] 2026-03-04 14:43:24,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5428-1) 2026-03-04 14:43:25,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5428-1) 2026-03-04 14:43:25,946 - INFO - Setting gateway for router b2bc61c3-095a-4dd3-9616-83c9298d791d to network 81635ab7-cabd-46f8-bf38-d20910fa7d0f 2026-03-04 14:43:26,021 - INFO - Adding interface with subnet_id 5dac7536-446f-4d4f-a447-40c3d6eb3b68, port_id None to router b2bc61c3-095a-4dd3-9616-83c9298d791d 2026-03-04 14:43:26,507 - INFO - Waiting for VM ctest-TestRoutersBasic-60008956-88320595 to be up.. 2026-03-04 14:43:26,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 14:43:31,798 - DEBUG - VM is in ACTIVE state now 2026-03-04 14:43:31,798 - INFO - VM name : ctest-TestRoutersBasic-60008956-88320595 2026-03-04 14:43:31,882 - DEBUG - VM ctest-TestRoutersBasic-60008956-88320595 ID is a876c683-0710-4543-be35-1d1863187ec4 2026-03-04 14:43:31,901 - DEBUG - VM ctest-TestRoutersBasic-60008956-88320595 launched on Node cn-jenkins-deploy-platform-ansible-os-5428-1 2026-03-04 14:43:31,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a876c683-0710-4543-be35-1d1863187ec4 2026-03-04 14:43:32,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a876c683-0710-4543-be35-1d1863187ec4 2026-03-04 14:43:32,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b504f076-9a7b-4173-b4af-d8c05f576336 2026-03-04 14:43:35,578 - 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 1030ms') 2026-03-04 14:43:35,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60008956-88320595 failed! 2026-03-04 14:43:35,634 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60008956:ctest-vn-17101651 is 17.69.131.129 and allocation pool is NOT set 2026-03-04 14:43:37,691 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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 = 0.454/1.659/2.865/1.205 ms') 2026-03-04 14:43:37,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60008956-88320595 passed 2026-03-04 14:43:37,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:43:37,838 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60008956-88320595, IP 17.69.131.131, Port 22 2026-03-04 14:43:37,993 - DEBUG - VM ctest-TestRoutersBasic-60008956-88320595 is ready for SSH connections 2026-03-04 14:43:37,993 - INFO - Waiting for VM ctest-TestRoutersBasic-60008956-38131351 to be up.. 2026-03-04 14:43:38,083 - DEBUG - VM is in ACTIVE state now 2026-03-04 14:43:38,083 - INFO - VM name : ctest-TestRoutersBasic-60008956-38131351 2026-03-04 14:43:38,161 - DEBUG - VM ctest-TestRoutersBasic-60008956-38131351 ID is 1c0029ea-939b-4164-a3d7-667b856d5ed2 2026-03-04 14:43:38,162 - DEBUG - VM ctest-TestRoutersBasic-60008956-38131351 launched on Node cn-jenkins-deploy-platform-ansible-os-5428-1 2026-03-04 14:43:38,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c0029ea-939b-4164-a3d7-667b856d5ed2 2026-03-04 14:43:38,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/587d780b-93f9-48cf-9055-0334243741b2 2026-03-04 14:43:39,482 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.515/3.049/4.584/1.534 ms') 2026-03-04 14:43:39,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60008956-38131351 passed 2026-03-04 14:43:39,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:43:39,630 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60008956-38131351, IP 196.156.13.67, Port 22 2026-03-04 14:43:39,685 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-04 14:43:39,756 - DEBUG - VM ctest-TestRoutersBasic-60008956-38131351 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-04 14:43:44,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:43:44,756 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60008956-38131351, IP 196.156.13.67, Port 22 2026-03-04 14:43:44,917 - DEBUG - VM ctest-TestRoutersBasic-60008956-38131351 is ready for SSH connections 2026-03-04 14:43:44,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:43:44,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.156.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 14:43:44,918 - DEBUG - ping -s 56 -c 3 -W 1 196.156.13.67 2026-03-04 14:43:48,618 - DEBUG - PING 196.156.13.67 (196.156.13.67): 56 data bytes 64 bytes from 196.156.13.67: seq=0 ttl=62 time=5.533 ms 64 bytes from 196.156.13.67: seq=1 ttl=62 time=1.036 ms 64 bytes from 196.156.13.67: seq=2 ttl=62 time=0.913 ms --- 196.156.13.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.494/5.533 ms 2026-03-04 14:43:48,618 - INFO - Ping to IP 196.156.13.67 from VM ctest-TestRoutersBasic-60008956-88320595 passed 2026-03-04 14:43:48,618 - INFO - Deleting interface with subnet_id 5dac7536-446f-4d4f-a447-40c3d6eb3b68, port_id None from router b2bc61c3-095a-4dd3-9616-83c9298d791d 2026-03-04 14:43:48,814 - INFO - Deleting VM ctest-TestRoutersBasic-60008956-38131351 2026-03-04 14:43:48,886 - INFO - Deleting VM ctest-TestRoutersBasic-60008956-88320595 2026-03-04 14:43:48,975 - INFO - Deleting VN ctest-ext_vn-97653253 2026-03-04 14:43:49,052 - DEBUG - VN 81635ab7-cabd-46f8-bf38-d20910fa7d0f still in use: Unable to complete operation on network 81635ab7-cabd-46f8-bf38-d20910fa7d0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e4aac5c-5cfb-495b-b691-0fb84ee2806b'] 2026-03-04 14:43:49,052 - WARNING - Deleting VN ctest-ext_vn-97653253 failed..Will retry 2026-03-04 14:43:51,145 - DEBUG - Response for deleting network () 2026-03-04 14:43:51,146 - INFO - Deleting VN ctest-vn-17101651 2026-03-04 14:43:51,244 - DEBUG - Response for deleting network () 2026-03-04 14:43:51,500 - DEBUG - No XMPP flaps were noticed during the test
2026-03-04 14:43:51,500 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-03-04 14:43:51,500 - INFO - -------------------------------------------------------------------------------- 2026-03-04 14:43:52,190 - INFO - Deleted project: ctest-TestRoutersBasic-60008956, ID : bd1d7286-b280-4c78-81c3-50388ebffa1c