You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2022/03/14 08:57:48 UTC

[GitHub] [james-project] chibenwa commented on pull request #913: JAMES-3724 - Enable leak detection mode is testing for test suite

chibenwa commented on pull request #913:
URL: https://github.com/apache/james-project/pull/913#issuecomment-1066530093


   ```
   <h1 class="result-regression">Regression</h1><p><span style="font-weight:bold">org.apache.james.lifecycle.api.LeakAwareTest.leakDetectionShouldCloseUnclosedResources</span></p><div style="text-align:right;">Failing for the past 1 build
             (Since <a href="https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-913/4/" class="model-link"><span style="width: 16px; height: 16px; " class="build-status-icon__wrapper icon-red icon-sm"><span class="build-status-icon__outer"><svg viewBox="0 0 24 24" focusable="false" class="svg-icon "><use href="https://ci-builds.apache.org/images/build-status/build-status-sprite.svg#build-status-static"></use></svg></span><svg viewBox="0 0 24 24" focusable="false" class="svg-icon icon-red icon-sm"><use href="https://ci-builds.apache.org/static/40b37e2d/images/build-status/build-status-sprite.svg#last-failed"></use></svg></span>#4</a> )
           </div><div style="text-align:right;"><a href="https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-913/4/testReport/junit/org.apache.james.lifecycle.api/LeakAwareTest/leakDetectionShouldCloseUnclosedResources/history">Took 0.14 sec.</a></div><div id="description"><div></div><div class="jenkins-buttons-row jenkins-buttons-row--invert"></div></div>
   <h3>Stacktrace</h3><pre>org.apache.james.lifecycle.api.Disposable$LeakAware$LeakDetectorException
   	at org.apache.james.lifecycle.api.LeakAwareTest.lambda$leakDetectionShouldCloseUnclosedResources$0(LeakAwareTest.java:101)
   </pre><h3>Standard Output</h3><pre>03:14:48.190 [ERROR] o.a.j.l.a.Disposable$LeakAwareFinalizer - Leak detected! Resource org.apache.james.lifecycle.api.LeakAwareTest$LeakResourceSample$TestResource@ff0ab64 was not released before its referent was garbage-collected. 
   This resource was instanced at: 
   	org.apache.james.lifecycle.api.LeakAwareTest$LeakResourceSample#create:55
   	org.apache.james.lifecycle.api.LeakAwareTest#leakDetectionShouldCloseUnclosedResources:96
   	org.junit.platform.commons.util.ReflectionUtils#invokeMethod:688
   	org.junit.jupiter.engine.execution.MethodInvocation#proceed:60
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation#proceed:131
   	org.junit.jupiter.engine.extension.TimeoutExtension#intercept:149
   	org.junit.jupiter.engine.extension.TimeoutExtension#interceptTestableMethod:140
   	org.junit.jupiter.engine.extension.TimeoutExtension#interceptTestMethod:84
   	org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall#lambda$ofVoidMethod$0:115
   	org.junit.jupiter.engine.execution.ExecutableInvoker#lambda$invoke$0:105
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation#proceed:106
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain#proceed:64</pre>Regression
   
   org.apache.james.lifecycle.api.LeakAwareTest.leakDetectionShouldCloseUnclosedResources
   Failing for the past 1 build (Since [#4](https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-913/4/) )
   [Took 0.14 sec.](https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-913/4/testReport/junit/org.apache.james.lifecycle.api/LeakAwareTest/leakDetectionShouldCloseUnclosedResources/history)
   Stacktrace
   
   org.apache.james.lifecycle.api.Disposable$LeakAware$LeakDetectorException
   	at org.apache.james.lifecycle.api.LeakAwareTest.lambda$leakDetectionShouldCloseUnclosedResources$0(LeakAwareTest.java:101)
   
   Standard Output
   
   03:14:48.190 [ERROR] o.a.j.l.a.Disposable$LeakAwareFinalizer - Leak detected! Resource org.apache.james.lifecycle.api.LeakAwareTest$LeakResourceSample$TestResource@ff0ab64 was not released before its referent was garbage-collected. 
   This resource was instanced at: 
   	org.apache.james.lifecycle.api.LeakAwareTest$LeakResourceSample#create:55
   	org.apache.james.lifecycle.api.LeakAwareTest#leakDetectionShouldCloseUnclosedResources:96
   	org.junit.platform.commons.util.ReflectionUtils#invokeMethod:688
   	org.junit.jupiter.engine.execution.MethodInvocation#proceed:60
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation#proceed:131
   	org.junit.jupiter.engine.extension.TimeoutExtension#intercept:149
   	org.junit.jupiter.engine.extension.TimeoutExtension#interceptTestableMethod:140
   	org.junit.jupiter.engine.extension.TimeoutExtension#interceptTestMethod:84
   	org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall#lambda$ofVoidMethod$0:115
   	org.junit.jupiter.engine.execution.ExecutableInvoker#lambda$invoke$0:105
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation#proceed:106
   	org.junit.jupiter.engine.execution.InvocationInterceptorChain#proceed:64
   ```


-- 
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: notifications-unsubscribe@james.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org