2025-07-21 19:01:57,356 - INFO - Domain Default found not creating 2025-07-21 19:01:57,800 - INFO - Project ctest-TestBasicVMVNx-00557955 not found, creating it 2025-07-21 19:01:58,627 - INFO - Created Project:ctest-TestBasicVMVNx-00557955, ID : e2445452-9d0c-4755-9ab8-a4776e2085a4 2025-07-21 19:02:00,787 - INFO - ================================================================================ 2025-07-21 19:02:00,787 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-21 19:02:00,788 - 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-21 19:02:01,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 19:02:01,122 - INFO - Initial checks done. Running the testcase now 2025-07-21 19:02:01,122 - INFO - 2025-07-21 19:02:01,971 - DEBUG - Response for create_network : {'network': {'id': '7f6ff36e-8cd1-4de5-a45c-907a6d08ec0c', 'name': 'ctest-vn-95801644', 'tenant_id': 'e24454529d0c47559ab8a4776e2085a4', 'project_id': 'e24454529d0c47559ab8a4776e2085a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00557955', 'ctest-vn-95801644'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 19:02:02,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fb06f3f-2ab2-4656-a5a1-0df9a73548bb', 'name': '', 'tenant_id': 'e24454529d0c47559ab8a4776e2085a4', 'network_id': '7f6ff36e-8cd1-4de5-a45c-907a6d08ec0c', 'ip_version': 4, 'cidr': '164.96.17.128/26', 'allocation_pools': [{'start': '164.96.17.130', 'end': '164.96.17.190'}], 'gateway_ip': '164.96.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.96.17.130', 'tags': [], 'project_id': 'e24454529d0c47559ab8a4776e2085a4'}} 2025-07-21 19:02:02,195 - INFO - Created VN ctest-vn-95801644 2025-07-21 19:02:02,258 - DEBUG - VN ctest-vn-95801644 UUID is 7f6ff36e-8cd1-4de5-a45c-907a6d08ec0c 2025-07-21 19:02:02,632 - DEBUG - Services list from nova: [, , ] 2025-07-21 19:02:04,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 19:02:06,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 19:02:06,079 - INFO - Waiting for VM ctest-TestBasicVMVNx-00557955-80115819 to be up.. 2025-07-21 19:02:06,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 19:02:11,349 - DEBUG - VM is in ACTIVE state now 2025-07-21 19:02:11,350 - INFO - VM name : ctest-TestBasicVMVNx-00557955-80115819 2025-07-21 19:02:11,553 - DEBUG - VM ctest-TestBasicVMVNx-00557955-80115819 ID is 571be505-115b-4a47-a730-6058288deeda 2025-07-21 19:02:11,604 - DEBUG - VM ctest-TestBasicVMVNx-00557955-80115819 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 19:02:11,808 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/571be505-115b-4a47-a730-6058288deeda 2025-07-21 19:02:12,164 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/571be505-115b-4a47-a730-6058288deeda 2025-07-21 19:02:12,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c2bdaed4-5ce3-4f89-9045-fcdf2504709e 2025-07-21 19:02:15,538 - 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-07-21 19:02:15,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00557955-80115819 failed! 2025-07-21 19:02:15,610 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00557955:ctest-vn-95801644 is 164.96.17.129 and allocation pool is NOT set 2025-07-21 19:02:17,688 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/5.317/10.063/4.745 ms') 2025-07-21 19:02:17,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00557955-80115819 passed 2025-07-21 19:02:17,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 19:02:17,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00557955-80115819, IP 164.96.17.131, Port 22 2025-07-21 19:02:17,944 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-21 19:02:18,062 - DEBUG - VM ctest-TestBasicVMVNx-00557955-80115819 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 19:02:23,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 19:02:23,063 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00557955-80115819, IP 164.96.17.131, Port 22 2025-07-21 19:02:23,268 - DEBUG - VM ctest-TestBasicVMVNx-00557955-80115819 is ready for SSH connections 2025-07-21 19:02:23,269 - INFO - Waiting for VM ctest-TestBasicVMVNx-00557955-57962349 to be up.. 2025-07-21 19:02:23,465 - DEBUG - VM is in ACTIVE state now 2025-07-21 19:02:23,465 - INFO - VM name : ctest-TestBasicVMVNx-00557955-57962349 2025-07-21 19:02:23,665 - DEBUG - VM ctest-TestBasicVMVNx-00557955-57962349 ID is 101afff8-2067-447f-a6a3-abc463fb9866 2025-07-21 19:02:23,665 - DEBUG - VM ctest-TestBasicVMVNx-00557955-57962349 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 19:02:23,843 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/101afff8-2067-447f-a6a3-abc463fb9866 2025-07-21 19:02:23,868 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc6b64e8-2a78-434c-9263-4e3506fc341b 2025-07-21 19:02:25,241 - 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=9.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.736 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 = 0.736/5.004/9.272/4.268 ms') 2025-07-21 19:02:25,241 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00557955-57962349 passed 2025-07-21 19:02:25,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 19:02:25,431 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00557955-57962349, IP 164.96.17.132, Port 22 2025-07-21 19:02:25,637 - DEBUG - VM ctest-TestBasicVMVNx-00557955-57962349 is ready for SSH connections 2025-07-21 19:02:25,638 - DEBUG - FILE SIZE = 1303B 2025-07-21 19:02:25,638 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00557955-80115819 to ctest-TestBasicVMVNx-00557955-57962349 using scp 2025-07-21 19:02:25,640 - 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-07-21 19:02:25,641 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-21 19:02:27,978 - DEBUG - 1+0 records in 1+0 records out 2025-07-21 19:02:28,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 19:02:29,219 - 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-07-21 19:02:29,220 - DEBUG - ls -l testfile 2025-07-21 19:02:31,178 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 21 13:02 testfile 2025-07-21 19:02:31,179 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00557955-57962349 2025-07-21 19:02:31,179 - INFO - Deleting VM ctest-TestBasicVMVNx-00557955-57962349 2025-07-21 19:02:31,292 - INFO - Deleting VM ctest-TestBasicVMVNx-00557955-80115819 2025-07-21 19:02:31,413 - INFO - Deleting VN ctest-vn-95801644 2025-07-21 19:02:31,493 - DEBUG - VN 7f6ff36e-8cd1-4de5-a45c-907a6d08ec0c still in use: Unable to complete operation on network 7f6ff36e-8cd1-4de5-a45c-907a6d08ec0c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ed0b8e5-d76d-4b82-95c6-f6b7378e69a4'] 2025-07-21 19:02:31,493 - WARNING - Deleting VN ctest-vn-95801644 failed..Will retry 2025-07-21 19:02:33,726 - DEBUG - Response for deleting network () 2025-07-21 19:02:34,035 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 19:02:34,035 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34]
2025-07-21 19:02:34,035 - INFO - -------------------------------------------------------------------------------- 2025-07-21 19:02:35,073 - INFO - Deleted project: ctest-TestBasicVMVNx-00557955, ID : e2445452-9d0c-4755-9ab8-a4776e2085a4