2025-07-07 23:03:35,954 - INFO - Domain Default found not creating 2025-07-07 23:03:36,088 - INFO - Project ctest-TestBasicVMVNx-02171225 not found, creating it 2025-07-07 23:03:36,523 - INFO - Created Project:ctest-TestBasicVMVNx-02171225, ID : 6cacbc5d-4bc8-44ea-b39d-0479bbc7fd3f 2025-07-07 23:03:37,929 - INFO - ================================================================================ 2025-07-07 23:03:37,929 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-07 23:03:37,929 - 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-07-07 23:03:38,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-07-07 23:03:38,179 - INFO - Initial checks done. Running the testcase now 2025-07-07 23:03:38,179 - INFO - 2025-07-07 23:03:38,714 - DEBUG - Response for create_network : {'network': {'id': '5ac8f5c7-b823-42e9-b97d-b18bcdb9cb4a', 'name': 'ctest-vn-59399959', 'tenant_id': '6cacbc5d4bc844eab39d0479bbc7fd3f', 'project_id': '6cacbc5d4bc844eab39d0479bbc7fd3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02171225', 'ctest-vn-59399959'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 23:03:38,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '99e95cdb-3517-45d2-845f-6cfc550f80c8', 'name': '', 'tenant_id': '6cacbc5d4bc844eab39d0479bbc7fd3f', 'network_id': '5ac8f5c7-b823-42e9-b97d-b18bcdb9cb4a', 'ip_version': 4, 'cidr': '134.186.255.0/26', 'allocation_pools': [{'start': '134.186.255.2', 'end': '134.186.255.62'}], 'gateway_ip': '134.186.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.186.255.2', 'tags': [], 'project_id': '6cacbc5d4bc844eab39d0479bbc7fd3f'}} 2025-07-07 23:03:38,913 - INFO - Created VN ctest-vn-59399959 2025-07-07 23:03:38,966 - DEBUG - VN ctest-vn-59399959 UUID is 5ac8f5c7-b823-42e9-b97d-b18bcdb9cb4a 2025-07-07 23:03:39,125 - DEBUG - Services list from nova: [, , ] 2025-07-07 23:03:40,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3610-1) 2025-07-07 23:03:41,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3610-1) 2025-07-07 23:03:41,247 - INFO - Waiting for VM ctest-TestBasicVMVNx-02171225-51053226 to be up.. 2025-07-07 23:03:41,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 23:03:46,404 - DEBUG - VM is in ACTIVE state now 2025-07-07 23:03:46,404 - INFO - VM name : ctest-TestBasicVMVNx-02171225-51053226 2025-07-07 23:03:46,472 - DEBUG - VM ctest-TestBasicVMVNx-02171225-51053226 ID is cf03a276-b125-4229-b00f-4313fe775065 2025-07-07 23:03:46,489 - DEBUG - VM ctest-TestBasicVMVNx-02171225-51053226 launched on Node cn-jenkins-deploy-platform-ansible-os-3610-1 2025-07-07 23:03:46,560 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cf03a276-b125-4229-b00f-4313fe775065 2025-07-07 23:03:46,851 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cf03a276-b125-4229-b00f-4313fe775065 2025-07-07 23:03:46,881 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7b39d911-70e5-49b6-828e-956722772ce8 2025-07-07 23:03:50,128 - 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 1003ms') 2025-07-07 23:03:50,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02171225-51053226 failed! 2025-07-07 23:03:50,182 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02171225:ctest-vn-59399959 is 134.186.255.1 and allocation pool is NOT set 2025-07-07 23:03:52,249 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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.532/2.735/3.939/1.203 ms') 2025-07-07 23:03:52,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02171225-51053226 passed 2025-07-07 23:03:52,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:03:52,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02171225-51053226, IP 134.186.255.3, Port 22 2025-07-07 23:03:52,554 - DEBUG - VM ctest-TestBasicVMVNx-02171225-51053226 is ready for SSH connections 2025-07-07 23:03:52,554 - INFO - Waiting for VM ctest-TestBasicVMVNx-02171225-38566863 to be up.. 2025-07-07 23:03:52,621 - DEBUG - VM is in ACTIVE state now 2025-07-07 23:03:52,621 - INFO - VM name : ctest-TestBasicVMVNx-02171225-38566863 2025-07-07 23:03:52,690 - DEBUG - VM ctest-TestBasicVMVNx-02171225-38566863 ID is 9cbd7314-4ddf-44dc-bbf8-9e17146155e6 2025-07-07 23:03:52,690 - DEBUG - VM ctest-TestBasicVMVNx-02171225-38566863 launched on Node cn-jenkins-deploy-platform-ansible-os-3610-1 2025-07-07 23:03:52,757 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9cbd7314-4ddf-44dc-bbf8-9e17146155e6 2025-07-07 23:03:52,765 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9062d1a9-b22e-4630-a027-2a9b1a02e6f9 2025-07-07 23:03:54,004 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.668/2.958/1.290 ms') 2025-07-07 23:03:54,005 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02171225-38566863 passed 2025-07-07 23:03:54,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:03:54,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02171225-38566863, IP 134.186.255.4, Port 22 2025-07-07 23:03:54,328 - DEBUG - VM ctest-TestBasicVMVNx-02171225-38566863 is ready for SSH connections 2025-07-07 23:03:54,328 - DEBUG - FILE SIZE = 1303B 2025-07-07 23:03:54,328 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02171225-51053226 to ctest-TestBasicVMVNx-02171225-38566863 using scp 2025-07-07 23:03:54,329 - 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.130, gateway password: c0ntrail123 2025-07-07 23:03:54,329 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-07 23:03:56,205 - DEBUG - 1+0 records in 1+0 records out 2025-07-07 23:03:56,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:03:57,283 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-07 23:03:57,283 - DEBUG - ls -l testfile 2025-07-07 23:03:58,861 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 7 17:03 testfile 2025-07-07 23:03:58,861 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02171225-38566863 2025-07-07 23:03:58,862 - INFO - Deleting VM ctest-TestBasicVMVNx-02171225-38566863 2025-07-07 23:03:58,925 - INFO - Deleting VM ctest-TestBasicVMVNx-02171225-51053226 2025-07-07 23:03:58,997 - INFO - Deleting VN ctest-vn-59399959 2025-07-07 23:03:59,036 - DEBUG - VN 5ac8f5c7-b823-42e9-b97d-b18bcdb9cb4a still in use: Unable to complete operation on network 5ac8f5c7-b823-42e9-b97d-b18bcdb9cb4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58bf0683-035e-44a7-b4ff-b81fa9200b65'] 2025-07-07 23:03:59,036 - WARNING - Deleting VN ctest-vn-59399959 failed..Will retry 2025-07-07 23:04:01,146 - DEBUG - Response for deleting network () 2025-07-07 23:04:01,399 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 23:04:01,400 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-07-07 23:04:01,400 - INFO - -------------------------------------------------------------------------------- 2025-07-07 23:04:02,064 - INFO - Deleted project: ctest-TestBasicVMVNx-02171225, ID : 6cacbc5d-4bc8-44ea-b39d-0479bbc7fd3f