Closed Bug 1299923 Opened 10 years ago Closed 10 years ago

pulse_actions - TaskClusterArtifactError: Please check your Task ID and artifact path

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: armenzg, Assigned: armenzg)

Details

Attachments

(1 file)

Attached file papertrail log —
In the error message we should raise the task id and artifact path [1] Raising the exception [2] prevents us from scheduling a 'Sch' job, thus, not scheduling Buildbot jobs either. The gecko decision task seems to be [3] The public/action.yml seems to be missing. martianwars: any ideas on why the action.yml [4] could be missing? [1] https://github.com/mozilla/mozilla_ci_tools/blob/master/mozci/taskcluster/tc.py#L452 [2] https://github.com/mozilla/pulse_actions/blob/master/pulse_actions/handlers/treeherder_add_new_jobs.py#L97 [3] https://tools.taskcluster.net/task-inspector/#P2zqvEkyRQKegfRuQEVWfg/0 [4] https://dxr.mozilla.org/mozilla-central/search?q=action.yml&redirect=false Sep 01 12:32:40 pulse-actions app/worker2.1: treeherder_add_new_jobs INFO: - TaskLabel==U9jT5gqPTdiRs5KqvxBTAg Sep 01 12:34:46 pulse-actions app/worker2.1: treeherder_add_new_jobs WARNING: Please check your Task ID and artifact path. Sep 01 12:34:46 pulse-actions app/worker2.1: root ERROR: Please check your Task ID and artifact path. Sep 01 12:34:46 pulse-actions app/worker2.1: Traceback (most recent call last): Sep 01 12:34:46 pulse-actions app/worker2.1: File "pulse_actions/worker.py", line 363, in route Sep 01 12:34:46 pulse-actions app/worker2.1: revision=revision, **kwargs) Sep 01 12:34:46 pulse-actions app/worker2.1: File "/app/pulse_actions/handlers/treeherder_add_new_jobs.py", line 96, in on_event Sep 01 12:34:46 pulse-actions app/worker2.1: task_labels=task_labels) Sep 01 12:34:46 pulse-actions app/worker2.1: File "/app/.heroku/python/lib/python2.7/site-packages/mozci/taskcluster/tc.py", line 113, in schedule_action_task Sep 01 12:34:46 pulse-actions app/worker2.1: artifact_path="public/action.yml") Sep 01 12:34:46 pulse-actions app/worker2.1: File "/app/.heroku/python/lib/python2.7/site-packages/mozci/taskcluster/tc.py", line 452, in get_artifact_for_task_id Sep 01 12:34:46 pulse-actions app/worker2.1: raise TaskClusterArtifactError("Please check your Task ID and artifact path.") Sep 01 12:34:46 pulse-actions app/worker2.1: TaskClusterArtifactError: Please check your Task ID and artifact path.
The code needs to be rebased. Taskcluster has undergone significant changes after this. If you have a look at the full-task-graph.json file, there isn't any relative-datestamp field.
Which code? The developer's code? Does the try push not contain your changes?
Yeah the try push contains your changes, but the code on which the developer started working is outdated, (it doesn't have any commits from the last two months). If the user runs an |hg pull| and rebases his code, we will see the action.yml in the next try push. We had suspected this problem to occur, and now we can tell the developer to do the needful :)
I fixed this by *not* raising an exception, thus, getting stuck in the queue: https://github.com/mozilla/pulse_actions/blob/master/pulse_actions/handlers/treeherder_add_new_jobs.py#L97-L102 We should probably spend time checking that the Sch job would turn orange. This would require fixing this issue as part of it: https://github.com/mozilla/pulse_actions/issues/113
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: