[RELENG-82] Distribution check should fail if it finds a .hprof file Created: 22/Mar/18  Updated: 04/Nov/19

Status: Open
Project: releng
Component/s: Jenkins Job Builder
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A .hprof file indicates that a JVM has aborted due to an OOM. If that happens, we have a serious issue which needs attention – hence distcheck should not succeed, but rather fail.



 Comments   
Comment by Thanh Ha (zxiiro) [ 09/Apr/18 ]

ecelgp this sounds like a reasonable request to me. I think we can use "find" to search for this file and then fail the build. Does this make sense to you too?

Comment by Luis Gomez [ 09/Apr/18 ]

There is already something similar in CSIT today:

https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=blob;f=jjb/integration/integration-macros.yaml;h=0924a876be2228f954e151200e52d20f015d08b0;hb=refs/heads/master#l541

The CSIT job tries to collect the .hprof file (if it exists) by the end of the test.

What is not clear in this request is how can the distribution-check pass if JVM aborts, is this a valid scenario?

Generated at Wed Feb 07 20:37:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.