2026-01-20 16:06:02,466 - INFO - Domain Default found not creating 2026-01-20 16:06:02,636 - INFO - Project ctest-TestRoutersBasic-72944900 not found, creating it 2026-01-20 16:06:03,106 - INFO - Created Project:ctest-TestRoutersBasic-72944900, ID : 6dab96a4-390f-4056-bc1b-4a03dbf402db 2026-01-20 16:06:04,659 - INFO - ================================================================================ 2026-01-20 16:06:04,659 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-20 16:06:04,659 - 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-20 16:06:04,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-20 16:06:04,915 - INFO - Initial checks done. Running the testcase now 2026-01-20 16:06:04,915 - INFO - 2026-01-20 16:06:05,646 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72944900 2026-01-20 16:06:05,746 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72944900 2026-01-20 16:06:06,066 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72944900', 'default']} 2026-01-20 16:06:06,365 - DEBUG - Response for create_network : {'network': {'id': 'c3dafe53-6068-4fc7-bc83-df8f8541ff59', 'name': 'ctest-vn-35135644', 'tenant_id': '6dab96a4390f4056bc1b4a03dbf402db', 'project_id': '6dab96a4390f4056bc1b4a03dbf402db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72944900', 'ctest-vn-35135644'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:06,575 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b88d96cc-3a1c-4ebb-b36d-798e17a64709', 'name': '', 'tenant_id': '6dab96a4390f4056bc1b4a03dbf402db', 'network_id': 'c3dafe53-6068-4fc7-bc83-df8f8541ff59', 'ip_version': 4, 'cidr': '203.122.64.192/26', 'allocation_pools': [{'start': '203.122.64.194', 'end': '203.122.64.254'}], 'gateway_ip': '203.122.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.122.64.194', 'tags': [], 'project_id': '6dab96a4390f4056bc1b4a03dbf402db'}} 2026-01-20 16:06:06,594 - INFO - Created VN ctest-vn-35135644 2026-01-20 16:06:06,646 - DEBUG - VN ctest-vn-35135644 UUID is c3dafe53-6068-4fc7-bc83-df8f8541ff59 2026-01-20 16:06:06,952 - DEBUG - Response for create_network : {'network': {'id': '28320092-d069-4674-8a49-1a053f0c420d', 'name': 'ctest-ext_vn-07560960', 'tenant_id': '6dab96a4390f4056bc1b4a03dbf402db', 'project_id': '6dab96a4390f4056bc1b4a03dbf402db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72944900', 'ctest-ext_vn-07560960'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 16:06:07,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2b914e6-5e3a-41b9-a199-3bca71e1ac23', 'name': '', 'tenant_id': '6dab96a4390f4056bc1b4a03dbf402db', 'network_id': '28320092-d069-4674-8a49-1a053f0c420d', 'ip_version': 4, 'cidr': '180.54.78.128/26', 'allocation_pools': [{'start': '180.54.78.130', 'end': '180.54.78.190'}], 'gateway_ip': '180.54.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.54.78.130', 'tags': [], 'project_id': '6dab96a4390f4056bc1b4a03dbf402db'}} 2026-01-20 16:06:07,197 - INFO - Created VN ctest-ext_vn-07560960 2026-01-20 16:06:07,250 - DEBUG - VN ctest-ext_vn-07560960 UUID is 28320092-d069-4674-8a49-1a053f0c420d 2026-01-20 16:06:07,429 - DEBUG - Services list from nova: [, , ] 2026-01-20 16:06:08,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5050-1) 2026-01-20 16:06:09,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5050-1) 2026-01-20 16:06:09,792 - INFO - Setting gateway for router 0dd383a8-57d2-4093-bfcc-232071e7492e to network 28320092-d069-4674-8a49-1a053f0c420d 2026-01-20 16:06:09,863 - INFO - Adding interface with subnet_id b88d96cc-3a1c-4ebb-b36d-798e17a64709, port_id None to router 0dd383a8-57d2-4093-bfcc-232071e7492e 2026-01-20 16:06:10,297 - INFO - Waiting for VM ctest-TestRoutersBasic-72944900-96779055 to be up.. 2026-01-20 16:06:10,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 16:06:15,532 - DEBUG - VM is in ACTIVE state now 2026-01-20 16:06:15,532 - INFO - VM name : ctest-TestRoutersBasic-72944900-96779055 2026-01-20 16:06:15,624 - DEBUG - VM ctest-TestRoutersBasic-72944900-96779055 ID is 879db4a2-c80b-4d94-b43e-2597d61ba453 2026-01-20 16:06:15,649 - DEBUG - VM ctest-TestRoutersBasic-72944900-96779055 launched on Node cn-jenkins-deploy-platform-ansible-os-5050-1 2026-01-20 16:06:15,742 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/879db4a2-c80b-4d94-b43e-2597d61ba453 2026-01-20 16:06:16,059 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/879db4a2-c80b-4d94-b43e-2597d61ba453 2026-01-20 16:06:16,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/47a7c6b4-920a-44d4-ba16-a0086c808837 2026-01-20 16:06:19,381 - 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 1034ms') 2026-01-20 16:06:19,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72944900-96779055 failed! 2026-01-20 16:06:19,434 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72944900:ctest-vn-35135644 is 203.122.64.193 and allocation pool is NOT set 2026-01-20 16:06:21,499 - 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=4.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.210/2.978/4.746/1.768 ms') 2026-01-20 16:06:21,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72944900-96779055 passed 2026-01-20 16:06:21,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:06:21,646 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72944900-96779055, IP 203.122.64.195, Port 22 2026-01-20 16:06:21,712 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-20 16:06:21,787 - DEBUG - VM ctest-TestRoutersBasic-72944900-96779055 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 16:06:26,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:06:26,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72944900-96779055, IP 203.122.64.195, Port 22 2026-01-20 16:06:26,954 - DEBUG - VM ctest-TestRoutersBasic-72944900-96779055 is ready for SSH connections 2026-01-20 16:06:26,954 - INFO - Waiting for VM ctest-TestRoutersBasic-72944900-36401157 to be up.. 2026-01-20 16:06:27,026 - DEBUG - VM is in ACTIVE state now 2026-01-20 16:06:27,026 - INFO - VM name : ctest-TestRoutersBasic-72944900-36401157 2026-01-20 16:06:27,101 - DEBUG - VM ctest-TestRoutersBasic-72944900-36401157 ID is b3a0dd24-3044-4342-8865-fc0f85e27fbc 2026-01-20 16:06:27,101 - DEBUG - VM ctest-TestRoutersBasic-72944900-36401157 launched on Node cn-jenkins-deploy-platform-ansible-os-5050-1 2026-01-20 16:06:27,181 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b3a0dd24-3044-4342-8865-fc0f85e27fbc 2026-01-20 16:06:27,192 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/322fe67c-931e-4cf0-b97a-4b66ef59f0cc 2026-01-20 16:06:28,433 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.381/1.680/2.980/1.299 ms') 2026-01-20 16:06:28,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72944900-36401157 passed 2026-01-20 16:06:28,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:06:28,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72944900-36401157, IP 180.54.78.131, Port 22 2026-01-20 16:06:28,751 - DEBUG - VM ctest-TestRoutersBasic-72944900-36401157 is ready for SSH connections 2026-01-20 16:06:28,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 16:06:28,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.54.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-20 16:06:28,751 - DEBUG - ping -s 56 -c 3 -W 1 180.54.78.131 2026-01-20 16:06:32,463 - DEBUG - PING 180.54.78.131 (180.54.78.131): 56 data bytes 64 bytes from 180.54.78.131: seq=0 ttl=62 time=5.711 ms 64 bytes from 180.54.78.131: seq=1 ttl=62 time=0.990 ms 64 bytes from 180.54.78.131: seq=2 ttl=62 time=0.766 ms --- 180.54.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/2.489/5.711 ms 2026-01-20 16:06:32,464 - INFO - Ping to IP 180.54.78.131 from VM ctest-TestRoutersBasic-72944900-96779055 passed 2026-01-20 16:06:32,464 - INFO - Deleting interface with subnet_id b88d96cc-3a1c-4ebb-b36d-798e17a64709, port_id None from router 0dd383a8-57d2-4093-bfcc-232071e7492e 2026-01-20 16:06:32,656 - INFO - Deleting VM ctest-TestRoutersBasic-72944900-36401157 2026-01-20 16:06:32,736 - INFO - Deleting VM ctest-TestRoutersBasic-72944900-96779055 2026-01-20 16:06:32,819 - INFO - Deleting VN ctest-ext_vn-07560960 2026-01-20 16:06:32,898 - DEBUG - VN 28320092-d069-4674-8a49-1a053f0c420d still in use: Unable to complete operation on network 28320092-d069-4674-8a49-1a053f0c420d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd9fb45e-0df0-4306-aa0f-93bc4aa0123e'] 2026-01-20 16:06:32,898 - WARNING - Deleting VN ctest-ext_vn-07560960 failed..Will retry 2026-01-20 16:06:35,001 - DEBUG - Response for deleting network () 2026-01-20 16:06:35,001 - INFO - Deleting VN ctest-vn-35135644 2026-01-20 16:06:35,100 - DEBUG - Response for deleting network () 2026-01-20 16:06:35,359 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 16:06:35,359 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-20 16:06:35,359 - INFO - -------------------------------------------------------------------------------- 2026-01-20 16:06:36,046 - INFO - Deleted project: ctest-TestRoutersBasic-72944900, ID : 6dab96a4-390f-4056-bc1b-4a03dbf402db