Treeherder reports green push even if artifacts are not found



3 years ago
3 years ago


(Reporter: mcomella, Assigned: garndt)



Which is unintuitive.

I misconfigured my new job to run the 64_api_15_frontend.yml sub-config but had it looking for certain artifacts.

The push:

The "lint" job is green and when I inspect the task, it looks like the artifacts are present:

However, when I click through to the artifacts, I see "file-missing-on-worker":

I'd expect one or both of:
* The job is red
* The inspected task alerts me that expected artifacts were not found.

fwiw, I don't have a good understanding of the system (i.e. I was largely copy-pasting previous tasks).
I agree this is broken, but I haven't a clue what system is failing.  TC -> TH seems to be completely unsolved.  selena, perhaps you can redirect?
Flags: needinfo?(sdeckelmann)

Comment 2

3 years ago
Currently artifacts that are not found upon task completion will not cause a task to fail.  It was attempted to change this behavior at one point, but then soon it was discovered that tasks started being marked as failed because task creators were not warned of this change in behavior. Bug 1157425 was opened to work on this issue (I can start on that soon). (see also

In regards to tasks missing artifacts, when inspecting the task in the task inspector, we display a couple of pieces of information indicating that the artifact was not found.  An error artifact will be created for each artifact not found that was declared within the task definition.  These are the artifacts that you see when inspecting the task will display an error reason of "file-missing-on-worker" when clicked.

There is also information at the end of the task log explaining what artifacts could not be found that were declared within the task payload.  Here is one such line from the task mentioned in the bug description:

[taskcluster 2016-03-29 22:15:17.650Z] Artifact "public/android/lint/lint-results-automationDebug.xml" not found at "/home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-automationDebug.xml"

I started an interactive task to locate these files within the task but could not find them.
Flags: needinfo?(sdeckelmann)


3 years ago
Assignee: nobody → garndt
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1157425
You need to log in before you can comment on or make changes to this bug.