2026-01-03 03:47:55,156 - INFO - Domain Default found not creating 2026-01-03 03:47:55,329 - INFO - Project ctest-TestRoutersBasic-51390988 not found, creating it 2026-01-03 03:47:55,791 - INFO - Created Project:ctest-TestRoutersBasic-51390988, ID : 28adcbbb-52cb-4eb1-ad68-7515c959d70c 2026-01-03 03:47:57,411 - INFO - ================================================================================ 2026-01-03 03:47:57,411 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-03 03:47:57,411 - 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-03 03:47:57,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-03 03:47:57,680 - INFO - Initial checks done. Running the testcase now 2026-01-03 03:47:57,680 - INFO - 2026-01-03 03:47:58,480 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51390988 2026-01-03 03:47:58,575 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51390988 2026-01-03 03:47:58,891 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51390988', 'default']} 2026-01-03 03:47:59,204 - DEBUG - Response for create_network : {'network': {'id': '1686a2fb-c423-4a9f-bebf-c679c903cabe', 'name': 'ctest-vn-07317375', 'tenant_id': '28adcbbb52cb4eb1ad687515c959d70c', 'project_id': '28adcbbb52cb4eb1ad687515c959d70c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51390988', 'ctest-vn-07317375'], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:47:59,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3a02306-ff67-48d1-bfa5-f398fa49cbe6', 'name': '', 'tenant_id': '28adcbbb52cb4eb1ad687515c959d70c', 'network_id': '1686a2fb-c423-4a9f-bebf-c679c903cabe', 'ip_version': 4, 'cidr': '18.31.133.128/26', 'allocation_pools': [{'start': '18.31.133.130', 'end': '18.31.133.190'}], 'gateway_ip': '18.31.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.31.133.130', 'tags': [], 'project_id': '28adcbbb52cb4eb1ad687515c959d70c'}} 2026-01-03 03:47:59,460 - INFO - Created VN ctest-vn-07317375 2026-01-03 03:47:59,511 - DEBUG - VN ctest-vn-07317375 UUID is 1686a2fb-c423-4a9f-bebf-c679c903cabe 2026-01-03 03:47:59,840 - DEBUG - Response for create_network : {'network': {'id': '9ab8ffe8-d371-415a-8577-84c35d512dad', 'name': 'ctest-ext_vn-69663715', 'tenant_id': '28adcbbb52cb4eb1ad687515c959d70c', 'project_id': '28adcbbb52cb4eb1ad687515c959d70c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51390988', 'ctest-ext_vn-69663715'], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:48:00,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6d311cb-812e-4869-a652-3f26c79180af', 'name': '', 'tenant_id': '28adcbbb52cb4eb1ad687515c959d70c', 'network_id': '9ab8ffe8-d371-415a-8577-84c35d512dad', 'ip_version': 4, 'cidr': '208.74.223.128/26', 'allocation_pools': [{'start': '208.74.223.130', 'end': '208.74.223.190'}], 'gateway_ip': '208.74.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.74.223.130', 'tags': [], 'project_id': '28adcbbb52cb4eb1ad687515c959d70c'}} 2026-01-03 03:48:00,050 - INFO - Created VN ctest-ext_vn-69663715 2026-01-03 03:48:00,104 - DEBUG - VN ctest-ext_vn-69663715 UUID is 9ab8ffe8-d371-415a-8577-84c35d512dad 2026-01-03 03:48:00,282 - DEBUG - Services list from nova: [, , ] 2026-01-03 03:48:01,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4954-1) 2026-01-03 03:48:02,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4954-1) 2026-01-03 03:48:02,792 - INFO - Setting gateway for router bb26062b-9349-4a59-97f8-0d6c67b840ee to network 9ab8ffe8-d371-415a-8577-84c35d512dad 2026-01-03 03:48:02,860 - INFO - Adding interface with subnet_id d3a02306-ff67-48d1-bfa5-f398fa49cbe6, port_id None to router bb26062b-9349-4a59-97f8-0d6c67b840ee 2026-01-03 03:48:03,257 - INFO - Waiting for VM ctest-TestRoutersBasic-51390988-16791811 to be up.. 2026-01-03 03:48:03,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-03 03:48:08,513 - DEBUG - VM is in ACTIVE state now 2026-01-03 03:48:08,513 - INFO - VM name : ctest-TestRoutersBasic-51390988-16791811 2026-01-03 03:48:08,600 - DEBUG - VM ctest-TestRoutersBasic-51390988-16791811 ID is 8380629f-dc3f-4410-bd32-95494332a98d 2026-01-03 03:48:08,624 - DEBUG - VM ctest-TestRoutersBasic-51390988-16791811 launched on Node cn-jenkins-deploy-platform-ansible-os-4954-1 2026-01-03 03:48:08,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8380629f-dc3f-4410-bd32-95494332a98d 2026-01-03 03:48:09,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8380629f-dc3f-4410-bd32-95494332a98d 2026-01-03 03:48:09,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/874a5cb3-7b6a-4eaa-8612-504a0c536d4f 2026-01-03 03:48:12,339 - 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 1014ms') 2026-01-03 03:48:12,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51390988-16791811 failed! 2026-01-03 03:48:12,392 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51390988:ctest-vn-07317375 is 18.31.133.129 and allocation pool is NOT set 2026-01-03 03:48:14,451 - 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=3.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.15 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.147/3.253/3.359/0.106 ms') 2026-01-03 03:48:14,451 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51390988-16791811 passed 2026-01-03 03:48:14,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:48:14,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51390988-16791811, IP 18.31.133.131, Port 22 2026-01-03 03:48:14,666 - 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-03 03:48:14,746 - DEBUG - VM ctest-TestRoutersBasic-51390988-16791811 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-03 03:48:19,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:48:19,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51390988-16791811, IP 18.31.133.131, Port 22 2026-01-03 03:48:19,914 - DEBUG - VM ctest-TestRoutersBasic-51390988-16791811 is ready for SSH connections 2026-01-03 03:48:19,914 - INFO - Waiting for VM ctest-TestRoutersBasic-51390988-89113020 to be up.. 2026-01-03 03:48:19,988 - DEBUG - VM is in ACTIVE state now 2026-01-03 03:48:19,988 - INFO - VM name : ctest-TestRoutersBasic-51390988-89113020 2026-01-03 03:48:20,063 - DEBUG - VM ctest-TestRoutersBasic-51390988-89113020 ID is ce1d4ee4-3d84-42b0-bb6e-12c5fbb11079 2026-01-03 03:48:20,063 - DEBUG - VM ctest-TestRoutersBasic-51390988-89113020 launched on Node cn-jenkins-deploy-platform-ansible-os-4954-1 2026-01-03 03:48:20,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce1d4ee4-3d84-42b0-bb6e-12c5fbb11079 2026-01-03 03:48:20,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92b18b0b-3cdf-4aa2-bf54-3fa8422bf5c7 2026-01-03 03:48:21,382 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.314 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.314/2.140/3.966/1.826 ms') 2026-01-03 03:48:21,382 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51390988-89113020 passed 2026-01-03 03:48:21,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:48:21,536 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51390988-89113020, IP 208.74.223.131, Port 22 2026-01-03 03:48:21,691 - DEBUG - VM ctest-TestRoutersBasic-51390988-89113020 is ready for SSH connections 2026-01-03 03:48:21,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:48:21,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.74.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-03 03:48:21,691 - DEBUG - ping -s 56 -c 3 -W 1 208.74.223.131 2026-01-03 03:48:25,455 - DEBUG - PING 208.74.223.131 (208.74.223.131): 56 data bytes 64 bytes from 208.74.223.131: seq=0 ttl=62 time=7.333 ms 64 bytes from 208.74.223.131: seq=1 ttl=62 time=1.006 ms 64 bytes from 208.74.223.131: seq=2 ttl=62 time=0.766 ms --- 208.74.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/3.035/7.333 ms 2026-01-03 03:48:25,456 - INFO - Ping to IP 208.74.223.131 from VM ctest-TestRoutersBasic-51390988-16791811 passed 2026-01-03 03:48:25,456 - INFO - Deleting interface with subnet_id d3a02306-ff67-48d1-bfa5-f398fa49cbe6, port_id None from router bb26062b-9349-4a59-97f8-0d6c67b840ee 2026-01-03 03:48:25,636 - INFO - Deleting VM ctest-TestRoutersBasic-51390988-89113020 2026-01-03 03:48:25,707 - INFO - Deleting VM ctest-TestRoutersBasic-51390988-16791811 2026-01-03 03:48:25,808 - INFO - Deleting VN ctest-ext_vn-69663715 2026-01-03 03:48:25,880 - DEBUG - VN 9ab8ffe8-d371-415a-8577-84c35d512dad still in use: Unable to complete operation on network 9ab8ffe8-d371-415a-8577-84c35d512dad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c42bb0c-43d5-42ec-a71f-390c53132fcb'] 2026-01-03 03:48:25,880 - WARNING - Deleting VN ctest-ext_vn-69663715 failed..Will retry 2026-01-03 03:48:27,992 - DEBUG - Response for deleting network () 2026-01-03 03:48:27,992 - INFO - Deleting VN ctest-vn-07317375 2026-01-03 03:48:28,150 - DEBUG - Response for deleting network () 2026-01-03 03:48:28,405 - DEBUG - No XMPP flaps were noticed during the test 2026-01-03 03:48:28,405 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-03 03:48:28,405 - INFO - -------------------------------------------------------------------------------- 2026-01-03 03:48:29,112 - INFO - Deleted project: ctest-TestRoutersBasic-51390988, ID : 28adcbbb-52cb-4eb1-ad68-7515c959d70c