2024-11-13 08:49:11,759 - INFO - Domain Default found not creating 2024-11-13 08:49:11,930 - INFO - Project ctest-TestBasicVMVNx-70498355 not found, creating it 2024-11-13 08:49:12,501 - INFO - Created Project:ctest-TestBasicVMVNx-70498355, ID : e4c51774-33e5-467f-bac0-9efd20233975 2024-11-13 08:49:13,989 - INFO - ================================================================================ 2024-11-13 08:49:13,990 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 08:49:13,990 - 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-13 08:49:14,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.8': '0'}} with 2024-11-13 08:49:14,244 - INFO - Initial checks done. Running the testcase now 2024-11-13 08:49:14,244 - INFO - 2024-11-13 08:49:14,870 - DEBUG - Response for create_network : {'network': {'id': 'b2e38399-4c4a-422f-8067-35d75ba58907', 'name': 'ctest-vn-94664319', 'tenant_id': 'e4c5177433e5467fbac09efd20233975', 'project_id': 'e4c5177433e5467fbac09efd20233975', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70498355', 'ctest-vn-94664319'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 08:49:15,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '85d79bfb-c833-4784-8863-c0dff32d8864', 'name': '', 'tenant_id': 'e4c5177433e5467fbac09efd20233975', 'network_id': 'b2e38399-4c4a-422f-8067-35d75ba58907', 'ip_version': 4, 'cidr': '154.119.110.128/26', 'allocation_pools': [{'start': '154.119.110.130', 'end': '154.119.110.190'}], 'gateway_ip': '154.119.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.119.110.130', 'tags': [], 'project_id': 'e4c5177433e5467fbac09efd20233975'}} 2024-11-13 08:49:15,092 - INFO - Created VN ctest-vn-94664319 2024-11-13 08:49:15,150 - DEBUG - VN ctest-vn-94664319 UUID is b2e38399-4c4a-422f-8067-35d75ba58907 2024-11-13 08:49:15,353 - DEBUG - Services list from nova: [, , ] 2024-11-13 08:49:16,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2278-1) 2024-11-13 08:49:17,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2278-1) 2024-11-13 08:49:17,630 - INFO - Waiting for VM ctest-TestBasicVMVNx-70498355-53323118 to be up.. 2024-11-13 08:49:17,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 08:49:22,841 - DEBUG - VM is in ACTIVE state now 2024-11-13 08:49:22,841 - INFO - VM name : ctest-TestBasicVMVNx-70498355-53323118 2024-11-13 08:49:22,936 - DEBUG - VM ctest-TestBasicVMVNx-70498355-53323118 ID is 1a12cc10-8fb9-460e-92ac-778b88348c6c 2024-11-13 08:49:22,961 - DEBUG - VM ctest-TestBasicVMVNx-70498355-53323118 launched on Node cn-jenkins-deploy-platform-ansible-os-2278-1 2024-11-13 08:49:23,073 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/1a12cc10-8fb9-460e-92ac-778b88348c6c 2024-11-13 08:49:23,401 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/1a12cc10-8fb9-460e-92ac-778b88348c6c 2024-11-13 08:49:23,447 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/cfc230ab-24f1-44d1-a674-6116894da018 2024-11-13 08:49:26,721 - 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 1015ms') 2024-11-13 08:49:26,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70498355-53323118 failed! 2024-11-13 08:49:26,778 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70498355:ctest-vn-94664319 is 154.119.110.129 and allocation pool is NOT set 2024-11-13 08:49:28,836 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/2.081/3.624/1.543 ms') 2024-11-13 08:49:28,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70498355-53323118 passed 2024-11-13 08:49:29,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:49:29,002 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70498355-53323118, IP 154.119.110.131, Port 22 2024-11-13 08:49:29,162 - DEBUG - VM ctest-TestBasicVMVNx-70498355-53323118 is ready for SSH connections 2024-11-13 08:49:29,162 - INFO - Waiting for VM ctest-TestBasicVMVNx-70498355-16026770 to be up.. 2024-11-13 08:49:29,245 - DEBUG - VM is in ACTIVE state now 2024-11-13 08:49:29,246 - INFO - VM name : ctest-TestBasicVMVNx-70498355-16026770 2024-11-13 08:49:29,328 - DEBUG - VM ctest-TestBasicVMVNx-70498355-16026770 ID is e22a2aa8-e379-4618-bf11-a266ac3aa40f 2024-11-13 08:49:29,328 - DEBUG - VM ctest-TestBasicVMVNx-70498355-16026770 launched on Node cn-jenkins-deploy-platform-ansible-os-2278-1 2024-11-13 08:49:29,408 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/e22a2aa8-e379-4618-bf11-a266ac3aa40f 2024-11-13 08:49:29,417 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/881a6ab0-339f-4f64-a83b-d9c8a01068fa 2024-11-13 08:49:30,663 - 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.443 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.443/1.610/2.778/1.167 ms') 2024-11-13 08:49:30,663 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70498355-16026770 passed 2024-11-13 08:49:30,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:49:30,822 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70498355-16026770, IP 154.119.110.132, Port 22 2024-11-13 08:49:30,982 - DEBUG - VM ctest-TestBasicVMVNx-70498355-16026770 is ready for SSH connections 2024-11-13 08:49:30,982 - DEBUG - FILE SIZE = 1303B 2024-11-13 08:49:30,982 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70498355-53323118 to ctest-TestBasicVMVNx-70498355-16026770 using scp 2024-11-13 08:49:30,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:49:30,988 - 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-11-13 08:49:30,989 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 08:49:32,893 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 08:49:33,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 08:49:33,998 - 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-11-13 08:49:33,998 - DEBUG - ls -l testfile 2024-11-13 08:49:35,584 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 01:49 testfile 2024-11-13 08:49:35,584 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70498355-16026770 2024-11-13 08:49:35,584 - INFO - Deleting VM ctest-TestBasicVMVNx-70498355-16026770 2024-11-13 08:49:35,739 - INFO - Deleting VM ctest-TestBasicVMVNx-70498355-53323118 2024-11-13 08:49:35,808 - INFO - Deleting VN ctest-vn-94664319 2024-11-13 08:49:35,872 - DEBUG - VN b2e38399-4c4a-422f-8067-35d75ba58907 still in use: Unable to complete operation on network b2e38399-4c4a-422f-8067-35d75ba58907. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a869b51-6a7c-4cf9-a2bf-1fe801bbd99e'] 2024-11-13 08:49:35,872 - WARNING - Deleting VN ctest-vn-94664319 failed..Will retry 2024-11-13 08:49:38,005 - DEBUG - Response for deleting network () 2024-11-13 08:49:38,271 - DEBUG - No XMPP flaps were noticed during the test 2024-11-13 08:49:38,272 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-13 08:49:38,272 - INFO - -------------------------------------------------------------------------------- 2024-11-13 08:49:38,993 - INFO - Deleted project: ctest-TestBasicVMVNx-70498355, ID : e4c51774-33e5-467f-bac0-9efd20233975