2025-04-30 17:51:58,746 - INFO - Domain Default found not creating
2025-04-30 17:51:58,863 - INFO - Project ctest-TestBasicVMVNx-30515728 not found, creating it
2025-04-30 17:51:59,286 - INFO - Created Project:ctest-TestBasicVMVNx-30515728, ID : d2ccdafa-2000-4b87-86dd-fd7600c1fee1
2025-04-30 17:52:00,593 - INFO - ================================================================================
2025-04-30 17:52:00,594 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-30 17:52:00,594 - 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-30 17:52:00,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-30 17:52:00,843 - INFO - Initial checks done. Running the testcase now
2025-04-30 17:52:00,843 - INFO -
2025-04-30 17:52:01,342 - DEBUG - Response for create_network : {'network': {'id': '4bfdf262-675b-4368-959c-2bd2f4bb00d3', 'name': 'ctest-vn-01405403', 'tenant_id': 'd2ccdafa20004b8786ddfd7600c1fee1', 'project_id': 'd2ccdafa20004b8786ddfd7600c1fee1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30515728', 'ctest-vn-01405403'], 'port_security_enabled': True, 'description': ''}}
2025-04-30 17:52:01,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d08adb0-704a-45fd-973a-d4756970725c', 'name': '', 'tenant_id': 'd2ccdafa20004b8786ddfd7600c1fee1', 'network_id': '4bfdf262-675b-4368-959c-2bd2f4bb00d3', 'ip_version': 4, 'cidr': '150.2.239.128/26', 'allocation_pools': [{'start': '150.2.239.130', 'end': '150.2.239.190'}], 'gateway_ip': '150.2.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.2.239.130', 'tags': [], 'project_id': 'd2ccdafa20004b8786ddfd7600c1fee1'}}
2025-04-30 17:52:01,506 - INFO - Created VN ctest-vn-01405403
2025-04-30 17:52:01,558 - DEBUG - VN ctest-vn-01405403 UUID is 4bfdf262-675b-4368-959c-2bd2f4bb00d3
2025-04-30 17:52:01,742 - DEBUG - Services list from nova: [, , ]
2025-04-30 17:52:02,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1)
2025-04-30 17:52:03,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1)
2025-04-30 17:52:03,714 - INFO - Waiting for VM ctest-TestBasicVMVNx-30515728-54184808 to be up..
2025-04-30 17:52:03,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-30 17:52:08,858 - DEBUG - VM is in ACTIVE state now
2025-04-30 17:52:08,858 - INFO - VM name : ctest-TestBasicVMVNx-30515728-54184808
2025-04-30 17:52:08,922 - DEBUG - VM ctest-TestBasicVMVNx-30515728-54184808 ID is 74a93882-6bb2-42be-a61e-df141445da5d
2025-04-30 17:52:08,938 - DEBUG - VM ctest-TestBasicVMVNx-30515728-54184808 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1
2025-04-30 17:52:09,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74a93882-6bb2-42be-a61e-df141445da5d
2025-04-30 17:52:09,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74a93882-6bb2-42be-a61e-df141445da5d
2025-04-30 17:52:09,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b65cd678-3e30-400c-821d-4fce002615fe
2025-04-30 17:52:12,583 - 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 1016ms')
2025-04-30 17:52:12,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30515728-54184808 failed!
2025-04-30 17:52:12,634 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30515728:ctest-vn-01405403 is 150.2.239.129 and allocation pool is NOT set
2025-04-30 17:52:14,696 - 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=2.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.474/2.573/1.099 ms')
2025-04-30 17:52:14,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30515728-54184808 passed
2025-04-30 17:52:14,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-30 17:52:14,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30515728-54184808, IP 150.2.239.131, Port 22
2025-04-30 17:52:14,997 - DEBUG - VM ctest-TestBasicVMVNx-30515728-54184808 is ready for SSH connections
2025-04-30 17:52:14,997 - INFO - Waiting for VM ctest-TestBasicVMVNx-30515728-93201401 to be up..
2025-04-30 17:52:15,063 - DEBUG - VM is in ACTIVE state now
2025-04-30 17:52:15,063 - INFO - VM name : ctest-TestBasicVMVNx-30515728-93201401
2025-04-30 17:52:15,125 - DEBUG - VM ctest-TestBasicVMVNx-30515728-93201401 ID is af317aec-52d4-46a2-9c70-8f62ccef811a
2025-04-30 17:52:15,126 - DEBUG - VM ctest-TestBasicVMVNx-30515728-93201401 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1
2025-04-30 17:52:15,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af317aec-52d4-46a2-9c70-8f62ccef811a
2025-04-30 17:52:15,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4f7b0604-0bf8-4c1d-9472-3c9082972925
2025-04-30 17:52:16,443 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.22 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 = 2.216/2.426/2.636/0.210 ms')
2025-04-30 17:52:16,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30515728-93201401 passed
2025-04-30 17:52:16,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-30 17:52:16,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30515728-93201401, IP 150.2.239.132, Port 22
2025-04-30 17:52:16,742 - DEBUG - VM ctest-TestBasicVMVNx-30515728-93201401 is ready for SSH connections
2025-04-30 17:52:16,742 - DEBUG - FILE SIZE = 1303B
2025-04-30 17:52:16,742 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30515728-54184808 to ctest-TestBasicVMVNx-30515728-93201401 using scp
2025-04-30 17:52:16,743 - 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.38, gateway password: c0ntrail123
2025-04-30 17:52:16,743 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-30 17:52:18,579 - DEBUG - 1+0 records in
1+0 records out
2025-04-30 17:52:19,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-30 17:52:19,461 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-30 17:52:19,461 - DEBUG - ls -l testfile
2025-04-30 17:52:21,027 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 30 11:52 [0;0mtestfile[0m
2025-04-30 17:52:21,027 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30515728-93201401
2025-04-30 17:52:21,028 - INFO - Deleting VM ctest-TestBasicVMVNx-30515728-93201401
2025-04-30 17:52:21,086 - INFO - Deleting VM ctest-TestBasicVMVNx-30515728-54184808
2025-04-30 17:52:21,145 - INFO - Deleting VN ctest-vn-01405403
2025-04-30 17:52:21,176 - DEBUG - VN 4bfdf262-675b-4368-959c-2bd2f4bb00d3 still in use: Unable to complete operation on network 4bfdf262-675b-4368-959c-2bd2f4bb00d3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e1cd8056-873a-4d56-9eea-ff638aae6f0f']
2025-04-30 17:52:21,176 - WARNING - Deleting VN ctest-vn-01405403 failed..Will retry
2025-04-30 17:52:23,270 - DEBUG - Response for deleting network ()
2025-04-30 17:52:23,520 - DEBUG - No XMPP flaps were noticed during the test
2025-04-30 17:52:23,520 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-30 17:52:23,520 - INFO - --------------------------------------------------------------------------------
2025-04-30 17:52:24,165 - INFO - Deleted project: ctest-TestBasicVMVNx-30515728, ID : d2ccdafa-2000-4b87-86dd-fd7600c1fee1