2024-10-28 16:53:29,601 - INFO - Domain Default found not creating
2024-10-28 16:53:29,789 - INFO - Project ctest-TestBasicVMVNx-54930119 not found, creating it
2024-10-28 16:53:30,305 - INFO - Created Project:ctest-TestBasicVMVNx-54930119, ID : badb0bba-7731-43a8-aa99-bb77375ad9d1
2024-10-28 16:53:32,023 - INFO - ================================================================================
2024-10-28 16:53:32,023 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-28 16:53:32,023 - 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-28 16:53:32,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.13': '0'}} with
2024-10-28 16:53:32,286 - INFO - Initial checks done. Running the testcase now
2024-10-28 16:53:32,286 - INFO -
2024-10-28 16:53:32,939 - DEBUG - Response for create_network : {'network': {'id': '30eeeb38-8b83-4dc5-b3ad-aebf717ef934', 'name': 'ctest-vn-43828833', 'tenant_id': 'badb0bba773143a8aa99bb77375ad9d1', 'project_id': 'badb0bba773143a8aa99bb77375ad9d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54930119', 'ctest-vn-43828833'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 16:53:33,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d799437-73a5-454c-8f59-906c14011fcd', 'name': '', 'tenant_id': 'badb0bba773143a8aa99bb77375ad9d1', 'network_id': '30eeeb38-8b83-4dc5-b3ad-aebf717ef934', 'ip_version': 4, 'cidr': '211.159.134.128/26', 'allocation_pools': [{'start': '211.159.134.130', 'end': '211.159.134.190'}], 'gateway_ip': '211.159.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.159.134.130', 'tags': [], 'project_id': 'badb0bba773143a8aa99bb77375ad9d1'}}
2024-10-28 16:53:33,215 - INFO - Created VN ctest-vn-43828833
2024-10-28 16:53:33,275 - DEBUG - VN ctest-vn-43828833 UUID is 30eeeb38-8b83-4dc5-b3ad-aebf717ef934
2024-10-28 16:53:33,478 - DEBUG - Services list from nova: [, , ]
2024-10-28 16:53:34,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2171-1)
2024-10-28 16:53:36,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2171-1)
2024-10-28 16:53:36,096 - INFO - Waiting for VM ctest-TestBasicVMVNx-54930119-51345614 to be up..
2024-10-28 16:53:36,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 16:53:41,298 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:53:41,298 - INFO - VM name : ctest-TestBasicVMVNx-54930119-51345614
2024-10-28 16:53:41,408 - DEBUG - VM ctest-TestBasicVMVNx-54930119-51345614 ID is 88e36400-8f73-480f-a27e-e42f55bff25f
2024-10-28 16:53:41,431 - DEBUG - VM ctest-TestBasicVMVNx-54930119-51345614 launched on Node cn-jenkins-deploy-platform-ansible-os-2171-1
2024-10-28 16:53:41,523 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/88e36400-8f73-480f-a27e-e42f55bff25f
2024-10-28 16:53:41,862 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/88e36400-8f73-480f-a27e-e42f55bff25f
2024-10-28 16:53:41,906 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/d6d40978-09dc-4ab9-824f-c0fa7597656f
2024-10-28 16:53:45,192 - 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 1022ms')
2024-10-28 16:53:45,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54930119-51345614 failed!
2024-10-28 16:53:45,254 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54930119:ctest-vn-43828833 is 211.159.134.129 and allocation pool is NOT set
2024-10-28 16:53:47,327 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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.494/3.354/5.215/1.860 ms')
2024-10-28 16:53:47,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54930119-51345614 passed
2024-10-28 16:53:47,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:53:47,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54930119-51345614, IP 211.159.134.131, Port 22
2024-10-28 16:53:47,642 - DEBUG - VM ctest-TestBasicVMVNx-54930119-51345614 is ready for SSH connections
2024-10-28 16:53:47,642 - INFO - Waiting for VM ctest-TestBasicVMVNx-54930119-16223398 to be up..
2024-10-28 16:53:48,014 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:53:48,015 - INFO - VM name : ctest-TestBasicVMVNx-54930119-16223398
2024-10-28 16:53:48,101 - DEBUG - VM ctest-TestBasicVMVNx-54930119-16223398 ID is 2cf1ca14-2c65-48e7-9307-1340ca7d9326
2024-10-28 16:53:48,102 - DEBUG - VM ctest-TestBasicVMVNx-54930119-16223398 launched on Node cn-jenkins-deploy-platform-ansible-os-2171-1
2024-10-28 16:53:48,192 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2cf1ca14-2c65-48e7-9307-1340ca7d9326
2024-10-28 16:53:48,206 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/bc8b40e7-1c1d-4455-87ff-3f846fd96aca
2024-10-28 16:53:49,461 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.812 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.812/1.975/3.138/1.163 ms')
2024-10-28 16:53:49,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54930119-16223398 passed
2024-10-28 16:53:49,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:53:49,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54930119-16223398, IP 211.159.134.132, Port 22
2024-10-28 16:53:49,865 - DEBUG - VM ctest-TestBasicVMVNx-54930119-16223398 is ready for SSH connections
2024-10-28 16:53:49,865 - DEBUG - FILE SIZE = 1303B
2024-10-28 16:53:49,865 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54930119-51345614 to ctest-TestBasicVMVNx-54930119-16223398 using scp
2024-10-28 16:53:49,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:53:49,873 - 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.12, gateway password: c0ntrail123
2024-10-28 16:53:49,873 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-28 16:53:51,905 - DEBUG - 1+0 records in
1+0 records out
2024-10-28 16:53:52,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:53:52,921 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-10-28 16:53:52,922 - DEBUG - ls -l testfile
2024-10-28 16:53:54,568 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 10:53 [0;0mtestfile[0m
2024-10-28 16:53:54,568 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54930119-16223398
2024-10-28 16:53:54,568 - INFO - Deleting VM ctest-TestBasicVMVNx-54930119-16223398
2024-10-28 16:53:54,642 - INFO - Deleting VM ctest-TestBasicVMVNx-54930119-51345614
2024-10-28 16:53:54,722 - INFO - Deleting VN ctest-vn-43828833
2024-10-28 16:53:54,771 - DEBUG - VN 30eeeb38-8b83-4dc5-b3ad-aebf717ef934 still in use: Unable to complete operation on network 30eeeb38-8b83-4dc5-b3ad-aebf717ef934. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-be419d62-ae3c-45eb-82a8-885d22acb947']
2024-10-28 16:53:54,771 - WARNING - Deleting VN ctest-vn-43828833 failed..Will retry
2024-10-28 16:53:56,895 - DEBUG - Response for deleting network ()
2024-10-28 16:53:57,153 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 16:53:57,153 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-28 16:53:57,153 - INFO - --------------------------------------------------------------------------------
2024-10-28 16:53:57,932 - INFO - Deleted project: ctest-TestBasicVMVNx-54930119, ID : badb0bba-7731-43a8-aa99-bb77375ad9d1