[ 
https://issues.apache.org/jira/browse/DIRMINA-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145090#comment-18145090
 ] 

Marcin Lamparski commented on DIRMINA-1206:
-------------------------------------------

That is very possible. Did you recreate it locally (I can't after hundreds of 
runs on Windows) or do you have a job link on GH?

> Still having some random MDC failures
> -------------------------------------
>
>                 Key: DIRMINA-1206
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1206
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>            Reporter: Emmanuel Lécharny
>            Priority: Minor
>
> I still have some random MDC filter failure while running tests:
> {code:java}
> [INFO] Running org.apache.mina.filter.logging.MdcInjectionFilterTest
> [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.52 
> s <<< FAILURE! -- in org.apache.mina.filter.logging.MdcInjectionFilterTest
> [ERROR] 
> org.apache.mina.filter.logging.MdcInjectionFilterTest.testTwoExecutorFilters 
> -- Time elapsed: 1.682 s <<< FAILURE!
> java.lang.AssertionError: MDC[remoteAddress] not set for [sessionCreated]
>       at org.junit.Assert.fail(Assert.java:89)
>       at org.junit.Assert.assertTrue(Assert.java:42)
>       at org.junit.Assert.assertNotNull(Assert.java:713)
>       at 
> org.apache.mina.filter.logging.MdcInjectionFilterTest.test(MdcInjectionFilterTest.java:302)
>       at 
> org.apache.mina.filter.logging.MdcInjectionFilterTest.testTwoExecutorFilters(MdcInjectionFilterTest.java:222)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> [INFO] Running org.apache.mina.filter.buffer.BufferedWriteFilterTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 
> s -- in org.apache.mina.filter.buffer.BufferedWriteFilterTest
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Failures: 
> [ERROR]   MdcInjectionFilterTest.testTwoExecutorFilters:222->test:302 
> MDC[remoteAddress] not set for [sessionCreated]
> [INFO] 
> [ERROR] Tests run: 259, Failures: 1, Errors: 0, Skipped: 8
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache MINA 2.2.11-SNAPSHOT:
> [INFO] 
> [INFO] Apache MINA ........................................ SUCCESS [ 13.349 
> s]
> [INFO] Apache MINA Core ................................... FAILURE [03:43 
> min]
> [INFO] Apache MINA APR Transport .......................... SKIPPED
> [INFO] Apache MINA Compression Filter ..................... SKIPPED
> [INFO] Apache MINA State Machine .......................... SKIPPED
> [INFO] Apache MINA JavaBeans Integration .................. SKIPPED
> [INFO] Apache MINA XBean Integration ...................... SKIPPED
> [INFO] Apache MINA OGNL Integration ....................... SKIPPED
> [INFO] Apache MINA JMX Integration ........................ SKIPPED
> [INFO] Apache MINA Examples ............................... SKIPPED
> [INFO] Apache MINA HTTP client and server codec ........... SKIPPED
> [INFO] Apache MINA Legal .................................. SKIPPED
> [INFO] Apache MINA Serial Communication support ........... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  03:59 min
> [INFO] Finished at: 2026-11-15T09:01:26+01:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.6.1:test (default-test) on 
> project mina-core: There are test failures.
> [ERROR] 
> [ERROR] See 
> /Users/elecharny/mina/mina-2.2.X-secu/mina-core/target/surefire-reports for 
> the individual test results.
> [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and 
> [date].dumpstream.
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :mina-core
> {code}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to