test_request_exit failing on trusty and precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Committed
|
Undecided
|
Simon Poirier |
Bug Description
Some precise runs:
https:/
https:/
https:/
Some trusty runs:
https:/
https:/
https:/
landscape.
_StringException: Traceback (most recent call last):
TimeoutError: <landscape.
Related branches
- Chad Smith: Approve
- Geoff Teale (community): Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 15 lines (+3/-1)1 file modifiedlandscape/tests/test_watchdog.py (+3/-1)
- 🤖 Landscape Builder: Approve (test results)
- Chris Glass (community): Approve
- Benji York (community): Approve
-
Diff: 320 lines (+44/-43)10 files modifiedlandscape/broker/tests/test_store.py (+2/-10)
landscape/lib/tests/test_persist.py (+7/-7)
landscape/manager/aptsources.py (+6/-1)
landscape/manager/scriptexecution.py (+3/-6)
landscape/monitor/tests/test_cephusage.py (+2/-4)
landscape/monitor/tests/test_usermonitor.py (+2/-3)
landscape/package/tests/test_changer.py (+1/-1)
landscape/tests/helpers.py (+18/-8)
landscape/tests/test_service.py (+1/-1)
landscape/tests/test_watchdog.py (+2/-2)
description: | updated |
tags: | removed: kanban |
Changed in landscape-client: | |
assignee: | nobody → Simon Poirier (simpoir) |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
I had a lot of trouble reproducing this, but as it seems to mysteriously pass when run 2 times in a short lapse, I traced it to potential race conditions in tempfiles.
Unlike xenial, both precise and trusty jenkins nodes have a large amount of breadcrumbs in /tmp (200,000+).
ubuntu@ juju-lcy02- machine- 1:~$ find /tmp -name 'tmp??????' -type f -user ubuntu |wc -l
213805
I'm assuming this causes just enough slowdown to randomly fail, so I went ahead and did a cleanup of those old temp files.