Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-2084

Executor fails to upload the analysis report

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Final
    • 4.1.0-SNAPSHOT
    • MTR Operator
    • None
    • Sprint 46

    Description

      At the end of an analysis, the report has been generated on the executor pod but it has not been uploaded to web console pod.

      This is the log from the executor pod:

      10:35:23,186 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318123114134929) request, responding with pong!
      10:35:23,437 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318123190845931) request, responding with pong!
      10:35:27,964 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Completed generating result archive, posting results to the server...
      10:35:27,964 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Posting results to: http://172.30.60.2:8080/rhamt-web/api/windup/executions/post-results
      10:35:33,161 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318133068529423) request, responding with pong!
      10:35:33,161 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318133133884207) request, responding with pong!
      10:35:38,724 INFO  [org.apache.http.impl.execchain.RetryExec] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) I/O exception (java.net.SocketException) caught when processing request to {}->http://172.30.60.2:8080: Connection reset
      10:35:38,725 WARNING [org.jboss.windup.web.messaging.executor.JavaSEJMSServiceAdapter] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Could not send JMS update message due to: Failed to post results due to: null: java.lang.RuntimeException: Failed to post results due to: null
              at org.jboss.windup.web.messaging.executor.HttpPostSerializer.serializeStatusUpdate(HttpPostSerializer.java:96) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) [:1.8.0_161]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]
              at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
              at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.26.2.Final.jar:2.26.2.Final]
              at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.26.2.Final.jar:2.26.2.Final]
              at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.26.2.Final.jar:2.26.2.Final]
              at org.jboss.windup.web.messaging.executor.HttpPostSerializer_$$_javassist_1f9a885f-6571-4fff-a5bf-00177a289ffc.serializeStatusUpdate(HttpPostSerializer_$$_javassist_1f9a885f-6571-4fff-a5bf-00177a289ffc.java) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.jboss.windup.web.messaging.executor.JavaSEJMSServiceAdapter.sendCompleted(JavaSEJMSServiceAdapter.java:72) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.jboss.windup.web.messaging.executor.MessagingProgressMonitor.sendReportData(MessagingProgressMonitor.java:36) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.jboss.windup.web.messaging.executor.DefaultWindupExecutionTask.run(DefaultWindupExecutionTask.java:182) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.jboss.windup.web.messaging.executor.ExecutorMessageListener.onMessage(ExecutorMessageListener.java:50) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.apache.activemq.artemis.jms.client.ActiveMQJMSConsumer$MessageListenerWrapper.onMessage(ActiveMQJMSConsumer.java:156) [artemis-jms-client-1.1.0.wildfly-017.jar:]
              at org.apache.activemq.artemis.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:93) [artemis-jms-client-1.1.0.wildfly-017.jar:]
              at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1018) [artemis-core-client-1.1.0.wildfly-017.jar:]
              at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:48) [artemis-core-client-1.1.0.wildfly-017.jar:]
              at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1145) [artemis-core-client-1.1.0.wildfly-017.jar:]
              at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103) [artemis-core-client-1.1.0.wildfly-017.jar:]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_161]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_161]
              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]
      Caused by: org.apache.http.client.ClientProtocolException
              at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) [httpclient-4.5.2.jar:4.5.2]
              at org.jboss.windup.web.messaging.executor.HttpPostSerializer.sendResults(HttpPostSerializer.java:187) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              at org.jboss.windup.web.messaging.executor.HttpPostSerializer.serializeStatusUpdate(HttpPostSerializer.java:92) [windup-web-messaging-executor-impl-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
              ... 20 more
      Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity
              at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:107) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) [httpclient-4.5.2.jar:4.5.2]
              ... 24 more
      Caused by: java.net.SocketException: Connection reset
              at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:115) [rt.jar:1.8.0_161]
              at java.net.SocketOutputStream.write(SocketOutputStream.java:155) [rt.jar:1.8.0_161]
              at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:126) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:138) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:169) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:124) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:181) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.entity.mime.content.InputStreamBody.writeTo(InputStreamBody.java:93) [httpmime-4.5.2.jar:4.5.2]
              at org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:134) [httpmime-4.5.2.jar:4.5.2]
              at org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:157) [httpmime-4.5.2.jar:4.5.2]
              at org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:113) [httpmime-4.5.2.jar:4.5.2]
              at org.apache.http.impl.execchain.RequestEntityProxy.writeTo(RequestEntityProxy.java:123) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:158) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:162) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:237) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122) [httpcore-4.4.4.jar:4.4.4]
              at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) [httpclient-4.5.2.jar:4.5.2]
              at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) [httpclient-4.5.2.jar:4.5.2]
              ... 26 more
      
      10:35:38,758 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Getting execution request data from: http://172.30.60.2:8080/rhamt-web/api/windup/executions/get-execution-request-tar
      10:35:43,277 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318143055094343) request, responding with pong!
      10:35:43,277 INFO  [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Received ping (ping.1529318143108830593) request, responding with pong!
      10:35:46,844 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Creating output file: /opt/eap/standalone/data/windup/253/reports/input_files/2/execution.json
      10:35:46,847 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Creating output file: /opt/eap/standalone/data/windup/253/reports/input_files/2/application_66.war
      10:35:46,877 INFO  [org.jboss.windup.web.messaging.executor.HttpPostSerializer] (Thread-0 (ActiveMQ-client-global-threads-1721228426)) Creating output file: /opt/eap/standalone/data/windup/253/reports/input_files/2/application_39.ear
      
      

      Attachments

        Issue Links

          Activity

            People

              jesse.sightler@amentra.com Jesse Sightler
              mrizzi@redhat.com Marco Rizzi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: