can't really "kill" a job

Bug #1285401 reported by Andy Doan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Andy Doan
Ubuntu CI Services
Fix Released
High
Andy Doan

Bug Description

The lander jobs running in Jenkins sometimes need to be cancelled. In the case I'm seeing I submitted a job that's going to run forever (separate bug being filed). The problem is that if I kill the jenkins job, the rabbit-worker doing the task will still keep chugging along.

The best thing we can do for now, is to restart the worker and have it wait for something new. The problem is that the workers currently don't catch SIGINT and will exit without acking the rabbit message. So the next time it starts, its going to go right back to work on the hung request.

For now, we should handle SIGINT and ack the rabbit message. This way when it comes back up it will be ready for new work.

post phase-0: we need to re-think these workers/jenkins-jobs/rest-apis and do something more sensible.

Tags: airline

Related branches

Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
importance: Undecided → High
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
status: New → In Progress
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
milestone: none → phase-0
Changed in ubuntu-ci-services-itself:
status: In Progress → Fix Committed
Revision history for this message
Andy Doan (doanac) wrote :

I'm actually going to re-open this for post phase0. The solution i've done for now is a bandaid.

Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
milestone: phase-0 → backlog
status: Fix Released → Confirmed
assignee: Andy Doan (doanac) → nobody
Revision history for this message
Andy Doan (doanac) wrote :

this got fixed in the rework of the run-workers. which now can be cancelled (not instantly but can be cancelled)

Changed in ubuntu-ci-services-itself:
status: Confirmed → Fix Released
Changed in ubuntu-ci-services-itself:
assignee: nobody → Andy Doan (doanac)
milestone: backlog → phase-0
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Andy Doan (doanac)
importance: Undecided → High
milestone: none → phase-0
status: New → 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.