2025-05-07 09:11:42,841 - INFO - Domain Default found not creating 2025-05-07 09:11:43,203 - INFO - Project ctest-TestBasicVMVNx-00305460 not found, creating it 2025-05-07 09:11:43,849 - INFO - Created Project:ctest-TestBasicVMVNx-00305460, ID : ab79805a-e5e6-46de-9734-b8b308f3b845 2025-05-07 09:11:45,720 - INFO - ================================================================================ 2025-05-07 09:11:45,721 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-07 09:11:45,721 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-05-07 09:11:46,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-07 09:11:46,053 - INFO - Initial checks done. Running the testcase now 2025-05-07 09:11:46,053 - INFO - 2025-05-07 09:11:46,952 - DEBUG - Response for create_network : {'network': {'id': '53ee74c2-281c-46b7-88c3-44e66ba521f7', 'name': 'ctest-vn-26797800', 'tenant_id': 'ab79805ae5e646de9734b8b308f3b845', 'project_id': 'ab79805ae5e646de9734b8b308f3b845', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00305460', 'ctest-vn-26797800'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 09:11:47,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '14feab2f-84b9-4b0a-a63d-c639989f6656', 'name': '', 'tenant_id': 'ab79805ae5e646de9734b8b308f3b845', 'network_id': '53ee74c2-281c-46b7-88c3-44e66ba521f7', 'ip_version': 4, 'cidr': '92.68.112.0/26', 'allocation_pools': [{'start': '92.68.112.2', 'end': '92.68.112.62'}], 'gateway_ip': '92.68.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.68.112.2', 'tags': [], 'project_id': 'ab79805ae5e646de9734b8b308f3b845'}} 2025-05-07 09:11:47,169 - INFO - Created VN ctest-vn-26797800 2025-05-07 09:11:47,224 - DEBUG - VN ctest-vn-26797800 UUID is 53ee74c2-281c-46b7-88c3-44e66ba521f7 2025-05-07 09:11:47,516 - DEBUG - Services list from nova: [, , ] 2025-05-07 09:11:49,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3282-1) 2025-05-07 09:11:50,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3282-1) 2025-05-07 09:11:50,794 - INFO - Waiting for VM ctest-TestBasicVMVNx-00305460-80624995 to be up.. 2025-05-07 09:11:50,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 09:11:56,176 - DEBUG - VM is in ACTIVE state now 2025-05-07 09:11:56,176 - INFO - VM name : ctest-TestBasicVMVNx-00305460-80624995 2025-05-07 09:11:56,292 - DEBUG - VM ctest-TestBasicVMVNx-00305460-80624995 ID is 02d0f281-3ce9-4a4e-806e-544304c2edd1 2025-05-07 09:11:56,328 - DEBUG - VM ctest-TestBasicVMVNx-00305460-80624995 launched on Node cn-jenkins-deploy-platform-ansible-os-3282-1 2025-05-07 09:11:56,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02d0f281-3ce9-4a4e-806e-544304c2edd1 2025-05-07 09:11:56,908 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02d0f281-3ce9-4a4e-806e-544304c2edd1 2025-05-07 09:11:56,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5f592566-5dd9-4f4a-9f24-c23a2955fa7f 2025-05-07 09:12:00,328 - 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 1023ms') 2025-05-07 09:12:00,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00305460-80624995 failed! 2025-05-07 09:12:00,400 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00305460:ctest-vn-26797800 is 92.68.112.1 and allocation pool is NOT set 2025-05-07 09:12:02,475 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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.879/2.889/2.899/0.010 ms') 2025-05-07 09:12:02,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00305460-80624995 passed 2025-05-07 09:12:02,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 09:12:02,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00305460-80624995, IP 92.68.112.3, Port 22 2025-05-07 09:12:02,732 - 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-05-07 09:12:02,858 - DEBUG - VM ctest-TestBasicVMVNx-00305460-80624995 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-07 09:12:07,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 09:12:07,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00305460-80624995, IP 92.68.112.3, Port 22 2025-05-07 09:12:08,059 - DEBUG - VM ctest-TestBasicVMVNx-00305460-80624995 is ready for SSH connections 2025-05-07 09:12:08,059 - INFO - Waiting for VM ctest-TestBasicVMVNx-00305460-78327305 to be up.. 2025-05-07 09:12:08,196 - DEBUG - VM is in ACTIVE state now 2025-05-07 09:12:08,197 - INFO - VM name : ctest-TestBasicVMVNx-00305460-78327305 2025-05-07 09:12:08,299 - DEBUG - VM ctest-TestBasicVMVNx-00305460-78327305 ID is 070d8684-639b-4304-a588-f8e557fc93af 2025-05-07 09:12:08,300 - DEBUG - VM ctest-TestBasicVMVNx-00305460-78327305 launched on Node cn-jenkins-deploy-platform-ansible-os-3282-1 2025-05-07 09:12:08,488 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/070d8684-639b-4304-a588-f8e557fc93af 2025-05-07 09:12:08,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/67cfd9bf-eae1-4dcb-8797-41721e309fb3 2025-05-07 09:12:09,868 - 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=9.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.819 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.819/5.086/9.353/4.267 ms') 2025-05-07 09:12:09,868 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00305460-78327305 passed 2025-05-07 09:12:10,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 09:12:10,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00305460-78327305, IP 92.68.112.4, Port 22 2025-05-07 09:12:10,275 - DEBUG - VM ctest-TestBasicVMVNx-00305460-78327305 is ready for SSH connections 2025-05-07 09:12:10,276 - DEBUG - FILE SIZE = 1303B 2025-05-07 09:12:10,276 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00305460-80624995 to ctest-TestBasicVMVNx-00305460-78327305 using scp 2025-05-07 09:12:10,279 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-07 09:12:10,280 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-07 09:12:12,702 - DEBUG - 1+0 records in 1+0 records out 2025-05-07 09:12:13,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 09:12:13,925 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-07 09:12:13,926 - DEBUG - ls -l testfile 2025-05-07 09:12:15,874 - DEBUG - -rw------- 1 cirros cirros 1303 May 7 03:12 testfile 2025-05-07 09:12:15,874 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00305460-78327305 2025-05-07 09:12:15,875 - INFO - Deleting VM ctest-TestBasicVMVNx-00305460-78327305 2025-05-07 09:12:16,070 - INFO - Deleting VM ctest-TestBasicVMVNx-00305460-80624995 2025-05-07 09:12:16,204 - INFO - Deleting VN ctest-vn-26797800 2025-05-07 09:12:16,297 - DEBUG - VN 53ee74c2-281c-46b7-88c3-44e66ba521f7 still in use: Unable to complete operation on network 53ee74c2-281c-46b7-88c3-44e66ba521f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0e84a4c-e31a-4988-95d9-9c9c23d6e663'] 2025-05-07 09:12:16,297 - WARNING - Deleting VN ctest-vn-26797800 failed..Will retry 2025-05-07 09:12:18,526 - DEBUG - Response for deleting network () 2025-05-07 09:12:18,853 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 09:12:18,853 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-05-07 09:12:18,854 - INFO - -------------------------------------------------------------------------------- 2025-05-07 09:12:19,870 - INFO - Deleted project: ctest-TestBasicVMVNx-00305460, ID : ab79805a-e5e6-46de-9734-b8b308f3b845