2024-11-08 08:58:13,039 - INFO - Domain Default found not creating
2024-11-08 08:58:13,231 - INFO - Project ctest-TestBasicVMVNx-52084526 not found, creating it
2024-11-08 08:58:13,788 - INFO - Created Project:ctest-TestBasicVMVNx-52084526, ID : 4c844d99-5b09-4d28-82a2-ebfb8760fcbc
2024-11-08 08:58:15,513 - INFO - ================================================================================
2024-11-08 08:58:15,513 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-08 08:58:15,513 - 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-08 08:58:15,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with
2024-11-08 08:58:15,772 - INFO - Initial checks done. Running the testcase now
2024-11-08 08:58:15,772 - INFO -
2024-11-08 08:58:16,429 - DEBUG - Response for create_network : {'network': {'id': 'c6354ab3-4d57-45ca-9908-79d324147cc0', 'name': 'ctest-vn-96457294', 'tenant_id': '4c844d995b094d2882a2ebfb8760fcbc', 'project_id': '4c844d995b094d2882a2ebfb8760fcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52084526', 'ctest-vn-96457294'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 08:58:16,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b778d89-6323-4234-b79b-4b2614c3c712', 'name': '', 'tenant_id': '4c844d995b094d2882a2ebfb8760fcbc', 'network_id': 'c6354ab3-4d57-45ca-9908-79d324147cc0', 'ip_version': 4, 'cidr': '83.126.26.0/26', 'allocation_pools': [{'start': '83.126.26.2', 'end': '83.126.26.62'}], 'gateway_ip': '83.126.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.126.26.2', 'tags': [], 'project_id': '4c844d995b094d2882a2ebfb8760fcbc'}}
2024-11-08 08:58:16,745 - INFO - Created VN ctest-vn-96457294
2024-11-08 08:58:16,809 - DEBUG - VN ctest-vn-96457294 UUID is c6354ab3-4d57-45ca-9908-79d324147cc0
2024-11-08 08:58:16,990 - DEBUG - Services list from nova: [, , ]
2024-11-08 08:58:18,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1)
2024-11-08 08:58:19,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1)
2024-11-08 08:58:19,498 - INFO - Waiting for VM ctest-TestBasicVMVNx-52084526-68995289 to be up..
2024-11-08 08:58:19,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 08:58:24,687 - DEBUG - VM is in ACTIVE state now
2024-11-08 08:58:24,687 - INFO - VM name : ctest-TestBasicVMVNx-52084526-68995289
2024-11-08 08:58:24,783 - DEBUG - VM ctest-TestBasicVMVNx-52084526-68995289 ID is ec4cd49c-edb9-4d47-a0bb-04305b803b20
2024-11-08 08:58:24,806 - DEBUG - VM ctest-TestBasicVMVNx-52084526-68995289 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1
2024-11-08 08:58:24,915 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ec4cd49c-edb9-4d47-a0bb-04305b803b20
2024-11-08 08:58:25,263 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ec4cd49c-edb9-4d47-a0bb-04305b803b20
2024-11-08 08:58:25,303 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f9051c4a-5230-40e1-b8af-76da415624fd
2024-11-08 08:58:28,583 - 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 1014ms')
2024-11-08 08:58:28,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52084526-68995289 failed!
2024-11-08 08:58:28,645 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52084526:ctest-vn-96457294 is 83.126.26.1 and allocation pool is NOT set
2024-11-08 08:58:30,711 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.831/3.272/1.441 ms')
2024-11-08 08:58:30,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52084526-68995289 passed
2024-11-08 08:58:30,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 08:58:30,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52084526-68995289, IP 83.126.26.3, Port 22
2024-11-08 08:58:31,025 - DEBUG - VM ctest-TestBasicVMVNx-52084526-68995289 is ready for SSH connections
2024-11-08 08:58:31,025 - INFO - Waiting for VM ctest-TestBasicVMVNx-52084526-47392232 to be up..
2024-11-08 08:58:31,116 - DEBUG - VM is in ACTIVE state now
2024-11-08 08:58:31,116 - INFO - VM name : ctest-TestBasicVMVNx-52084526-47392232
2024-11-08 08:58:31,201 - DEBUG - VM ctest-TestBasicVMVNx-52084526-47392232 ID is e10d3394-5f5e-4f12-b0a3-5a5a6601b25b
2024-11-08 08:58:31,201 - DEBUG - VM ctest-TestBasicVMVNx-52084526-47392232 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1
2024-11-08 08:58:31,284 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e10d3394-5f5e-4f12-b0a3-5a5a6601b25b
2024-11-08 08:58:31,294 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/cc8d9266-8475-44a8-8623-109b78ab90f5
2024-11-08 08:58:32,551 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.681/2.908/1.227 ms')
2024-11-08 08:58:32,551 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52084526-47392232 passed
2024-11-08 08:58:32,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 08:58:32,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52084526-47392232, IP 83.126.26.4, Port 22
2024-11-08 08:58:32,865 - DEBUG - VM ctest-TestBasicVMVNx-52084526-47392232 is ready for SSH connections
2024-11-08 08:58:32,865 - DEBUG - FILE SIZE = 1303B
2024-11-08 08:58:32,865 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52084526-68995289 to ctest-TestBasicVMVNx-52084526-47392232 using scp
2024-11-08 08:58:32,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 08:58:32,871 - 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.17, gateway password: c0ntrail123
2024-11-08 08:58:32,871 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-08 08:58:34,820 - DEBUG - 1+0 records in
1+0 records out
2024-11-08 08:58:35,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 08:58:35,810 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-11-08 08:58:35,811 - DEBUG - ls -l testfile
2024-11-08 08:58:37,427 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 01:58 [0;0mtestfile[0m
2024-11-08 08:58:37,428 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52084526-47392232
2024-11-08 08:58:37,428 - INFO - Deleting VM ctest-TestBasicVMVNx-52084526-47392232
2024-11-08 08:58:37,514 - INFO - Deleting VM ctest-TestBasicVMVNx-52084526-68995289
2024-11-08 08:58:37,599 - INFO - Deleting VN ctest-vn-96457294
2024-11-08 08:58:37,657 - DEBUG - VN c6354ab3-4d57-45ca-9908-79d324147cc0 still in use: Unable to complete operation on network c6354ab3-4d57-45ca-9908-79d324147cc0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-21dc3de0-aab2-4597-aaae-b3339f210c06']
2024-11-08 08:58:37,657 - WARNING - Deleting VN ctest-vn-96457294 failed..Will retry
2024-11-08 08:58:39,790 - DEBUG - Response for deleting network ()
2024-11-08 08:58:40,053 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 08:58:40,053 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-08 08:58:40,053 - INFO - --------------------------------------------------------------------------------
2024-11-08 08:58:40,853 - INFO - Deleted project: ctest-TestBasicVMVNx-52084526, ID : 4c844d99-5b09-4d28-82a2-ebfb8760fcbc