2025-02-04 23:25:28,607 - INFO - Domain Default found not creating 2025-02-04 23:25:28,779 - INFO - Project ctest-TestBasicVMVNx-09454887 not found, creating it 2025-02-04 23:25:29,278 - INFO - Created Project:ctest-TestBasicVMVNx-09454887, ID : a241dcd0-5eee-4694-bcb8-39363705e3e8 2025-02-04 23:25:30,931 - INFO - ================================================================================ 2025-02-04 23:25:30,931 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-04 23:25:30,931 - 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-02-04 23:25:31,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-02-04 23:25:31,209 - INFO - Initial checks done. Running the testcase now 2025-02-04 23:25:31,209 - INFO - 2025-02-04 23:25:31,849 - DEBUG - Response for create_network : {'network': {'id': 'cea9d77d-f792-4642-9cbb-0f0efbee22b6', 'name': 'ctest-vn-55552068', 'tenant_id': 'a241dcd05eee4694bcb839363705e3e8', 'project_id': 'a241dcd05eee4694bcb839363705e3e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09454887', 'ctest-vn-55552068'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 23:25:32,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ede6175e-3370-43aa-96e9-be1dd7c88e6c', 'name': '', 'tenant_id': 'a241dcd05eee4694bcb839363705e3e8', 'network_id': 'cea9d77d-f792-4642-9cbb-0f0efbee22b6', 'ip_version': 4, 'cidr': '83.168.21.192/26', 'allocation_pools': [{'start': '83.168.21.194', 'end': '83.168.21.254'}], 'gateway_ip': '83.168.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.168.21.194', 'tags': [], 'project_id': 'a241dcd05eee4694bcb839363705e3e8'}} 2025-02-04 23:25:32,067 - INFO - Created VN ctest-vn-55552068 2025-02-04 23:25:32,121 - DEBUG - VN ctest-vn-55552068 UUID is cea9d77d-f792-4642-9cbb-0f0efbee22b6 2025-02-04 23:25:32,303 - DEBUG - Services list from nova: [, , ] 2025-02-04 23:25:33,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2688-1) 2025-02-04 23:25:34,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2688-1) 2025-02-04 23:25:34,733 - INFO - Waiting for VM ctest-TestBasicVMVNx-09454887-82628744 to be up.. 2025-02-04 23:25:34,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 23:25:39,912 - DEBUG - VM is in ACTIVE state now 2025-02-04 23:25:39,912 - INFO - VM name : ctest-TestBasicVMVNx-09454887-82628744 2025-02-04 23:25:39,991 - DEBUG - VM ctest-TestBasicVMVNx-09454887-82628744 ID is 8d104747-2bcb-4cd7-b485-60475702239d 2025-02-04 23:25:40,011 - DEBUG - VM ctest-TestBasicVMVNx-09454887-82628744 launched on Node cn-jenkins-deploy-platform-ansible-os-2688-1 2025-02-04 23:25:40,092 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8d104747-2bcb-4cd7-b485-60475702239d 2025-02-04 23:25:40,432 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8d104747-2bcb-4cd7-b485-60475702239d 2025-02-04 23:25:40,471 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/78dc04bd-7175-4a93-8bbe-0c4707d2a0ca 2025-02-04 23:25:43,743 - 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 1015ms') 2025-02-04 23:25:43,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09454887-82628744 failed! 2025-02-04 23:25:43,801 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09454887:ctest-vn-55552068 is 83.168.21.193 and allocation pool is NOT set 2025-02-04 23:25:45,870 - 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=5.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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 = 1.941/3.958/5.976/2.017 ms') 2025-02-04 23:25:45,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09454887-82628744 passed 2025-02-04 23:25:46,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:25:46,026 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09454887-82628744, IP 83.168.21.195, Port 22 2025-02-04 23:25:46,091 - 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-02-04 23:25:46,174 - DEBUG - VM ctest-TestBasicVMVNx-09454887-82628744 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-04 23:25:51,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:25:51,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09454887-82628744, IP 83.168.21.195, Port 22 2025-02-04 23:25:51,337 - DEBUG - VM ctest-TestBasicVMVNx-09454887-82628744 is ready for SSH connections 2025-02-04 23:25:51,337 - INFO - Waiting for VM ctest-TestBasicVMVNx-09454887-79790433 to be up.. 2025-02-04 23:25:51,418 - DEBUG - VM is in ACTIVE state now 2025-02-04 23:25:51,418 - INFO - VM name : ctest-TestBasicVMVNx-09454887-79790433 2025-02-04 23:25:51,490 - DEBUG - VM ctest-TestBasicVMVNx-09454887-79790433 ID is d2fc586a-e2ae-4906-a471-6e19b0e8dc10 2025-02-04 23:25:51,490 - DEBUG - VM ctest-TestBasicVMVNx-09454887-79790433 launched on Node cn-jenkins-deploy-platform-ansible-os-2688-1 2025-02-04 23:25:51,565 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d2fc586a-e2ae-4906-a471-6e19b0e8dc10 2025-02-04 23:25:51,574 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/86bea5d6-77c9-4dac-adeb-50db654c1af2 2025-02-04 23:25:52,814 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.652/2.905/1.253 ms') 2025-02-04 23:25:52,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09454887-79790433 passed 2025-02-04 23:25:52,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:25:52,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09454887-79790433, IP 83.168.21.196, Port 22 2025-02-04 23:25:53,125 - DEBUG - VM ctest-TestBasicVMVNx-09454887-79790433 is ready for SSH connections 2025-02-04 23:25:53,125 - DEBUG - FILE SIZE = 1303B 2025-02-04 23:25:53,125 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09454887-82628744 to ctest-TestBasicVMVNx-09454887-79790433 using scp 2025-02-04 23:25:53,126 - 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.17, gateway password: c0ntrail123 2025-02-04 23:25:53,126 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-04 23:25:55,070 - DEBUG - 1+0 records in 1+0 records out 2025-02-04 23:25:55,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:25:56,079 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 23:25:56,079 - DEBUG - ls -l testfile 2025-02-04 23:25:57,668 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 4 16:25 testfile 2025-02-04 23:25:57,668 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09454887-79790433 2025-02-04 23:25:57,668 - INFO - Deleting VM ctest-TestBasicVMVNx-09454887-79790433 2025-02-04 23:25:57,736 - INFO - Deleting VM ctest-TestBasicVMVNx-09454887-82628744 2025-02-04 23:25:57,799 - INFO - Deleting VN ctest-vn-55552068 2025-02-04 23:25:57,835 - DEBUG - VN cea9d77d-f792-4642-9cbb-0f0efbee22b6 still in use: Unable to complete operation on network cea9d77d-f792-4642-9cbb-0f0efbee22b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-315ae710-96ab-47f9-b71b-8f263a42eba3'] 2025-02-04 23:25:57,835 - WARNING - Deleting VN ctest-vn-55552068 failed..Will retry 2025-02-04 23:25:59,965 - DEBUG - Response for deleting network () 2025-02-04 23:26:00,219 - DEBUG - No XMPP flaps were noticed during the test 2025-02-04 23:26:00,219 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-02-04 23:26:00,220 - INFO - -------------------------------------------------------------------------------- 2025-02-04 23:26:01,018 - INFO - Deleted project: ctest-TestBasicVMVNx-09454887, ID : a241dcd0-5eee-4694-bcb8-39363705e3e8