UTAH ignores SIGTERM
Bug #1160247 reported by
Didier Roche-Tolomelli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
High
|
Javier Collado |
Bug Description
When killing a jenkins job, SIGTERM is sent to UTAH (jcollado).
However, it seems UTAH is ignoring it and so, all further run of a jenkins job using same UTAH job will fail (machine locked in the database).
Related branches
lp:~javier.collado/utah/bug1160247
- Max Brustkern (community): Approve
- Andy Doan (community): Approve
-
Diff: 127 lines (+14/-10)8 files modifieddebian/changelog (+1/-0)
examples/run_install_test.py (+1/-1)
examples/run_test_bamboo_feeder.py (+1/-1)
examples/run_test_cobbler.py (+1/-1)
examples/run_test_vm.py (+1/-1)
examples/run_utah_tests.py (+1/-1)
utah/cleanup.py (+1/-1)
utah/run.py (+7/-4)
tags: | added: ue-desktop |
Changed in utah: | |
importance: | Undecided → High |
assignee: | nobody → Javier Collado (javier.collado) |
Changed in utah: | |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Looking at the log, it seems that the signal was handled and the cleanup
methods were called. However, the timestamps don't match, so maybe the signal
wasn't handled at all, but then it looks like nothing from the run that failed
was logged, which is also quite weird.
2013-03-25 14:27:06,869 dx-autopilot-nvidia DEBUG: Changing permissions of /tmp/dx- autopilot- nvidia_ nhksAu/ initrd. d/scripts/ init-premount/ brltty autopilot- nvidia_ nhksAu/ initrd. d/scripts/ init-premount/ ORDER autopilot- nvidia_ nhksAu/ initrd. d/scripts/ init-premount/ lvm2 autopilot- nvidia_ nhksAu nvidia' ]
2013-03-25 14:27:06,869 dx-autopilot-nvidia DEBUG: Changing permissions of /tmp/dx-
2013-03-25 14:27:06,869 dx-autopilot-nvidia DEBUG: Changing permissions of /tmp/dx-
2013-03-25 14:27:06,869 dx-autopilot-nvidia DEBUG: Recursively Removing directory /tmp/dx-
2013-03-25 14:27:07,369 dx-autopilot-nvidia DEBUG: Running cleanup
2013-03-26 08:47:47,901 root DEBUG: Logging already configured. Skipping logging configuration.
2013-03-26 08:47:47,976 root DEBUG: Executing SQL statement: SELECT COUNT(*) FROM machines, []
2013-03-26 08:47:47,988 root DEBUG: Executing SQL statement: SELECT * FROM machines WHERE name=?, ['dx-autopilot-
2013-03-26 08:47:47,988 root ERROR: Exception: All machines meeting criteria are currently unavailable