[main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorExpectContaining() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - bada boum kadum tabam [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (1ms) @Test logErrorExpectContaining() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorWithTwoMessageFormatArguments() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - bada boum kadum [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (1ms) @Test logErrorWithTwoMessageFormatArguments() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorExpectWithSpecificMatcher() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - boum java.lang.IllegalArgumentException: KO at org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest.logErrorExpectWithSpecificMatcher(LogCaptureRuleTest.java:102) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.opendaylight.infrautils.testutils.LogCaptureRule$1.evaluate(LogCaptureRule.java:78) at org.opendaylight.infrautils.testutils.LogRule$1.evaluate(LogRule.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (1ms) @Test logErrorExpectWithSpecificMatcher() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test noLog() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test noLog() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logInfo() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - FYI [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test logInfo() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorWithException() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - boum java.lang.IllegalArgumentException: KO at org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest.logErrorWithException(LogCaptureRuleTest.java:64) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.opendaylight.infrautils.testutils.LogCaptureRule$1.evaluate(LogCaptureRule.java:78) at org.opendaylight.infrautils.testutils.LogRule$1.evaluate(LogRule.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (1ms) @Test logErrorWithException() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorWithThreeMessageFormatArguments() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - bada boum kadum tabam [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test logErrorWithThreeMessageFormatArguments() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorWithOneMessageFormatArgument() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - bada boum [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test logErrorWithOneMessageFormatArgument() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logTwoErrors() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - boum [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - bam [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test logTwoErrors() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logError() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - boum [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (0ms) @Test logError() [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule BEGIN @Test logErrorExpectAnyError() [main] ERROR org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - boum [main] INFO org.opendaylight.infrautils.testutils.tests.LogCaptureRuleTest - org.opendaylight.infrautils.testutils.LogRule ENDED (1ms) @Test logErrorExpectAnyError()