Closed Bug 1070979 Opened 10 years ago Closed 10 years ago

Jobs initially sent with empty Job Info artifact can not be updated

Categories

(Tree Management :: Treeherder: API, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1089714

People

(Reporter: mdoglio, Unassigned)

Details

As reported by :bc here https://bugzilla.mozilla.org/show_bug.cgi?id=1037077#c8 When a job like the one in attachment 8490836 [details] is sent to treeherder, its Job Info artifact is not stored correctly
Blocks: 1037077
OS: Mac OS X → All
Hardware: x86 → All
Here is the Job Info artifact actually stored: [ { "blob": { "job_details": [] }, "type": "json", "id": 12965453, "name": "Job Info", "job_id": 2405854 } ]
I wrote a test based on this data and the test is passing, I need further investigation on this
Priority: -- → P3
I found the issue. If the Job Collection is sent with job_type = 'update' with an empty Job Info, then it will not be updated with subsequent submissions with a non-empty Job Info.
Oh, that's why the test was passing, the initial state was different :)
Adjusting the summary and unblocking bug 1037077.
No longer blocks: 1037077
Summary: Jobs sent from autophone don't have the Job Info artifact stored properly → Jobs initially sent with empty Job Info artifact can not be updated
Blocks: 1072676
No longer blocks: 1072676
Component: Treeherder → Treeherder: API
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.