[FOLIO-1510] Snapshot environment build fails configuring e-holdings Created: 18/Sep/18 Updated: 12/Nov/18 Resolved: 18/Sep/18 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P2 |
| Reporter: | Marc Johnson | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, sprint47 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: |
| Description |
|
The overnight build of the snapshot environment failed. It looked like it could be transient so I started a second build, this also failed. I'm not sure what the underlying cause is, it appears to relate to configuration of e-holdings. The error mentions ConfigurationsController#update. There was a code change merged for this controller yesterday evening. The failure output is rather long, the two fragments that seem relevant are: ConfigurationsController#update\n </h1>\n</header>\n\n<div id=\"container\">\n <h2>Failed to open TCP connection to :80 (Cannot assign requested address - connect(2) for nil port 80)</h2>\n\n <div class=\"source hidden\" id=\"frame-source-0\">\n <div class=\"info\">\n Extracted source (around line <strong>#906</strong>):\n </div>\n <div class=\"data\">\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n <td>\n <pre class=\"line_numbers\">\n<span>904</span>\n<span>905</span>\n<span>906</span>\n<span>907</span>\n<span>908</span>\n<span>909</span>\n </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div class=\"line\"> TCPSocket.open(conn_address, conn_port, @local_host, @local_port)\n</div><div class=\"line\"> rescue => e\n</div><div class=\"line active\"> raise e, "Failed to open TCP connection to " +\n</div><div class=\"line\"> "#{conn_address}:#{conn_port} (#{e.message})"\n</div><div class=\"line\"> end\n</div><div class=\"line\"> }\n</div>\n</pre>\n</td>\n </tr>\n </table>\n </div>\n </div>\n <div class=\"source hidden\" id=\"frame-source-1\">\n <div class=\"info\">\n Extracted source (around line <strong>#903</strong>):\n </div>\n <div class=\"data\">\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n <tr>\n <td>\n <pre class=\"line_numbers\">\n<span>901</span>\n<span>902</span>\n<span>903</span>\n<span>904</span>\n<span>905</span>\n<span>906</span>\n </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div class=\"line\"> D "opening connection to #{conn_address}:#{conn_port}..."\n</div><div class=\"line\"> s = Timeout.timeout(@open_timeout, Net::OpenTimeout) {\n</div><div class=\"line active\"> begin\n</div><div class=\"line\"> TCPSocket.open(conn_address, conn_port, @local_host, @local_port)\n</div><div class=\"line\"> rescue => e\n</div><div class=\"line\"> raise e, "Failed to open TCP connection to " +\n</div>\n</pre>\n</td> "failed": true, "msg": "Status code was not [200, 422]: HTTP Error 500: Internal Server Error", "redirected": false, "status": 500, "transfer_encoding": "chunked", "url": "http://10.36.1.157:9130/eholdings/configuration", "x_okapi_trace": "PUT mod-authtoken-1.5.2-SNAPSHOT.26 http://10.36.1.157:9131/eholdings/configuration : 202 498260us, PUT mod-kb-ebsco-1.0.1-SNAPSHOT.147 http://10.36.1.157:9141/eholdings/configuration : 500 461043us", "x_request_id": "502d5e93-bd6b-4b7a-978d-e09a74e1f37d", "x_runtime": "0.451654"} |
| Comments |
| Comment by Marc Johnson [ 18/Sep/18 ] |
|
Carole Godfrey Could this be related to the pull requests merged yesterday - https://github.com/folio-org/mod-kb-ebsco/pull/207 or https://github.com/folio-org/mod-kb-ebsco/pull/205 ? |
| Comment by John Malconian [ 18/Sep/18 ] |
|
Marc Johnson Most likely. Carole did give me a heads up about the change so I'll take this. |
| Comment by Carole Godfrey [ 18/Sep/18 ] |
|
Yes - this is related to changes that were made yesterday - mod-kb-ebsco has a new location for its configuration information. John Malconian please let me know if there is anything I can assist with on this. |