2024-10-31 02:29:37,911 - INFO - Domain Default found not creating
2024-10-31 02:29:38,080 - INFO - Project ctest-TestBasicVMVNx-13624819 not found, creating it
2024-10-31 02:29:38,562 - INFO - Created Project:ctest-TestBasicVMVNx-13624819, ID : a40e7e97-facc-4a84-88d5-736f8f6d5239
2024-10-31 02:29:40,068 - INFO - ================================================================================
2024-10-31 02:29:40,068 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-31 02:29:40,068 - 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-10-31 02:29:40,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.6': '0'}} with
2024-10-31 02:29:40,325 - INFO - Initial checks done. Running the testcase now
2024-10-31 02:29:40,325 - INFO -
2024-10-31 02:29:40,893 - DEBUG - Response for create_network : {'network': {'id': '6ae762e9-8534-4d78-87c9-dcb7ad1536eb', 'name': 'ctest-vn-61090365', 'tenant_id': 'a40e7e97facc4a8488d5736f8f6d5239', 'project_id': 'a40e7e97facc4a8488d5736f8f6d5239', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13624819', 'ctest-vn-61090365'], 'port_security_enabled': True, 'description': ''}}
2024-10-31 02:29:41,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '97fe7f98-59bd-4787-812e-1895c1721b67', 'name': '', 'tenant_id': 'a40e7e97facc4a8488d5736f8f6d5239', 'network_id': '6ae762e9-8534-4d78-87c9-dcb7ad1536eb', 'ip_version': 4, 'cidr': '18.55.185.128/26', 'allocation_pools': [{'start': '18.55.185.130', 'end': '18.55.185.190'}], 'gateway_ip': '18.55.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.55.185.130', 'tags': [], 'project_id': 'a40e7e97facc4a8488d5736f8f6d5239'}}
2024-10-31 02:29:41,070 - INFO - Created VN ctest-vn-61090365
2024-10-31 02:29:41,122 - DEBUG - VN ctest-vn-61090365 UUID is 6ae762e9-8534-4d78-87c9-dcb7ad1536eb
2024-10-31 02:29:41,296 - DEBUG - Services list from nova: [, , ]
2024-10-31 02:29:42,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2180-1)
2024-10-31 02:29:43,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2180-1)
2024-10-31 02:29:43,465 - INFO - Waiting for VM ctest-TestBasicVMVNx-13624819-12730348 to be up..
2024-10-31 02:29:43,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-31 02:29:48,667 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:29:48,667 - INFO - VM name : ctest-TestBasicVMVNx-13624819-12730348
2024-10-31 02:29:48,760 - DEBUG - VM ctest-TestBasicVMVNx-13624819-12730348 ID is 05ee2794-c2b8-4672-819f-700770473d28
2024-10-31 02:29:48,783 - DEBUG - VM ctest-TestBasicVMVNx-13624819-12730348 launched on Node cn-jenkins-deploy-platform-ansible-os-2180-1
2024-10-31 02:29:48,872 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/05ee2794-c2b8-4672-819f-700770473d28
2024-10-31 02:29:49,172 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/05ee2794-c2b8-4672-819f-700770473d28
2024-10-31 02:29:49,218 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a949bb0a-b5d4-4e6e-8dbc-44cfa49274de
2024-10-31 02:29:52,477 - 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-10-31 02:29:52,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13624819-12730348 failed!
2024-10-31 02:29:52,531 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13624819:ctest-vn-61090365 is 18.55.185.129 and allocation pool is NOT set
2024-10-31 02:29:54,592 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.875/3.218/1.343 ms')
2024-10-31 02:29:54,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13624819-12730348 passed
2024-10-31 02:29:54,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:29:54,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13624819-12730348, IP 18.55.185.131, Port 22
2024-10-31 02:29:54,902 - DEBUG - VM ctest-TestBasicVMVNx-13624819-12730348 is ready for SSH connections
2024-10-31 02:29:54,902 - INFO - Waiting for VM ctest-TestBasicVMVNx-13624819-28153666 to be up..
2024-10-31 02:29:54,983 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:29:54,983 - INFO - VM name : ctest-TestBasicVMVNx-13624819-28153666
2024-10-31 02:29:55,061 - DEBUG - VM ctest-TestBasicVMVNx-13624819-28153666 ID is a164e579-c607-49ce-851b-14743d0e57e3
2024-10-31 02:29:55,061 - DEBUG - VM ctest-TestBasicVMVNx-13624819-28153666 launched on Node cn-jenkins-deploy-platform-ansible-os-2180-1
2024-10-31 02:29:55,146 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a164e579-c607-49ce-851b-14743d0e57e3
2024-10-31 02:29:55,155 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/c2a56d3a-994e-4be6-9a6f-6320e9e11272
2024-10-31 02:29:56,400 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.693/2.990/1.297 ms')
2024-10-31 02:29:56,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13624819-28153666 passed
2024-10-31 02:29:56,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:29:56,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13624819-28153666, IP 18.55.185.132, Port 22
2024-10-31 02:29:56,706 - DEBUG - VM ctest-TestBasicVMVNx-13624819-28153666 is ready for SSH connections
2024-10-31 02:29:56,706 - DEBUG - FILE SIZE = 1303B
2024-10-31 02:29:56,706 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13624819-12730348 to ctest-TestBasicVMVNx-13624819-28153666 using scp
2024-10-31 02:29:56,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:29:56,713 - 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.29, gateway password: c0ntrail123
2024-10-31 02:29:56,713 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-31 02:29:58,605 - DEBUG - 1+0 records in
1+0 records out
2024-10-31 02:29:59,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:29:59,705 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-10-31 02:29:59,705 - DEBUG - ls -l testfile
2024-10-31 02:30:01,298 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 20:29 [0;0mtestfile[0m
2024-10-31 02:30:01,298 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13624819-28153666
2024-10-31 02:30:01,298 - INFO - Deleting VM ctest-TestBasicVMVNx-13624819-28153666
2024-10-31 02:30:01,483 - INFO - Deleting VM ctest-TestBasicVMVNx-13624819-12730348
2024-10-31 02:30:01,554 - INFO - Deleting VN ctest-vn-61090365
2024-10-31 02:30:01,601 - DEBUG - VN 6ae762e9-8534-4d78-87c9-dcb7ad1536eb still in use: Unable to complete operation on network 6ae762e9-8534-4d78-87c9-dcb7ad1536eb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e10d7d56-3a3f-4088-a30a-b333f57bc714']
2024-10-31 02:30:01,601 - WARNING - Deleting VN ctest-vn-61090365 failed..Will retry
2024-10-31 02:30:03,756 - DEBUG - Response for deleting network ()
2024-10-31 02:30:04,013 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:30:04,013 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-31 02:30:04,013 - INFO - --------------------------------------------------------------------------------
2024-10-31 02:30:04,704 - INFO - Deleted project: ctest-TestBasicVMVNx-13624819, ID : a40e7e97-facc-4a84-88d5-736f8f6d5239