2025-09-08 02:11:38,705 - INFO - Domain Default found not creating 2025-09-08 02:11:38,851 - INFO - Project ctest-TestRoutersBasic-20346642 not found, creating it 2025-09-08 02:11:39,307 - INFO - Created Project:ctest-TestRoutersBasic-20346642, ID : f1500f77-de3a-4729-800b-266ae2e85445 2025-09-08 02:11:40,727 - INFO - ================================================================================ 2025-09-08 02:11:40,727 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-08 02:11:40,727 - 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-09-08 02:11:40,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 02:11:40,983 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:11:40,983 - INFO - 2025-09-08 02:11:41,689 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20346642 2025-09-08 02:11:41,782 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20346642 2025-09-08 02:11:42,110 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20346642', 'default']} 2025-09-08 02:11:42,387 - DEBUG - Response for create_network : {'network': {'id': 'b283f869-2b46-4bf8-9390-40454ccf61ef', 'name': 'ctest-vn-38510087', 'tenant_id': 'f1500f77de3a4729800b266ae2e85445', 'project_id': 'f1500f77de3a4729800b266ae2e85445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20346642', 'ctest-vn-38510087'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:42,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '67a1b53b-5ac8-4f6c-9304-4b9cb4dca058', 'name': '', 'tenant_id': 'f1500f77de3a4729800b266ae2e85445', 'network_id': 'b283f869-2b46-4bf8-9390-40454ccf61ef', 'ip_version': 4, 'cidr': '26.201.67.0/26', 'allocation_pools': [{'start': '26.201.67.2', 'end': '26.201.67.62'}], 'gateway_ip': '26.201.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.201.67.2', 'tags': [], 'project_id': 'f1500f77de3a4729800b266ae2e85445'}} 2025-09-08 02:11:42,565 - INFO - Created VN ctest-vn-38510087 2025-09-08 02:11:42,614 - DEBUG - VN ctest-vn-38510087 UUID is b283f869-2b46-4bf8-9390-40454ccf61ef 2025-09-08 02:11:42,944 - DEBUG - Response for create_network : {'network': {'id': 'd551dba3-0b47-4433-a88a-0939ffcb72fd', 'name': 'ctest-ext_vn-84056394', 'tenant_id': 'f1500f77de3a4729800b266ae2e85445', 'project_id': 'f1500f77de3a4729800b266ae2e85445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20346642', 'ctest-ext_vn-84056394'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:43,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abdf54ed-c8fc-44bd-8124-010d489ad15f', 'name': '', 'tenant_id': 'f1500f77de3a4729800b266ae2e85445', 'network_id': 'd551dba3-0b47-4433-a88a-0939ffcb72fd', 'ip_version': 4, 'cidr': '133.111.238.192/26', 'allocation_pools': [{'start': '133.111.238.194', 'end': '133.111.238.254'}], 'gateway_ip': '133.111.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.111.238.194', 'tags': [], 'project_id': 'f1500f77de3a4729800b266ae2e85445'}} 2025-09-08 02:11:43,108 - INFO - Created VN ctest-ext_vn-84056394 2025-09-08 02:11:43,158 - DEBUG - VN ctest-ext_vn-84056394 UUID is d551dba3-0b47-4433-a88a-0939ffcb72fd 2025-09-08 02:11:43,345 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:11:44,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:11:45,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:11:45,476 - INFO - Setting gateway for router 2b5ee445-ebf0-4a02-8080-06c3a4ed391a to network d551dba3-0b47-4433-a88a-0939ffcb72fd 2025-09-08 02:11:45,524 - INFO - Adding interface with subnet_id 67a1b53b-5ac8-4f6c-9304-4b9cb4dca058, port_id None to router 2b5ee445-ebf0-4a02-8080-06c3a4ed391a 2025-09-08 02:11:45,962 - INFO - Waiting for VM ctest-TestRoutersBasic-20346642-95775646 to be up.. 2025-09-08 02:11:46,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:11:51,214 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:51,214 - INFO - VM name : ctest-TestRoutersBasic-20346642-95775646 2025-09-08 02:11:51,287 - DEBUG - VM ctest-TestRoutersBasic-20346642-95775646 ID is afbab904-d573-4ad8-9ed2-b360e93345f3 2025-09-08 02:11:51,306 - DEBUG - VM ctest-TestRoutersBasic-20346642-95775646 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:11:51,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/afbab904-d573-4ad8-9ed2-b360e93345f3 2025-09-08 02:11:51,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/afbab904-d573-4ad8-9ed2-b360e93345f3 2025-09-08 02:11:51,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ecc7ac1d-db65-4de8-97bc-5dfb9bd9ccf2 2025-09-08 02:11:54,980 - 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 1022ms') 2025-09-08 02:11:54,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20346642-95775646 failed! 2025-09-08 02:11:55,034 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20346642:ctest-vn-38510087 is 26.201.67.1 and allocation pool is NOT set 2025-09-08 02:11:57,095 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.549 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.549/2.266/3.983/1.717 ms') 2025-09-08 02:11:57,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20346642-95775646 passed 2025-09-08 02:11:57,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:57,198 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20346642-95775646, IP 26.201.67.3, Port 22 2025-09-08 02:11:57,364 - DEBUG - VM ctest-TestRoutersBasic-20346642-95775646 is ready for SSH connections 2025-09-08 02:11:57,364 - INFO - Waiting for VM ctest-TestRoutersBasic-20346642-62598157 to be up.. 2025-09-08 02:11:57,443 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:57,443 - INFO - VM name : ctest-TestRoutersBasic-20346642-62598157 2025-09-08 02:11:57,523 - DEBUG - VM ctest-TestRoutersBasic-20346642-62598157 ID is 238bc511-9a64-48f7-93d8-e8c565f0b9cf 2025-09-08 02:11:57,523 - DEBUG - VM ctest-TestRoutersBasic-20346642-62598157 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:11:57,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/238bc511-9a64-48f7-93d8-e8c565f0b9cf 2025-09-08 02:11:57,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f558d0f3-7376-492b-975d-5a80f320f630 2025-09-08 02:11:58,835 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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 = 0.504/2.141/3.778/1.637 ms') 2025-09-08 02:11:58,836 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20346642-62598157 passed 2025-09-08 02:11:58,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:58,982 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20346642-62598157, IP 133.111.238.195, Port 22 2025-09-08 02:11:59,145 - DEBUG - VM ctest-TestRoutersBasic-20346642-62598157 is ready for SSH connections 2025-09-08 02:11:59,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:59,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.111.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:59,146 - DEBUG - ping -s 56 -c 3 -W 1 133.111.238.195 2025-09-08 02:12:03,212 - DEBUG - PING 133.111.238.195 (133.111.238.195): 56 data bytes 64 bytes from 133.111.238.195: seq=0 ttl=62 time=6.823 ms 64 bytes from 133.111.238.195: seq=1 ttl=62 time=1.139 ms 64 bytes from 133.111.238.195: seq=2 ttl=62 time=0.822 ms --- 133.111.238.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.928/6.823 ms 2025-09-08 02:12:03,213 - INFO - Ping to IP 133.111.238.195 from VM ctest-TestRoutersBasic-20346642-95775646 passed 2025-09-08 02:12:03,213 - INFO - Deleting interface with subnet_id 67a1b53b-5ac8-4f6c-9304-4b9cb4dca058, port_id None from router 2b5ee445-ebf0-4a02-8080-06c3a4ed391a 2025-09-08 02:12:03,411 - INFO - Deleting VM ctest-TestRoutersBasic-20346642-62598157 2025-09-08 02:12:03,488 - INFO - Deleting VM ctest-TestRoutersBasic-20346642-95775646 2025-09-08 02:12:03,594 - INFO - Deleting VN ctest-ext_vn-84056394 2025-09-08 02:12:03,673 - DEBUG - VN d551dba3-0b47-4433-a88a-0939ffcb72fd still in use: Unable to complete operation on network d551dba3-0b47-4433-a88a-0939ffcb72fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e131677-3325-4b59-afb8-718fb2fa7bb7'] 2025-09-08 02:12:03,673 - WARNING - Deleting VN ctest-ext_vn-84056394 failed..Will retry 2025-09-08 02:12:05,772 - DEBUG - Response for deleting network () 2025-09-08 02:12:05,772 - INFO - Deleting VN ctest-vn-38510087 2025-09-08 02:12:05,869 - DEBUG - Response for deleting network () 2025-09-08 02:12:06,123 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:12:06,123 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-08 02:12:06,124 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:12:06,800 - INFO - Deleted project: ctest-TestRoutersBasic-20346642, ID : f1500f77-de3a-4729-800b-266ae2e85445