[FOLIO-2085] folio-testing build failure Created: 07/Jun/19  Updated: 03/Jun/20  Resolved: 07/Jun/19

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

Type: Bug Priority: TBD
Reporter: Ian Hardy Assignee: Ian Hardy
Resolution: Done Votes: 0
Labels: ci, devops, platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by EDGPATRON-13 Update edge-patron to use the 3.0 pat... Closed
Sprint: CP: sprint 65
Story Points: 1
Development Team: Core: Platform

 Description   

Testing build fails with a dependency mismatch. edge-patron requires patron 2.0 while the latest version of mod-patron provides 3.0:

failed: [10.36.1.166] (item=[15, {u'permissionSets': [], u'name': u'Patron Services Edge API', u'provides': [], u'launchDescriptor': {u'dockerImage': u'folioci/edge-patron:2.0.1-SNAPSHOT.34', u'dockerArgs': {u'HostConfig': {u'PortBindings': {u'8081/tcp': [{u'HostPort': u'%p'}]}}}, u'dockerPull': True}, u'requires': [{u'version': u'2.0', u'id': u'patron'}, {u'version': u'5.0', u'id': u'login'}], u'id': u'edge-patron-2.0.1-SNAPSHOT.34'}]) => {"changed": false, "connection": "close", "content": "Incompatible version for module edge-patron-2.0.1-SNAPSHOT.34 interface patron. Need 2.0. Have 3.0", "content_length": "98", "content_type": "text/plain", "item": [15, {"id": "edge-patron-2.0.1-SNAPSHOT.34", "launchDescriptor": {"dockerArgs": {"HostConfig": {"PortBindings": {"8081/tcp": [{"HostPort": "%p"}]}}}, "dockerImage": "folioci/edge-patron:2.0.1-SNAPSHOT.34", "dockerPull": true}, "name": "Patron Services Edge API", "permissionSets": [], "provides": [], "requires": [{"id": "patron", "version": "2.0"}, {"id": "login", "version": "5.0"}]}], "msg": "Status code was 400 and not [201]: HTTP Error 400: Bad Request", "redirected": false, "status": 400, "url": "http://10.36.1.166:9130/_/proxy/modules"}


 Comments   
Comment by Ian Hardy [ 07/Jun/19 ]

temporarily removed edge-patron from the folio-testing job to get a passing build. To fix, I think edge-patron will need to be updated to require the 3.0 patron interface--maybe that's just a matter of updating the module descriptor, not sure.

A little curious, the interface number was updated 5/31 and we're only seeing the failure now.

Comment by Matt Reno [ 07/Jun/19 ]

I can explain that. We didn't get the PR review until recently and only merged the code in yesterday. We had a PR ready for the edge module as well, but that review was delayed and we didn't get approved in time to merge in yesterday. It is now merged in. I didn't realize this would break a build.

Comment by Ian Hardy [ 07/Jun/19 ]

edge-patron is updated to require the interface patron 3.0 now (Thanks Matt). Removed the workaround to exclude it.

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