2025-04-21 02:20:15,309 - INFO - Domain Default found not creating 2025-04-21 02:20:15,436 - INFO - Project ctest-TestBasicVMVNx-54648252 not found, creating it 2025-04-21 02:20:15,890 - INFO - Created Project:ctest-TestBasicVMVNx-54648252, ID : 85ba5af1-e130-4940-8410-cdda547dc8a4 2025-04-21 02:20:17,364 - INFO - ================================================================================ 2025-04-21 02:20:17,364 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-21 02:20:17,364 - 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-21 02:20:17,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-04-21 02:20:17,618 - INFO - Initial checks done. Running the testcase now 2025-04-21 02:20:17,618 - INFO - 2025-04-21 02:20:18,159 - DEBUG - Response for create_network : {'network': {'id': 'da102c1f-5753-49f2-bdab-95a9542ea73d', 'name': 'ctest-vn-02934115', 'tenant_id': '85ba5af1e13049408410cdda547dc8a4', 'project_id': '85ba5af1e13049408410cdda547dc8a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54648252', 'ctest-vn-02934115'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:20:18,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a38815ce-d93f-4bb2-b227-a045d9638493', 'name': '', 'tenant_id': '85ba5af1e13049408410cdda547dc8a4', 'network_id': 'da102c1f-5753-49f2-bdab-95a9542ea73d', 'ip_version': 4, 'cidr': '33.48.190.0/26', 'allocation_pools': [{'start': '33.48.190.2', 'end': '33.48.190.62'}], 'gateway_ip': '33.48.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.48.190.2', 'tags': [], 'project_id': '85ba5af1e13049408410cdda547dc8a4'}} 2025-04-21 02:20:18,386 - INFO - Created VN ctest-vn-02934115 2025-04-21 02:20:18,441 - DEBUG - VN ctest-vn-02934115 UUID is da102c1f-5753-49f2-bdab-95a9542ea73d 2025-04-21 02:20:18,604 - DEBUG - Services list from nova: [, , ] 2025-04-21 02:20:19,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3143-1) 2025-04-21 02:20:20,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3143-1) 2025-04-21 02:20:20,760 - INFO - Waiting for VM ctest-TestBasicVMVNx-54648252-21919630 to be up.. 2025-04-21 02:20:20,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 02:20:25,936 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:20:25,936 - INFO - VM name : ctest-TestBasicVMVNx-54648252-21919630 2025-04-21 02:20:26,008 - DEBUG - VM ctest-TestBasicVMVNx-54648252-21919630 ID is 699f36d0-02ec-4d0d-a3a3-483f476082db 2025-04-21 02:20:26,025 - DEBUG - VM ctest-TestBasicVMVNx-54648252-21919630 launched on Node cn-jenkins-deploy-platform-ansible-os-3143-1 2025-04-21 02:20:26,093 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/699f36d0-02ec-4d0d-a3a3-483f476082db 2025-04-21 02:20:26,387 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/699f36d0-02ec-4d0d-a3a3-483f476082db 2025-04-21 02:20:26,418 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/793d1d4d-e39a-4d92-9b76-12775d8afb73 2025-04-21 02:20:29,683 - 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 1023ms') 2025-04-21 02:20:29,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54648252-21919630 failed! 2025-04-21 02:20:29,737 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54648252:ctest-vn-02934115 is 33.48.190.1 and allocation pool is NOT set 2025-04-21 02:20:31,799 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.779 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.779/2.013/3.247/1.234 ms') 2025-04-21 02:20:31,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54648252-21919630 passed 2025-04-21 02:20:31,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:20:31,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54648252-21919630, IP 33.48.190.3, Port 22 2025-04-21 02:20:32,104 - DEBUG - VM ctest-TestBasicVMVNx-54648252-21919630 is ready for SSH connections 2025-04-21 02:20:32,104 - INFO - Waiting for VM ctest-TestBasicVMVNx-54648252-55492974 to be up.. 2025-04-21 02:20:32,189 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:20:32,189 - INFO - VM name : ctest-TestBasicVMVNx-54648252-55492974 2025-04-21 02:20:32,279 - DEBUG - VM ctest-TestBasicVMVNx-54648252-55492974 ID is 34335fe8-ae0a-4c09-bcf8-22ad47cbaae0 2025-04-21 02:20:32,279 - DEBUG - VM ctest-TestBasicVMVNx-54648252-55492974 launched on Node cn-jenkins-deploy-platform-ansible-os-3143-1 2025-04-21 02:20:32,351 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/34335fe8-ae0a-4c09-bcf8-22ad47cbaae0 2025-04-21 02:20:32,360 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/98fd3da2-fc72-453c-9fdb-72c12f44e389 2025-04-21 02:20:33,606 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.10 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.101/2.424/2.748/0.323 ms') 2025-04-21 02:20:33,607 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54648252-55492974 passed 2025-04-21 02:20:33,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:20:33,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54648252-55492974, IP 33.48.190.4, Port 22 2025-04-21 02:20:33,908 - DEBUG - VM ctest-TestBasicVMVNx-54648252-55492974 is ready for SSH connections 2025-04-21 02:20:33,908 - DEBUG - FILE SIZE = 1303B 2025-04-21 02:20:33,908 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54648252-21919630 to ctest-TestBasicVMVNx-54648252-55492974 using scp 2025-04-21 02:20:33,909 - 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-04-21 02:20:33,909 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-21 02:20:35,802 - DEBUG - 1+0 records in 1+0 records out 2025-04-21 02:20:36,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:20:36,892 - 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-04-21 02:20:36,892 - DEBUG - ls -l testfile 2025-04-21 02:20:38,457 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 20 20:20 testfile 2025-04-21 02:20:38,457 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54648252-55492974 2025-04-21 02:20:38,458 - INFO - Deleting VM ctest-TestBasicVMVNx-54648252-55492974 2025-04-21 02:20:38,612 - INFO - Deleting VM ctest-TestBasicVMVNx-54648252-21919630 2025-04-21 02:20:38,687 - INFO - Deleting VN ctest-vn-02934115 2025-04-21 02:20:38,724 - DEBUG - VN da102c1f-5753-49f2-bdab-95a9542ea73d still in use: Unable to complete operation on network da102c1f-5753-49f2-bdab-95a9542ea73d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45c207a2-87a2-4bfc-ba92-27369e2042fb'] 2025-04-21 02:20:38,724 - WARNING - Deleting VN ctest-vn-02934115 failed..Will retry 2025-04-21 02:20:40,829 - DEBUG - Response for deleting network () 2025-04-21 02:20:41,086 - DEBUG - No XMPP flaps were noticed during the test 2025-04-21 02:20:41,086 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-21 02:20:41,086 - INFO - -------------------------------------------------------------------------------- 2025-04-21 02:20:41,751 - INFO - Deleted project: ctest-TestBasicVMVNx-54648252, ID : 85ba5af1-e130-4940-8410-cdda547dc8a4