andrewnet opened a new issue #2548: The logs in activation is not complete
URL: https://github.com/apache/incubator-openwhisk/issues/2548
 
 
   ## Environment details:
   
   * Bluemix
   
   ## Steps to reproduce the issue:
   
   This happens randomly. Most activation contain complete logs however some 
activation do not have complete logs. The entry point of our OpenWhisk java 
action looks like below. So if the logs in activation contains the complete 
log, you should see `Exit WhiskMain, resp=...` in the logs; this is not the 
case for all the activation. 
   
   We checked the response object in the activation, it contains the right 
object that prove the activation finished properly. 
   
   ```
        public static JsonObject main(JsonObject args) {
        JsonObject resp = null;
        try {
                logger.info("Enter WhiskMain");
                //calling our business logic
                resp = executeImpl(args);
                return resp;
        } catch (RuntimeException | Error e) {
                logger.error("WhiskMain caught unchecked throwable", e);
                throw e;
        } finally {
                logger.info("Exit WhiskMain, resp=" + resp);
        }
       }
   ```
   
   ## Provide the expected results and outputs:
   
   We should always see `Exit WhiskMain, resp=...` in the logs of activation.
   
   
   ## Provide the actual results and outputs:
   
   The logs in activation only contains some of the logs and the line `Exit 
WhiskMain, resp=...` doesn't show up in some of the activation (while others do)
   
   ## Additional information you deem important:
   
   This problem is blocking us to release our product, as we need the complete 
log to troubleshooting why activation didn't go as we expected.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to