<div dir="ltr"><div style>Hi Ceki,</div><div style><br></div><div style>I just updated to the latest code you just committed, <span style="font-family:'courier new',monospace">56e8ab2192697bc27a8cfbd8441db62aff53e87c </span><font face="arial, helvetica, sans-serif">but </font>I think there is a different problem now.</div>
<div><br></div><div><div><div><font face="courier new, monospace">bseib@BSEIB-WIN7 /c/gitrepo</font></div><div><font face="courier new, monospace">$ rm -rf logback</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">bseib@BSEIB-WIN7 /c/gitrepo</font></div><div><font face="courier new, monospace">$ git clone <a href="https://github.com/qos-ch/logback.git">https://github.com/qos-ch/logback.git</a></font></div>
<div><font face="courier new, monospace">Cloning into 'logback'...</font></div><div><font face="courier new, monospace">remote: Counting objects: 52855, done.</font></div><div><font face="courier new, monospace">remote: Compressing objects: 100% (13701/13701), done.</font></div>
<div><font face="courier new, monospace">remote: Total 52855 (delta 26607), reused 52138 (delta 26038)</font></div><div><font face="courier new, monospace">Receiving objects: 100% (52855/52855), 20.13 MiB | 1.17 MiB/s, done.</font></div>
<div><font face="courier new, monospace">Resolving deltas: 100% (26607/26607), done.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">bseib@BSEIB-WIN7 /c/gitrepo</font></div>
<div><font face="courier new, monospace">$ cd logback/</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">bseib@BSEIB-WIN7 /c/gitrepo/logback (master)<br></font></div>
<div><font face="courier new, monospace">$ git log -1</font></div><div><font face="courier new, monospace">commit 56e8ab2192697bc27a8cfbd8441db62aff53e87c</font></div><div><font face="courier new, monospace">Merge: 2ff61c7 513e380</font></div>
<div><font face="courier new, monospace">Author: Ceki Gulcu <<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>></font></div><div><font face="courier new, monospace">Date: Tue Apr 16 18:09:23 2013 +0200</font></div><div>
<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> Merge branch 'master' of github.com:qos-ch/logback</font></div></div><div><br></div><div><br></div><div>And then 'mvn clean; mvn install':</div>
<div><br></div><div><font face="courier new, monospace">[...]</font></div><div><div><font face="courier new, monospace">Running ch.qos.logback.core.joran.conditional.IfThenElseAndIncludeCompositionTes</font><span style="font-family:'courier new',monospace">t</span></div>
<div><font face="courier new, monospace">Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.635 sec</font></div><div><font face="courier new, monospace">includeNestedWithinIf(ch.qos.logback.core.joran.conditional.IfThenElseAndInclude</font><span style="font-family:'courier new',monospace">CompositionTest) Time elapsed: 0.635 sec</span></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">Failed tests: testConnectionFails(ch.qos.logback.core.net.SocketConnectorBaseT</font><span style="font-family:'courier new',monospace">est)</span></div>
<div><font face="courier new, monospace"> lossyAppenderShouldOnlyLooseCertainEvents(ch.qos.logback.core.AsyncAppenderBas</font><span style="font-family:'courier new',monospace">eTest): expected:<8> but was:<10></span></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Tests run: 424, Failures: 2, Errors: 0, 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.244s]</font></div><div><font face="courier new, monospace">[INFO] Logback Core Module ............................... FAILURE [27.251s]</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: 28.014s</font></div><div><font face="courier new, monospace">[INFO] Finished at: Tue Apr 16 12:51:50 EDT 2013</font></div><div><font face="courier new, monospace">[INFO] Final Memory: 28M/308M</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><span style="font-family:'courier new',monospace">12.4:test (default-test) on project logback-core: There are test failures.</span></div>
</div></div><div><br><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 12:42 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"><br>
I am hoping that commit [1] should make the test failures in logback-core/src/test/java/ch/<u></u>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/<u></u>logback/commit/2ff61c7c1cb0562</a><div class="im"><br>
<br>
<br>
On 16.04.2013 06:05, Broc Seib wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
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_<u></u>NoRestart_7(ch.qos.logback.<u></u>core.rolling.SizeAndTimeBa<br>
sedFNATP_Test) Time elapsed: 0.201 sec<br>
withGZCompression_FileBlank_<u></u>NoRestart_6(ch.qos.logback.<u></u>core.rolling.SizeAndTimeB<br>
asedFNATP_Test) Time elapsed: 0.006 sec <<< ERROR!<br>
java.io.FileNotFoundException:<br>
target\test-output\910764289\<u></u>test6-2013-04-15_23_<br>
47_35-1.txt (The system cannot find the file specified)<br>
at java.io.FileInputStream.open(<u></u>Native Method)<br>
at java.io.FileInputStream.<init><u></u>(FileInputStream.java:138)<br>
at<br>
ch.qos.logback.core.testUtil.<u></u>FileToBufferUtil.<u></u>regularReadIntoList(Fil<br>
eToBufferUtil.java:60)<br>
at<br>
ch.qos.logback.core.testUtil.<u></u>FileToBufferUtil.readIntoList(<u></u>FileToBuff<br>
erUtil.java:38)<br>
at<br>
ch.qos.logback.core.rolling.<u></u>ScaffoldingForRollingTests.<u></u>fileContentChe<br>
ck(ScaffoldingForRollingTests.<u></u>java:84)<br>
at<br>
ch.qos.logback.core.rolling.<u></u>ScaffoldingForRollingTests.<u></u>sortedContentC<br>
heck(<u></u>ScaffoldingForRollingTests.<u></u>java:99)<br>
at<br>
ch.qos.logback.core.rolling.<u></u>SizeAndTimeBasedFNATP_Test.<u></u>generic(SizeAn<br>
dTimeBasedFNATP_Test.java:130)<br>
at<br>
ch.qos.logback.core.rolling.<u></u>SizeAndTimeBasedFNATP_Test.<u></u>withGZCompress<br>
ion_FileBlank_NoRestart_6(<u></u>SizeAndTimeBasedFNATP_Test.<u></u>java:189)<br>
at sun.reflect.<u></u>NativeMethodAccessorImpl.<u></u>invoke0(Native Method)<br>
at<br>
sun.reflect.<u></u>NativeMethodAccessorImpl.<u></u>invoke(<u></u>NativeMethodAccessorImpl.<br>
java:57)<br>
at<br>
sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>invoke(DelegatingMethodAcces<br>
sorImpl.java:43)<br>
at java.lang.reflect.Method.<u></u>invoke(Method.java:601)<br>
at<br>
org.junit.runners.model.<u></u>FrameworkMethod$1.<u></u>runReflectiveCall(Framework<br>
Method.java:45)<br>
at<br>
org.junit.internal.runners.<u></u>model.ReflectiveCallable.run(<u></u>ReflectiveCal<br>
lable.java:15)<br>
at<br>
org.junit.runners.model.<u></u>FrameworkMethod.<u></u>invokeExplosively(FrameworkMe<br>
thod.java:42)<br>
at<br>
org.junit.internal.runners.<u></u>statements.InvokeMethod.<u></u>evaluate(InvokeMet<br>
hod.java:20)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunBefores.<u></u>evaluate(RunBefores.<br>
java:28)<br>
at org.junit.runners.<u></u>ParentRunner.runLeaf(<u></u>ParentRunner.java:263)<br>
at<br>
org.junit.runners.<u></u>BlockJUnit4ClassRunner.<u></u>runChild(BlockJUnit4ClassRun<br>
ner.java:68)<br>
at<br>
org.junit.runners.<u></u>BlockJUnit4ClassRunner.<u></u>runChild(BlockJUnit4ClassRun<br>
ner.java:47)<br>
at org.junit.runners.<u></u>ParentRunner$3.run(<u></u>ParentRunner.java:231)<br>
at org.junit.runners.<u></u>ParentRunner$1.schedule(<u></u>ParentRunner.java:60)<br>
at<br>
org.junit.runners.<u></u>ParentRunner.runChildren(<u></u>ParentRunner.java:229)<br>
at org.junit.runners.<u></u>ParentRunner.access$000(<u></u>ParentRunner.java:50)<br>
at org.junit.runners.<u></u>ParentRunner$2.evaluate(<u></u>ParentRunner.java:222)<br>
at org.junit.runners.<u></u>ParentRunner.run(ParentRunner.<u></u>java:300)<br>
at org.junit.runners.Suite.<u></u>runChild(Suite.java:128)<br>
at org.junit.runners.Suite.<u></u>runChild(Suite.java:24)<br>
at org.junit.runners.<u></u>ParentRunner$3.run(<u></u>ParentRunner.java:231)<br>
at<br>
java.util.concurrent.<u></u>Executors$RunnableAdapter.<u></u>call(Executors.java:47<br>
1)<br>
at<br>
java.util.concurrent.<u></u>FutureTask$Sync.innerRun(<u></u>FutureTask.java:334)<br>
at java.util.concurrent.<u></u>FutureTask.run(FutureTask.<u></u>java:166)<br>
at<br>
java.util.concurrent.<u></u>ThreadPoolExecutor.runWorker(<u></u>ThreadPoolExecutor.<br>
java:1110)<br>
at<br>
java.util.concurrent.<u></u>ThreadPoolExecutor$Worker.run(<u></u>ThreadPoolExecutor<br>
.java:603)<br>
at java.lang.Thread.run(Thread.<u></u>java:722)<br>
<br>
withGZCompression_FileSet_<u></u>NoRestart_5(ch.qos.logback.<u></u>core.rolling.SizeAndTimeBas<br>
edFNATP_Test) Time elapsed: 0.067 sec<br>
noCompression_FileSet_<u></u>WithStopStart_4(ch.qos.<u></u>logback.core.rolling.<u></u>SizeAndTimeBas<br>
edFNATP_Test) Time elapsed: 0.102 sec<br>
noCompression_FileBlank_<u></u>WithStopStart_3(ch.qos.<u></u>logback.core.rolling.<u></u>SizeAndTimeB<br>
asedFNATP_Test) Time elapsed: 0.061 sec<br>
noCompression_FileBlank_<u></u>NoRestart_2(ch.qos.logback.<u></u>core.rolling.SizeAndTimeBased<br>
FNATP_Test) Time elapsed: 0.036 sec<br>
noCompression_FileSet_<u></u>NoRestart_1(ch.qos.logback.<u></u>core.rolling.<u></u>SizeAndTimeBasedFN<br>
ATP_Test) Time elapsed: 0.039 sec<br>
Running ch.qos.logback.core.recovery.<u></u>ResilientOutputStreamTest<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec<br>
verifyRecuperationAfterFailure<u></u>(ch.qos.logback.core.recovery.<u></u>ResilientOutputStrea<br>
mTest) Time elapsed: 0.288 sec<br>
Running ch.qos.logback.core.rolling.<u></u>helper.CompressTest<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec<br>
test2(ch.qos.logback.core.<u></u>rolling.helper.CompressTest) Time elapsed:<br>
0.223 sec<br>
test1(ch.qos.logback.core.<u></u>rolling.helper.CompressTest) Time elapsed:<br>
0.018 sec<br>
test3(ch.qos.logback.core.<u></u>rolling.helper.CompressTest) Time elapsed:<br>
0.012 sec<br>
<br>
Results :<br>
<br>
Tests in error:<br>
<br>
withGZCompression_FileBlank_<u></u>NoRestart_6(ch.qos.logback.<u></u>core.rolling.SizeAndTim<br>
eBasedFNATP_Test):<br>
target\test-output\910764289\<u></u>test6-2013-04-15_23_47_35-1.<u></u>txt<br>
(The system cannot find the file specified)<br>
<br>
Tests run: 424, Failures: 0, Errors: 1, Skipped: 6<br>
<br>
[INFO]<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
[INFO] Reactor Summary:<br>
[INFO]<br>
[INFO] Logback-Parent ..............................<u></u>...... SUCCESS [0.338s]<br>
[INFO] Logback Core Module ..............................<u></u>. FAILURE [28.279s]<br>
[INFO] Logback Classic Module ............................ SKIPPED<br>
[INFO] Logback Access Module ............................. SKIPPED<br>
[INFO] Logback Site ..............................<u></u>........ SKIPPED<br>
[INFO] Logback Examples Module ........................... SKIPPED<br>
[INFO]<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
[INFO] BUILD FAILURE<br>
[INFO]<br>
------------------------------<u></u>------------------------------<u></u>------------<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>
------------------------------<u></u>------------------------------<u></u>------------<br>
[ERROR] Failed to execute goal<br>
org.apache.maven.plugins:<u></u>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" 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 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></div><div class="im">
<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/24/" target="_blank">http://logback.qos.ch/<u></u>jenkins/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></div><div class="im">
<<a href="http://logback.qos.ch/jenkins/job/logback/25/" target="_blank">http://logback.qos.ch/<u></u>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" target="_blank">ceki@qos.ch</a><br>
<mailto:<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> <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>
<br>
ch.qos.logback.core.recovery._<u></u>___ResilientOutputStreamTest._<u></u>___<u></u>verifyRecuperationAfterFailure<br>
<br>
<br>
ch.qos.logback.core.spi.____<u></u>AppenderAttachableImplLockTest<u></u>____.detachAppenderBoom<div class="im"><br>
<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> <<a href="http://ch.qos.logback.core.net" target="_blank">http://ch.qos.logback.core.<u></u>net</a>><br></div><div class="im">
<<a href="http://ch.qos.logback.core." target="_blank">http://ch.qos.logback.core.</a>__<u></u>net<br>
<<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<br>
<br></div><div class="im">
?<br>
<br>
You should be able to logon at<br>
<br></div>
<a href="https://grandcentral." target="_blank">https://grandcentral.</a>__<a href="http://cloudbe__es.com/" target="_blank">cloudbe<u></u>__es.com/</a> <<a href="http://cloudbees.com/" target="_blank">http://cloudbees.com/</a>><div class="im">
<br>
<br>
<<a href="https://grandcentral." target="_blank">https://grandcentral.</a>__<a href="http://cloudbees.com/" target="_blank">cloudb<u></u>ees.com/</a><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<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><div class="im">
<a href="https://logback.ci.cloudbees." target="_blank">https://logback.ci.cloudbees.</a>_<u></u>___com/job/logback/12/__<u></u>testReport/<br>
<br>
<<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>>__><br>
<br>
<br>
<br></div><div class="im">
--<br>
Ceki<br>
65% of statistics are made up on the spot<br>
<br></div>
______________________________<u></u>___________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch" target="_blank">logback-dev@qos.ch</a> <mailto:<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>
<<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/<u></u>mailman/listinfo/logback-dev</a>><div class="im"><br>
<br>
<br>
<br>
<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>
<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>