Closed Bug 1462066 Opened 6 years ago Closed 6 years ago

pushsnap couldn't push esr60: missing credentials

Categories

(Release Engineering :: Release Automation: Snap, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mtabara, Assigned: jlorenzo)

References

Details

(Whiteboard: [releaseduty])

Attachments

(1 file)

Thanks for filing this bug and sorry for the breakage. It's on me! I had forgotten to add the credentials in bug 1453270. This is done in the upcoming puppet patch.

For the record, I generated the credentials this way.
> docker pull snapcore/snapcraft:stable
> docker run -ti snapcore/snapcraft:stable bash
> snapcraft export-login --snaps=firefox --channels=esr/stable,esr/candidate --acls=package_push,package_release --expires="2019-05-18T00:00:00" macaroon_file

An email and a password will be asked. They live at the usual location. 

[1] https://forum.snapcraft.io/t/better-support-for-other-ci-systems/2968/9
Assignee: nobody → jlorenzo
Depends on: 1453270
Summary: esr60 snap is failing → pushsnap couldn't push to esr60: missing credentials
Summary: pushsnap couldn't push to esr60: missing credentials → pushsnap couldn't push esr60: missing credentials
The macaroon didn't have enough permission to release to the esr channel[1]. I regenerated a new macaroon with:
>  snapcraft export-login --snaps=firefox --channels=esr,esr/stable,esr/candidate --acls=package_push,package_release --expires="2019-05-18T00:00:00" macaroon_file

I can't rerun [1] anymore because the Snap store will complain about the same snap being uploaded twice. Thus, I manually released 60.0.1 with this macaroon, to ensure the rights were okay.

I uploaded the macaroon on the puppet master. We should be good this time. 

[1] https://tools.taskcluster.net/groups/Cw3cWLIlSI-7hMKijuTf6w/tasks/TeH5sZJKTJSph1b5gTaO1A/runs/1/logs/public%2Flogs%2Flive_backing.log#L771
Component: Release Automation: Other → Release Automation: Snap
QA Contact: sfraser → jlorenzo
Comment on attachment 8976550 [details]
Bug 1462066 - pushsnap_scriptworker: add esr credentials

https://reviewboard.mozilla.org/r/244666/#review250714
Attachment #8976550 - Flags: review?(mtabara) → review+
Thank you for fast turnaround in fixing this!
Pushed by jlorenzo@mozilla.com:
https://hg.mozilla.org/build/puppet/rev/956aa85e2388
pushsnap_scriptworker: add esr credentials r=mtabara
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Macaroons created in comment 3 were revoked and regenerated in bug 1491262 comment 11.
Blocks: 1491262
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: