2024-10-22 09:57:04,081 - INFO - Domain Default found not creating
2024-10-22 09:57:04,258 - INFO - Project ctest-TestBasicVMVNx-63144960 not found, creating it
2024-10-22 09:57:04,905 - INFO - Created Project:ctest-TestBasicVMVNx-63144960, ID : 2d79c959-c18f-4c17-8c9f-346b9776c018
2024-10-22 09:57:06,531 - INFO - ================================================================================
2024-10-22 09:57:06,531 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-22 09:57:06,531 - 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-22 09:57:06,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with
2024-10-22 09:57:06,792 - INFO - Initial checks done. Running the testcase now
2024-10-22 09:57:06,792 - INFO -
2024-10-22 09:57:07,382 - DEBUG - Response for create_network : {'network': {'id': 'b4b8bbb0-0932-4e16-bb1b-f22933320e5c', 'name': 'ctest-vn-53101875', 'tenant_id': '2d79c959c18f4c178c9f346b9776c018', 'project_id': '2d79c959c18f4c178c9f346b9776c018', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63144960', 'ctest-vn-53101875'], 'port_security_enabled': True, 'description': ''}}
2024-10-22 09:57:07,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1857ee2-8249-4bbb-b312-61f5bbb7b2bd', 'name': '', 'tenant_id': '2d79c959c18f4c178c9f346b9776c018', 'network_id': 'b4b8bbb0-0932-4e16-bb1b-f22933320e5c', 'ip_version': 4, 'cidr': '9.42.125.64/26', 'allocation_pools': [{'start': '9.42.125.66', 'end': '9.42.125.126'}], 'gateway_ip': '9.42.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.42.125.66', 'tags': [], 'project_id': '2d79c959c18f4c178c9f346b9776c018'}}
2024-10-22 09:57:07,562 - INFO - Created VN ctest-vn-53101875
2024-10-22 09:57:07,620 - DEBUG - VN ctest-vn-53101875 UUID is b4b8bbb0-0932-4e16-bb1b-f22933320e5c
2024-10-22 09:57:07,798 - DEBUG - Services list from nova: [, , ]
2024-10-22 09:57:08,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2124-1)
2024-10-22 09:57:10,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2124-1)
2024-10-22 09:57:10,025 - INFO - Waiting for VM ctest-TestBasicVMVNx-63144960-86242203 to be up..
2024-10-22 09:57:10,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-22 09:57:15,223 - DEBUG - VM is in ACTIVE state now
2024-10-22 09:57:15,223 - INFO - VM name : ctest-TestBasicVMVNx-63144960-86242203
2024-10-22 09:57:15,313 - DEBUG - VM ctest-TestBasicVMVNx-63144960-86242203 ID is a80189a7-6355-4b71-bd9f-8207af85fc63
2024-10-22 09:57:15,333 - DEBUG - VM ctest-TestBasicVMVNx-63144960-86242203 launched on Node cn-jenkins-deploy-platform-ansible-os-2124-1
2024-10-22 09:57:15,410 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a80189a7-6355-4b71-bd9f-8207af85fc63
2024-10-22 09:57:15,706 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a80189a7-6355-4b71-bd9f-8207af85fc63
2024-10-22 09:57:15,745 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a095c99e-b738-4fda-abb2-1dee103a3c25
2024-10-22 09:57:18,999 - 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 1002ms')
2024-10-22 09:57:18,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63144960-86242203 failed!
2024-10-22 09:57:19,060 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63144960:ctest-vn-53101875 is 9.42.125.65 and allocation pool is NOT set
2024-10-22 09:57:21,126 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.796/3.234/1.437 ms')
2024-10-22 09:57:21,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63144960-86242203 passed
2024-10-22 09:57:21,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:57:21,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63144960-86242203, IP 9.42.125.67, Port 22
2024-10-22 09:57:21,448 - DEBUG - VM ctest-TestBasicVMVNx-63144960-86242203 is ready for SSH connections
2024-10-22 09:57:21,448 - INFO - Waiting for VM ctest-TestBasicVMVNx-63144960-95701117 to be up..
2024-10-22 09:57:21,534 - DEBUG - VM is in ACTIVE state now
2024-10-22 09:57:21,534 - INFO - VM name : ctest-TestBasicVMVNx-63144960-95701117
2024-10-22 09:57:21,614 - DEBUG - VM ctest-TestBasicVMVNx-63144960-95701117 ID is 566f32d4-b776-4fde-b20a-b54d1a6dc17e
2024-10-22 09:57:21,614 - DEBUG - VM ctest-TestBasicVMVNx-63144960-95701117 launched on Node cn-jenkins-deploy-platform-ansible-os-2124-1
2024-10-22 09:57:21,696 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/566f32d4-b776-4fde-b20a-b54d1a6dc17e
2024-10-22 09:57:21,705 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8cd2210a-0b44-4719-80db-b2f7c113dabe
2024-10-22 09:57:22,967 - 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.81 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.648/2.813/1.165 ms')
2024-10-22 09:57:22,967 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63144960-95701117 passed
2024-10-22 09:57:23,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:57:23,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63144960-95701117, IP 9.42.125.68, Port 22
2024-10-22 09:57:23,275 - DEBUG - VM ctest-TestBasicVMVNx-63144960-95701117 is ready for SSH connections
2024-10-22 09:57:23,275 - DEBUG - FILE SIZE = 1303B
2024-10-22 09:57:23,275 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63144960-86242203 to ctest-TestBasicVMVNx-63144960-95701117 using scp
2024-10-22 09:57:23,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:57:23,283 - 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.27, gateway password: c0ntrail123
2024-10-22 09:57:23,283 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-22 09:57:25,185 - DEBUG - 1+0 records in
1+0 records out
2024-10-22 09:57:25,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:57:26,279 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2024-10-22 09:57:26,280 - DEBUG - ls -l testfile
2024-10-22 09:57:27,856 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 03:57 [0;0mtestfile[0m
2024-10-22 09:57:27,856 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63144960-95701117
2024-10-22 09:57:27,856 - INFO - Deleting VM ctest-TestBasicVMVNx-63144960-95701117
2024-10-22 09:57:27,929 - INFO - Deleting VM ctest-TestBasicVMVNx-63144960-86242203
2024-10-22 09:57:27,995 - INFO - Deleting VN ctest-vn-53101875
2024-10-22 09:57:28,042 - DEBUG - VN b4b8bbb0-0932-4e16-bb1b-f22933320e5c still in use: Unable to complete operation on network b4b8bbb0-0932-4e16-bb1b-f22933320e5c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-adfa8f46-f0cc-4260-af36-3065cb46bd99']
2024-10-22 09:57:28,042 - WARNING - Deleting VN ctest-vn-53101875 failed..Will retry
2024-10-22 09:57:30,158 - DEBUG - Response for deleting network ()
2024-10-22 09:57:30,419 - DEBUG - No XMPP flaps were noticed during the test
2024-10-22 09:57:30,419 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-22 09:57:30,419 - INFO - --------------------------------------------------------------------------------
2024-10-22 09:57:31,180 - INFO - Deleted project: ctest-TestBasicVMVNx-63144960, ID : 2d79c959-c18f-4c17-8c9f-346b9776c018