2024-11-04 03:47:06,599 - INFO - Domain Default found not creating 2024-11-04 03:47:06,783 - INFO - Project ctest-TestBasicVMVNx-95702987 not found, creating it 2024-11-04 03:47:07,408 - INFO - Created Project:ctest-TestBasicVMVNx-95702987, ID : 7afeeb27-2df5-4136-9b67-a8e1f1bb0579 2024-11-04 03:47:08,985 - INFO - ================================================================================ 2024-11-04 03:47:08,985 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-04 03:47:08,985 - 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 2024-11-04 03:47:09,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2024-11-04 03:47:09,243 - INFO - Initial checks done. Running the testcase now 2024-11-04 03:47:09,244 - INFO - 2024-11-04 03:47:09,838 - DEBUG - Response for create_network : {'network': {'id': '9b26491d-49cd-46e8-ae45-57dd3ddcfa94', 'name': 'ctest-vn-62608406', 'tenant_id': '7afeeb272df541369b67a8e1f1bb0579', 'project_id': '7afeeb272df541369b67a8e1f1bb0579', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95702987', 'ctest-vn-62608406'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 03:47:10,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '75214146-1f5d-4737-af7e-e7e2eb4b120a', 'name': '', 'tenant_id': '7afeeb272df541369b67a8e1f1bb0579', 'network_id': '9b26491d-49cd-46e8-ae45-57dd3ddcfa94', 'ip_version': 4, 'cidr': '102.1.48.192/26', 'allocation_pools': [{'start': '102.1.48.194', 'end': '102.1.48.254'}], 'gateway_ip': '102.1.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.1.48.194', 'tags': [], 'project_id': '7afeeb272df541369b67a8e1f1bb0579'}} 2024-11-04 03:47:10,036 - INFO - Created VN ctest-vn-62608406 2024-11-04 03:47:10,095 - DEBUG - VN ctest-vn-62608406 UUID is 9b26491d-49cd-46e8-ae45-57dd3ddcfa94 2024-11-04 03:47:10,274 - DEBUG - Services list from nova: [, , ] 2024-11-04 03:47:11,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2195-1) 2024-11-04 03:47:12,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2195-1) 2024-11-04 03:47:12,722 - INFO - Waiting for VM ctest-TestBasicVMVNx-95702987-88919084 to be up.. 2024-11-04 03:47:12,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 03:47:17,918 - DEBUG - VM is in ACTIVE state now 2024-11-04 03:47:17,918 - INFO - VM name : ctest-TestBasicVMVNx-95702987-88919084 2024-11-04 03:47:18,012 - DEBUG - VM ctest-TestBasicVMVNx-95702987-88919084 ID is 124a5af7-d2f0-4181-8b33-82db9ba0b509 2024-11-04 03:47:18,035 - DEBUG - VM ctest-TestBasicVMVNx-95702987-88919084 launched on Node cn-jenkins-deploy-platform-ansible-os-2195-1 2024-11-04 03:47:18,139 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/124a5af7-d2f0-4181-8b33-82db9ba0b509 2024-11-04 03:47:18,452 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/124a5af7-d2f0-4181-8b33-82db9ba0b509 2024-11-04 03:47:18,492 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/19c1791a-da3a-4c4f-a8f6-ab7765af643d 2024-11-04 03:47:21,780 - 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 1031ms') 2024-11-04 03:47:21,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95702987-88919084 failed! 2024-11-04 03:47:21,843 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95702987:ctest-vn-62608406 is 102.1.48.193 and allocation pool is NOT set 2024-11-04 03:47:23,903 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.758/3.107/1.349 ms') 2024-11-04 03:47:23,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95702987-88919084 passed 2024-11-04 03:47:24,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:47:24,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95702987-88919084, IP 102.1.48.195, Port 22 2024-11-04 03:47:24,226 - DEBUG - VM ctest-TestBasicVMVNx-95702987-88919084 is ready for SSH connections 2024-11-04 03:47:24,226 - INFO - Waiting for VM ctest-TestBasicVMVNx-95702987-13155886 to be up.. 2024-11-04 03:47:24,316 - DEBUG - VM is in ACTIVE state now 2024-11-04 03:47:24,316 - INFO - VM name : ctest-TestBasicVMVNx-95702987-13155886 2024-11-04 03:47:24,418 - DEBUG - VM ctest-TestBasicVMVNx-95702987-13155886 ID is 9128daae-421a-4848-8fcb-5ed2c4929f5c 2024-11-04 03:47:24,418 - DEBUG - VM ctest-TestBasicVMVNx-95702987-13155886 launched on Node cn-jenkins-deploy-platform-ansible-os-2195-1 2024-11-04 03:47:24,544 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/9128daae-421a-4848-8fcb-5ed2c4929f5c 2024-11-04 03:47:24,555 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b619d903-ce92-4073-a1b6-ba5bb8f331fe 2024-11-04 03:47:25,808 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.796 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.796/1.804/2.813/1.008 ms') 2024-11-04 03:47:25,808 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95702987-13155886 passed 2024-11-04 03:47:25,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:47:25,995 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95702987-13155886, IP 102.1.48.196, Port 22 2024-11-04 03:47:26,169 - DEBUG - VM ctest-TestBasicVMVNx-95702987-13155886 is ready for SSH connections 2024-11-04 03:47:26,170 - DEBUG - FILE SIZE = 1303B 2024-11-04 03:47:26,170 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95702987-88919084 to ctest-TestBasicVMVNx-95702987-13155886 using scp 2024-11-04 03:47:26,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:47:26,176 - 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.23, gateway password: c0ntrail123 2024-11-04 03:47:26,176 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-04 03:47:28,090 - DEBUG - 1+0 records in 1+0 records out 2024-11-04 03:47:28,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:47:29,242 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-11-04 03:47:29,242 - DEBUG - ls -l testfile 2024-11-04 03:47:30,856 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 20:47 testfile 2024-11-04 03:47:30,857 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95702987-13155886 2024-11-04 03:47:30,857 - INFO - Deleting VM ctest-TestBasicVMVNx-95702987-13155886 2024-11-04 03:47:30,930 - INFO - Deleting VM ctest-TestBasicVMVNx-95702987-88919084 2024-11-04 03:47:31,007 - INFO - Deleting VN ctest-vn-62608406 2024-11-04 03:47:31,057 - DEBUG - VN 9b26491d-49cd-46e8-ae45-57dd3ddcfa94 still in use: Unable to complete operation on network 9b26491d-49cd-46e8-ae45-57dd3ddcfa94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-32bcb5c5-6ce5-461c-9434-0396271fe9c8'] 2024-11-04 03:47:31,057 - WARNING - Deleting VN ctest-vn-62608406 failed..Will retry 2024-11-04 03:47:33,174 - DEBUG - Response for deleting network () 2024-11-04 03:47:33,449 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 03:47:33,449 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-04 03:47:33,449 - INFO - -------------------------------------------------------------------------------- 2024-11-04 03:47:34,181 - INFO - Deleted project: ctest-TestBasicVMVNx-95702987, ID : 7afeeb27-2df5-4136-9b67-a8e1f1bb0579