2024-10-24 02:48:06,154 - INFO - Domain Default found not creating 2024-10-24 02:48:06,363 - INFO - Project ctest-TestBasicVMVNx-65600583 not found, creating it 2024-10-24 02:48:06,893 - INFO - Created Project:ctest-TestBasicVMVNx-65600583, ID : eca8d0ce-dd37-441d-b6f5-b4c207198450 2024-10-24 02:48:08,627 - INFO - ================================================================================ 2024-10-24 02:48:08,627 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-24 02:48:08,627 - 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-10-24 02:48:08,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.12': '0'}} with 2024-10-24 02:48:08,883 - INFO - Initial checks done. Running the testcase now 2024-10-24 02:48:08,883 - INFO - 2024-10-24 02:48:09,529 - DEBUG - Response for create_network : {'network': {'id': 'f34ce278-5e47-46e3-8eef-6d2a7d9f3b95', 'name': 'ctest-vn-23478928', 'tenant_id': 'eca8d0cedd37441db6f5b4c207198450', 'project_id': 'eca8d0cedd37441db6f5b4c207198450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65600583', 'ctest-vn-23478928'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 02:48:09,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9c89cd2-97fe-4806-bef2-0303b6a04ceb', 'name': '', 'tenant_id': 'eca8d0cedd37441db6f5b4c207198450', 'network_id': 'f34ce278-5e47-46e3-8eef-6d2a7d9f3b95', 'ip_version': 4, 'cidr': '135.196.47.128/26', 'allocation_pools': [{'start': '135.196.47.130', 'end': '135.196.47.190'}], 'gateway_ip': '135.196.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.196.47.130', 'tags': [], 'project_id': 'eca8d0cedd37441db6f5b4c207198450'}} 2024-10-24 02:48:09,723 - INFO - Created VN ctest-vn-23478928 2024-10-24 02:48:09,783 - DEBUG - VN ctest-vn-23478928 UUID is f34ce278-5e47-46e3-8eef-6d2a7d9f3b95 2024-10-24 02:48:09,965 - DEBUG - Services list from nova: [, , ] 2024-10-24 02:48:11,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2135-1) 2024-10-24 02:48:12,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2135-1) 2024-10-24 02:48:12,532 - INFO - Waiting for VM ctest-TestBasicVMVNx-65600583-64088373 to be up.. 2024-10-24 02:48:12,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 02:48:17,762 - DEBUG - VM is in ACTIVE state now 2024-10-24 02:48:17,762 - INFO - VM name : ctest-TestBasicVMVNx-65600583-64088373 2024-10-24 02:48:17,850 - DEBUG - VM ctest-TestBasicVMVNx-65600583-64088373 ID is 56955276-6634-4b8d-9265-6a2d4577708d 2024-10-24 02:48:17,871 - DEBUG - VM ctest-TestBasicVMVNx-65600583-64088373 launched on Node cn-jenkins-deploy-platform-ansible-os-2135-1 2024-10-24 02:48:17,966 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/56955276-6634-4b8d-9265-6a2d4577708d 2024-10-24 02:48:18,317 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/56955276-6634-4b8d-9265-6a2d4577708d 2024-10-24 02:48:18,363 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/8f347444-cafb-4bea-97b1-1ce66bc379dd 2024-10-24 02:48:21,649 - 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 1030ms') 2024-10-24 02:48:21,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65600583-64088373 failed! 2024-10-24 02:48:21,715 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65600583:ctest-vn-23478928 is 135.196.47.129 and allocation pool is NOT set 2024-10-24 02:48:23,772 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.699 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.699/2.500/4.301/1.801 ms') 2024-10-24 02:48:23,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65600583-64088373 passed 2024-10-24 02:48:23,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:48:23,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65600583-64088373, IP 135.196.47.131, Port 22 2024-10-24 02:48:24,094 - DEBUG - VM ctest-TestBasicVMVNx-65600583-64088373 is ready for SSH connections 2024-10-24 02:48:24,094 - INFO - Waiting for VM ctest-TestBasicVMVNx-65600583-09710100 to be up.. 2024-10-24 02:48:24,217 - DEBUG - VM is in ACTIVE state now 2024-10-24 02:48:24,217 - INFO - VM name : ctest-TestBasicVMVNx-65600583-09710100 2024-10-24 02:48:24,302 - DEBUG - VM ctest-TestBasicVMVNx-65600583-09710100 ID is 0afd16e0-7013-4367-8a6e-0bf9eef4fc9c 2024-10-24 02:48:24,302 - DEBUG - VM ctest-TestBasicVMVNx-65600583-09710100 launched on Node cn-jenkins-deploy-platform-ansible-os-2135-1 2024-10-24 02:48:24,392 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/0afd16e0-7013-4367-8a6e-0bf9eef4fc9c 2024-10-24 02:48:24,408 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/cb034dae-3508-49d6-b64b-a444ed46875f 2024-10-24 02:48:25,671 - 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=5.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.63 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.630/3.550/5.471/1.920 ms') 2024-10-24 02:48:25,671 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65600583-09710100 passed 2024-10-24 02:48:25,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:48:25,831 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65600583-09710100, IP 135.196.47.132, Port 22 2024-10-24 02:48:25,987 - DEBUG - VM ctest-TestBasicVMVNx-65600583-09710100 is ready for SSH connections 2024-10-24 02:48:25,987 - DEBUG - FILE SIZE = 1303B 2024-10-24 02:48:25,987 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65600583-64088373 to ctest-TestBasicVMVNx-65600583-09710100 using scp 2024-10-24 02:48:25,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:48:25,995 - 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.34, gateway password: c0ntrail123 2024-10-24 02:48:25,995 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-24 02:48:28,004 - DEBUG - 1+0 records in 1+0 records out 2024-10-24 02:48:28,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:48:29,034 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-10-24 02:48:29,034 - DEBUG - ls -l testfile 2024-10-24 02:48:30,661 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 20:48 testfile 2024-10-24 02:48:30,661 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65600583-09710100 2024-10-24 02:48:30,662 - INFO - Deleting VM ctest-TestBasicVMVNx-65600583-09710100 2024-10-24 02:48:30,734 - INFO - Deleting VM ctest-TestBasicVMVNx-65600583-64088373 2024-10-24 02:48:30,807 - INFO - Deleting VN ctest-vn-23478928 2024-10-24 02:48:30,858 - DEBUG - VN f34ce278-5e47-46e3-8eef-6d2a7d9f3b95 still in use: Unable to complete operation on network f34ce278-5e47-46e3-8eef-6d2a7d9f3b95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3981d262-4cb3-45e1-9066-021d538d089a'] 2024-10-24 02:48:30,859 - WARNING - Deleting VN ctest-vn-23478928 failed..Will retry 2024-10-24 02:48:33,005 - DEBUG - Response for deleting network () 2024-10-24 02:48:33,263 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 02:48:33,263 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-24 02:48:33,263 - INFO - -------------------------------------------------------------------------------- 2024-10-24 02:48:34,069 - INFO - Deleted project: ctest-TestBasicVMVNx-65600583, ID : eca8d0ce-dd37-441d-b6f5-b4c207198450