[FOLIO-2299] Snapshot core build fails following location-units breaking compatibility change Created: 03/Oct/19  Updated: 03/Jun/20  Resolved: 03/Oct/19

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

Type: Bug Priority: P2
Reporter: Marc Johnson Assignee: Dmytro Popov
Resolution: Cannot Reproduce Votes: 0
Labels: compatibility-breaking
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to MODINVSTOR-315 [backend ]Institution, campus and lib... Closed
Sprint: Concorde - Sprint 73
Development Team: Concorde

 Description   

Following the change over to location-units 2.0 interface, the folio-snapshot-core build fails with the following error:

fatal: [10.36.1.52]: FAILED! => {"changed": false, "connection": "close", "content": "Incompatible version for module mod-circulation-17.0.0-SNAPSHOT.387 interface location-units. Need 2.0. Have 1.1/mod-inventory-storage-17.1.0-SNAPSHOT.333", "content_length": "154", "content_type": "text/plain", "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "status": 400, "url": "http://10.36.1.52:9130/_/proxy/tenants/diku/install?simulate=true"}

This suggests that there is still a module that has not had it's compatibility changed to support location-units 2.0



 Comments   
Comment by Dmytro Popov [ 03/Oct/19 ]

The build used the old version of the mod-inventory-storage, 333, but there is a 334, which contains the necessary location-units version 2.0.

Comment by Marc Johnson [ 03/Oct/19 ]

As mentioned in Slack, my hypothesis is that it used build 333 because that is the last that provides location-units 1.x because one of the modules is still declares a dependency only on a 1.x version of the interface.

I have started a second build at Dmytro Popov request. I imagine it will fail with the same failure reason.

Comment by Dmytro Popov [ 03/Oct/19 ]

The build with the latest mod-inventory-storage version succeeded: https://jenkins-aws.indexdata.com/job/Automation/job/folio-snapshot-core/190/

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