Closed Bug 1595981 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20224 - taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v3)

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20224 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20224
Details from upstream follow.

Carlos Alberto Lopez Perez <clopez@igalia.com> wrote:

taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v3)

Related issue #20106

  • When the push event comes from a github action, event.pusher.email
    seems to be invalid, which causes a fatal error on taskcluster.
    It also seems that event.sender.login is invalid.

  • Lets try to use event.sender.login to construct the owner e-mail address
    only if its not an empty string. If it is empty then default the login
    to "web-platform-tests"

  • According to the taskcluster/json-e documentation, "" (empty string) is false but "any-non-empty-string" is true

Add also temporally taskcluster tests to the branch epochs/three_hourly to speed up testing. This will be reverted once taskcluster works back again on the daily branch.

PR 20224 applied with additional changes from upstream: 8aeb44900921dce5401a91a2ede05dbbbb2d56f2, 689b968cd1f8848dc2c62928ffd1b20598be3537, c2910bf7a3f854c348c2f0c096543e7d60bc456f
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5f9a6c391f88
[wpt PR 20224] - taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v3), a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.