<div dir="ltr">Yes, I've done "mvn clean; mvn install" but still get a failure. I'm also on a 3.4GHz Win7 box with a SSD. Is there any possibility of a timing sensitivity for being "too fast"?<div>
<br></div><div><br></div><div><div><font face="courier new, monospace">Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.557 sec <<< FA</font></div><div><font face="courier new, monospace">ILURE!</font></div>
<div><font face="courier new, monospace">withZipCompression_FileSet_NoRestart_7(ch.qos.logback.core.rolling.SizeAndTimeBa</font></div><div><font face="courier new, monospace">sedFNATP_Test) Time elapsed: 0.201 sec</font></div>
<div><font face="courier new, monospace">withGZCompression_FileBlank_NoRestart_6(ch.qos.logback.core.rolling.SizeAndTimeB</font></div><div><font face="courier new, monospace">asedFNATP_Test) Time elapsed: 0.006 sec <<< ERROR!</font></div>
<div><font face="courier new, monospace">java.io.FileNotFoundException: target\test-output\910764289\test6-2013-04-15_23_</font></div><div><font face="courier new, monospace">47_35-1.txt (The system cannot find the file specified)</font></div>
<div><font face="courier new, monospace"> at java.io.FileInputStream.open(Native Method)</font></div><div><font face="courier new, monospace"> at java.io.FileInputStream.<init>(FileInputStream.java:138)</font></div>
<div><font face="courier new, monospace"> at ch.qos.logback.core.testUtil.FileToBufferUtil.regularReadIntoList(Fil</font></div><div><font face="courier new, monospace">eToBufferUtil.java:60)</font></div><div><font face="courier new, monospace"> at ch.qos.logback.core.testUtil.FileToBufferUtil.readIntoList(FileToBuff</font></div>
<div><font face="courier new, monospace">erUtil.java:38)</font></div><div><font face="courier new, monospace"> at ch.qos.logback.core.rolling.ScaffoldingForRollingTests.fileContentChe</font></div><div><font face="courier new, monospace">ck(ScaffoldingForRollingTests.java:84)</font></div>
<div><font face="courier new, monospace"> at ch.qos.logback.core.rolling.ScaffoldingForRollingTests.sortedContentC</font></div><div><font face="courier new, monospace">heck(ScaffoldingForRollingTests.java:99)</font></div>
<div><font face="courier new, monospace"> at ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP_Test.generic(SizeAn</font></div><div><font face="courier new, monospace">dTimeBasedFNATP_Test.java:130)</font></div><div>
<font face="courier new, monospace"> at ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP_Test.withGZCompress</font></div><div><font face="courier new, monospace">ion_FileBlank_NoRestart_6(SizeAndTimeBasedFNATP_Test.java:189)</font></div>
<div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</font></div><div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.</font></div>
<div><font face="courier new, monospace">java:57)</font></div><div><font face="courier new, monospace"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces</font></div><div><font face="courier new, monospace">sorImpl.java:43)</font></div>
<div><font face="courier new, monospace"> at java.lang.reflect.Method.invoke(Method.java:601)</font></div><div><font face="courier new, monospace"> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework</font></div>
<div><font face="courier new, monospace">Method.java:45)</font></div><div><font face="courier new, monospace"> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal</font></div><div><font face="courier new, monospace">lable.java:15)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe</font></div><div><font face="courier new, monospace">thod.java:42)</font></div><div><font face="courier new, monospace"> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet</font></div>
<div><font face="courier new, monospace">hod.java:20)</font></div><div><font face="courier new, monospace"> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.</font></div><div><font face="courier new, monospace">java:28)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)</font></div><div><font face="courier new, monospace"> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun</font></div>
<div><font face="courier new, monospace">ner.java:68)</font></div><div><font face="courier new, monospace"> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun</font></div><div><font face="courier new, monospace">ner.java:47)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)</font></div><div><font face="courier new, monospace"> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)</font></div><div><font face="courier new, monospace"> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)</font></div><div><font face="courier new, monospace"> at org.junit.runners.ParentRunner.run(ParentRunner.java:300)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.Suite.runChild(Suite.java:128)</font></div><div><font face="courier new, monospace"> at org.junit.runners.Suite.runChild(Suite.java:24)</font></div>
<div><font face="courier new, monospace"> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)</font></div><div><font face="courier new, monospace"> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47</font></div>
<div><font face="courier new, monospace">1)</font></div><div><font face="courier new, monospace"> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)</font></div><div><font face="courier new, monospace"> at java.util.concurrent.FutureTask.run(FutureTask.java:166)</font></div>
<div><font face="courier new, monospace"> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.</font></div><div><font face="courier new, monospace">java:1110)</font></div><div><font face="courier new, monospace"> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor</font></div>
<div><font face="courier new, monospace">.java:603)</font></div><div><font face="courier new, monospace"> at java.lang.Thread.run(Thread.java:722)</font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace">withGZCompression_FileSet_NoRestart_5(ch.qos.logback.core.rolling.SizeAndTimeBas</font></div><div><font face="courier new, monospace">edFNATP_Test) Time elapsed: 0.067 sec</font></div>
<div><font face="courier new, monospace">noCompression_FileSet_WithStopStart_4(ch.qos.logback.core.rolling.SizeAndTimeBas</font></div><div><font face="courier new, monospace">edFNATP_Test) Time elapsed: 0.102 sec</font></div>
<div><font face="courier new, monospace">noCompression_FileBlank_WithStopStart_3(ch.qos.logback.core.rolling.SizeAndTimeB</font></div><div><font face="courier new, monospace">asedFNATP_Test) Time elapsed: 0.061 sec</font></div>
<div><font face="courier new, monospace">noCompression_FileBlank_NoRestart_2(ch.qos.logback.core.rolling.SizeAndTimeBased</font></div><div><font face="courier new, monospace">FNATP_Test) Time elapsed: 0.036 sec</font></div>
<div><font face="courier new, monospace">noCompression_FileSet_NoRestart_1(ch.qos.logback.core.rolling.SizeAndTimeBasedFN</font></div><div><font face="courier new, monospace">ATP_Test) Time elapsed: 0.039 sec</font></div>
<div><font face="courier new, monospace">Running ch.qos.logback.core.recovery.ResilientOutputStreamTest</font></div><div><font face="courier new, monospace">Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec</font></div>
<div><font face="courier new, monospace">verifyRecuperationAfterFailure(ch.qos.logback.core.recovery.ResilientOutputStrea</font></div><div><font face="courier new, monospace">mTest) Time elapsed: 0.288 sec</font></div><div>
<font face="courier new, monospace">Running ch.qos.logback.core.rolling.helper.CompressTest</font></div><div><font face="courier new, monospace">Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec</font></div>
<div><font face="courier new, monospace">test2(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed: 0.223 sec</font></div><div><font face="courier new, monospace">test1(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed: 0.018 sec</font></div>
<div><font face="courier new, monospace">test3(ch.qos.logback.core.rolling.helper.CompressTest) Time elapsed: 0.012 sec</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Results :</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Tests in error:</font></div><div><font face="courier new, monospace"> withGZCompression_FileBlank_NoRestart_6(ch.qos.logback.core.rolling.SizeAndTim</font></div>
<div><font face="courier new, monospace">eBasedFNATP_Test): target\test-output\910764289\test6-2013-04-15_23_47_35-1.txt</font></div><div><font face="courier new, monospace">(The system cannot find the file specified)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Tests run: 424, Failures: 0, Errors: 1, Skipped: 6</font></div><div><font face="courier new, monospace"><br></font></div><div>
<font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div><div><font face="courier new, monospace">[INFO] Reactor Summary:</font></div><div><font face="courier new, monospace">[INFO]</font></div>
<div><font face="courier new, monospace">[INFO] Logback-Parent .................................... SUCCESS [0.338s]</font></div><div><font face="courier new, monospace">[INFO] Logback Core Module ............................... FAILURE [28.279s]</font></div>
<div><font face="courier new, monospace">[INFO] Logback Classic Module ............................ SKIPPED</font></div><div><font face="courier new, monospace">[INFO] Logback Access Module ............................. SKIPPED</font></div>
<div><font face="courier new, monospace">[INFO] Logback Site ...................................... SKIPPED</font></div><div><font face="courier new, monospace">[INFO] Logback Examples Module ........................... SKIPPED</font></div>
<div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div><div><font face="courier new, monospace">[INFO] BUILD FAILURE</font></div><div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div>
<div><font face="courier new, monospace">[INFO] Total time: 29.140s</font></div><div><font face="courier new, monospace">[INFO] Finished at: Mon Apr 15 23:47:54 EDT 2013</font></div><div><font face="courier new, monospace">[INFO] Final Memory: 28M/241M</font></div>
<div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div><div><font face="courier new, monospace">[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.</font></div>
<div><font face="courier new, monospace">12.4:test (default-test) on project logback-core: There are test failures.</font></div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 15, 2013 at 2:47 PM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Broc,<br>
<br>
No, it is not just you. Some of the logback test cases are time sensitive and fail from time to time, especially if the host machine 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 <a href="http://logback.qos.ch/jenkins/" target="_blank">http://logback.qos.ch/jenkins/</a> build 24 was successful whereas build 25 failed:<br>
<br>
<a href="http://logback.qos.ch/jenkins/job/logback/24/" target="_blank">http://logback.qos.ch/jenkins/<u></u>job/logback/24/</a><br>
<a href="http://logback.qos.ch/jenkins/job/logback/25/" target="_blank">http://logback.qos.ch/jenkins/<u></u>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 install" ?<br>
<br>
BTW, since about 10 days, the logback build no longer depends on Scala for testing. It should be now much easier to set up logback within your favorite IDE.<div class="im"><br>
<br>
<br>
On 15.04.2013 20:11, Broc Seib wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
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" target="_blank">ceki@qos.ch</a><br></div><div class="im">
<mailto:<a href="mailto:ceki@qos.ch" target="_blank">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></div>
ch.qos.logback.core.__<u></u>FileAppenderResilienceTest.__<u></u>smoke<br>
ch.qos.logback.core.recovery._<u></u>_ResilientOutputStreamTest.__<u></u>verifyRecuperationAfterFailure<br>
<br>
ch.qos.logback.core.spi.__<u></u>AppenderAttachableImplLockTest<u></u>__.detachAppenderBoom<div class="im"><br>
<br>
Carl, could you please have a look at<br>
<br>
<a href="http://ch.qos.logback.core.net" target="_blank">ch.qos.logback.core.net</a><br></div>
<<a href="http://ch.qos.logback.core.net" target="_blank">http://ch.qos.logback.core.<u></u>net</a>>.__<u></u>SocketConnectorBaseTest.__<u></u>testConnect<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="http://cloudbees.com/" target="_blank">cloudbe<u></u>es.com/</a><div class="im"><br>
<<a href="https://grandcentral.cloudbees.com/" target="_blank">https://grandcentral.<u></u>cloudbees.com/</a>><br>
<br>
click on JenkinsCI (top right) and launch builds interactively. (You<br>
need to click on the login link in Jenkins located on the top right<br>
corner).<br>
<br>
Cheers,<br>
<br>
--<br>
Ceki<br>
<br></div>
[1] <a href="https://logback.ci.cloudbees." target="_blank">https://logback.ci.cloudbees.</a>_<u></u>_com/job/logback/12/<u></u>testReport/<br>
<<a href="https://logback.ci.cloudbees.com/job/logback/12/testReport/" target="_blank">https://logback.ci.cloudbees.<u></u>com/job/logback/12/testReport/</a><u></u>><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Ceki<br>
65% of statistics are made up on the spot</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch" target="_blank">logback-dev@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-dev</a><br>
</div></div></blockquote></div><br></div>