2025-03-28 18:20:42,974 - INFO - Domain Default found not creating 2025-03-28 18:20:43,157 - INFO - Project ctest-TestBasicVMVNx-44908924 not found, creating it 2025-03-28 18:20:43,651 - INFO - Created Project:ctest-TestBasicVMVNx-44908924, ID : de0188eb-ee38-4c86-b3bd-647699e6a6d5 2025-03-28 18:20:45,846 - INFO - ================================================================================ 2025-03-28 18:20:45,846 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-28 18:20:45,847 - 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-03-28 18:20:46,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.5': '0'}} with 2025-03-28 18:20:46,111 - INFO - Initial checks done. Running the testcase now 2025-03-28 18:20:46,112 - INFO - 2025-03-28 18:20:46,746 - DEBUG - Response for create_network : {'network': {'id': '62d2f509-2916-410e-bb35-d5b062cc9a79', 'name': 'ctest-vn-24232802', 'tenant_id': 'de0188ebee384c86b3bd647699e6a6d5', 'project_id': 'de0188ebee384c86b3bd647699e6a6d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44908924', 'ctest-vn-24232802'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 18:20:47,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '6261d369-e6c7-4814-9288-fe43a0e55d0c', 'name': '', 'tenant_id': 'de0188ebee384c86b3bd647699e6a6d5', 'network_id': '62d2f509-2916-410e-bb35-d5b062cc9a79', 'ip_version': 4, 'cidr': '90.194.117.0/26', 'allocation_pools': [{'start': '90.194.117.2', 'end': '90.194.117.62'}], 'gateway_ip': '90.194.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.194.117.2', 'tags': [], 'project_id': 'de0188ebee384c86b3bd647699e6a6d5'}} 2025-03-28 18:20:47,034 - INFO - Created VN ctest-vn-24232802 2025-03-28 18:20:47,094 - DEBUG - VN ctest-vn-24232802 UUID is 62d2f509-2916-410e-bb35-d5b062cc9a79 2025-03-28 18:20:47,293 - DEBUG - Services list from nova: [, , ] 2025-03-28 18:20:48,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2994-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2994-1) 2025-03-28 18:20:49,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2994-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2994-1) 2025-03-28 18:20:49,617 - INFO - Waiting for VM ctest-TestBasicVMVNx-44908924-93444212 to be up.. 2025-03-28 18:20:49,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 18:20:54,828 - DEBUG - VM is in ACTIVE state now 2025-03-28 18:20:54,828 - INFO - VM name : ctest-TestBasicVMVNx-44908924-93444212 2025-03-28 18:20:54,919 - DEBUG - VM ctest-TestBasicVMVNx-44908924-93444212 ID is c70aefd9-9a84-41ab-b7b6-7451cd2e1a87 2025-03-28 18:20:54,946 - DEBUG - VM ctest-TestBasicVMVNx-44908924-93444212 launched on Node cn-jenkins-deploy-platform-ansible-os-2994-1 2025-03-28 18:20:55,031 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c70aefd9-9a84-41ab-b7b6-7451cd2e1a87 2025-03-28 18:20:55,333 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c70aefd9-9a84-41ab-b7b6-7451cd2e1a87 2025-03-28 18:20:55,367 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d3c04641-936b-4926-a6c7-f76028bb50da 2025-03-28 18:20:58,628 - 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 1009ms') 2025-03-28 18:20:58,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44908924-93444212 failed! 2025-03-28 18:20:58,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44908924:ctest-vn-24232802 is 90.194.117.1 and allocation pool is NOT set 2025-03-28 18:21:00,760 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 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.669/3.161/5.653/2.492 ms') 2025-03-28 18:21:00,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44908924-93444212 passed 2025-03-28 18:21:00,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 18:21:00,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44908924-93444212, IP 90.194.117.3, Port 22 2025-03-28 18:21:01,077 - DEBUG - VM ctest-TestBasicVMVNx-44908924-93444212 is ready for SSH connections 2025-03-28 18:21:01,077 - INFO - Waiting for VM ctest-TestBasicVMVNx-44908924-15054106 to be up.. 2025-03-28 18:21:01,195 - DEBUG - VM is in ACTIVE state now 2025-03-28 18:21:01,195 - INFO - VM name : ctest-TestBasicVMVNx-44908924-15054106 2025-03-28 18:21:01,283 - DEBUG - VM ctest-TestBasicVMVNx-44908924-15054106 ID is 0ebdc011-a5bc-4f70-a259-5fde31b1906e 2025-03-28 18:21:01,284 - DEBUG - VM ctest-TestBasicVMVNx-44908924-15054106 launched on Node cn-jenkins-deploy-platform-ansible-os-2994-1 2025-03-28 18:21:01,378 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0ebdc011-a5bc-4f70-a259-5fde31b1906e 2025-03-28 18:21:01,389 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ad92fd42-43bd-4af1-82d3-272c818dd7eb 2025-03-28 18:21:02,639 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.795/3.056/1.260 ms') 2025-03-28 18:21:02,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44908924-15054106 passed 2025-03-28 18:21:02,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 18:21:02,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44908924-15054106, IP 90.194.117.4, Port 22 2025-03-28 18:21:02,967 - DEBUG - VM ctest-TestBasicVMVNx-44908924-15054106 is ready for SSH connections 2025-03-28 18:21:02,967 - DEBUG - FILE SIZE = 1303B 2025-03-28 18:21:02,967 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44908924-93444212 to ctest-TestBasicVMVNx-44908924-15054106 using scp 2025-03-28 18:21:02,968 - 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.23, gateway password: c0ntrail123 2025-03-28 18:21:02,969 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-28 18:21:04,939 - DEBUG - 1+0 records in 1+0 records out 2025-03-28 18:21:05,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 18:21:06,070 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-03-28 18:21:06,072 - DEBUG - ls -l testfile 2025-03-28 18:21:07,685 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 12:21 testfile 2025-03-28 18:21:07,686 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44908924-15054106 2025-03-28 18:21:07,686 - INFO - Deleting VM ctest-TestBasicVMVNx-44908924-15054106 2025-03-28 18:21:07,789 - INFO - Deleting VM ctest-TestBasicVMVNx-44908924-93444212 2025-03-28 18:21:07,914 - INFO - Deleting VN ctest-vn-24232802 2025-03-28 18:21:07,965 - DEBUG - VN 62d2f509-2916-410e-bb35-d5b062cc9a79 still in use: Unable to complete operation on network 62d2f509-2916-410e-bb35-d5b062cc9a79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88993a43-d1b1-4dc8-9bc9-9b3734e5a8b7'] 2025-03-28 18:21:07,965 - WARNING - Deleting VN ctest-vn-24232802 failed..Will retry 2025-03-28 18:21:10,144 - DEBUG - Response for deleting network () 2025-03-28 18:21:10,411 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 18:21:10,411 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-03-28 18:21:10,411 - INFO - -------------------------------------------------------------------------------- 2025-03-28 18:21:11,191 - INFO - Deleted project: ctest-TestBasicVMVNx-44908924, ID : de0188eb-ee38-4c86-b3bd-647699e6a6d5