<div dir="ltr">Hi Carl and Ceki,<div><br></div><div style>I grabbed 3727d7ff0fd33a9584a9ba0ef0369506fa8f562e right after Carl committed it.</div><div style><br></div><div style><div>$ git log -1<br></div><div>commit 3727d7ff0fd33a9584a9ba0ef0369506fa8f562e</div>
<div>Author: Carl Harris <<a href="mailto:ceharris@vt.edu">ceharris@vt.edu</a>></div><div>Date: Tue Apr 16 14:43:35 2013 -0400</div><div><br></div><div> removed an unused import to silence a build warning in eclipse</div>
<div><br></div></div><div style><br></div><div style>I believe Carl's patch addressed the previous problem I was seeing. But I still have some mixed results getting a clean build. When I first ran 'mvn clean; mvn install' I got an error in Logback Core Module, in ch.qos.logback.core.appender.FileAppenderTest. But when I did 'mvn clean; mvn install' again, FileAppenderTest worked fine. (Failed surefire-report included below.)</div>
<div style><br></div><div style>After Logback Core built, Logback Access Module build fails. See the test set for ch.qos.logback.access.db.DBAppenderHSQLTest below.</div><div style><br></div><div style><div style><br></div>
<div style><div>-------------------------------------------------------------------------------</div><div>Test set: ch.qos.logback.core.appender.FileAppenderTest</div><div>-------------------------------------------------------------------------------</div>
<div>Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec <<< FAILURE!</div><div>testCreateParentFolders(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.001 sec <<< FAILURE!</div>
<div>java.lang.AssertionError: failed to delete C:\gitrepo\logback\logback-core\target\test-output\fat992837029</div><div><span class="" style="white-space:pre"> </span>at org.junit.Assert.fail(Assert.java:93)</div><div><span class="" style="white-space:pre"> </span>at org.junit.Assert.assertTrue(Assert.java:43)</div>
<div><span class="" style="white-space:pre"> </span>at ch.qos.logback.core.appender.FileAppenderTest.testCreateParentFolders(FileAppenderTest.java:93)</div><div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
<div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div><span class="" style="white-space:pre"> </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div>
<div><span class="" style="white-space:pre"> </span>at java.lang.reflect.Method.invoke(Method.java:601)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.run(ParentRunner.java:300)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.Suite.runChild(Suite.java:128)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.Suite.runChild(Suite.java:24)</div><div>
<span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)</div><div><span class="" style="white-space:pre"> </span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)</div>
<div><span class="" style="white-space:pre"> </span>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)</div><div><span class="" style="white-space:pre"> </span>at java.util.concurrent.FutureTask.run(FutureTask.java:166)</div>
<div><span class="" style="white-space:pre"> </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)</div><div><span class="" style="white-space:pre"> </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)</div>
<div><span class="" style="white-space:pre"> </span>at java.lang.Thread.run(Thread.java:722)</div><div><br></div><div>smoke(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.049 sec</div><div>testPrudentModeLogicalImplications(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.02 sec</div>
<div>testNewAppender(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0 sec</div><div>testConfiguredAppender(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.002 sec</div><div>testNoStart(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.001 sec</div>
<div><br></div><div><br></div><div><br></div><div><div>-------------------------------------------------------------------------------</div><div>Test set: ch.qos.logback.access.db.DBAppenderHSQLTest</div><div>-------------------------------------------------------------------------------</div>
<div>Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec <<< FAILURE!</div><div>testAppendAccessEvent(ch.qos.logback.access.db.DBAppenderHSQLTest) Time elapsed: 0.026 sec</div><div>testAppendHeaders(ch.qos.logback.access.db.DBAppenderHSQLTest) Time elapsed: 0.006 sec</div>
<div>testAppendMultipleEvents(ch.qos.logback.access.db.DBAppenderHSQLTest) Time elapsed: 0.022 sec</div><div>testCheckNoHeadersAreInserted(ch.qos.logback.access.db.DBAppenderHSQLTest) Time elapsed: 0.009 sec <<< FAILURE!</div>
<div>java.lang.AssertionError</div><div><span class="" style="white-space:pre"> </span>at org.junit.Assert.fail(Assert.java:92)</div><div><span class="" style="white-space:pre"> </span>at org.junit.Assert.assertTrue(Assert.java:43)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.Assert.assertFalse(Assert.java:68)</div><div><span class="" style="white-space:pre"> </span>at org.junit.Assert.assertFalse(Assert.java:79)</div><div><span class="" style="white-space:pre"> </span>at ch.qos.logback.access.db.DBAppenderHSQLTest.testCheckNoHeadersAreInserted(DBAppenderHSQLTest.java:148)</div>
<div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div>
<div><span class="" style="white-space:pre"> </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div><span class="" style="white-space:pre"> </span>at java.lang.reflect.Method.invoke(Method.java:601)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)</div><div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)</div><div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)</div><div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)</div><div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)</div><div><span class="" style="white-space:pre"> </span>at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)</div>
<div><span class="" style="white-space:pre"> </span>at org.junit.runners.ParentRunner.run(ParentRunner.java:300)</div><div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)</div>
<div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)</div><div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)</div>
<div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span class="" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div>
<div><span class="" style="white-space:pre"> </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div><span class="" style="white-space:pre"> </span>at java.lang.reflect.Method.invoke(Method.java:601)</div>
<div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)</div><div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)</div>
<div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)</div><div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)</div>
<div><span class="" style="white-space:pre"> </span>at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div style>
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 2:48 PM, Harris, Carl <span dir="ltr"><<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Last couple of commits should help reduce timing sensitivity in the SocketConnectorBaseTest and SocketAppenderTest. Anxious to hear if this improves matters for you Broc.<br>
<br>
carl<br>
<div><div class="h5"><br>
<br>
On Apr 16, 2013, at 2:00 PM, Broc Seib wrote:<br>
<br>
Here it is:<br>
<br>
<br>
-------------------------------------------------------------------------------<br>
Test set: ch.qos.logback.core.net.SocketConnectorBaseTest<br>
-------------------------------------------------------------------------------<br>
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.596 sec <<< FAILURE!<br>
testConnect(ch.qos.logback.core.net.SocketConnectorBaseTest) Time elapsed: 0.081 sec<br>
testConnectEventually(ch.qos.logback.core.net.SocketConnectorBaseTest) Time elapsed: 2.514 sec<br>
testConnectionFails(ch.qos.logback.core.net.SocketConnectorBaseTest) Time elapsed: 0.001 sec <<< FAILURE!<br>
java.lang.AssertionError<br>
at org.junit.Assert.fail(Assert.java:92)<br>
at org.junit.Assert.assertTrue(Assert.java:43)<br>
at org.junit.Assert.assertFalse(Assert.java:68)<br>
at org.junit.Assert.assertFalse(Assert.java:79)<br>
at ch.qos.logback.core.net.SocketConnectorBaseTest.testConnectionFails(SocketConnectorBaseTest.java:89)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:601)<br>
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)<br>
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)<br>
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)<br>
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)<br>
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)<br>
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)<br>
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)<br>
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)<br>
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)<br>
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)<br>
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)<br>
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)<br>
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)<br>
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)<br>
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)<br>
at org.junit.runners.Suite.runChild(Suite.java:128)<br>
at org.junit.runners.Suite.runChild(Suite.java:24)<br>
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)<br>
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)<br>
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:166)<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)<br>
at java.lang.Thread.run(Thread.java:722)<br>
<br>
<br>
<br>
<br>
<br>
</div></div><div><div class="h5">On Tue, Apr 16, 2013 at 1:56 PM, Harris, Carl <<a href="mailto:ceharris@vt.edu">ceharris@vt.edu</a><mailto:<a href="mailto:ceharris@vt.edu">ceharris@vt.edu</a>>> wrote:<br>
Broc,<br>
<br>
Would you please send the surefire-report for the test ch.qos.logback.core.net.SocketConnectorBaseTest,<br>
so I can take a look to see where/why it is failing?<br>
<br>
logback-core/target/surefire-reports/ch.qos.logback.core.net.SocketConnectorBaseTest.txt<br>
<br>
Thanks,<br>
<br>
carl<br>
<br>
<br>
<br>
<br>
On Apr 16, 2013, at 1:02 PM, Broc Seib wrote:<br>
<br>
Hi Ceki,<br>
<br>
I just updated to the latest code you just committed, 56e8ab2192697bc27a8cfbd8441db62aff53e87c but I think there is a different problem now.<br>
<br>
bseib@BSEIB-WIN7 /c/gitrepo<br>
$ rm -rf logback<br>
<br>
bseib@BSEIB-WIN7 /c/gitrepo<br>
$ git clone <a href="https://github.com/qos-ch/logback.git" target="_blank">https://github.com/qos-ch/logback.git</a><br>
Cloning into 'logback'...<br>
remote: Counting objects: 52855, done.<br>
remote: Compressing objects: 100% (13701/13701), done.<br>
remote: Total 52855 (delta 26607), reused 52138 (delta 26038)<br>
Receiving objects: 100% (52855/52855), 20.13 MiB | 1.17 MiB/s, done.<br>
Resolving deltas: 100% (26607/26607), done.<br>
<br>
bseib@BSEIB-WIN7 /c/gitrepo<br>
$ cd logback/<br>
<br>
bseib@BSEIB-WIN7 /c/gitrepo/logback (master)<br>
$ git log -1<br>
commit 56e8ab2192697bc27a8cfbd8441db62aff53e87c<br>
Merge: 2ff61c7 513e380<br>
</div></div>Author: Ceki Gulcu <<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>>><br>
<div><div class="h5">Date: Tue Apr 16 18:09:23 2013 +0200<br>
<br>
Merge branch 'master' of github.com:qos-ch/logback<br>
<br>
<br>
And then 'mvn clean; mvn install':<br>
<br>
[...]<br>
Running ch.qos.logback.core.joran.conditional.IfThenElseAndIncludeCompositionTest<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.635 sec<br>
includeNestedWithinIf(ch.qos.logback.core.joran.conditional.IfThenElseAndIncludeCompositionTest) Time elapsed: 0.635 sec<br>
<br>
Results :<br>
<br>
Failed tests: testConnectionFails(ch.qos.logback.core.net.SocketConnectorBaseTest)<br>
lossyAppenderShouldOnlyLooseCertainEvents(ch.qos.logback.core.AsyncAppenderBaseTest): expected:<8> but was:<10><br>
<br>
Tests run: 424, Failures: 2, Errors: 0, Skipped: 6<br>
<br>
[INFO] ------------------------------------------------------------------------<br>
[INFO] Reactor Summary:<br>
[INFO]<br>
[INFO] Logback-Parent .................................... SUCCESS [0.244s]<br>
[INFO] Logback Core Module ............................... FAILURE [27.251s]<br>
[INFO] Logback Classic Module ............................ SKIPPED<br>
[INFO] Logback Access Module ............................. SKIPPED<br>
[INFO] Logback Site ...................................... SKIPPED<br>
[INFO] Logback Examples Module ........................... SKIPPED<br>
[INFO] ------------------------------------------------------------------------<br>
[INFO] BUILD FAILURE<br>
[INFO] ------------------------------------------------------------------------<br>
[INFO] Total time: 28.014s<br>
[INFO] Finished at: Tue Apr 16 12:51:50 EDT 2013<br>
[INFO] Final Memory: 28M/308M<br>
[INFO] ------------------------------------------------------------------------<br>
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project logback-core: There are test failures.<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div><div><div class="h5">On Tue, Apr 16, 2013 at 12:42 PM, ceki <<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>>> wrote:<br>
<br>
I am hoping that commit [1] should make the test failures in logback-core/src/test/java/ch/qos/logback/core/rolling disappear.<br>
<br>
[1] <a href="https://github.com/qos-ch/logback/commit/2ff61c7c1cb0562" target="_blank">https://github.com/qos-ch/logback/commit/2ff61c7c1cb0562</a><br>
<br>
<br>
<br>
On 16.04.2013 06:05, Broc Seib wrote:<br>
Yes, I've done "mvn clean; mvn install" but still get a failure. I'm<br>
also on a 3.4GHz Win7 box with a SSD. Is there any possibility of a<br>
timing sensitivity for being "too fast"?<br>
<br>
<br>
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.557<br>
sec <<< FA<br>
ILURE!<br>
withZipCompression_FileSet_NoRestart_7(ch.qos.logback.core.rolling.SizeAndTimeBa<br>
sedFNATP_Test) Time elapsed: 0.201 sec<br>
withGZCompression_FileBlank_NoRestart_6(ch.qos.logback.core.rolling.SizeAndTimeB<br>
asedFNATP_Test) Time elapsed: 0.006 sec <<< ERROR!<br>
java.io.FileNotFoundException:<br>
target\test-output\910764289\test6-2013-04-15_23_<br>
47_35-1.txt (The system cannot find the file specified)<br>
at java.io.FileInputStream.open(Native Method)<br>
at java.io.FileInputStream.<init>(FileInputStream.java:138)<br>
at<br>
ch.qos.logback.core.testUtil.FileToBufferUtil.regularReadIntoList(Fil<br>
eToBufferUtil.java:60)<br>
at<br>
ch.qos.logback.core.testUtil.FileToBufferUtil.readIntoList(FileToBuff<br>
erUtil.java:38)<br>
at<br>
ch.qos.logback.core.rolling.ScaffoldingForRollingTests.fileContentChe<br>
ck(ScaffoldingForRollingTests.java:84)<br>
at<br>
ch.qos.logback.core.rolling.ScaffoldingForRollingTests.sortedContentC<br>
heck(ScaffoldingForRollingTests.java:99)<br>
at<br>
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP_Test.generic(SizeAn<br>
dTimeBasedFNATP_Test.java:130)<br>
at<br>
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP_Test.withGZCompress<br>
ion_FileBlank_NoRestart_6(SizeAndTimeBasedFNATP_Test.java:189)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at<br>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<br>
java:57)<br>
at<br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br>
sorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:601)<br>
at<br>
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework<br>
Method.java:45)<br>
at<br>
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal<br>
lable.java:15)<br>
at<br>
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe<br>
thod.java:42)<br>
at<br>
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet<br>
hod.java:20)<br>
at<br>
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.<br>
java:28)<br>
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)<br>
at<br>
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun<br>
ner.java:68)<br>
at<br>
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun<br>
ner.java:47)<br>
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)<br>
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)<br>
at<br>
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)<br>
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)<br>
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)<br>
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)<br>
at org.junit.runners.Suite.runChild(Suite.java:128)<br>
at org.junit.runners.Suite.runChild(Suite.java:24)<br>
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)<br>
at<br>
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47<br>
1)<br>
at<br>
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:166)<br>
at<br>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.<br>
java:1110)<br>
at<br>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor<br>
.java:603)<br>
at java.lang.Thread.run(Thread.java:722)<br>
<br>
withGZCompression_FileSet_NoRestart_5(ch.qos.logback.core.rolling.SizeAndTimeBas<br>
edFNATP_Test) Time elapsed: 0.067 sec<br>
noCompression_FileSet_WithStopStart_4(ch.qos.logback.core.rolling.SizeAndTimeBas<br>
edFNATP_Test) Time elapsed: 0.102 sec<br>
noCompression_FileBlank_WithStopStart_3(ch.qos.logback.core.rolling.SizeAndTimeB<br>
asedFNATP_Test) Time elapsed: 0.061 sec<br>
noCompression_FileBlank_NoRestart_2(ch.qos.logback.core.rolling.SizeAndTimeBased<br>
FNATP_Test) Time elapsed: 0.036 sec<br>
noCompression_FileSet_NoRestart_1(ch.qos.logback.core.rolling.SizeAndTimeBasedFN<br>
ATP_Test) Time elapsed: 0.039 sec<br>
Running ch.qos.logback.core.recovery.ResilientOutputStreamTest<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec<br>
verifyRecuperationAfterFailure(ch.qos.logback.core.recovery.ResilientOutputStrea<br>
mTest) Time elapsed: 0.288 sec<br>
Running ch.qos.logback.core.rolling.helper.CompressTest<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec<br>
test2(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed:<br>
0.223 sec<br>
test1(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed:<br>
0.018 sec<br>
test3(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed:<br>
0.012 sec<br>
<br>
Results :<br>
<br>
Tests in error:<br>
<br>
withGZCompression_FileBlank_NoRestart_6(ch.qos.logback.core.rolling.SizeAndTim<br>
eBasedFNATP_Test):<br>
target\test-output\910764289\test6-2013-04-15_23_47_35-1.txt<br>
(The system cannot find the file specified)<br>
<br>
Tests run: 424, Failures: 0, Errors: 1, Skipped: 6<br>
<br>
[INFO]<br>
------------------------------------------------------------------------<br>
[INFO] Reactor Summary:<br>
[INFO]<br>
[INFO] Logback-Parent .................................... SUCCESS [0.338s]<br>
[INFO] Logback Core Module ............................... FAILURE [28.279s]<br>
[INFO] Logback Classic Module ............................ SKIPPED<br>
[INFO] Logback Access Module ............................. SKIPPED<br>
[INFO] Logback Site ...................................... SKIPPED<br>
[INFO] Logback Examples Module ........................... SKIPPED<br>
[INFO]<br>
------------------------------------------------------------------------<br>
[INFO] BUILD FAILURE<br>
[INFO]<br>
------------------------------------------------------------------------<br>
[INFO] Total time: 29.140s<br>
[INFO] Finished at: Mon Apr 15 23:47:54 EDT 2013<br>
[INFO] Final Memory: 28M/241M<br>
[INFO]<br>
------------------------------------------------------------------------<br>
[ERROR] Failed to execute goal<br>
org.apache.maven.plugins:maven-surefire-plugin:2.<br>
12.4:test (default-test) on project logback-core: There are test failures.<br>
<br>
<br>
<br>
</div></div>On Mon, Apr 15, 2013 at 2:47 PM, ceki <<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>> <mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>>>><br>
<div><div class="h5"><br>
wrote:<br>
<br>
Hi Broc,<br>
<br>
No, it is not just you. Some of the logback test cases are time<br>
sensitive and fail from time to time, especially if the host machine<br>
is "slow". Making the build more robust is on our todo list.<br>
<br>
We now have jenkins running on such a slow machine. For example, on<br>
<a href="http://logback.qos.ch/jenkins/" target="_blank">http://logback.qos.ch/jenkins/</a> build 24 was successful whereas build<br>
25 failed:<br>
<br>
<a href="http://logback.qos.ch/jenkins/__job/logback/24/" target="_blank">http://logback.qos.ch/jenkins/__job/logback/24/</a><br>
<<a href="http://logback.qos.ch/jenkins/job/logback/24/" target="_blank">http://logback.qos.ch/jenkins/job/logback/24/</a>><br>
<a href="http://logback.qos.ch/jenkins/__job/logback/25/" target="_blank">http://logback.qos.ch/jenkins/__job/logback/25/</a><br>
<<a href="http://logback.qos.ch/jenkins/job/logback/25/" target="_blank">http://logback.qos.ch/jenkins/job/logback/25/</a>><br>
<br>
So, at least it's easier to reproduce the fails.<br>
<br>
Anyway, have you tried relaunching the build with "mvn clean; mvn<br>
install" ?<br>
<br>
BTW, since about 10 days, the logback build no longer depends on<br>
Scala for testing. It should be now much easier to set up logback<br>
within your favorite IDE.<br>
<br>
<br>
<br>
On 15.04.2013 20:11, Broc Seib wrote:<br>
<br>
Do we have stable builds yet?<br>
<br>
I cloned a fresh copy of logback yesterday, and "mvn install" still<br>
failed for me. Is it just me?<br>
<br>
Broc<br>
<br>
<br>
On Thu, Apr 4, 2013 at 9:20 AM, Ceki Gülcü <<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>><br>
<mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>>><br>
</div></div><div class="im"> <mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>> <mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a><mailto:<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>>>>>> wrote:<br>
<br>
<br>
As shown on [1], the logback build on the Jenkins server on<br>
cloudbees is unstable.<br>
<br>
The failures are probably due to timeout issue. I'll work on<br>
<br>
ch.qos.logback.core.____FileAppenderResilienceTest.____smoke<br>
<br>
ch.qos.logback.core.recovery.____ResilientOutputStreamTest.____verifyRecuperationAfterFailure<br>
<br>
<br>
ch.qos.logback.core.spi.____AppenderAttachableImplLockTest____.detachAppenderBoom<br>
<br>
<br>
<br>
Carl, could you please have a look at<br>
<br>
</div> <a href="http://ch.qos.logback.core.net" target="_blank">ch.qos.logback.core.net</a><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>> <<a href="http://ch.qos.logback.core.net" target="_blank">http://ch.qos.logback.core.net</a><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>>><br>
<<a href="http://ch.qos.logback.core" target="_blank">http://ch.qos.logback.core</a><<a href="http://ch.qos.logback.core/" target="_blank">http://ch.qos.logback.core/</a>>.<<a href="http://ch.qos.logback.core./" target="_blank">http://ch.qos.logback.core./</a>>__net<br>
<<a href="http://ch.qos.logback.core.net" target="_blank">http://ch.qos.logback.core.net</a><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>><<a href="http://ch.qos.logback.core.net/" target="_blank">http://ch.qos.logback.core.net/</a>>>>.____SocketConnectorBaseTest.____testConnect<br>
<div class="im"><br>
?<br>
<br>
You should be able to logon at<br>
<br>
</div> <a href="https://grandcentral" target="_blank">https://grandcentral</a><<a href="https://grandcentral/" target="_blank">https://grandcentral/</a>>.<<a href="https://grandcentral./" target="_blank">https://grandcentral./</a>>__<a href="http://cloudbe__es.com/" target="_blank">cloudbe__es.com/</a><<a href="http://cloudbe__es.com/" target="_blank">http://cloudbe__es.com/</a>><<a href="http://cloudbe__es.com/" target="_blank">http://cloudbe__es.com/</a>> <<a href="http://cloudbees.com/" target="_blank">http://cloudbees.com/</a>><br>
<br>
<br>
<<a href="https://grandcentral" target="_blank">https://grandcentral</a><<a href="https://grandcentral/" target="_blank">https://grandcentral/</a>>.<<a href="https://grandcentral./" target="_blank">https://grandcentral./</a>>__<a href="http://cloudbees.com/" target="_blank">cloudbees.com/</a><<a href="http://cloudbees.com/" target="_blank">http://cloudbees.com/</a>><<a href="http://cloudbees.com/" target="_blank">http://cloudbees.com/</a>><br>
<div class="im"> <<a href="https://grandcentral.cloudbees.com/" target="_blank">https://grandcentral.cloudbees.com/</a>>><br>
<br>
click on JenkinsCI (top right) and launch builds<br>
interactively. (You<br>
need to click on the login link in Jenkins located on the<br>
top right<br>
corner).<br>
<br>
Cheers,<br>
<br>
--<br>
Ceki<br>
<br>
[1]<br>
</div> <a href="https://logback.ci.cloudbees" target="_blank">https://logback.ci.cloudbees</a><<a href="https://logback.ci.cloudbees/" target="_blank">https://logback.ci.cloudbees/</a>>.<<a href="https://logback.ci.cloudbees./" target="_blank">https://logback.ci.cloudbees./</a>>____com/job/logback/12/__testReport/<br>
<br>
<<a href="https://logback.ci.cloudbees" target="_blank">https://logback.ci.cloudbees</a><<a href="https://logback.ci.cloudbees/" target="_blank">https://logback.ci.cloudbees/</a>>.<<a href="https://logback.ci.cloudbees./" target="_blank">https://logback.ci.cloudbees./</a>>__com/job/logback/12/testReport/<br>
<div class="im"> <<a href="https://logback.ci.cloudbees.com/job/logback/12/testReport/" target="_blank">https://logback.ci.cloudbees.com/job/logback/12/testReport/</a>>__><br>
<br>
<br>
<br>
--<br>
Ceki<br>
65% of statistics are made up on the spot<br>
<br>
_________________________________________________<br>
logback-dev mailing list<br>
</div> <a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>>> <mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>>>><br>
<div class="HOEnZb"><div class="h5"> <a href="http://mailman.qos.ch/mailman/__listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/__listinfo/logback-dev</a><br>
<<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a>><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>>><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
<br>
<br>
<br>
--<br>
Ceki<br>
65% of statistics are made up on the spot<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>>><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>>><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><mailto:<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br>
</div></div></blockquote></div><br></div>