2025-04-13 14:27:52,437 - INFO - Domain Default found not creating
2025-04-13 14:27:52,596 - INFO - Project ctest-TestBasicVMVNx-40639521 not found, creating it
2025-04-13 14:27:53,065 - INFO - Created Project:ctest-TestBasicVMVNx-40639521, ID : 0ed0e0d6-febb-4e17-8e77-cd585ae0e673
2025-04-13 14:27:54,547 - INFO - ================================================================================
2025-04-13 14:27:54,547 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-13 14:27:54,547 - 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-04-13 14:27:54,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-13 14:27:54,806 - INFO - Initial checks done. Running the testcase now
2025-04-13 14:27:54,806 - INFO -
2025-04-13 14:27:55,372 - DEBUG - Response for create_network : {'network': {'id': 'fad1358a-a837-4611-9ec6-5b4538cf457a', 'name': 'ctest-vn-33193069', 'tenant_id': '0ed0e0d6febb4e178e77cd585ae0e673', 'project_id': '0ed0e0d6febb4e178e77cd585ae0e673', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40639521', 'ctest-vn-33193069'], 'port_security_enabled': True, 'description': ''}}
2025-04-13 14:27:55,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c467b22-12a6-4df7-81be-8d13c5af9f36', 'name': '', 'tenant_id': '0ed0e0d6febb4e178e77cd585ae0e673', 'network_id': 'fad1358a-a837-4611-9ec6-5b4538cf457a', 'ip_version': 4, 'cidr': '174.41.189.128/26', 'allocation_pools': [{'start': '174.41.189.130', 'end': '174.41.189.190'}], 'gateway_ip': '174.41.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.41.189.130', 'tags': [], 'project_id': '0ed0e0d6febb4e178e77cd585ae0e673'}}
2025-04-13 14:27:55,564 - INFO - Created VN ctest-vn-33193069
2025-04-13 14:27:55,618 - DEBUG - VN ctest-vn-33193069 UUID is fad1358a-a837-4611-9ec6-5b4538cf457a
2025-04-13 14:27:55,907 - DEBUG - Services list from nova: [, , ]
2025-04-13 14:27:56,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3085-1)
2025-04-13 14:27:58,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3085-1)
2025-04-13 14:27:58,100 - INFO - Waiting for VM ctest-TestBasicVMVNx-40639521-76181815 to be up..
2025-04-13 14:27:58,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-13 14:28:03,297 - DEBUG - VM is in ACTIVE state now
2025-04-13 14:28:03,298 - INFO - VM name : ctest-TestBasicVMVNx-40639521-76181815
2025-04-13 14:28:03,401 - DEBUG - VM ctest-TestBasicVMVNx-40639521-76181815 ID is 61087f21-8414-40d8-81a4-a82281a7e0c8
2025-04-13 14:28:03,424 - DEBUG - VM ctest-TestBasicVMVNx-40639521-76181815 launched on Node cn-jenkins-deploy-platform-ansible-os-3085-1
2025-04-13 14:28:03,512 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/61087f21-8414-40d8-81a4-a82281a7e0c8
2025-04-13 14:28:03,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/61087f21-8414-40d8-81a4-a82281a7e0c8
2025-04-13 14:28:03,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a35fb8b9-f2e5-4d9d-a857-a314ee1cdae1
2025-04-13 14:28:07,157 - 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 1022ms')
2025-04-13 14:28:07,157 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40639521-76181815 failed!
2025-04-13 14:28:07,222 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40639521:ctest-vn-33193069 is 174.41.189.129 and allocation pool is NOT set
2025-04-13 14:28:09,280 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.914 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.914/2.053/3.193/1.139 ms')
2025-04-13 14:28:09,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40639521-76181815 passed
2025-04-13 14:28:09,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 14:28:09,438 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40639521-76181815, IP 174.41.189.131, Port 22
2025-04-13 14:28:09,605 - DEBUG - VM ctest-TestBasicVMVNx-40639521-76181815 is ready for SSH connections
2025-04-13 14:28:09,605 - INFO - Waiting for VM ctest-TestBasicVMVNx-40639521-56815756 to be up..
2025-04-13 14:28:09,697 - DEBUG - VM is in ACTIVE state now
2025-04-13 14:28:09,698 - INFO - VM name : ctest-TestBasicVMVNx-40639521-56815756
2025-04-13 14:28:09,810 - DEBUG - VM ctest-TestBasicVMVNx-40639521-56815756 ID is 80f52f1f-2c3a-4f78-ac38-c321a380b9c1
2025-04-13 14:28:09,811 - DEBUG - VM ctest-TestBasicVMVNx-40639521-56815756 launched on Node cn-jenkins-deploy-platform-ansible-os-3085-1
2025-04-13 14:28:09,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/80f52f1f-2c3a-4f78-ac38-c321a380b9c1
2025-04-13 14:28:09,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4497354a-4259-4e4f-9cae-5a0b90553bd3
2025-04-13 14:28:11,168 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.822 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.822/2.338/3.855/1.516 ms')
2025-04-13 14:28:11,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40639521-56815756 passed
2025-04-13 14:28:11,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 14:28:11,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40639521-56815756, IP 174.41.189.132, Port 22
2025-04-13 14:28:11,486 - DEBUG - VM ctest-TestBasicVMVNx-40639521-56815756 is ready for SSH connections
2025-04-13 14:28:11,486 - DEBUG - FILE SIZE = 1303B
2025-04-13 14:28:11,486 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40639521-76181815 to ctest-TestBasicVMVNx-40639521-56815756 using scp
2025-04-13 14:28:11,488 - 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.254, gateway password: c0ntrail123
2025-04-13 14:28:11,488 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-13 14:28:13,442 - DEBUG - 1+0 records in
1+0 records out
2025-04-13 14:28:14,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 14:28:14,577 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-13 14:28:14,577 - DEBUG - ls -l testfile
2025-04-13 14:28:16,168 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 13 08:28 [0;0mtestfile[0m
2025-04-13 14:28:16,168 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40639521-56815756
2025-04-13 14:28:16,169 - INFO - Deleting VM ctest-TestBasicVMVNx-40639521-56815756
2025-04-13 14:28:16,245 - INFO - Deleting VM ctest-TestBasicVMVNx-40639521-76181815
2025-04-13 14:28:16,327 - INFO - Deleting VN ctest-vn-33193069
2025-04-13 14:28:16,363 - DEBUG - VN fad1358a-a837-4611-9ec6-5b4538cf457a still in use: Unable to complete operation on network fad1358a-a837-4611-9ec6-5b4538cf457a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ae5dc40a-470a-4bd7-bdfa-012bdef1bfb9']
2025-04-13 14:28:16,363 - WARNING - Deleting VN ctest-vn-33193069 failed..Will retry
2025-04-13 14:28:18,500 - DEBUG - Response for deleting network ()
2025-04-13 14:28:18,766 - DEBUG - No XMPP flaps were noticed during the test
2025-04-13 14:28:18,766 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-13 14:28:18,766 - INFO - --------------------------------------------------------------------------------
2025-04-13 14:28:19,493 - INFO - Deleted project: ctest-TestBasicVMVNx-40639521, ID : 0ed0e0d6-febb-4e17-8e77-cd585ae0e673