You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael Blow (JIRA)" <ji...@apache.org> on 2016/05/10 18:19:13 UTC

[jira] [Resolved] (ASTERIXDB-1353) Capture thread dumps on Jenkins timeouts

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Blow resolved ASTERIXDB-1353.
-------------------------------------
    Resolution: Fixed

Configured 

To configure a jenkins job for thread dumps:
- Add 'Perform BuildStep' Time-out action 
- Configure to 'Execute managed script', 'Capture Thread Dumps'
- Optionally provide outputSubDir where under $WORKSPACE thread dumps should be captured
- Ensure 'Ignore failure of the build step' and 'Create a launcher for this build step' are checked
- Add 'Archive the artifacts' post-build action
- Add target/threaddumps/** (or equivalent based on specified outputSubDir) to files to archive
- Under Advanced, ensure 'Do not fail build if archiving returns nothing' is checked and 'Archive artifact only if build is successful' is unchecked.

In case of timeout, thread-dumps.html will be produced as a build artifacts

> Capture thread dumps on Jenkins timeouts
> ----------------------------------------
>
>                 Key: ASTERIXDB-1353
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1353
>             Project: Apache AsterixDB
>          Issue Type: Test
>          Components: Test Framework
>            Reporter: Michael Blow
>            Assignee: Michael Blow
>            Priority: Minor
>
> In case of test runs timing out, the process is killed.  Thread dumps should be captured prior to killing the process(es) that is(are) hung/taking longer than expected, to aid in debugging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)