2025-03-10 02:26:15,974 - INFO - Domain Default found not creating 2025-03-10 02:26:16,104 - INFO - Project ctest-TestBasicVMVNx-96638587 not found, creating it 2025-03-10 02:26:16,537 - INFO - Created Project:ctest-TestBasicVMVNx-96638587, ID : 7fc1e6cd-3e93-4a07-a7dd-5fe3f691dbf0 2025-03-10 02:26:17,897 - INFO - ================================================================================ 2025-03-10 02:26:17,897 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-10 02:26:17,898 - 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-03-10 02:26:18,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.14': '0'}} with 2025-03-10 02:26:18,160 - INFO - Initial checks done. Running the testcase now 2025-03-10 02:26:18,160 - INFO - 2025-03-10 02:26:18,679 - DEBUG - Response for create_network : {'network': {'id': '193351ff-5c63-4428-baaf-80f7e8ac0191', 'name': 'ctest-vn-89198418', 'tenant_id': '7fc1e6cd3e934a07a7dd5fe3f691dbf0', 'project_id': '7fc1e6cd3e934a07a7dd5fe3f691dbf0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96638587', 'ctest-vn-89198418'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:26:18,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '29aecc2a-a326-4d8b-8257-634b5069eb35', 'name': '', 'tenant_id': '7fc1e6cd3e934a07a7dd5fe3f691dbf0', 'network_id': '193351ff-5c63-4428-baaf-80f7e8ac0191', 'ip_version': 4, 'cidr': '108.92.16.192/26', 'allocation_pools': [{'start': '108.92.16.194', 'end': '108.92.16.254'}], 'gateway_ip': '108.92.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.92.16.194', 'tags': [], 'project_id': '7fc1e6cd3e934a07a7dd5fe3f691dbf0'}} 2025-03-10 02:26:18,879 - INFO - Created VN ctest-vn-89198418 2025-03-10 02:26:18,931 - DEBUG - VN ctest-vn-89198418 UUID is 193351ff-5c63-4428-baaf-80f7e8ac0191 2025-03-10 02:26:19,088 - DEBUG - Services list from nova: [, , ] 2025-03-10 02:26:20,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2827-1) 2025-03-10 02:26:21,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2827-1) 2025-03-10 02:26:21,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-96638587-61739927 to be up.. 2025-03-10 02:26:21,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-10 02:26:26,284 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:26:26,284 - INFO - VM name : ctest-TestBasicVMVNx-96638587-61739927 2025-03-10 02:26:26,353 - DEBUG - VM ctest-TestBasicVMVNx-96638587-61739927 ID is 7a1d772e-8ca5-4627-aa35-e019e6cd93e6 2025-03-10 02:26:26,370 - DEBUG - VM ctest-TestBasicVMVNx-96638587-61739927 launched on Node cn-jenkins-deploy-platform-ansible-os-2827-1 2025-03-10 02:26:26,438 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/7a1d772e-8ca5-4627-aa35-e019e6cd93e6 2025-03-10 02:26:26,731 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/7a1d772e-8ca5-4627-aa35-e019e6cd93e6 2025-03-10 02:26:26,761 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/18e6cb7c-3cc9-4dfc-b077-4d52ec9f9bde 2025-03-10 02:26:30,015 - 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-03-10 02:26:30,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96638587-61739927 failed! 2025-03-10 02:26:30,067 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96638587:ctest-vn-89198418 is 108.92.16.193 and allocation pool is NOT set 2025-03-10 02:26:32,134 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.560 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 = 0.560/1.619/2.678/1.059 ms') 2025-03-10 02:26:32,134 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96638587-61739927 passed 2025-03-10 02:26:32,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:26:32,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96638587-61739927, IP 108.92.16.195, Port 22 2025-03-10 02:26:32,434 - DEBUG - VM ctest-TestBasicVMVNx-96638587-61739927 is ready for SSH connections 2025-03-10 02:26:32,434 - INFO - Waiting for VM ctest-TestBasicVMVNx-96638587-10375484 to be up.. 2025-03-10 02:26:32,509 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:26:32,509 - INFO - VM name : ctest-TestBasicVMVNx-96638587-10375484 2025-03-10 02:26:32,581 - DEBUG - VM ctest-TestBasicVMVNx-96638587-10375484 ID is 909b0dd1-c9b7-48c7-9549-9a9d8f9ae903 2025-03-10 02:26:32,581 - DEBUG - VM ctest-TestBasicVMVNx-96638587-10375484 launched on Node cn-jenkins-deploy-platform-ansible-os-2827-1 2025-03-10 02:26:32,662 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/909b0dd1-c9b7-48c7-9549-9a9d8f9ae903 2025-03-10 02:26:32,670 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/4a6ce022-594b-4c31-a804-e9ffcaa4ecbf 2025-03-10 02:26:33,917 - 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=4.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.204/2.961/4.718/1.757 ms') 2025-03-10 02:26:33,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96638587-10375484 passed 2025-03-10 02:26:34,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:26:34,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96638587-10375484, IP 108.92.16.196, Port 22 2025-03-10 02:26:34,123 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-03-10 02:26:34,196 - DEBUG - VM ctest-TestBasicVMVNx-96638587-10375484 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-10 02:26:39,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:26:39,197 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96638587-10375484, IP 108.92.16.196, Port 22 2025-03-10 02:26:39,350 - DEBUG - VM ctest-TestBasicVMVNx-96638587-10375484 is ready for SSH connections 2025-03-10 02:26:39,351 - DEBUG - FILE SIZE = 1303B 2025-03-10 02:26:39,351 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96638587-61739927 to ctest-TestBasicVMVNx-96638587-10375484 using scp 2025-03-10 02:26:39,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:26:39,356 - 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.60, gateway password: c0ntrail123 2025-03-10 02:26:39,356 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-10 02:26:41,251 - DEBUG - 1+0 records in 1+0 records out 2025-03-10 02:26:41,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:26:42,169 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2025-03-10 02:26:42,170 - DEBUG - ls -l testfile 2025-03-10 02:26:43,737 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 9 20:26 testfile 2025-03-10 02:26:43,737 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96638587-10375484 2025-03-10 02:26:43,737 - INFO - Deleting VM ctest-TestBasicVMVNx-96638587-10375484 2025-03-10 02:26:43,804 - INFO - Deleting VM ctest-TestBasicVMVNx-96638587-61739927 2025-03-10 02:26:43,863 - INFO - Deleting VN ctest-vn-89198418 2025-03-10 02:26:43,900 - DEBUG - VN 193351ff-5c63-4428-baaf-80f7e8ac0191 still in use: Unable to complete operation on network 193351ff-5c63-4428-baaf-80f7e8ac0191. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4eaf97ec-30d5-4624-9c9c-187e39b94f48'] 2025-03-10 02:26:43,900 - WARNING - Deleting VN ctest-vn-89198418 failed..Will retry 2025-03-10 02:26:45,991 - DEBUG - Response for deleting network () 2025-03-10 02:26:46,245 - DEBUG - No XMPP flaps were noticed during the test
2025-03-10 02:26:46,245 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-03-10 02:26:46,245 - INFO - -------------------------------------------------------------------------------- 2025-03-10 02:26:46,907 - INFO - Deleted project: ctest-TestBasicVMVNx-96638587, ID : 7fc1e6cd-3e93-4a07-a7dd-5fe3f691dbf0