Closed Bug 1594330 Opened 5 years ago Closed 5 years ago

Task-cluster jobs fail when generating raptor gecko-profile tasks

Categories

(Testing :: Raptor, defect, P1)

Version 3
defect

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: Bebe, Assigned: igoldan)

References

Details

Attachments

(1 file)

Anyone knows why this is failing?

Flags: needinfo?(rwood)
Flags: needinfo?(dave.hunt)

I see the following in the log:

[taskcluster:error] TASK FAIL since the task payload is invalid. See errors:
[taskcluster:error] - command.2: Invalid type. Expected: array, given: string
[taskcluster:error] Validation of payload failed for task TWqXAHQTQo6I062lKpEgVw

The payload for the failing task can be seen at https://tools.taskcluster.net/groups/AjcF6mSBSxOxhmrOtP5pgg/tasks/TWqXAHQTQo6I062lKpEgVw/details. It looks like the issue is with the value of the "command", where an array is expected, but the string "--geckoProfile" is found. I suspect this string needs to be appended to the array that it follows.

"command": [
  [
    "chmod",
    "+x",
    "run-task"
  ],
  [
    "/usr/local/bin/python3",
    "run-task",
    "--",
    "/usr/local/bin/python2",
    "-u",
    "mozharness/scripts/raptor_script.py",
    "--cfg",
    "mozharness/configs/raptor/mac_config.py",
    "--test=raptor-tp6-1",
    "--download-symbols",
    "ondemand"
  ],
  "--geckoProfile"
],
Flags: needinfo?(dave.hunt)
Priority: -- → P1
Assignee: nobody → igoldan

Tracking this down, it seems like the logic for applying that extra --geckoProfile resides in this gecko_profile.py module from mozilla-central.

I've chosen this push range to test the "Create Gecko Profiles" functionality.

I've requested Gecko profiles for T(o)(pageload), T(g1) (pageload), T(c) (startup) jobs, on all desktop platforms.

Looks like Talos is broken too. Not sure in what proportion.

Also requested Gecko profiles for Rap(tp6-1), Rap(tp6m-c-1), Rap(sp).

Also, I've submitted an initial fix here, on Try. It allows me to inspect the breakage more precisely.

Pushed by igoldan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1936d7a01173 Fix GeckoProfile callback action r=jmaher
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Blocks: 1590116
Flags: needinfo?(rwood)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: