Bug 1293010 - beaker-transfer should not try to move logs for deleted jobs
Summary: beaker-transfer should not try to move logs for deleted jobs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 22.1
Assignee: matt jia
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-19 02:37 UTC by Dan Callaghan
Modified: 2016-02-01 04:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-01 04:30:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-12-19 02:37:10 UTC
Once a job has been deleted, there is no point beaker-transfer trying to move the logs anymore because they will just be deleted on the next run of beaker-log-delete. It should just ignore recipes from deleted jobs.

Comment 2 matt jia 2015-12-21 04:40:24 UTC
On Gerrit:

   http://gerrit.beaker-project.org/#/c/4552/

Comment 4 Dan Callaghan 2016-01-19 07:01:57 UTC
The following patch will help with verifying the beaker-transfer-related bugs because it lets us see exactly which recipes beaker-transfer is moving and when:

http://gerrit.beaker-project.org/#/c/4601/2

Suggested steps to verify this bug:
1. Schedule a job with /distribution/reservesys
2. Wait for it to start running and produce some logs
3. While it's still running, Cancel and then immediately Delete the job (the idea here is to delete it *before* beaker-transfer notices that it's finished and tries to transfer it)

Expected results:
beaker-transfer should ignore deleted recipe, it should not try to transfer the logs.

Comment 6 Dan Callaghan 2016-02-01 04:30:47 UTC
Beaker 22.1 has been released.


Note You need to log in before you can comment on or make changes to this bug.