[FOLIO-1587] folio-testing build failure Created: 19/Oct/18  Updated: 12/Nov/18  Resolved: 22/Oct/18

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

Type: Bug Priority: P2
Reporter: John Malconian Assignee: John Komick
Resolution: Done Votes: 0
Labels: ci, sprint49
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: Prokopovych

 Description   

folio-testing build fails with the following error while enabling mod-orders-storage:

2018-10-19 01:53:05,318 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 01:53:05 I
NFO  PostgresClient       trying to execute:          COPY workflow_status (jsonb) FROM 'data/work
flow_status.data' ENCODING 'UTF8'
2018-10-19 01:53:05,331 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 01:53:05 E
RROR PostgresClient       ERROR: relation "workflow_status" does not exist
2018-10-19 01:53:05,331 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 org.postgr
esql.util.PSQLException: ERROR: relation "workflow_status" does not exist
2018-10-19 01:53:05,331 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2310)
2018-10-19 01:53:05,331 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.core.v3.QueryExecutorImpl.processCopyResults(QueryExecutorImpl.java:988)
2018-10-19 01:53:05,331 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.core.v3.QueryExecutorImpl.startCopy(QueryExecutorImpl.java:705)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.copy.CopyManager.copyIn(CopyManager.java:51)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.copy.CopyManager.copyIn(CopyManager.java:169)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.postgresql.copy.CopyManager.copyIn(CopyManager.java:152)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.folio.rest.persist.PostgresClient.copyIn(PostgresClient.java:2108)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 org.folio.rest.persist.PostgresClient.lambda$21(PostgresClient.java:2134)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:271)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 io.vertx.core.impl.TaskQueue.lambda$new$0(TaskQueue.java:60)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 	at
 java.lang.Thread.run(Thread.java:748)
2018-10-19 01:53:05,332 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 01:53:05 E
RROR PostgresClient       Rollback for: 513817877
2018-10-19 01:53:05,464 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 01:53:05 I
NFO  LogUtil              org.folio.rest.RestVerticle start  invoking postTenant
2018-10-19 01:53:05,476 INFO  OkapiClient          379168/proxy;581156/tenant RES 400 1550682us ok
apiClient http://10.36.1.37:9156/_/tenant
2018-10-19 01:53:05,477 WARN  ProxyContext         379168/proxy POST request for mod-orders-storag
e-1.0.1-SNAPSHOT.15 /_/tenant failed with [ "         COPY workflow_status (jsonb) FROM 'data/work
flow_status.data' ENCODING 'UTF8';" ]
2018-10-19 01:53:05,477 INFO  ProxyContext         379168/proxy RES 500 181580567us okapi POST req
uest for mod-orders-storage-1.0.1-SNAPSHOT.15 /_/tenant failed with [ "         COPY workflow_stat
us (jsonb) FROM 'data/workflow_status.data' ENCODING 'UTF8';" ]
2018-10-19 01:53:05,478 ERROR HttpResponse         HTTP response code=500 msg=POST request for mod
-orders-storage-1.0.1-SNAPSHOT.15 /_/tenant failed with [ "         COPY workflow_status (jsonb) F
ROM 'data/workflow_status.data' ENCODING 'UTF8';" ]
2018-10-19 01:53:05,478 INFO  DockerModuleHandle   mod-orders-storage-1.0.1-SNAPSHOT.15 01:53:05 I
NFO  LogUtil              10.36.1.37:52456 POST /_/tenant null HTTP_1_1 400 93 1460 tid=diku Bad R
equest 


 Comments   
Comment by John Malconian [ 19/Oct/18 ]

I think a change occurred in this PR - https://github.com/folio-org/mod-orders-storage/pull/27 - possibly with the following commit?

https://github.com/folio-org/mod-orders-storage/pull/27/commits/fede4fd74d66326abf74a1b5b087a84bceace97b

Comment by Jakub Skoczen [ 22/Oct/18 ]

John Komick Dennis Bridges can you guys prioritize this so it can addressed asap?

Comment by Jakub Skoczen [ 22/Oct/18 ]

Adam Dickmeiss John Malconian guys, how can we prevent failure of this sort (internal module failure during tenant init) to be isolated and prevent taking the whole system down?

Comment by Craig McNally [ 22/Oct/18 ]

I was under the impression this was resolved. I see it's in "IN REVIEW" state... John Malconian can you please confirm whether the merged changes fix this?

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