retry reinstalling utah-client

Bug #1175732 reported by Paul Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
Medium
Javier Collado

Bug Description

It would be useful if we could retry installing the utah-client a few times in case things like below are a transient error. This one in particular causes daily smoke jobs to fail every so often.

2013-05-02 18:17:47,438 ssh WARNING: SSH command (while fuser /var/lib/dpkg/lock \
            /var/cache/apt/archives/lock \
            /var/lib/apt/lists/lock \
      >/dev/null 2>&1
do
    logger -t utah "Waiting for packaging locks to become available..."
    sleep 10
done
DEBIAN_FRONTEND=noninteractive gdebi -n -q /tmp/utah-client_0.10ubuntu1-r861~precise1_all.deb) failed with return code: 1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/utah/run.py", line 277, in run_tests
    machine.installclient()
  File "/usr/lib/python2.7/dist-packages/utah/provisioning/provisioning.py", line 464, in installclient
    raise UTAHProvisioningException('Failed to install client\n')
UTAHProvisioningException: Failed to install client

+ RETCODE=1

Related branches

Paul Larson (pwlars)
description: updated
Changed in utah:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Javier Collado (javier.collado)
milestone: none → 0.13
Changed in utah:
status: Triaged → In Progress
Changed in utah:
status: In Progress → Fix Committed
Changed in utah:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.