2024-11-08 06:38:29,872 - INFO - Domain Default found not creating 2024-11-08 06:38:30,048 - INFO - Project ctest-TestBasicVMVNx-24716212 not found, creating it 2024-11-08 06:38:30,549 - INFO - Created Project:ctest-TestBasicVMVNx-24716212, ID : 05e8a2eb-77db-4e04-83c6-bac1c2676557 2024-11-08 06:38:32,122 - INFO - ================================================================================ 2024-11-08 06:38:32,122 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 06:38:32,122 - 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-08 06:38:32,378 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.34': '0'}} with 2024-11-08 06:38:32,378 - INFO - Initial checks done. Running the testcase now 2024-11-08 06:38:32,378 - INFO - 2024-11-08 06:38:32,980 - DEBUG - Response for create_network : {'network': {'id': '584ae9de-8e6b-4fb2-9a6f-539e68e13066', 'name': 'ctest-vn-64051286', 'tenant_id': '05e8a2eb77db4e0483c6bac1c2676557', 'project_id': '05e8a2eb77db4e0483c6bac1c2676557', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24716212', 'ctest-vn-64051286'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 06:38:33,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '53c568d3-f1ef-45c3-b170-0e19b661bfe5', 'name': '', 'tenant_id': '05e8a2eb77db4e0483c6bac1c2676557', 'network_id': '584ae9de-8e6b-4fb2-9a6f-539e68e13066', 'ip_version': 4, 'cidr': '81.144.63.128/26', 'allocation_pools': [{'start': '81.144.63.130', 'end': '81.144.63.190'}], 'gateway_ip': '81.144.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.144.63.130', 'tags': [], 'project_id': '05e8a2eb77db4e0483c6bac1c2676557'}} 2024-11-08 06:38:33,238 - INFO - Created VN ctest-vn-64051286 2024-11-08 06:38:33,296 - DEBUG - VN ctest-vn-64051286 UUID is 584ae9de-8e6b-4fb2-9a6f-539e68e13066 2024-11-08 06:38:33,466 - DEBUG - Services list from nova: [, , ] 2024-11-08 06:38:34,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2223-1) 2024-11-08 06:38:35,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2223-1) 2024-11-08 06:38:35,797 - INFO - Waiting for VM ctest-TestBasicVMVNx-24716212-53721464 to be up.. 2024-11-08 06:38:35,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 06:38:41,027 - DEBUG - VM is in ACTIVE state now 2024-11-08 06:38:41,027 - INFO - VM name : ctest-TestBasicVMVNx-24716212-53721464 2024-11-08 06:38:41,108 - DEBUG - VM ctest-TestBasicVMVNx-24716212-53721464 ID is 785892a6-1372-435b-8fca-e15544415934 2024-11-08 06:38:41,128 - DEBUG - VM ctest-TestBasicVMVNx-24716212-53721464 launched on Node cn-jenkins-deploy-platform-ansible-os-2223-1 2024-11-08 06:38:41,215 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/785892a6-1372-435b-8fca-e15544415934 2024-11-08 06:38:41,519 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/785892a6-1372-435b-8fca-e15544415934 2024-11-08 06:38:41,558 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b57865fa-9f7e-404e-af4f-3927aeadccdf 2024-11-08 06:38:44,845 - 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 1022ms') 2024-11-08 06:38:44,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24716212-53721464 failed! 2024-11-08 06:38:44,904 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24716212:ctest-vn-64051286 is 81.144.63.129 and allocation pool is NOT set 2024-11-08 06:38:46,965 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/3.662/6.904/3.242 ms') 2024-11-08 06:38:46,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24716212-53721464 passed 2024-11-08 06:38:47,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:38:47,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24716212-53721464, IP 81.144.63.131, Port 22 2024-11-08 06:38:47,283 - DEBUG - VM ctest-TestBasicVMVNx-24716212-53721464 is ready for SSH connections 2024-11-08 06:38:47,283 - INFO - Waiting for VM ctest-TestBasicVMVNx-24716212-15871982 to be up.. 2024-11-08 06:38:47,372 - DEBUG - VM is in ACTIVE state now 2024-11-08 06:38:47,372 - INFO - VM name : ctest-TestBasicVMVNx-24716212-15871982 2024-11-08 06:38:47,448 - DEBUG - VM ctest-TestBasicVMVNx-24716212-15871982 ID is 111d71e9-8681-4e20-adee-9bd953f18d5b 2024-11-08 06:38:47,448 - DEBUG - VM ctest-TestBasicVMVNx-24716212-15871982 launched on Node cn-jenkins-deploy-platform-ansible-os-2223-1 2024-11-08 06:38:47,626 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/111d71e9-8681-4e20-adee-9bd953f18d5b 2024-11-08 06:38:47,636 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c27d959a-f9f0-48c7-bc18-165b04fb366c 2024-11-08 06:38:48,897 - 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=3.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.920/3.452/1.531 ms') 2024-11-08 06:38:48,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24716212-15871982 passed 2024-11-08 06:38:49,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:38:49,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24716212-15871982, IP 81.144.63.132, Port 22 2024-11-08 06:38:49,231 - DEBUG - VM ctest-TestBasicVMVNx-24716212-15871982 is ready for SSH connections 2024-11-08 06:38:49,231 - DEBUG - FILE SIZE = 1303B 2024-11-08 06:38:49,231 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24716212-53721464 to ctest-TestBasicVMVNx-24716212-15871982 using scp 2024-11-08 06:38:49,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:38:49,238 - 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.41, gateway password: c0ntrail123 2024-11-08 06:38:49,238 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 06:38:51,301 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 06:38:52,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:38:52,422 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-08 06:38:52,425 - DEBUG - ls -l testfile 2024-11-08 06:38:54,007 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 23:38 testfile 2024-11-08 06:38:54,007 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24716212-15871982 2024-11-08 06:38:54,007 - INFO - Deleting VM ctest-TestBasicVMVNx-24716212-15871982 2024-11-08 06:38:54,074 - INFO - Deleting VM ctest-TestBasicVMVNx-24716212-53721464 2024-11-08 06:38:54,144 - INFO - Deleting VN ctest-vn-64051286 2024-11-08 06:38:54,183 - DEBUG - VN 584ae9de-8e6b-4fb2-9a6f-539e68e13066 still in use: Unable to complete operation on network 584ae9de-8e6b-4fb2-9a6f-539e68e13066. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4769b1e5-35cb-4e38-a57d-d137d42d3b31'] 2024-11-08 06:38:54,183 - WARNING - Deleting VN ctest-vn-64051286 failed..Will retry 2024-11-08 06:38:56,328 - DEBUG - Response for deleting network () 2024-11-08 06:38:56,596 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 06:38:56,597 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-08 06:38:56,597 - INFO - -------------------------------------------------------------------------------- 2024-11-08 06:38:57,383 - INFO - Deleted project: ctest-TestBasicVMVNx-24716212, ID : 05e8a2eb-77db-4e04-83c6-bac1c2676557