Closed
Bug 1481203
Opened 6 years ago
Closed 6 years ago
Cannot mark Thunderbird 60.0 as shipped: No valid scope found
Categories
(Thunderbird :: Build Config, defect)
Thunderbird
Build Config
Tracking
(thunderbird_esr60 fixed, thunderbird63 wontfix, thunderbird64 fixed)
RESOLVED
FIXED
Thunderbird 64.0
People
(Reporter: jlorenzo, Assigned: rjl)
References
Details
Attachments
(5 files)
46 bytes,
text/x-phabricator-request
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
1.89 KB,
patch
|
Details | Diff | Splinter Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
1.28 KB,
patch
|
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
https://tools.taskcluster.net/groups/B5SChkanQf2ahu0Kr1POgQ/tasks/a16X_sdwSxKSnErZgCb6oQ/runs/1/logs/public%2Flogs%2Flive_backing.log:
> 2018-08-06 12:38:58,287 - scriptworker.client - ERROR - Failed to run async_main
> Traceback (most recent call last):
> File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/client.py", line 203, in _handle_asyncio_loop
> await async_main(context)
> File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/script.py", line 20, in async_main
> validate_task_schema(context)
> File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 42, in validate_task_schema
> action = get_task_action(context)
> File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 49, in get_task_action
> scope = _get_scope(context, "action")
> File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 26, in _get_scope
> too_many_item_error_message='More than one valid scope given',
> File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/utils.py", line 700, in get_single_item_from_sequence
> raise ErrorClass(error_message)
> scriptworker.exceptions.TaskVerificationError: No valid scope found. Task must have a scope that starts with "project:comm:thunderbird:releng:ship-it:action". Given: ['project:comm:thunderbird:releng:ship-it:production']
We're missing the action scope.
Reporter | ||
Comment 1•6 years ago
|
||
In the meantime, I manually marked the release as shipped.
Comment 2•6 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #1)
> In the meantime, I manually marked the release as shipped.
Yeah, sounds like in-tree payload misconfig. Like Johan said, we need "project:comm:thunderbird:releng:ship-it:action:mark-as-shipped" to be added both in-tree in the task payload and also in the relpro TC client[1].
[1]: https://tools.taskcluster.net/auth/clients/project%2Freleng%2Freleasepromotion%2Fproduction
Comment 3•6 years ago
|
||
This broke again for Thunderbird 60.0b11. (I've marked it as shipped manually, again)
Assignee: nobody → rob
Assignee | ||
Comment 4•6 years ago
|
||
This file will need adjusting, look at the Mozilla version to see what needs to be done.
https://hg.mozilla.org/releases/comm-esr60/file/tip/taskcluster/ci/release-mark-as-shipped/kind.yml
Assignee | ||
Comment 5•6 years ago
|
||
This will fix the problem of not being able to mark a release as shipped.
Comment 6•6 years ago
|
||
Comment on attachment 9013137 [details]
Bug 1481203 - Add mark-as-shipped scope to release-mark-as-shipped kind
Jorg K (GMT+2) has approved the revision.
Attachment #9013137 -
Flags: review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/5488135778be
Add mark-as-shipped scope to release-mark-as-shipped kind. rs=jorgk
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 8•6 years ago
|
||
Updated•6 years ago
|
Component: Release Automation: Other → Build Config
Product: Release Engineering → Thunderbird
QA Contact: sfraser
Target Milestone: --- → Thunderbird 64.0
Updated•6 years ago
|
Attachment #9013137 -
Flags: approval-comm-esr60+
Attachment #9013137 -
Flags: approval-comm-beta+
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Task failed again on 63.0b1.
Need to change
'project:comm:thunderbird:releng:ship-it:production'
to
'project:comm:thunderbird:releng:ship-it:server:production'
2018-10-11 20:09:48,745 - scriptworker.client - ERROR - Failed to run async_main
Traceback (most recent call last):
File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/client.py", line 203, in _handle_asyncio_loop
await async_main(context)
File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/script.py", line 22, in async_main
context.ship_it_instance_config = get_ship_it_instance_config_from_scope(context)
File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 31, in get_ship_it_instance_config_from_scope
scope = _get_scope(context, "server")
File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 26, in _get_scope
too_many_item_error_message='More than one valid scope given',
File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/utils.py", line 700, in get_single_item_from_sequence
raise ErrorClass(error_message)
scriptworker.exceptions.TaskVerificationError: No valid scope found. Task must have a scope that starts with "project:comm:thunderbird:releng:ship-it:server". Given: ['project:comm:thunderbird:releng:ship-it:production', 'project:comm:thunderbird:releng:ship-it:action:mark-as-shipped']
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•6 years ago
|
||
Error message asks for a scope
"project:comm:thunderbird:releng:ship-it:server" in additon to
"project:comm:thunderbird:releng:ship-it:action:mark-as-shipped"
Assignee | ||
Comment 14•6 years ago
|
||
This patch needs to be applied to the ci-configuration repository and adds the addition scope grants necessary for the latest changes to Taskcluster.
Comment 15•6 years ago
|
||
Can you upload the ci-config patch to phabricator?
Assignee | ||
Comment 16•6 years ago
|
||
The Thunderbird release-mark-as-shipped task fails due to a scope problem.
Task must have a scope that starts with
"project:comm:thunderbird:releng:ship-it:server",
yet there is no such scope.
{scope_prefix}:server:staging and {scope_prefix}:server:production are not
present at
Per https://github.com/mozilla-releng/shipitscript/blob/master/SCOPES.md,
The scopes for :releng:ship-it are not listed at:
https://tools.taskcluster.net/auth/clients/project%2Freleng%2Freleasepromotion%2Fproduction
This patch adds them.
Assignee | ||
Comment 17•6 years ago
|
||
comm-beta is using an older revision of release-mark-as-shipped/kind.yml as it's base and the patch for c-c will not apply. As it is not feasible to update kind.yml due to "by-release-level" not being available in taskgraph yet, here is a version of the patch that applies to comm-beta.
Assignee | ||
Comment 18•6 years ago
|
||
Comment on attachment 9016824 [details] [diff] [review]
Fix release-mark-as-shipped server scopes - BETA/ESR60 version
This will also work for comm-esr60.
Attachment #9016824 -
Attachment description: Fix release-mark-as-shipped server scopes - ESR60 version → Fix release-mark-as-shipped server scopes - BETA/ESR60 version
Assignee | ||
Comment 19•6 years ago
|
||
https://phabricator.services.mozilla.com/D8481 is ready to land.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
status-thunderbird60:
--- → affected
status-thunderbird63:
--- → affected
status-thunderbird64:
--- → affected
Keywords: checkin-needed
Resolution: --- → FIXED
Updated•6 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•6 years ago
|
||
Sorry, I can't get "hg phabread" set up right now, see bug 1499305, so I can't land this at the moment.
Comment 21•6 years ago
|
||
I finally got "hg phabread" going again. Sadly the patch doesn't apply, just look at it:
diff --git a/grants.yml b/grants.yml
--- a/grants.yml
+++ b/grants.yml
As far as I can tell, "grants.yml" doesn't exist anywhere in the entire codebase, neither M-C nor C-C. The beta version applies to taskcluster/ci/release-mark-as-shipped/kind.yml
Flags: needinfo?(rob)
Keywords: checkin-needed
Assignee | ||
Comment 22•6 years ago
|
||
The grants.yml patch was for the ci-configuration repository, and that's already landed separately.
Attachment 9016492 [details] applies to C-C (https://phabricator.services.mozilla.com/D8481).
Attachment 9016824 [details] [diff] should apply to both beta and esr60.
I don't know of a way to put patches that differ for beta and esr in phabricator, that's why that one is here.
Flags: needinfo?(rob)
Comment 23•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/229c5a7bba53
Fix server scopes on release-mark-as-shipped task. r=mkmelin
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Attachment #9016824 -
Flags: approval-comm-esr60+
Attachment #9016824 -
Flags: approval-comm-beta+
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 26•6 years ago
|
||
New ship-it error:
Traceback (most recent call last):
File "/builds/scriptworker/lib/python3.6/site-packages/scriptworker/client.py", line 203, in _handle_asyncio_loop
await async_main(context)
File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/script.py", line 22, in async_main
context.ship_it_instance_config = get_ship_it_instance_config_from_scope(context)
File "/builds/scriptworker/lib/python3.6/site-packages/shipitscript/task.py", line 37, in get_ship_it_instance_config_from_scope
raise TaskVerificationError('This worker is not configured to handle scope "{}"'.format(scope))
scriptworker.exceptions.TaskVerificationError: This worker is not configured to handle scope "project:comm:thunderbird:releng:ship-it:server:production"
Per :tomprince via IRC, the Taskcluster scriptworkers need to be updated via puppet to recognize the new scopes. I've submitted a pull request at: https://github.com/mozilla-releng/build-puppet/pull/278
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 27•6 years ago
|
||
This ran successfully on the 60.3 release
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•