2024-11-07 08:44:49,568 - INFO - Domain Default found not creating 2024-11-07 08:44:49,767 - INFO - Project ctest-TestBasicVMVNx-74058562 not found, creating it 2024-11-07 08:44:50,261 - INFO - Created Project:ctest-TestBasicVMVNx-74058562, ID : 8624cc65-8c2e-4d40-b66b-8a88a64352f0 2024-11-07 08:44:51,958 - INFO - ================================================================================ 2024-11-07 08:44:51,958 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 08:44:51,958 - 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-07 08:44:52,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2024-11-07 08:44:52,222 - INFO - Initial checks done. Running the testcase now 2024-11-07 08:44:52,222 - INFO - 2024-11-07 08:44:52,852 - DEBUG - Response for create_network : {'network': {'id': '4bfb23bc-a3de-4687-bee2-22b6d1106cfe', 'name': 'ctest-vn-29971398', 'tenant_id': '8624cc658c2e4d40b66b8a88a64352f0', 'project_id': '8624cc658c2e4d40b66b8a88a64352f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74058562', 'ctest-vn-29971398'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 08:44:53,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c8dc6dd-c436-4ae7-8fbd-95847facbac9', 'name': '', 'tenant_id': '8624cc658c2e4d40b66b8a88a64352f0', 'network_id': '4bfb23bc-a3de-4687-bee2-22b6d1106cfe', 'ip_version': 4, 'cidr': '207.195.34.192/26', 'allocation_pools': [{'start': '207.195.34.194', 'end': '207.195.34.254'}], 'gateway_ip': '207.195.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.195.34.194', 'tags': [], 'project_id': '8624cc658c2e4d40b66b8a88a64352f0'}} 2024-11-07 08:44:53,068 - INFO - Created VN ctest-vn-29971398 2024-11-07 08:44:53,124 - DEBUG - VN ctest-vn-29971398 UUID is 4bfb23bc-a3de-4687-bee2-22b6d1106cfe 2024-11-07 08:44:53,302 - DEBUG - Services list from nova: [, , ] 2024-11-07 08:44:54,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2213-1) 2024-11-07 08:44:55,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2213-1) 2024-11-07 08:44:55,575 - INFO - Waiting for VM ctest-TestBasicVMVNx-74058562-23250085 to be up.. 2024-11-07 08:44:55,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 08:45:00,789 - DEBUG - VM is in ACTIVE state now 2024-11-07 08:45:00,790 - INFO - VM name : ctest-TestBasicVMVNx-74058562-23250085 2024-11-07 08:45:00,887 - DEBUG - VM ctest-TestBasicVMVNx-74058562-23250085 ID is 52fa6007-5920-41b9-948c-5988e073a509 2024-11-07 08:45:00,905 - DEBUG - VM ctest-TestBasicVMVNx-74058562-23250085 launched on Node cn-jenkins-deploy-platform-ansible-os-2213-1 2024-11-07 08:45:01,002 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/52fa6007-5920-41b9-948c-5988e073a509 2024-11-07 08:45:01,309 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/52fa6007-5920-41b9-948c-5988e073a509 2024-11-07 08:45:01,347 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/d55f2fbf-1d62-4077-8f40-1f58beb0234b 2024-11-07 08:45:04,619 - 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 1003ms') 2024-11-07 08:45:04,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74058562-23250085 failed! 2024-11-07 08:45:04,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74058562:ctest-vn-29971398 is 207.195.34.193 and allocation pool is NOT set 2024-11-07 08:45:06,753 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/4.472/8.567/4.094 ms') 2024-11-07 08:45:06,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74058562-23250085 passed 2024-11-07 08:45:06,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 08:45:06,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74058562-23250085, IP 207.195.34.195, Port 22 2024-11-07 08:45:07,090 - DEBUG - VM ctest-TestBasicVMVNx-74058562-23250085 is ready for SSH connections 2024-11-07 08:45:07,090 - INFO - Waiting for VM ctest-TestBasicVMVNx-74058562-64161815 to be up.. 2024-11-07 08:45:07,204 - DEBUG - VM is in ACTIVE state now 2024-11-07 08:45:07,204 - INFO - VM name : ctest-TestBasicVMVNx-74058562-64161815 2024-11-07 08:45:07,304 - DEBUG - VM ctest-TestBasicVMVNx-74058562-64161815 ID is deccbd7c-d9ab-495e-ba5b-5e797d06321e 2024-11-07 08:45:07,304 - DEBUG - VM ctest-TestBasicVMVNx-74058562-64161815 launched on Node cn-jenkins-deploy-platform-ansible-os-2213-1 2024-11-07 08:45:07,397 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/deccbd7c-d9ab-495e-ba5b-5e797d06321e 2024-11-07 08:45:07,416 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/79ff3ef1-df44-494d-83b9-5b72f6c93e81 2024-11-07 08:45:08,680 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.672 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.672/1.939/3.206/1.267 ms') 2024-11-07 08:45:08,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74058562-64161815 passed 2024-11-07 08:45:08,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 08:45:08,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74058562-64161815, IP 207.195.34.196, Port 22 2024-11-07 08:45:08,999 - DEBUG - VM ctest-TestBasicVMVNx-74058562-64161815 is ready for SSH connections 2024-11-07 08:45:08,999 - DEBUG - FILE SIZE = 1303B 2024-11-07 08:45:08,999 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74058562-23250085 to ctest-TestBasicVMVNx-74058562-64161815 using scp 2024-11-07 08:45:09,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 08:45:09,006 - 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.12, gateway password: c0ntrail123 2024-11-07 08:45:09,006 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 08:45:10,638 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 08:45:11,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 08:45:11,769 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-07 08:45:11,769 - DEBUG - ls -l testfile 2024-11-07 08:45:13,722 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 01:45 testfile 2024-11-07 08:45:13,722 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74058562-64161815 2024-11-07 08:45:13,723 - INFO - Deleting VM ctest-TestBasicVMVNx-74058562-64161815 2024-11-07 08:45:13,929 - INFO - Deleting VM ctest-TestBasicVMVNx-74058562-23250085 2024-11-07 08:45:14,020 - INFO - Deleting VN ctest-vn-29971398 2024-11-07 08:45:14,068 - DEBUG - VN 4bfb23bc-a3de-4687-bee2-22b6d1106cfe still in use: Unable to complete operation on network 4bfb23bc-a3de-4687-bee2-22b6d1106cfe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f894512f-0858-487a-a408-9a6b0ce062db'] 2024-11-07 08:45:14,068 - WARNING - Deleting VN ctest-vn-29971398 failed..Will retry 2024-11-07 08:45:16,223 - DEBUG - Response for deleting network () 2024-11-07 08:45:16,493 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 08:45:16,493 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-07 08:45:16,493 - INFO - -------------------------------------------------------------------------------- 2024-11-07 08:45:17,200 - INFO - Deleted project: ctest-TestBasicVMVNx-74058562, ID : 8624cc65-8c2e-4d40-b66b-8a88a64352f0