2024-10-31 02:29:44,215 - INFO - Domain Default found not creating
2024-10-31 02:29:44,383 - INFO - Project ctest-TestBasicVMVNx-36883539 not found, creating it
2024-10-31 02:29:44,890 - INFO - Created Project:ctest-TestBasicVMVNx-36883539, ID : fc0c0add-07d8-4497-8b1b-559e8e5382a8
2024-10-31 02:29:46,393 - INFO - ================================================================================
2024-10-31 02:29:46,393 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-31 02:29:46,393 - 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:46,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.0.0.31': '0'}} with
2024-10-31 02:29:46,651 - INFO - Initial checks done. Running the testcase now
2024-10-31 02:29:46,651 - INFO -
2024-10-31 02:29:47,243 - DEBUG - Response for create_network : {'network': {'id': 'ff6719e6-afd9-4aa9-a713-2225a1a615d2', 'name': 'ctest-vn-74020348', 'tenant_id': 'fc0c0add07d844978b1b559e8e5382a8', 'project_id': 'fc0c0add07d844978b1b559e8e5382a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36883539', 'ctest-vn-74020348'], 'port_security_enabled': True, 'description': ''}}
2024-10-31 02:29:47,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '823a1aeb-5f72-4982-9d84-5a8978c6053f', 'name': '', 'tenant_id': 'fc0c0add07d844978b1b559e8e5382a8', 'network_id': 'ff6719e6-afd9-4aa9-a713-2225a1a615d2', 'ip_version': 4, 'cidr': '62.162.213.0/26', 'allocation_pools': [{'start': '62.162.213.2', 'end': '62.162.213.62'}], 'gateway_ip': '62.162.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.162.213.2', 'tags': [], 'project_id': 'fc0c0add07d844978b1b559e8e5382a8'}}
2024-10-31 02:29:47,466 - INFO - Created VN ctest-vn-74020348
2024-10-31 02:29:47,524 - DEBUG - VN ctest-vn-74020348 UUID is ff6719e6-afd9-4aa9-a713-2225a1a615d2
2024-10-31 02:29:47,696 - DEBUG - Services list from nova: [, , ]
2024-10-31 02:29:48,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2183-1)
2024-10-31 02:29:49,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2183-1)
2024-10-31 02:29:49,927 - INFO - Waiting for VM ctest-TestBasicVMVNx-36883539-65072135 to be up..
2024-10-31 02:29:50,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-31 02:29:55,122 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:29:55,122 - INFO - VM name : ctest-TestBasicVMVNx-36883539-65072135
2024-10-31 02:29:55,251 - DEBUG - VM ctest-TestBasicVMVNx-36883539-65072135 ID is fc52d589-f9f6-4310-bb1a-e4643cc4d259
2024-10-31 02:29:55,279 - DEBUG - VM ctest-TestBasicVMVNx-36883539-65072135 launched on Node cn-jenkins-deploy-platform-ansible-os-2183-1.
2024-10-31 02:29:55,372 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fc52d589-f9f6-4310-bb1a-e4643cc4d259
2024-10-31 02:29:55,673 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fc52d589-f9f6-4310-bb1a-e4643cc4d259
2024-10-31 02:29:55,711 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f2220b07-3401-4e60-b128-ed534bed8d53
2024-10-31 02:29:58,981 - 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 1011ms')
2024-10-31 02:29:58,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36883539-65072135 failed!
2024-10-31 02:29:59,041 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36883539:ctest-vn-74020348 is 62.162.213.1 and allocation pool is NOT set
2024-10-31 02:30:01,102 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.718/2.989/1.271 ms')
2024-10-31 02:30:01,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36883539-65072135 passed
2024-10-31 02:30:01,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:30:01,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36883539-65072135, IP 62.162.213.3, Port 22
2024-10-31 02:30:01,427 - DEBUG - VM ctest-TestBasicVMVNx-36883539-65072135 is ready for SSH connections
2024-10-31 02:30:01,427 - INFO - Waiting for VM ctest-TestBasicVMVNx-36883539-23974417 to be up..
2024-10-31 02:30:01,523 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:30:01,524 - INFO - VM name : ctest-TestBasicVMVNx-36883539-23974417
2024-10-31 02:30:01,610 - DEBUG - VM ctest-TestBasicVMVNx-36883539-23974417 ID is 2393cab6-d1bb-4a4c-abb3-86977b2a4f32
2024-10-31 02:30:01,610 - DEBUG - VM ctest-TestBasicVMVNx-36883539-23974417 launched on Node cn-jenkins-deploy-platform-ansible-os-2183-1.
2024-10-31 02:30:01,696 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/2393cab6-d1bb-4a4c-abb3-86977b2a4f32
2024-10-31 02:30:01,707 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/2f02f46d-ee66-4668-bd16-edc2f819b274
2024-10-31 02:30:02,985 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.716/2.946/1.230 ms')
2024-10-31 02:30:02,985 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36883539-23974417 passed
2024-10-31 02:30:03,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:30:03,141 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36883539-23974417, IP 62.162.213.4, Port 22
2024-10-31 02:30:03,296 - DEBUG - VM ctest-TestBasicVMVNx-36883539-23974417 is ready for SSH connections
2024-10-31 02:30:03,297 - DEBUG - FILE SIZE = 1303B
2024-10-31 02:30:03,297 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36883539-65072135 to ctest-TestBasicVMVNx-36883539-23974417 using scp
2024-10-31 02:30:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:30:03,303 - 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.31, gateway password: c0ntrail123
2024-10-31 02:30:03,303 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-31 02:30:05,284 - DEBUG - 1+0 records in
1+0 records out
2024-10-31 02:30:05,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:30:06,217 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2024-10-31 02:30:06,217 - DEBUG - ls -l testfile
2024-10-31 02:30:07,795 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 20:30 [0;0mtestfile[0m
2024-10-31 02:30:07,795 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36883539-23974417
2024-10-31 02:30:07,796 - INFO - Deleting VM ctest-TestBasicVMVNx-36883539-23974417
2024-10-31 02:30:07,871 - INFO - Deleting VM ctest-TestBasicVMVNx-36883539-65072135
2024-10-31 02:30:07,935 - INFO - Deleting VN ctest-vn-74020348
2024-10-31 02:30:07,984 - DEBUG - VN ff6719e6-afd9-4aa9-a713-2225a1a615d2 still in use: Unable to complete operation on network ff6719e6-afd9-4aa9-a713-2225a1a615d2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cff85d6c-e991-4b22-8e7d-d04eb5979a86']
2024-10-31 02:30:07,984 - WARNING - Deleting VN ctest-vn-74020348 failed..Will retry
2024-10-31 02:30:10,109 - DEBUG - Response for deleting network ()
2024-10-31 02:30:10,371 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:30:10,371 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-31 02:30:10,371 - INFO - --------------------------------------------------------------------------------
2024-10-31 02:30:11,120 - INFO - Deleted project: ctest-TestBasicVMVNx-36883539, ID : fc0c0add-07d8-4497-8b1b-559e8e5382a8