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)
Tree Management
Treeherder: API
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
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Here is the Job Info artifact actually stored:
[
{
"blob": {
"job_details": []
},
"type": "json",
"id": 12965453,
"name": "Job Info",
"job_id": 2405854
}
]
Reporter | ||
Comment 2•10 years ago
|
||
I wrote a test based on this data and the test is passing, I need further investigation on this
Updated•10 years ago
|
Priority: -- → P3
Comment 3•10 years ago
|
||
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.
Reporter | ||
Comment 4•10 years ago
|
||
Oh, that's why the test was passing, the initial state was different :)
Comment 5•10 years ago
|
||
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
Updated•10 years ago
|
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.
Description
•