You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "domhanak (via GitHub)" <gi...@apache.org> on 2024/01/16 09:32:32 UTC

[I] Archive logs of failed E2E test cases in PR checks [incubator-kie-kogito-serverless-operator]

domhanak opened a new issue, #352:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/352

   ### Description
   
   Whenever a E2E test fails in PR check, it is hard to determine what actually happened in case the test times out.
   
   Goal of this issue is to get logs of  deployment that the failed test uses and archive it in the workflow page for download.
   This way we are able closely to debug issues with container startup.
   
   ### Implementation ideas
   
   In order to implement this we need to look at AfterAll() function of the tests and retrieve the logs from minikube.
   Something like:
   forEach failed test get the deployment and retrievelogs
   `kubectl get pods -n sonataflow-operator-system | grep relevant ones`
   `kubectl logs -f orderprocessing-7899775db4-ff6nj -n sonataflow-operator-system > failed_test_case_1_depoyment_logs`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Archive logs of failed E2E test cases in PR checks [incubator-kie-kogito-serverless-operator]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #352:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/352#issuecomment-1893719733

   Relates to #324 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Archive logs of failed E2E test cases in PR checks [incubator-kie-kogito-serverless-operator]

Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on issue #352:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/352#issuecomment-1893372296

   @ricardozanini @jakubschwan FYI, not sure how this connects with BDD test migration now, but same feature should be available there.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Archive logs of failed E2E test cases in PR checks [incubator-kie-kogito-serverless-operator]

Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on issue #352:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/352#issuecomment-1893716341

   Great so we just need to make sure it gets uploaded to Pr check space so it is available for contributors and involved pull requests users.
   
   I will update the tasks description.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Archive logs of failed E2E test cases in PR checks [incubator-kie-kogito-serverless-operator]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #352:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/352#issuecomment-1893711203

   @domhanak the BDD is archiving everything in `testbdd/logs`. Including all the pods logs involved in the test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org