2025-08-20 09:16:42,492 - INFO - Domain Default found not creating
2025-08-20 09:16:42,629 - INFO - Project ctest-TestRoutersBasic-90649575 not found, creating it
2025-08-20 09:16:43,065 - INFO - Created Project:ctest-TestRoutersBasic-90649575, ID : 55885f77-d788-4922-8dd9-9d87edca1ef9
2025-08-20 09:16:44,564 - INFO - ================================================================================
2025-08-20 09:16:44,564 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-20 09:16:44,564 - 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
2025-08-20 09:16:44,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with
2025-08-20 09:16:44,821 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:16:44,822 - INFO -
2025-08-20 09:16:45,584 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90649575
2025-08-20 09:16:45,679 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90649575
2025-08-20 09:16:46,003 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90649575', 'default']}
2025-08-20 09:16:46,282 - DEBUG - Response for create_network : {'network': {'id': '31d71182-6cd1-454e-b2cc-45aded9ad1d8', 'name': 'ctest-vn-66260693', 'tenant_id': '55885f77d78849228dd99d87edca1ef9', 'project_id': '55885f77d78849228dd99d87edca1ef9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90649575', 'ctest-vn-66260693'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:16:46,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '527899a5-49d9-4f6e-a9c5-877afbd4e76b', 'name': '', 'tenant_id': '55885f77d78849228dd99d87edca1ef9', 'network_id': '31d71182-6cd1-454e-b2cc-45aded9ad1d8', 'ip_version': 4, 'cidr': '156.55.171.192/26', 'allocation_pools': [{'start': '156.55.171.194', 'end': '156.55.171.254'}], 'gateway_ip': '156.55.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.55.171.194', 'tags': [], 'project_id': '55885f77d78849228dd99d87edca1ef9'}}
2025-08-20 09:16:46,492 - INFO - Created VN ctest-vn-66260693
2025-08-20 09:16:46,551 - DEBUG - VN ctest-vn-66260693 UUID is 31d71182-6cd1-454e-b2cc-45aded9ad1d8
2025-08-20 09:16:46,902 - DEBUG - Response for create_network : {'network': {'id': '2941c181-0832-489d-8cef-5e5ef2898e5a', 'name': 'ctest-ext_vn-76368530', 'tenant_id': '55885f77d78849228dd99d87edca1ef9', 'project_id': '55885f77d78849228dd99d87edca1ef9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90649575', 'ctest-ext_vn-76368530'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:16:47,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad45a99d-f596-48c4-a517-94e3b62b7ead', 'name': '', 'tenant_id': '55885f77d78849228dd99d87edca1ef9', 'network_id': '2941c181-0832-489d-8cef-5e5ef2898e5a', 'ip_version': 4, 'cidr': '176.248.15.64/26', 'allocation_pools': [{'start': '176.248.15.66', 'end': '176.248.15.126'}], 'gateway_ip': '176.248.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.248.15.66', 'tags': [], 'project_id': '55885f77d78849228dd99d87edca1ef9'}}
2025-08-20 09:16:47,123 - INFO - Created VN ctest-ext_vn-76368530
2025-08-20 09:16:47,175 - DEBUG - VN ctest-ext_vn-76368530 UUID is 2941c181-0832-489d-8cef-5e5ef2898e5a
2025-08-20 09:16:47,388 - DEBUG - Services list from nova: [, , ]
2025-08-20 09:16:48,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1)
2025-08-20 09:16:49,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1)
2025-08-20 09:16:49,775 - INFO - Setting gateway for router 5018682f-8b70-4bf9-8563-bec78f39239b to network 2941c181-0832-489d-8cef-5e5ef2898e5a
2025-08-20 09:16:49,852 - INFO - Adding interface with subnet_id 527899a5-49d9-4f6e-a9c5-877afbd4e76b, port_id None to router 5018682f-8b70-4bf9-8563-bec78f39239b
2025-08-20 09:16:50,323 - INFO - Waiting for VM ctest-TestRoutersBasic-90649575-36033865 to be up..
2025-08-20 09:16:50,497 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 09:16:55,567 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:16:55,567 - INFO - VM name : ctest-TestRoutersBasic-90649575-36033865
2025-08-20 09:16:55,637 - DEBUG - VM ctest-TestRoutersBasic-90649575-36033865 ID is d65f2d19-b075-4eab-a0d2-cea0541bfe3f
2025-08-20 09:16:55,655 - DEBUG - VM ctest-TestRoutersBasic-90649575-36033865 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1
2025-08-20 09:16:55,725 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d65f2d19-b075-4eab-a0d2-cea0541bfe3f
2025-08-20 09:16:56,056 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d65f2d19-b075-4eab-a0d2-cea0541bfe3f
2025-08-20 09:16:56,088 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0a6e82dd-1c61-4e07-bc72-8456c60e8f11
2025-08-20 09:16:59,345 - 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 1019ms')
2025-08-20 09:16:59,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90649575-36033865 failed!
2025-08-20 09:16:59,403 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90649575:ctest-vn-66260693 is 156.55.171.193 and allocation pool is NOT set
2025-08-20 09:17:01,464 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 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 = 2.347/2.843/3.339/0.496 ms')
2025-08-20 09:17:01,464 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90649575-36033865 passed
2025-08-20 09:17:01,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:17:01,619 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90649575-36033865, IP 156.55.171.195, Port 22
2025-08-20 09:17:01,674 - 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': ''}
2025-08-20 09:17:01,745 - DEBUG - VM ctest-TestRoutersBasic-90649575-36033865 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-20 09:17:06,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:17:06,746 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90649575-36033865, IP 156.55.171.195, Port 22
2025-08-20 09:17:06,906 - DEBUG - VM ctest-TestRoutersBasic-90649575-36033865 is ready for SSH connections
2025-08-20 09:17:06,906 - INFO - Waiting for VM ctest-TestRoutersBasic-90649575-69678190 to be up..
2025-08-20 09:17:06,974 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:17:06,974 - INFO - VM name : ctest-TestRoutersBasic-90649575-69678190
2025-08-20 09:17:07,041 - DEBUG - VM ctest-TestRoutersBasic-90649575-69678190 ID is 62cfc3d8-a89b-4274-9c1e-6ac651124779
2025-08-20 09:17:07,041 - DEBUG - VM ctest-TestRoutersBasic-90649575-69678190 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1
2025-08-20 09:17:07,108 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/62cfc3d8-a89b-4274-9c1e-6ac651124779
2025-08-20 09:17:07,116 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/56c1273b-7ef8-4a67-a5fc-40a2a24b6ca3
2025-08-20 09:17:08,350 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 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.327/1.647/2.967/1.320 ms')
2025-08-20 09:17:08,350 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90649575-69678190 passed
2025-08-20 09:17:08,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:17:08,503 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90649575-69678190, IP 176.248.15.67, Port 22
2025-08-20 09:17:08,658 - DEBUG - VM ctest-TestRoutersBasic-90649575-69678190 is ready for SSH connections
2025-08-20 09:17:08,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:17:08,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.248.15.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-20 09:17:08,659 - DEBUG - ping -s 56 -c 3 -W 1 176.248.15.67
2025-08-20 09:17:12,681 - DEBUG - PING 176.248.15.67 (176.248.15.67): 56 data bytes
64 bytes from 176.248.15.67: seq=0 ttl=62 time=7.520 ms
64 bytes from 176.248.15.67: seq=1 ttl=62 time=0.934 ms
64 bytes from 176.248.15.67: seq=2 ttl=62 time=0.949 ms
--- 176.248.15.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.934/3.134/7.520 ms
2025-08-20 09:17:12,681 - INFO - Ping to IP 176.248.15.67 from VM ctest-TestRoutersBasic-90649575-36033865 passed
2025-08-20 09:17:12,681 - INFO - Deleting interface with subnet_id 527899a5-49d9-4f6e-a9c5-877afbd4e76b, port_id None from router 5018682f-8b70-4bf9-8563-bec78f39239b
2025-08-20 09:17:12,875 - INFO - Deleting VM ctest-TestRoutersBasic-90649575-69678190
2025-08-20 09:17:12,939 - INFO - Deleting VM ctest-TestRoutersBasic-90649575-36033865
2025-08-20 09:17:13,028 - INFO - Deleting VN ctest-ext_vn-76368530
2025-08-20 09:17:13,098 - DEBUG - VN 2941c181-0832-489d-8cef-5e5ef2898e5a still in use: Unable to complete operation on network 2941c181-0832-489d-8cef-5e5ef2898e5a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-543f223c-fbd8-41f8-bb5a-8b7743ebde5d']
2025-08-20 09:17:13,098 - WARNING - Deleting VN ctest-ext_vn-76368530 failed..Will retry
2025-08-20 09:17:15,203 - DEBUG - Response for deleting network ()
2025-08-20 09:17:15,203 - INFO - Deleting VN ctest-vn-66260693
2025-08-20 09:17:15,327 - DEBUG - Response for deleting network ()
2025-08-20 09:17:15,596 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:17:15,596 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-08-20 09:17:15,596 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:17:16,326 - INFO - Deleted project: ctest-TestRoutersBasic-90649575, ID : 55885f77-d788-4922-8dd9-9d87edca1ef9