[FOLIO-3370] refenv builds fail, some modules have incorrect snapshot version Created: 18/Dec/21  Updated: 23/Dec/21  Resolved: 23/Dec/21

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: David Crossley Assignee: David Crossley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint: DevOps Sprint 130, DevOps Sprint 129
Development Team: FOLIO DevOps

 Description   

All of the daily reference environment builds are failing today.
For example see folio-snapshot/1169 Jenkins output near the end.

Error pulling image folioci/edge-oai-pmh:2.4.1 - 404 Client Error: Not Found

Other modules have the "version" with "-SNAPSHOT.xx" appended.

So it is not finding that Docker image of course. The image is at "folioci/edge-oai-pmh/2.4.1-SNAPSHOT.70"

The platform-complete install.json file has the incorrect version numbers.

Note also that edge-dematic is like that too, so expect fail when the build gets around to that module.

The version number in their pom.xml does have the expected "-SNAPSHOT" suffix.



 Comments   
Comment by David Crossley [ 18/Dec/21 ]

Looking at history, these erroneous version numbers came in with an hourly build
of build-platform-complete-snapshot
https://github.com/folio-org/platform-complete/commit/e3620de71211504b12080d416e50eee185f6c704

Siarhei Charniak this was around the time of the recent branch releases of edge-oai-pmh and edge-dematic.

Maybe there was a glitch with pom module numbers during the release process.
The folio-registry of module descriptors might have a bad "latest".

Perhaps a build of their mainline branch would solve that by putting a new MD.

Comment by David Crossley [ 19/Dec/21 ]

No, i did re-build the mainline of edge-oai-pmh but that did not help.

A remedy might be to increment the patch version number in pom.xml of both edge-oai-pmh and edge-dematic.

Also mod-tags has an erroneous build number.

John Malconian or Wayne Schneider might have other suggestions.

 

Comment by David Crossley [ 19/Dec/21 ]

Malc incremented the POM version for edge-oai-pmh and mod-tags (and i have done edge-dematic).

NOTE:
After making backend releases, please make sure to set the next development version in the POM. You cannot release mod-tags 1.0.2, for example, and then have the version 1.0.2-SNAPSHOT in the POM on master.
https://dev.folio.org/guidelines/release-procedures/#maven-based-modules

Comment by David Crossley [ 23/Dec/21 ]

Re-opened. All refenv daily builds are broken again.

Siarhei Charniak please attend to your build procedure as explained earlier in this ticket.

Comment by Viachaslau Khandramai (Inactive) [ 23/Dec/21 ]

Hi David Crossley,

could you please start re-building again? We have already made corresponding changes in pom.xml.

Thanks,
Slava

Comment by David Crossley [ 23/Dec/21 ]

Are the affected module versions collected yet?
https://dev.folio.org/guides/automation/#off-schedule-rebuilds

Comment by Siarhei Charniak [ 23/Dec/21 ]

David Crossley edge-oai-pmh and edge-dematic versions were fixed. They will be collected upon next run.

Comment by David Crossley [ 23/Dec/21 ]

Yeah but have they been collected by the hourly build procedure of the platform, as explained at that link.

Comment by David Crossley [ 23/Dec/21 ]

(I am away at dinner, so please do not make me check.)

Comment by David Crossley [ 23/Dec/21 ]

The conversation continued on the #hosted-reference-envs channel.

(And \me annoyed by the edited previous comments.)

Comment by David Crossley [ 23/Dec/21 ]

The reference environments are now back in action.

Generated at Thu Feb 08 23:27:35 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.