2024-11-08 14:25:04,512 - INFO - Domain Default found not creating 2024-11-08 14:25:04,698 - INFO - Project ctest-TestBasicVMVNx-87506536 not found, creating it 2024-11-08 14:25:05,373 - INFO - Created Project:ctest-TestBasicVMVNx-87506536, ID : cf317a03-8f94-47d1-9526-16383ca16bc3 2024-11-08 14:25:06,918 - INFO - ================================================================================ 2024-11-08 14:25:06,918 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 14:25:06,918 - 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 14:25:07,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.29': '0'}} with 2024-11-08 14:25:07,175 - INFO - Initial checks done. Running the testcase now 2024-11-08 14:25:07,175 - INFO - 2024-11-08 14:25:07,777 - DEBUG - Response for create_network : {'network': {'id': '893226aa-2247-4957-9aee-7ae3b1bb925f', 'name': 'ctest-vn-38580220', 'tenant_id': 'cf317a038f9447d1952616383ca16bc3', 'project_id': 'cf317a038f9447d1952616383ca16bc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87506536', 'ctest-vn-38580220'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 14:25:07,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '35ee21fe-89f1-4cf6-b3da-73421e285ffa', 'name': '', 'tenant_id': 'cf317a038f9447d1952616383ca16bc3', 'network_id': '893226aa-2247-4957-9aee-7ae3b1bb925f', 'ip_version': 4, 'cidr': '35.243.92.0/26', 'allocation_pools': [{'start': '35.243.92.2', 'end': '35.243.92.62'}], 'gateway_ip': '35.243.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.243.92.2', 'tags': [], 'project_id': 'cf317a038f9447d1952616383ca16bc3'}} 2024-11-08 14:25:08,000 - INFO - Created VN ctest-vn-38580220 2024-11-08 14:25:08,059 - DEBUG - VN ctest-vn-38580220 UUID is 893226aa-2247-4957-9aee-7ae3b1bb925f 2024-11-08 14:25:08,244 - DEBUG - Services list from nova: [, , ] 2024-11-08 14:25:09,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2229-1) 2024-11-08 14:25:10,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2229-1) 2024-11-08 14:25:10,554 - INFO - Waiting for VM ctest-TestBasicVMVNx-87506536-62645906 to be up.. 2024-11-08 14:25:10,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 14:25:15,758 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:25:15,758 - INFO - VM name : ctest-TestBasicVMVNx-87506536-62645906 2024-11-08 14:25:15,858 - DEBUG - VM ctest-TestBasicVMVNx-87506536-62645906 ID is 8589e731-ef24-4e9a-b06a-5214ed309bb8 2024-11-08 14:25:15,882 - DEBUG - VM ctest-TestBasicVMVNx-87506536-62645906 launched on Node cn-jenkins-deploy-platform-ansible-os-2229-1 2024-11-08 14:25:15,971 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8589e731-ef24-4e9a-b06a-5214ed309bb8 2024-11-08 14:25:16,277 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8589e731-ef24-4e9a-b06a-5214ed309bb8 2024-11-08 14:25:16,317 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/94db6a08-80b7-4bd1-964c-d5c4b88cced1 2024-11-08 14:25:19,584 - 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 1007ms') 2024-11-08 14:25:19,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87506536-62645906 failed! 2024-11-08 14:25:19,643 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87506536:ctest-vn-38580220 is 35.243.92.1 and allocation pool is NOT set 2024-11-08 14:25:21,702 - 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=7.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.683 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.683/4.280/7.878/3.597 ms') 2024-11-08 14:25:21,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87506536-62645906 passed 2024-11-08 14:25:21,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:25:21,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87506536-62645906, IP 35.243.92.3, Port 22 2024-11-08 14:25:22,034 - DEBUG - VM ctest-TestBasicVMVNx-87506536-62645906 is ready for SSH connections 2024-11-08 14:25:22,034 - INFO - Waiting for VM ctest-TestBasicVMVNx-87506536-08009202 to be up.. 2024-11-08 14:25:22,151 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:25:22,154 - INFO - VM name : ctest-TestBasicVMVNx-87506536-08009202 2024-11-08 14:25:22,250 - DEBUG - VM ctest-TestBasicVMVNx-87506536-08009202 ID is ccc613af-6509-43f0-a1d6-3137affea100 2024-11-08 14:25:22,251 - DEBUG - VM ctest-TestBasicVMVNx-87506536-08009202 launched on Node cn-jenkins-deploy-platform-ansible-os-2229-1 2024-11-08 14:25:22,340 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ccc613af-6509-43f0-a1d6-3137affea100 2024-11-08 14:25:22,353 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5c014233-5b5d-4d80-9caf-2e75ac09405a 2024-11-08 14:25:23,611 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.633/2.783/1.150 ms') 2024-11-08 14:25:23,611 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87506536-08009202 passed 2024-11-08 14:25:23,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:25:23,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87506536-08009202, IP 35.243.92.4, Port 22 2024-11-08 14:25:23,927 - DEBUG - VM ctest-TestBasicVMVNx-87506536-08009202 is ready for SSH connections 2024-11-08 14:25:23,927 - DEBUG - FILE SIZE = 1303B 2024-11-08 14:25:23,927 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87506536-62645906 to ctest-TestBasicVMVNx-87506536-08009202 using scp 2024-11-08 14:25:23,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:25:23,935 - 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.65, gateway password: c0ntrail123 2024-11-08 14:25:23,935 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 14:25:25,851 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 14:25:26,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:25:26,983 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2024-11-08 14:25:26,983 - DEBUG - ls -l testfile 2024-11-08 14:25:28,568 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 07:25 testfile 2024-11-08 14:25:28,568 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87506536-08009202 2024-11-08 14:25:28,569 - INFO - Deleting VM ctest-TestBasicVMVNx-87506536-08009202 2024-11-08 14:25:28,636 - INFO - Deleting VM ctest-TestBasicVMVNx-87506536-62645906 2024-11-08 14:25:28,711 - INFO - Deleting VN ctest-vn-38580220 2024-11-08 14:25:28,753 - DEBUG - VN 893226aa-2247-4957-9aee-7ae3b1bb925f still in use: Unable to complete operation on network 893226aa-2247-4957-9aee-7ae3b1bb925f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-358a0a03-cd7b-434a-a445-499fce4a4a2c'] 2024-11-08 14:25:28,754 - WARNING - Deleting VN ctest-vn-38580220 failed..Will retry 2024-11-08 14:25:30,878 - DEBUG - Response for deleting network () 2024-11-08 14:25:31,134 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 14:25:31,134 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-08 14:25:31,135 - INFO - -------------------------------------------------------------------------------- 2024-11-08 14:25:31,885 - INFO - Deleted project: ctest-TestBasicVMVNx-87506536, ID : cf317a03-8f94-47d1-9526-16383ca16bc3