Merge lp:~dpigott/lava-dispatcher/increase-timeout into lp:lava-dispatcher

Proposed by Dave Pigott
Status: Merged
Merged at revision: 274
Proposed branch: lp:~dpigott/lava-dispatcher/increase-timeout
Merge into: lp:lava-dispatcher
Diff against target: 15 lines (+4/-1)
1 file modified
lava_dispatcher/client/master.py (+4/-1)
To merge this branch: bzr merge lp:~dpigott/lava-dispatcher/increase-timeout
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Michael Hudson-Doyle Pending
Review via email: mp+98630@code.launchpad.net

Description of the change

Have only increased the timeout. Didn't want to destabilise while move was going on. Need to open another bug, which will basically allow us to have a timeout parameter on deploy_linaro_image (and deploy_linaro_android_image for that matter)

To post a comment you must log in.
Revision history for this message
Paul Larson (pwlars) wrote :

I'm going to wait on this, not intending to merge as-is for 12.03

Revision history for this message
Dave Pigott (dpigott) wrote :

I've added https://bugs.launchpad.net/lava-dispatcher/+bug/961926 for the actual timeout implementation

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1

review: Approve
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I've merged this to 0.5.12 hot-fix release and released to pypi
I've also merged this to trunk (after bumping trunk to 0.6.dev)
Finally I've deployed this to production

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lava_dispatcher/client/master.py'
2--- lava_dispatcher/client/master.py 2012-03-20 06:59:13 +0000
3+++ lava_dispatcher/client/master.py 2012-03-21 13:35:36 +0000
4@@ -81,7 +81,10 @@
5 session.run('udevadm trigger')
6 session.run('mkdir -p /mnt/root')
7 session.run('mount /dev/disk/by-label/testrootfs /mnt/root')
8- _deploy_tarball_to_board(session, rootfs, '/mnt/root', timeout=3600)
9+ # The timeout has to be this long for vexpress. For a full desktop it
10+ # takes 214 minutes, plus about 25 minutes for the mkfs ext3, add
11+ # another hour to err on the side of caution.
12+ _deploy_tarball_to_board(session, rootfs, '/mnt/root', timeout=18000)
13
14 session.run('echo linaro > /mnt/root/etc/hostname')
15 #DO NOT REMOVE - diverting flash-kernel and linking it to /bin/true

Subscribers

People subscribed via source and target branches