Closed triodan closed 5 years ago
When executing ./test.sh the output of the test contains errors in its message field that fail the equality check. The error is as follows:
./test.sh
0: { "@timestamp": "2017-09-05T20:06:57.929Z", "javaclass": "c.agolo.feed.Cluster", "loglevel": "ERROR", "@version": "1", "host": "testing_host", "context": "pool-16-thread-2", "message": "09-05 20:06:57.929 [pool-16-thread-2] ERROR c.agolo.feed.Cluster Unable to process call to summarizer api\njava.net.SocketTimeoutException: Read timed out\n\tat java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_131]\n\tat java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_131]\n\tat java.net.SocketInputStream.read(SocketInputStream.java:171) ~[na:1.8.0_131]\n\tat java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_131]\n\tat sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[na:1.8.0_131]\n\tat sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[na:1.8.0_131]\n\tat sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[na:1.8.0_131]\n\tat sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930) ~[na:1.8.0_131]\n\tat sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[na:1.8.0_131]\n\tat org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.api.nlp.AgoloNlpApiClient.summarize(AgoloNlpApiClient.java:200) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.api.nlp.AgoloNlpApiClient.summarize(AgoloNlpApiClient.java:228) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.api.nlp.AgoloNlpApiClient.summarize(AgoloNlpApiClient.java:237) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.feed.Cluster.summarize(Cluster.java:264) ~[clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.feed.Feed.updateClustersInDb(Feed.java:305) [clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.feed.Feed.updateDatabase(Feed.java:728) [clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.controller.Controller.addDocumentToFeed(Controller.java:458) [clustering_v2-10.0.0-all.jar:10.0.0]\n\tat com.agolo.kafka.ConsumerThreadDistributed.run(ConsumerThreadDistributed.java:106) [clustering_v2-10.0.0-all.jar:10.0.0]\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]\n\tat java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]", "tags": [ "multiline" ], "timestamp": "2017-09-05T20:06:57.929Z" }
Additional information:
4.4.19(1)-release (x86_64-pc-linux-gnu)
v8.14.1
v9.11.2
Thanks for filing this issue @triodan . Can you please report how you resolved it?
When executing
./test.sh
the output of the test contains errors in its message field that fail the equality check. The error is as follows:Additional information:
4.4.19(1)-release (x86_64-pc-linux-gnu)
v8.14.1
(via nvm) andv9.11.2
(system)