Merge lp://staging/~bladernr/checkbox/978925-fix-rem-watcher-timeout into lp://staging/checkbox

Proposed by Jeff Lane 
Status: Merged
Merged at revision: 1361
Proposed branch: lp://staging/~bladernr/checkbox/978925-fix-rem-watcher-timeout
Merge into: lp://staging/checkbox
Diff against target: 222 lines (+31/-21)
5 files modified
debian/changelog (+10/-0)
jobs/firewire.txt.in (+2/-2)
jobs/mediacard.txt.in (+16/-16)
jobs/usb.txt.in (+2/-2)
scripts/removable_storage_watcher (+1/-1)
To merge this branch: bzr merge lp://staging/~bladernr/checkbox/978925-fix-rem-watcher-timeout
Reviewer Review Type Date Requested Status
Jeff Lane  Needs Resubmitting
Daniel Manrique (community) Needs Information
Review via email: mp+101792@code.staging.launchpad.net

Description of the change

bumped the default timeout for removable_storage_watcher to 20 seconds to account for slow systems and testers.

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Thanks for the 0.13.8 bump!

One thing, I noticed that the optical writing tests also have a similar problem; after finishing writing (and the disc popping out and me having to put the tray back in, and it taking about 30 seconds to spin up and start reading the disc) these tests are also very prone to failing.

Maybe an experiment to see how long the process takes, and increasing the timeout accordingly may help here. So the question is if you'd like to handle that as part of this bug/merge, or we should file and handle separately.

Just for convenience, otherwise this looks fine and I'd be OK to merge it as soon as we decide this.

review: Needs Information
1362. By Jeff Lane 

Forgot to fix the job descriptions to account for the updated timeout time

Revision history for this message
Jeff Lane  (bladernr) wrote :

I'd propose making that a separate bug because it, unfortunately, will take a bit of testing and compromise. The time limit it currently has is based on the USB CDRW I have here + a few seconds buffer. Unfortunately, I didn't have any other types of CD drives to test with, and I can certainly see where different models will behave differently.

Perhaps the proper fix for that would be to have the optical write test watch for events a la the removable_storage_watcher and either timeout after XX seconds OR move on after catching the event or mount. I think I skipped waiting for the mount initially because the automatic mount didn't always seem to work... but that could also easily have been a problem with my franken-install that was patched together from 5 different releases

review: Needs Resubmitting

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches