2025-01-15 17:00:25,794 - INFO - Domain Default found not creating 2025-01-15 17:00:25,953 - INFO - Project ctest-TestBasicVMVNx-54414593 not found, creating it 2025-01-15 17:00:26,427 - INFO - Created Project:ctest-TestBasicVMVNx-54414593, ID : 859ac68f-d4c1-40ec-8028-0d7c888491d0 2025-01-15 17:00:27,921 - INFO - ================================================================================ 2025-01-15 17:00:27,921 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-15 17:00:27,921 - 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-01-15 17:00:28,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.27': '0'}} with 2025-01-15 17:00:28,191 - INFO - Initial checks done. Running the testcase now 2025-01-15 17:00:28,191 - INFO - 2025-01-15 17:00:28,787 - DEBUG - Response for create_network : {'network': {'id': 'c9e4c2c6-0992-4e4a-84e2-5b71ac9ea1a4', 'name': 'ctest-vn-50005947', 'tenant_id': '859ac68fd4c140ec80280d7c888491d0', 'project_id': '859ac68fd4c140ec80280d7c888491d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54414593', 'ctest-vn-50005947'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 17:00:28,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '12f4c921-3c85-4d5e-a835-b4f1d8ae33d1', 'name': '', 'tenant_id': '859ac68fd4c140ec80280d7c888491d0', 'network_id': 'c9e4c2c6-0992-4e4a-84e2-5b71ac9ea1a4', 'ip_version': 4, 'cidr': '61.132.52.192/26', 'allocation_pools': [{'start': '61.132.52.194', 'end': '61.132.52.254'}], 'gateway_ip': '61.132.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.132.52.194', 'tags': [], 'project_id': '859ac68fd4c140ec80280d7c888491d0'}} 2025-01-15 17:00:28,982 - INFO - Created VN ctest-vn-50005947 2025-01-15 17:00:29,037 - DEBUG - VN ctest-vn-50005947 UUID is c9e4c2c6-0992-4e4a-84e2-5b71ac9ea1a4 2025-01-15 17:00:29,203 - DEBUG - Services list from nova: [, , ] 2025-01-15 17:00:30,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2641-1) 2025-01-15 17:00:31,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2641-1) 2025-01-15 17:00:31,645 - INFO - Waiting for VM ctest-TestBasicVMVNx-54414593-89924833 to be up.. 2025-01-15 17:00:31,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 17:00:36,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 17:00:41,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 17:00:47,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 17:00:52,120 - DEBUG - VM is in ACTIVE state now 2025-01-15 17:00:52,121 - INFO - VM name : ctest-TestBasicVMVNx-54414593-89924833 2025-01-15 17:00:52,232 - DEBUG - VM ctest-TestBasicVMVNx-54414593-89924833 ID is 129c1ac7-2114-4120-96f0-12b014d827a7 2025-01-15 17:00:52,258 - DEBUG - VM ctest-TestBasicVMVNx-54414593-89924833 launched on Node cn-jenkins-deploy-platform-ansible-os-2641-1 2025-01-15 17:00:52,350 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/129c1ac7-2114-4120-96f0-12b014d827a7 2025-01-15 17:00:52,655 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/129c1ac7-2114-4120-96f0-12b014d827a7 2025-01-15 17:00:52,701 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/d8c93bfc-31ba-484c-ae6c-c879103dc868 2025-01-15 17:00:55,972 - 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-01-15 17:00:55,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54414593-89924833 failed! 2025-01-15 17:00:56,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54414593:ctest-vn-50005947 is 61.132.52.193 and allocation pool is NOT set 2025-01-15 17:00:58,099 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.012/6.267/10.523/4.255 ms') 2025-01-15 17:00:58,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54414593-89924833 passed 2025-01-15 17:00:58,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:00:58,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54414593-89924833, IP 61.132.52.195, Port 22 2025-01-15 17:00:58,328 - 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-01-15 17:00:58,431 - DEBUG - VM ctest-TestBasicVMVNx-54414593-89924833 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-15 17:01:03,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:01:03,433 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54414593-89924833, IP 61.132.52.195, Port 22 2025-01-15 17:01:03,593 - DEBUG - VM ctest-TestBasicVMVNx-54414593-89924833 is ready for SSH connections 2025-01-15 17:01:03,593 - INFO - Waiting for VM ctest-TestBasicVMVNx-54414593-54220560 to be up.. 2025-01-15 17:01:03,675 - DEBUG - VM is in ACTIVE state now 2025-01-15 17:01:03,675 - INFO - VM name : ctest-TestBasicVMVNx-54414593-54220560 2025-01-15 17:01:03,753 - DEBUG - VM ctest-TestBasicVMVNx-54414593-54220560 ID is d700b754-36ae-47c1-a5f7-8b8a96abd76b 2025-01-15 17:01:03,754 - DEBUG - VM ctest-TestBasicVMVNx-54414593-54220560 launched on Node cn-jenkins-deploy-platform-ansible-os-2641-1 2025-01-15 17:01:03,838 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/d700b754-36ae-47c1-a5f7-8b8a96abd76b 2025-01-15 17:01:03,848 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/90733324-84b7-4127-bff0-d34362449d39 2025-01-15 17:01:05,103 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.520/1.749/2.978/1.229 ms') 2025-01-15 17:01:05,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54414593-54220560 passed 2025-01-15 17:01:05,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:01:05,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54414593-54220560, IP 61.132.52.196, Port 22 2025-01-15 17:01:05,417 - DEBUG - VM ctest-TestBasicVMVNx-54414593-54220560 is ready for SSH connections 2025-01-15 17:01:05,418 - DEBUG - FILE SIZE = 1303B 2025-01-15 17:01:05,418 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54414593-89924833 to ctest-TestBasicVMVNx-54414593-54220560 using scp 2025-01-15 17:01:05,418 - 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.30, gateway password: c0ntrail123 2025-01-15 17:01:05,419 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-15 17:01:07,021 - DEBUG - 1+0 records in 1+0 records out 2025-01-15 17:01:07,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 17:01:08,136 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-15 17:01:08,136 - DEBUG - ls -l testfile 2025-01-15 17:01:09,738 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 10:01 testfile 2025-01-15 17:01:09,738 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54414593-54220560 2025-01-15 17:01:09,738 - INFO - Deleting VM ctest-TestBasicVMVNx-54414593-54220560 2025-01-15 17:01:09,821 - INFO - Deleting VM ctest-TestBasicVMVNx-54414593-89924833 2025-01-15 17:01:09,899 - INFO - Deleting VN ctest-vn-50005947 2025-01-15 17:01:09,947 - DEBUG - VN c9e4c2c6-0992-4e4a-84e2-5b71ac9ea1a4 still in use: Unable to complete operation on network c9e4c2c6-0992-4e4a-84e2-5b71ac9ea1a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-091a4724-3a77-47a8-ac49-62f1cc7383d6'] 2025-01-15 17:01:09,948 - WARNING - Deleting VN ctest-vn-50005947 failed..Will retry 2025-01-15 17:01:12,068 - DEBUG - Response for deleting network () 2025-01-15 17:01:12,328 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 17:01:12,328 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:45]
2025-01-15 17:01:12,328 - INFO - -------------------------------------------------------------------------------- 2025-01-15 17:01:13,038 - INFO - Deleted project: ctest-TestBasicVMVNx-54414593, ID : 859ac68f-d4c1-40ec-8028-0d7c888491d0