2025-03-30 13:19:28,143 - INFO - Domain Default found not creating 2025-03-30 13:19:28,298 - INFO - Project ctest-TestBasicVMVNx-68175809 not found, creating it 2025-03-30 13:19:28,772 - INFO - Created Project:ctest-TestBasicVMVNx-68175809, ID : 67c3eb9d-989b-4d83-96dd-8b1b19dfbe24 2025-03-30 13:19:30,327 - INFO - ================================================================================ 2025-03-30 13:19:30,328 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-30 13:19:30,328 - 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-30 13:19:30,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.6': '0'}} with 2025-03-30 13:19:30,582 - INFO - Initial checks done. Running the testcase now 2025-03-30 13:19:30,582 - INFO - 2025-03-30 13:19:31,144 - DEBUG - Response for create_network : {'network': {'id': 'bd9db9a0-ecd7-46be-9391-3f5fb26f46aa', 'name': 'ctest-vn-51972501', 'tenant_id': '67c3eb9d989b4d8396dd8b1b19dfbe24', 'project_id': '67c3eb9d989b4d8396dd8b1b19dfbe24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-68175809', 'ctest-vn-51972501'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 13:19:31,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fa7f2d4-c37a-4a55-b66f-551a8cbc0388', 'name': '', 'tenant_id': '67c3eb9d989b4d8396dd8b1b19dfbe24', 'network_id': 'bd9db9a0-ecd7-46be-9391-3f5fb26f46aa', 'ip_version': 4, 'cidr': '134.131.169.128/26', 'allocation_pools': [{'start': '134.131.169.130', 'end': '134.131.169.190'}], 'gateway_ip': '134.131.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.131.169.130', 'tags': [], 'project_id': '67c3eb9d989b4d8396dd8b1b19dfbe24'}} 2025-03-30 13:19:31,343 - INFO - Created VN ctest-vn-51972501 2025-03-30 13:19:31,400 - DEBUG - VN ctest-vn-51972501 UUID is bd9db9a0-ecd7-46be-9391-3f5fb26f46aa 2025-03-30 13:19:31,584 - DEBUG - Services list from nova: [, , ] 2025-03-30 13:19:32,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1) 2025-03-30 13:19:33,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3005-1) 2025-03-30 13:19:33,851 - INFO - Waiting for VM ctest-TestBasicVMVNx-68175809-74724715 to be up.. 2025-03-30 13:19:33,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 13:19:39,035 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:19:39,035 - INFO - VM name : ctest-TestBasicVMVNx-68175809-74724715 2025-03-30 13:19:39,120 - DEBUG - VM ctest-TestBasicVMVNx-68175809-74724715 ID is 22bf18f4-8abd-47be-8497-57799d9918db 2025-03-30 13:19:39,142 - DEBUG - VM ctest-TestBasicVMVNx-68175809-74724715 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1 2025-03-30 13:19:39,247 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/22bf18f4-8abd-47be-8497-57799d9918db 2025-03-30 13:19:39,564 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/22bf18f4-8abd-47be-8497-57799d9918db 2025-03-30 13:19:39,602 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/27f2605d-d7a1-4961-affb-e9789f8bafe2 2025-03-30 13:19:42,856 - 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 1002ms') 2025-03-30 13:19:42,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68175809-74724715 failed! 2025-03-30 13:19:42,912 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-68175809:ctest-vn-51972501 is 134.131.169.129 and allocation pool is NOT set 2025-03-30 13:19:44,976 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.528 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.528/2.674/4.821/2.146 ms') 2025-03-30 13:19:44,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68175809-74724715 passed 2025-03-30 13:19:45,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:19:45,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68175809-74724715, IP 134.131.169.131, Port 22 2025-03-30 13:19:45,306 - DEBUG - VM ctest-TestBasicVMVNx-68175809-74724715 is ready for SSH connections 2025-03-30 13:19:45,306 - INFO - Waiting for VM ctest-TestBasicVMVNx-68175809-29799104 to be up.. 2025-03-30 13:19:45,393 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:19:45,393 - INFO - VM name : ctest-TestBasicVMVNx-68175809-29799104 2025-03-30 13:19:45,474 - DEBUG - VM ctest-TestBasicVMVNx-68175809-29799104 ID is d79ec888-105b-44c9-90a5-e59c1a60da6e 2025-03-30 13:19:45,474 - DEBUG - VM ctest-TestBasicVMVNx-68175809-29799104 launched on Node cn-jenkins-deploy-platform-ansible-os-3005-1 2025-03-30 13:19:45,558 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/d79ec888-105b-44c9-90a5-e59c1a60da6e 2025-03-30 13:19:45,568 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/7cc00333-77cc-4391-8fc8-0a09c5123599 2025-03-30 13:19:46,820 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.714/2.932/1.218 ms') 2025-03-30 13:19:46,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-68175809-29799104 passed 2025-03-30 13:19:46,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:19:46,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68175809-29799104, IP 134.131.169.132, Port 22 2025-03-30 13:19:47,145 - DEBUG - VM ctest-TestBasicVMVNx-68175809-29799104 is ready for SSH connections 2025-03-30 13:19:47,145 - DEBUG - FILE SIZE = 1303B 2025-03-30 13:19:47,145 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-68175809-74724715 to ctest-TestBasicVMVNx-68175809-29799104 using scp 2025-03-30 13:19:47,146 - 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.60, gateway password: c0ntrail123 2025-03-30 13:19:47,146 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-30 13:19:49,069 - DEBUG - 1+0 records in 1+0 records out 2025-03-30 13:19:49,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:19:50,161 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2025-03-30 13:19:50,161 - DEBUG - ls -l testfile 2025-03-30 13:19:51,755 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 30 07:19 testfile 2025-03-30 13:19:51,755 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-68175809-29799104 2025-03-30 13:19:51,755 - INFO - Deleting VM ctest-TestBasicVMVNx-68175809-29799104 2025-03-30 13:19:51,932 - INFO - Deleting VM ctest-TestBasicVMVNx-68175809-74724715 2025-03-30 13:19:51,999 - INFO - Deleting VN ctest-vn-51972501 2025-03-30 13:19:52,036 - DEBUG - VN bd9db9a0-ecd7-46be-9391-3f5fb26f46aa still in use: Unable to complete operation on network bd9db9a0-ecd7-46be-9391-3f5fb26f46aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6aa1792c-7229-4f20-b58c-36f400ca6ee9'] 2025-03-30 13:19:52,036 - WARNING - Deleting VN ctest-vn-51972501 failed..Will retry 2025-03-30 13:19:54,149 - DEBUG - Response for deleting network () 2025-03-30 13:19:54,419 - DEBUG - No XMPP flaps were noticed during the test 2025-03-30 13:19:54,419 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-30 13:19:54,419 - INFO - -------------------------------------------------------------------------------- 2025-03-30 13:19:55,152 - INFO - Deleted project: ctest-TestBasicVMVNx-68175809, ID : 67c3eb9d-989b-4d83-96dd-8b1b19dfbe24