~canonical-platform-qa/ubuntu-qa-tools/add-xenial-to-release-list

« back to all changes in this revision

Viewing changes to vm-tools/uvt

  • Committer: Marc Deslauriers
  • Date: 2016-02-04 13:12:50 UTC
  • Revision ID: marc.deslauriers@canonical.com-20160204131250-q4hu47myaac25z63
uvt: add more details when ssh command fails
kernel-abi-check: retire vivid

Show diffs side-by-side

added added

removed removed

Lines of Context:
1335
1335
            print("Could not start VM: %s" % vm_name)
1336
1336
            return False
1337
1337
 
1338
 
    ssh_command = ['ssh']
 
1338
    ssh_command = ['ssh', '-vvv']
1339
1339
    if root:
1340
1340
        ssh_command += ['-l', 'root']
1341
1341
    else:
1358
1358
        rc, out = runcmd(ssh_command)
1359
1359
 
1360
1360
    if not ignore_rc and rc != 0:
1361
 
        print("SSH command failed. Got %s. Output was '%s'." % (rc, out))
 
1361
        print("SSH command failed. Command was '%s'. Got %s. Output was '%s'." % (ssh_command, rc, out))
1362
1362
 
1363
1363
    if start and not was_running:
1364
1364
        if not quiet: