Jenkins builds broken when okapi-3 until ModuleDescriptors have permissionsRequired, then verify
Description
Environment
Potential Workaround
Attachments
- 22 Jun 2020, 06:22 AM
- 11 Jun 2020, 07:34 AM
is blocked by
relates to
Checklist
hideTestRail: Results
Activity
David Crossley July 2, 2020 at 5:00 AM
The final piece of the new system permissions puzzle was solved with https://folio-org.atlassian.net/browse/FOLIO-2665#icft=FOLIO-2665.
David Crossley June 30, 2020 at 3:57 AM
However, something is amiss with only folio-testing-backend https://folio-org.atlassian.net/browse/FOLIO-2665#icft=FOLIO-2665.
David Crossley June 30, 2020 at 3:56 AM
The branches were merged today: folio-ansible/pull/362 and folio-infrastructure/pull/206
The subsequent reference environment builds related to folio-snapshot are successful.
David Crossley June 29, 2020 at 1:33 PMEdited
Blocked this ticket on https://folio-org.atlassian.net/browse/FOLIO-2660#icft=FOLIO-2660 to address the duplicate roles in folio-ansible and folio-infrastructure.
Update: That was handled in the context of this https://folio-org.atlassian.net/browse/FOLIO-2633#icft=FOLIO-2633.
David Crossley June 29, 2020 at 2:39 AM
Excellent, Wayne. And thanks to everyone involved.
We will discuss this at today's (Monday) DevOps meeting.
When okapi-3.0.0 was recently released, the reference environment builds broke with errors of the following form:
Module 'mod-authtoken-2.5.0-SNAPSHOT.67' handler /token: Missing field permissionsRequired
That one was soon fixed, but then the breakage moved on to the next module.
Until modules have at least the default empty permissionsRequired array in their ModuleDescriptor, then Okapi has been pinned in folio-ansible to okapi-2.40.0 (pull/352).
Note: updating the ref envs to Okapi 3.0 is in scope of this ticket.
Update: 20200619: Those modules with missing permissionsRequired are fixed.
Now unpin okapi to current v3 reveals other troubles with refenv builds. Perhaps ansible playbook related.