2025-01-04 17:13:52,195 - INFO - Domain Default found not creating 2025-01-04 17:13:52,356 - INFO - Project ctest-TestBasicVMVNx-82484259 not found, creating it 2025-01-04 17:13:52,816 - INFO - Created Project:ctest-TestBasicVMVNx-82484259, ID : cabdf818-9226-42ea-89c9-95660179e043 2025-01-04 17:13:54,179 - INFO - ================================================================================ 2025-01-04 17:13:54,179 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-04 17:13:54,179 - 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 2025-01-04 17:13:54,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2025-01-04 17:13:54,433 - INFO - Initial checks done. Running the testcase now 2025-01-04 17:13:54,433 - INFO - 2025-01-04 17:13:54,993 - DEBUG - Response for create_network : {'network': {'id': 'a09028e4-b02d-4f74-87ed-4a08fd4a6169', 'name': 'ctest-vn-28935396', 'tenant_id': 'cabdf818922642ea89c995660179e043', 'project_id': 'cabdf818922642ea89c995660179e043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-82484259', 'ctest-vn-28935396'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 17:13:55,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '786ed5fa-1e68-4bb9-9642-eff889fd8f51', 'name': '', 'tenant_id': 'cabdf818922642ea89c995660179e043', 'network_id': 'a09028e4-b02d-4f74-87ed-4a08fd4a6169', 'ip_version': 4, 'cidr': '85.85.116.0/26', 'allocation_pools': [{'start': '85.85.116.2', 'end': '85.85.116.62'}], 'gateway_ip': '85.85.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.85.116.2', 'tags': [], 'project_id': 'cabdf818922642ea89c995660179e043'}} 2025-01-04 17:13:55,158 - INFO - Created VN ctest-vn-28935396 2025-01-04 17:13:55,211 - DEBUG - VN ctest-vn-28935396 UUID is a09028e4-b02d-4f74-87ed-4a08fd4a6169 2025-01-04 17:13:55,370 - DEBUG - Services list from nova: [, , ] 2025-01-04 17:13:56,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1) 2025-01-04 17:13:57,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1) 2025-01-04 17:13:57,487 - INFO - Waiting for VM ctest-TestBasicVMVNx-82484259-55211889 to be up.. 2025-01-04 17:13:57,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 17:14:02,643 - DEBUG - VM is in ACTIVE state now 2025-01-04 17:14:02,644 - INFO - VM name : ctest-TestBasicVMVNx-82484259-55211889 2025-01-04 17:14:02,716 - DEBUG - VM ctest-TestBasicVMVNx-82484259-55211889 ID is 8c1208f3-7099-4a76-80c1-dc308239c67b 2025-01-04 17:14:02,735 - DEBUG - VM ctest-TestBasicVMVNx-82484259-55211889 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1 2025-01-04 17:14:02,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8c1208f3-7099-4a76-80c1-dc308239c67b 2025-01-04 17:14:03,111 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8c1208f3-7099-4a76-80c1-dc308239c67b 2025-01-04 17:14:03,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9904f028-34c5-4943-b869-810a7d489425 2025-01-04 17:14:06,415 - 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 1032ms') 2025-01-04 17:14:06,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82484259-55211889 failed! 2025-01-04 17:14:06,473 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-82484259:ctest-vn-28935396 is 85.85.116.1 and allocation pool is NOT set 2025-01-04 17:14:08,537 - 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=4.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.725 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.725/2.566/4.408/1.841 ms') 2025-01-04 17:14:08,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82484259-55211889 passed 2025-01-04 17:14:08,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:14:08,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82484259-55211889, IP 85.85.116.3, Port 22 2025-01-04 17:14:08,850 - DEBUG - VM ctest-TestBasicVMVNx-82484259-55211889 is ready for SSH connections 2025-01-04 17:14:08,850 - INFO - Waiting for VM ctest-TestBasicVMVNx-82484259-21222247 to be up.. 2025-01-04 17:14:08,925 - DEBUG - VM is in ACTIVE state now 2025-01-04 17:14:08,925 - INFO - VM name : ctest-TestBasicVMVNx-82484259-21222247 2025-01-04 17:14:08,995 - DEBUG - VM ctest-TestBasicVMVNx-82484259-21222247 ID is f34ab293-eaa5-4ecc-bded-645abbd4022d 2025-01-04 17:14:08,995 - DEBUG - VM ctest-TestBasicVMVNx-82484259-21222247 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1 2025-01-04 17:14:09,065 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f34ab293-eaa5-4ecc-bded-645abbd4022d 2025-01-04 17:14:09,074 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/364f877a-41df-4e0e-8c5d-2231cff39b69 2025-01-04 17:14:10,319 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.623/2.711/1.087 ms') 2025-01-04 17:14:10,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-82484259-21222247 passed 2025-01-04 17:14:10,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:14:10,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82484259-21222247, IP 85.85.116.4, Port 22 2025-01-04 17:14:10,627 - DEBUG - VM ctest-TestBasicVMVNx-82484259-21222247 is ready for SSH connections 2025-01-04 17:14:10,628 - DEBUG - FILE SIZE = 1303B 2025-01-04 17:14:10,628 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-82484259-55211889 to ctest-TestBasicVMVNx-82484259-21222247 using scp 2025-01-04 17:14:10,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:14:10,634 - 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.22, gateway password: c0ntrail123 2025-01-04 17:14:10,634 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-04 17:14:12,548 - DEBUG - 1+0 records in 1+0 records out 2025-01-04 17:14:13,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:14:13,689 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-04 17:14:13,689 - DEBUG - ls -l testfile 2025-01-04 17:14:15,261 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 4 10:14 testfile 2025-01-04 17:14:15,261 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-82484259-21222247 2025-01-04 17:14:15,261 - INFO - Deleting VM ctest-TestBasicVMVNx-82484259-21222247 2025-01-04 17:14:15,322 - INFO - Deleting VM ctest-TestBasicVMVNx-82484259-55211889 2025-01-04 17:14:15,380 - INFO - Deleting VN ctest-vn-28935396 2025-01-04 17:14:15,418 - DEBUG - VN a09028e4-b02d-4f74-87ed-4a08fd4a6169 still in use: Unable to complete operation on network a09028e4-b02d-4f74-87ed-4a08fd4a6169. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72781c34-50d2-45ea-a8be-565e2f29aa1e'] 2025-01-04 17:14:15,418 - WARNING - Deleting VN ctest-vn-28935396 failed..Will retry 2025-01-04 17:14:17,522 - DEBUG - Response for deleting network () 2025-01-04 17:14:17,781 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 17:14:17,781 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-04 17:14:17,781 - INFO - -------------------------------------------------------------------------------- 2025-01-04 17:14:18,427 - INFO - Deleted project: ctest-TestBasicVMVNx-82484259, ID : cabdf818-9226-42ea-89c9-95660179e043