2025-02-03 19:08:02,495 - INFO - Domain Default found not creating 2025-02-03 19:08:02,718 - INFO - Project ctest-TestBasicVMVNx-95075363 not found, creating it 2025-02-03 19:08:03,232 - INFO - Created Project:ctest-TestBasicVMVNx-95075363, ID : 6f0a2b20-d037-477d-9080-af3128ccde0f 2025-02-03 19:08:04,922 - INFO - ================================================================================ 2025-02-03 19:08:04,922 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 19:08:04,922 - 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-03 19:08:05,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.20': '0'}} with 2025-02-03 19:08:05,197 - INFO - Initial checks done. Running the testcase now 2025-02-03 19:08:05,197 - INFO - 2025-02-03 19:08:05,850 - DEBUG - Response for create_network : {'network': {'id': '7dcca9d8-6b54-4bd6-99c4-d4fb1094d2eb', 'name': 'ctest-vn-63037317', 'tenant_id': '6f0a2b20d037477d9080af3128ccde0f', 'project_id': '6f0a2b20d037477d9080af3128ccde0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95075363', 'ctest-vn-63037317'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 19:08:06,083 - DEBUG - Response for create_subnet : {'subnet': {'id': '4af895ac-ec1b-46ed-b842-90f86031a0b2', 'name': '', 'tenant_id': '6f0a2b20d037477d9080af3128ccde0f', 'network_id': '7dcca9d8-6b54-4bd6-99c4-d4fb1094d2eb', 'ip_version': 4, 'cidr': '190.37.127.128/26', 'allocation_pools': [{'start': '190.37.127.130', 'end': '190.37.127.190'}], 'gateway_ip': '190.37.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.37.127.130', 'tags': [], 'project_id': '6f0a2b20d037477d9080af3128ccde0f'}} 2025-02-03 19:08:06,110 - INFO - Created VN ctest-vn-63037317 2025-02-03 19:08:06,170 - DEBUG - VN ctest-vn-63037317 UUID is 7dcca9d8-6b54-4bd6-99c4-d4fb1094d2eb 2025-02-03 19:08:06,376 - DEBUG - Services list from nova: [, , ] 2025-02-03 19:08:07,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2682-1) 2025-02-03 19:08:08,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2682-1) 2025-02-03 19:08:08,934 - INFO - Waiting for VM ctest-TestBasicVMVNx-95075363-07625123 to be up.. 2025-02-03 19:08:09,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 19:08:14,222 - DEBUG - VM is in ACTIVE state now 2025-02-03 19:08:14,223 - INFO - VM name : ctest-TestBasicVMVNx-95075363-07625123 2025-02-03 19:08:14,336 - DEBUG - VM ctest-TestBasicVMVNx-95075363-07625123 ID is db7c16e6-05cb-4d4d-99c2-82521cf92fbc 2025-02-03 19:08:14,371 - DEBUG - VM ctest-TestBasicVMVNx-95075363-07625123 launched on Node cn-jenkins-deploy-platform-ansible-os-2682-1 2025-02-03 19:08:14,614 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/db7c16e6-05cb-4d4d-99c2-82521cf92fbc 2025-02-03 19:08:14,934 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/db7c16e6-05cb-4d4d-99c2-82521cf92fbc 2025-02-03 19:08:14,982 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/e6a02dee-496a-4f34-a76c-535050e30b2e 2025-02-03 19:08:18,275 - 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 1025ms') 2025-02-03 19:08:18,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95075363-07625123 failed! 2025-02-03 19:08:18,338 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95075363:ctest-vn-63037317 is 190.37.127.129 and allocation pool is NOT set 2025-02-03 19:08:20,405 - 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=4.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.865 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.865/2.551/4.238/1.686 ms') 2025-02-03 19:08:20,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95075363-07625123 passed 2025-02-03 19:08:20,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 19:08:20,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95075363-07625123, IP 190.37.127.131, Port 22 2025-02-03 19:08:20,745 - DEBUG - VM ctest-TestBasicVMVNx-95075363-07625123 is ready for SSH connections 2025-02-03 19:08:20,745 - INFO - Waiting for VM ctest-TestBasicVMVNx-95075363-87258004 to be up.. 2025-02-03 19:08:20,852 - DEBUG - VM is in ACTIVE state now 2025-02-03 19:08:20,852 - INFO - VM name : ctest-TestBasicVMVNx-95075363-87258004 2025-02-03 19:08:20,946 - DEBUG - VM ctest-TestBasicVMVNx-95075363-87258004 ID is d08a97af-3e48-41c1-9457-9ec2908c3495 2025-02-03 19:08:20,947 - DEBUG - VM ctest-TestBasicVMVNx-95075363-87258004 launched on Node cn-jenkins-deploy-platform-ansible-os-2682-1 2025-02-03 19:08:21,041 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/d08a97af-3e48-41c1-9457-9ec2908c3495 2025-02-03 19:08:21,053 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/cd33bd59-6db5-4ee9-82fd-9d191ab5be43 2025-02-03 19:08:22,320 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.84 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.976/3.405/3.835/0.429 ms') 2025-02-03 19:08:22,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95075363-87258004 passed 2025-02-03 19:08:22,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 19:08:22,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95075363-87258004, IP 190.37.127.132, Port 22 2025-02-03 19:08:22,552 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-02-03 19:08:22,666 - DEBUG - VM ctest-TestBasicVMVNx-95075363-87258004 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-03 19:08:27,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 19:08:27,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95075363-87258004, IP 190.37.127.132, Port 22 2025-02-03 19:08:27,836 - DEBUG - VM ctest-TestBasicVMVNx-95075363-87258004 is ready for SSH connections 2025-02-03 19:08:27,836 - DEBUG - FILE SIZE = 1303B 2025-02-03 19:08:27,836 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95075363-07625123 to ctest-TestBasicVMVNx-95075363-87258004 using scp 2025-02-03 19:08:27,837 - 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.28, gateway password: c0ntrail123 2025-02-03 19:08:27,837 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 19:08:29,902 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 19:08:30,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 19:08:31,079 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-02-03 19:08:31,079 - DEBUG - ls -l testfile 2025-02-03 19:08:32,733 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 12:08 testfile 2025-02-03 19:08:32,733 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95075363-87258004 2025-02-03 19:08:32,734 - INFO - Deleting VM ctest-TestBasicVMVNx-95075363-87258004 2025-02-03 19:08:32,826 - INFO - Deleting VM ctest-TestBasicVMVNx-95075363-07625123 2025-02-03 19:08:32,917 - INFO - Deleting VN ctest-vn-63037317 2025-02-03 19:08:32,970 - DEBUG - VN 7dcca9d8-6b54-4bd6-99c4-d4fb1094d2eb still in use: Unable to complete operation on network 7dcca9d8-6b54-4bd6-99c4-d4fb1094d2eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83890167-bec8-4b90-86e1-b1f3a79ab094'] 2025-02-03 19:08:32,970 - WARNING - Deleting VN ctest-vn-63037317 failed..Will retry 2025-02-03 19:08:35,165 - DEBUG - Response for deleting network () 2025-02-03 19:08:35,441 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 19:08:35,441 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-02-03 19:08:35,441 - INFO - -------------------------------------------------------------------------------- 2025-02-03 19:08:36,229 - INFO - Deleted project: ctest-TestBasicVMVNx-95075363, ID : 6f0a2b20-d037-477d-9080-af3128ccde0f