<div dir="ltr">I'm grateful for the clean build efforts. I can also relate to the frustration when spending time on ancillary stuff.<div><br></div><div>I wanted to see if I could do 10 clean builds in a row, using commit 8b0f18fa95a87b60aab070c388d55b9825e49c6c.</div>
<div>I just did 'mvn clean; mvn install' ten times. Nine of the ten completed with success. Only my 4th build had trouble, with "ch.qos.logback.core.appender.FileAppenderTest". I pasted the results below.</div>
<div><br></div><div>In any case, this is a significant improvement to build stability, and it will let me move on. I also think this has great value to others who might want to contribute code to the project too. A functioning build process is needed when starting out. So for your bit of diversion I say, "Thank you".</div>
<div><br></div><div>Broc<br><div><br></div><div><br></div><div style>build 1:</div><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.340s]</font></div>
<div><font face="courier new, monospace">[INFO] Logback Core Module ............................... SUCCESS [29.637s]</font></div><div><font face="courier new, monospace">[INFO] Logback Classic Module ............................ SUCCESS [21.184s]</font></div>
<div><font face="courier new, monospace">[INFO] Logback Access Module ............................. SUCCESS [4.256s]</font></div><div><font face="courier new, monospace">[INFO] Logback Site ...................................... SUCCESS [0.800s]</font></div>
<div><font face="courier new, monospace">[INFO] Logback Examples Module ........................... SUCCESS [1.430s]</font></div><div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div>
<div><font face="courier new, monospace">[INFO] BUILD SUCCESS</font></div><div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div><div><font face="courier new, monospace">[INFO] Total time: 58.167s</font></div>
<div><font face="courier new, monospace">[INFO] Finished at: Wed Apr 17 10:36:18 EDT 2013</font></div><div><font face="courier new, monospace">[INFO] Final Memory: 61M/212M</font></div><div><font face="courier new, monospace">[INFO] ------------------------------------------------------------------------</font></div>
</div><div><font face="courier new, monospace"><br></font></div><div>build 2:<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><div>[INFO] ------------------------------------------------------------------------<br>
</div><div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.266s]</div><div>[INFO] Logback Core Module ............................... SUCCESS [28.242s]</div>
<div>[INFO] Logback Classic Module ............................ SUCCESS [19.011s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [3.938s]</div><div>[INFO] Logback Site ...................................... SUCCESS [0.712s]</div>
<div>[INFO] Logback Examples Module ........................... SUCCESS [1.324s]</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] Total time: 54.061s</div><div>[INFO] Finished at: Wed Apr 17 10:39:47 EDT 2013</div><div>[INFO] Final Memory: 63M/291M</div><div>[INFO] ------------------------------------------------------------------------</div>
</div><div><br></div><div><span style="font-family:arial">build 3:</span><br></div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div>
<div>[INFO] Logback-Parent .................................... SUCCESS [0.241s]</div><div>[INFO] Logback Core Module ............................... SUCCESS [28.453s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.244s]</div>
<div>[INFO] Logback Access Module ............................. SUCCESS [4.027s]</div><div>[INFO] Logback Site ...................................... SUCCESS [0.710s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.314s]</div>
<div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 54.585s</div>
<div>[INFO] Finished at: Wed Apr 17 10:41:46 EDT 2013</div><div>[INFO] Final Memory: 62M/269M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><span style="font-family:arial">build 4:</span><br>
</div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.242s]</div>
<div>[INFO] Logback Core Module ............................... FAILURE [27.591s]</div><div>[INFO] Logback Classic Module ............................ SKIPPED</div><div>[INFO] Logback Access Module ............................. SKIPPED</div>
<div>[INFO] Logback Site ...................................... SKIPPED</div><div>[INFO] Logback Examples Module ........................... SKIPPED</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD FAILURE</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 28.354s</div><div>[INFO] Finished at: Wed Apr 17 10:42:48 EDT 2013</div><div>
[INFO] Final Memory: 27M/313M</div><div>[INFO] ------------------------------------------------------------------------</div><div>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.</div><div>
12.4:test (default-test) on project logback-core: There are test failures.</div><div>[ERROR]</div></div><div><br></div><div><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.308 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\fat631734906</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.029 sec</div><div>testPrudentModeLogicalImplications(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.069 sec</div>
<div>testNewAppender(ch.qos.logback.core.appender.FileAppenderTest) Time elapsed: 0.011 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 sec</div>
</div><div><br></div><div><span style="font-family:arial">build 5:</span><br></div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div>
<div>[INFO] Logback-Parent .................................... SUCCESS [0.263s]</div><div>[INFO] Logback Core Module ............................... SUCCESS [29.218s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.913s]</div>
<div>[INFO] Logback Access Module ............................. SUCCESS [4.036s]</div><div>[INFO] Logback Site ...................................... SUCCESS [0.756s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.357s]</div>
<div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 56.078s</div>
<div>[INFO] Finished at: Wed Apr 17 10:46:56 EDT 2013</div><div>[INFO] Final Memory: 63M/291M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><span style="font-family:arial">build 6:</span><br>
</div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.283s]</div>
<div>[INFO] Logback Core Module ............................... SUCCESS [28.330s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.198s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [3.924s]</div>
<div>[INFO] Logback Site ...................................... SUCCESS [0.717s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.314s]</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 54.328s</div><div>[INFO] Finished at: Wed Apr 17 10:48:27 EDT 2013</div><div>
[INFO] Final Memory: 63M/290M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div><span style="font-family:arial">build 7:</span><br></div>
<div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.309s]</div>
<div>[INFO] Logback Core Module ............................... SUCCESS [29.081s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.194s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [4.013s]</div>
<div>[INFO] Logback Site ...................................... SUCCESS [0.720s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.297s]</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 55.167s</div><div>[INFO] Finished at: Wed Apr 17 10:49:54 EDT 2013</div><div>
[INFO] Final Memory: 62M/315M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div><span style="font-family:arial">build 8:</span><br></div>
<div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.275s]</div>
<div>[INFO] Logback Core Module ............................... SUCCESS [28.663s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.419s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [3.947s]</div>
<div>[INFO] Logback Site ...................................... SUCCESS [0.769s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.240s]</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 54.915s</div><div>[INFO] Finished at: Wed Apr 17 10:51:30 EDT 2013</div><div>
[INFO] Final Memory: 65M/291M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div><span style="font-family:arial">build 9:</span><br></div>
<div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.288s]</div>
<div>[INFO] Logback Core Module ............................... SUCCESS [29.104s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [20.182s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [4.055s]</div>
<div>[INFO] Logback Site ...................................... SUCCESS [0.707s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.279s]</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 56.194s</div><div>[INFO] Finished at: Wed Apr 17 10:53:27 EDT 2013</div><div>
[INFO] Final Memory: 65M/421M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div><span style="font-family:arial">build 10:</span><br></div>
<div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Reactor Summary:</div><div>[INFO]</div><div>[INFO] Logback-Parent .................................... SUCCESS [0.260s]</div>
<div>[INFO] Logback Core Module ............................... SUCCESS [28.505s]</div><div>[INFO] Logback Classic Module ............................ SUCCESS [19.856s]</div><div>[INFO] Logback Access Module ............................. SUCCESS [4.163s]</div>
<div>[INFO] Logback Site ...................................... SUCCESS [0.738s]</div><div>[INFO] Logback Examples Module ........................... SUCCESS [1.359s]</div><div>[INFO] ------------------------------------------------------------------------</div>
<div>[INFO] BUILD SUCCESS</div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Total time: 55.467s</div><div>[INFO] Finished at: Wed Apr 17 10:54:53 EDT 2013</div><div>
[INFO] Final Memory: 64M/291M</div><div>[INFO] ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div><br></div></font></div><div><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 10:28 AM, 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">
It sounds pretty pathetic to make a big deal out of clean builds. However, getting all the tests to pass consistently has proven to be a big challenge. Frustratingly enough, none of the failures have to do anything with the "actual" logback code but with test code.<div class="im">
<br>
<br>
On 17.04.2013 15:34, Donald McLean wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
"and there was much rejoicing."<br>
<br>
<br></div>
On Wed, Apr 17, 2013 at 9:32 AM, ceki <<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a> <mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>><div class="im"><br>
wrote:<br>
<br>
Hi all,<br>
<br>
In light of recent improvements in the test suite, we had a streak<br>
of of 18 successive clean builds by Jenkins. It ended with a failure in<br>
<a href="http://ch.qos.logback.classic.net" target="_blank">ch.qos.logback.classic.net</a><br></div>
<<a href="http://ch.qos.logback.classic.net" target="_blank">http://ch.qos.logback.<u></u>classic.net</a>>.__SMTPAppender_<u></u>GreenTest.__testMultipleTo<div class="im"><br>
[1].<br>
<br>
In any case, we are making progress.<br>
<br></div>
[1] <a href="http://logback.qos.ch/jenkins/__job/logback/91/" target="_blank">http://logback.qos.ch/jenkins/<u></u>__job/logback/91/</a><div class="im"><br>
<<a href="http://logback.qos.ch/jenkins/job/logback/91/" target="_blank">http://logback.qos.ch/<u></u>jenkins/job/logback/91/</a>><br>
<br>
--<br>
Ceki<br>
65% of statistics are made up on the spot<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
-- <br>
Ceki<br>
65% of statistics are made up on the spot<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>