2024-11-10 15:01:15,522 - INFO - Domain Default found not creating 2024-11-10 15:01:15,708 - INFO - Project ctest-TestBasicVMVNx-92331469 not found, creating it 2024-11-10 15:01:16,200 - INFO - Created Project:ctest-TestBasicVMVNx-92331469, ID : 617e1e07-c893-41ea-ac2b-ad9da8e3101c 2024-11-10 15:01:17,770 - INFO - ================================================================================ 2024-11-10 15:01:17,770 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 15:01:17,770 - 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-10 15:01:18,028 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.14': '0'}} with 2024-11-10 15:01:18,029 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:01:18,029 - INFO - 2024-11-10 15:01:18,627 - DEBUG - Response for create_network : {'network': {'id': '5ae25d73-8240-4dfd-9242-ea6adade7ba6', 'name': 'ctest-vn-13954582', 'tenant_id': '617e1e07c89341eaac2bad9da8e3101c', 'project_id': '617e1e07c89341eaac2bad9da8e3101c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92331469', 'ctest-vn-13954582'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:01:18,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bee033d-9dc3-452a-b37e-75b611e6c0a1', 'name': '', 'tenant_id': '617e1e07c89341eaac2bad9da8e3101c', 'network_id': '5ae25d73-8240-4dfd-9242-ea6adade7ba6', 'ip_version': 4, 'cidr': '9.86.19.0/26', 'allocation_pools': [{'start': '9.86.19.2', 'end': '9.86.19.62'}], 'gateway_ip': '9.86.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.86.19.2', 'tags': [], 'project_id': '617e1e07c89341eaac2bad9da8e3101c'}} 2024-11-10 15:01:18,910 - INFO - Created VN ctest-vn-13954582 2024-11-10 15:01:18,974 - DEBUG - VN ctest-vn-13954582 UUID is 5ae25d73-8240-4dfd-9242-ea6adade7ba6 2024-11-10 15:01:19,151 - DEBUG - Services list from nova: [, , ] 2024-11-10 15:01:20,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:01:21,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:01:21,453 - INFO - Waiting for VM ctest-TestBasicVMVNx-92331469-03513834 to be up.. 2024-11-10 15:01:21,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:01:26,820 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:01:26,820 - INFO - VM name : ctest-TestBasicVMVNx-92331469-03513834 2024-11-10 15:01:26,923 - DEBUG - VM ctest-TestBasicVMVNx-92331469-03513834 ID is b08169d7-f2a2-45dc-9c21-4ddef61aac77 2024-11-10 15:01:26,952 - DEBUG - VM ctest-TestBasicVMVNx-92331469-03513834 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:01:27,065 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b08169d7-f2a2-45dc-9c21-4ddef61aac77 2024-11-10 15:01:27,412 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b08169d7-f2a2-45dc-9c21-4ddef61aac77 2024-11-10 15:01:27,456 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/7eb16a7d-57bd-48fc-8927-f73bf419a05c 2024-11-10 15:01:30,745 - 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-10 15:01:30,745 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92331469-03513834 failed! 2024-11-10 15:01:30,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92331469:ctest-vn-13954582 is 9.86.19.1 and allocation pool is NOT set 2024-11-10 15:01:32,875 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.074/5.886/10.698/4.812 ms') 2024-11-10 15:01:32,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92331469-03513834 passed 2024-11-10 15:01:33,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:01:33,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92331469-03513834, IP 9.86.19.3, Port 22 2024-11-10 15:01:33,185 - DEBUG - VM ctest-TestBasicVMVNx-92331469-03513834 is ready for SSH connections 2024-11-10 15:01:33,185 - INFO - Waiting for VM ctest-TestBasicVMVNx-92331469-19869816 to be up.. 2024-11-10 15:01:33,277 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:01:33,278 - INFO - VM name : ctest-TestBasicVMVNx-92331469-19869816 2024-11-10 15:01:33,377 - DEBUG - VM ctest-TestBasicVMVNx-92331469-19869816 ID is 735ef26b-3156-46fd-8aeb-4fc0df5675b0 2024-11-10 15:01:33,377 - DEBUG - VM ctest-TestBasicVMVNx-92331469-19869816 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:01:33,464 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/735ef26b-3156-46fd-8aeb-4fc0df5675b0 2024-11-10 15:01:33,479 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/ee850e39-3ff0-4e4e-bd34-d479a520eee8 2024-11-10 15:01:34,734 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.922 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.922/2.098/3.275/1.176 ms') 2024-11-10 15:01:34,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92331469-19869816 passed 2024-11-10 15:01:34,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:01:34,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92331469-19869816, IP 9.86.19.4, Port 22 2024-11-10 15:01:35,058 - DEBUG - VM ctest-TestBasicVMVNx-92331469-19869816 is ready for SSH connections 2024-11-10 15:01:35,058 - DEBUG - FILE SIZE = 1303B 2024-11-10 15:01:35,058 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92331469-03513834 to ctest-TestBasicVMVNx-92331469-19869816 using scp 2024-11-10 15:01:35,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:01:35,065 - 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.24, gateway password: c0ntrail123 2024-11-10 15:01:35,065 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 15:01:37,005 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 15:01:37,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:01:37,958 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-10 15:01:37,958 - DEBUG - ls -l testfile 2024-11-10 15:01:39,591 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 08:01 testfile 2024-11-10 15:01:39,591 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92331469-19869816 2024-11-10 15:01:39,591 - INFO - Deleting VM ctest-TestBasicVMVNx-92331469-19869816 2024-11-10 15:01:39,674 - INFO - Deleting VM ctest-TestBasicVMVNx-92331469-03513834 2024-11-10 15:01:39,741 - INFO - Deleting VN ctest-vn-13954582 2024-11-10 15:01:39,784 - DEBUG - VN 5ae25d73-8240-4dfd-9242-ea6adade7ba6 still in use: Unable to complete operation on network 5ae25d73-8240-4dfd-9242-ea6adade7ba6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b57a1679-8255-4820-bb03-b91a74dfb2f4'] 2024-11-10 15:01:39,784 - WARNING - Deleting VN ctest-vn-13954582 failed..Will retry 2024-11-10 15:01:41,920 - DEBUG - Response for deleting network () 2024-11-10 15:01:42,176 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 15:01:42,176 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-10 15:01:42,176 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:01:42,943 - INFO - Deleted project: ctest-TestBasicVMVNx-92331469, ID : 617e1e07-c893-41ea-ac2b-ad9da8e3101c