<div dir="ltr"><div><br></div><div>$ "$JAVA_HOME"/bin/java.exe -version<br></div><div><div>java version "1.7.0"</div><div>Java(TM) SE Runtime Environment (build 1.7.0-b147)</div><div>Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)</div>
</div><div><br></div><div style>Processor: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz 3.40 GHz</div><div style>Installed memory (RAM): 16.0 GB (15.8 GB usable)</div><div style>System type: 64-bit Operating System.</div><div class="gmail_extra">
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 5:34 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Which JDK are you running? Which exact CPU?<div class="im"><br>
<br>
On 16.04.2013 23:07, Broc Seib wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Hi Carl and Ceki,<br>
<br>
I grabbed 3727d7ff0fd33a9584a9ba0ef03695<u></u>06fa8f562e right after Carl<br>
committed it.<br>
<br>
$ git log -1<br>
commit 3727d7ff0fd33a9584a9ba0ef03695<u></u>06fa8f562e<br></div>
Author: Carl Harris <<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a> <mailto:<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a>>><div><div class="h5"><br>
Date: Tue Apr 16 14:43:35 2013 -0400<br>
<br>
removed an unused import to silence a build warning in eclipse<br>
<br>
<br>
I believe Carl's patch addressed the previous problem I was seeing. But<br>
I still have some mixed results getting a clean build. When I first ran<br>
'mvn clean; mvn install' I got an error in Logback Core Module,<br>
in ch.qos.logback.core.appender.<u></u>FileAppenderTest. But when I did 'mvn<br>
clean; mvn install' again, FileAppenderTest worked fine. (Failed<br>
surefire-report included below.)<br>
<br>
After Logback Core built, Logback Access Module build fails. See the<br>
test set for ch.qos.logback.access.db.<u></u>DBAppenderHSQLTest below.<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Test set: ch.qos.logback.core.appender.<u></u>FileAppenderTest<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.079<br>
sec <<< FAILURE!<br>
testCreateParentFolders(ch.<u></u>qos.logback.core.appender.<u></u>FileAppenderTest)<br>
Time elapsed: 0.001 sec <<< FAILURE!<br>
java.lang.AssertionError: failed to delete<br>
C:\gitrepo\logback\logback-<u></u>core\target\test-output\<u></u>fat992837029<br>
at org.junit.Assert.fail(Assert.<u></u>java:93)<br>
at org.junit.Assert.assertTrue(<u></u>Assert.java:43)<br>
at<br>
ch.qos.logback.core.appender.<u></u>FileAppenderTest.<u></u>testCreateParentFolders(<u></u>FileAppenderTest.java:93)<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.java:<u></u>57)<br>
at<br>
sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>invoke(<u></u>DelegatingMethodAccessorImpl.<u></u>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(<u></u>FrameworkMethod.java:45)<br>
at<br>
org.junit.internal.runners.<u></u>model.ReflectiveCallable.run(<u></u>ReflectiveCallable.java:15)<br>
at<br>
org.junit.runners.model.<u></u>FrameworkMethod.<u></u>invokeExplosively(<u></u>FrameworkMethod.java:42)<br>
at<br>
org.junit.internal.runners.<u></u>statements.InvokeMethod.<u></u>evaluate(InvokeMethod.java:20)<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(<u></u>BlockJUnit4ClassRunner.java:<u></u>68)<br>
at<br>
org.junit.runners.<u></u>BlockJUnit4ClassRunner.<u></u>runChild(<u></u>BlockJUnit4ClassRunner.java:<u></u>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 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 java.util.concurrent.<u></u>Executors$RunnableAdapter.<u></u>call(Executors.java:471)<br>
at 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.java:1110)<br>
at<br>
java.util.concurrent.<u></u>ThreadPoolExecutor$Worker.run(<u></u>ThreadPoolExecutor.java:603)<br>
at java.lang.Thread.run(Thread.<u></u>java:722)<br>
<br>
smoke(ch.qos.logback.core.<u></u>appender.FileAppenderTest) Time elapsed:<br>
0.049 sec<br>
testPrudentModeLogicalImplicat<u></u>ions(ch.qos.logback.core.<u></u>appender.FileAppenderTest)<br>
Time elapsed: 0.02 sec<br>
testNewAppender(ch.qos.<u></u>logback.core.appender.<u></u>FileAppenderTest) Time<br>
elapsed: 0 sec<br>
testConfiguredAppender(ch.qos.<u></u>logback.core.appender.<u></u>FileAppenderTest)<br>
Time elapsed: 0.002 sec<br>
testNoStart(ch.qos.logback.<u></u>core.appender.<u></u>FileAppenderTest) Time<br>
elapsed: 0.001 sec<br>
<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Test set: ch.qos.logback.access.db.<u></u>DBAppenderHSQLTest<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.207<br>
sec <<< FAILURE!<br>
testAppendAccessEvent(ch.qos.<u></u>logback.access.db.<u></u>DBAppenderHSQLTest) Time<br>
elapsed: 0.026 sec<br>
testAppendHeaders(ch.qos.<u></u>logback.access.db.<u></u>DBAppenderHSQLTest) Time<br>
elapsed: 0.006 sec<br>
testAppendMultipleEvents(ch.<u></u>qos.logback.access.db.<u></u>DBAppenderHSQLTest)<br>
Time elapsed: 0.022 sec<br>
testCheckNoHeadersAreInserted(<u></u>ch.qos.logback.access.db.<u></u>DBAppenderHSQLTest)<br>
Time elapsed: 0.009 sec <<< FAILURE!<br>
java.lang.AssertionError<br>
at org.junit.Assert.fail(Assert.<u></u>java:92)<br>
at org.junit.Assert.assertTrue(<u></u>Assert.java:43)<br>
at org.junit.Assert.assertFalse(<u></u>Assert.java:68)<br>
at org.junit.Assert.assertFalse(<u></u>Assert.java:79)<br>
at<br>
ch.qos.logback.access.db.<u></u>DBAppenderHSQLTest.<u></u>testCheckNoHeadersAreInserted(<u></u>DBAppenderHSQLTest.java:148)<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.java:<u></u>57)<br>
at<br>
sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>invoke(<u></u>DelegatingMethodAccessorImpl.<u></u>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(<u></u>FrameworkMethod.java:45)<br>
at<br>
org.junit.internal.runners.<u></u>model.ReflectiveCallable.run(<u></u>ReflectiveCallable.java:15)<br>
at<br>
org.junit.runners.model.<u></u>FrameworkMethod.<u></u>invokeExplosively(<u></u>FrameworkMethod.java:42)<br>
at<br>
org.junit.internal.runners.<u></u>statements.InvokeMethod.<u></u>evaluate(InvokeMethod.java:20)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunBefores.<u></u>evaluate(RunBefores.java:28)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunAfters.evaluate(<u></u>RunAfters.java:30)<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(<u></u>BlockJUnit4ClassRunner.java:<u></u>68)<br>
at<br>
org.junit.runners.<u></u>BlockJUnit4ClassRunner.<u></u>runChild(<u></u>BlockJUnit4ClassRunner.java:<u></u>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 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<br>
org.junit.internal.runners.<u></u>statements.RunBefores.<u></u>evaluate(RunBefores.java:28)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunAfters.evaluate(<u></u>RunAfters.java:30)<br>
at org.junit.runners.<u></u>ParentRunner.run(ParentRunner.<u></u>java:300)<br>
at<br>
org.apache.maven.surefire.<u></u>junit4.JUnit4Provider.execute(<u></u>JUnit4Provider.java:252)<br>
at<br>
org.apache.maven.surefire.<u></u>junit4.JUnit4Provider.<u></u>executeTestSet(JUnit4Provider.<u></u>java:141)<br>
at<br>
org.apache.maven.surefire.<u></u>junit4.JUnit4Provider.invoke(<u></u>JUnit4Provider.java:112)<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.java:<u></u>57)<br>
at<br>
sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>invoke(<u></u>DelegatingMethodAccessorImpl.<u></u>java:43)<br>
at java.lang.reflect.Method.<u></u>invoke(Method.java:601)<br>
at<br>
org.apache.maven.surefire.<u></u>util.ReflectionUtils.<u></u>invokeMethodWithArray(<u></u>ReflectionUtils.java:189)<br>
at<br>
org.apache.maven.surefire.<u></u>booter.ProviderFactory$<u></u>ProviderProxy.invoke(<u></u>ProviderFactory.java:165)<br>
at<br>
org.apache.maven.surefire.<u></u>booter.ProviderFactory.<u></u>invokeProvider(<u></u>ProviderFactory.java:85)<br>
at<br>
org.apache.maven.surefire.<u></u>booter.ForkedBooter.<u></u>runSuitesInProcess(<u></u>ForkedBooter.java:115)<br>
at org.apache.maven.surefire.<u></u>booter.ForkedBooter.main(<u></u>ForkedBooter.java:75)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Apr 16, 2013 at 2:48 PM, Harris, Carl <<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a><br></div></div><div><div class="h5">
<mailto:<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a>>> wrote:<br>
<br>
Last couple of commits should help reduce timing sensitivity in the<br>
SocketConnectorBaseTest and SocketAppenderTest. Anxious to hear if<br>
this improves matters for you Broc.<br>
<br>
carl<br>
<br>
<br>
On Apr 16, 2013, at 2:00 PM, Broc Seib wrote:<br>
<br>
Here it is:<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Test set: <a href="http://ch.qos.logback.core.net" target="_blank">ch.qos.logback.core.net</a>.<u></u>SocketConnectorBaseTest<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:<br>
5.596 sec <<< FAILURE!<br>
testConnect(ch.qos.logback.<u></u><a href="http://core.net" target="_blank">core.net</a>.<u></u>SocketConnectorBaseTest) Time<br>
elapsed: 0.081 sec<br>
testConnectEventually(ch.qos.<u></u><a href="http://logback.core.net" target="_blank">logback.core.net</a>.<u></u>SocketConnectorBaseTest)<br>
Time elapsed: 2.514 sec<br>
testConnectionFails(ch.qos.<u></u><a href="http://logback.core.net" target="_blank">logback.core.net</a>.<u></u>SocketConnectorBaseTest)<br>
Time elapsed: 0.001 sec <<< FAILURE!<br>
java.lang.AssertionError<br>
at org.junit.Assert.fail(Assert.<u></u>java:92)<br>
at org.junit.Assert.assertTrue(<u></u>Assert.java:43)<br>
at org.junit.Assert.assertFalse(<u></u>Assert.java:68)<br>
at org.junit.Assert.assertFalse(<u></u>Assert.java:79)<br>
at<br>
<a href="http://ch.qos.logback.core.net" target="_blank">ch.qos.logback.core.net</a>.<u></u>SocketConnectorBaseTest.<u></u>testConnectionFails(<u></u>SocketConnectorBaseTest.java:<u></u>89)<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.java:<u></u>57)<br>
at<br>
sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>invoke(<u></u>DelegatingMethodAccessorImpl.<u></u>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(<u></u>FrameworkMethod.java:45)<br>
at<br>
org.junit.internal.runners.<u></u>model.ReflectiveCallable.run(<u></u>ReflectiveCallable.java:15)<br>
at<br>
org.junit.runners.model.<u></u>FrameworkMethod.<u></u>invokeExplosively(<u></u>FrameworkMethod.java:42)<br>
at<br>
org.junit.internal.runners.<u></u>statements.InvokeMethod.<u></u>evaluate(InvokeMethod.java:20)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunBefores.<u></u>evaluate(RunBefores.java:28)<br>
at<br>
org.junit.internal.runners.<u></u>statements.RunAfters.evaluate(<u></u>RunAfters.java:30)<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(<u></u>BlockJUnit4ClassRunner.java:<u></u>68)<br>
at<br>
org.junit.runners.<u></u>BlockJUnit4ClassRunner.<u></u>runChild(<u></u>BlockJUnit4ClassRunner.java:<u></u>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 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:471)<br>
at 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.java:1110)<br>
at<br>
java.util.concurrent.<u></u>ThreadPoolExecutor$Worker.run(<u></u>ThreadPoolExecutor.java:603)<br>
at java.lang.Thread.run(Thread.<u></u>java:722)<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Apr 16, 2013 at 1:56 PM, Harris, Carl <<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a><br></div></div>
<mailto:<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a>><<u></u>mailto:<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a><div><div class="h5"><br>
<mailto:<a href="mailto:ceharris@vt.edu" target="_blank">ceharris@vt.edu</a>>>> wrote:<br>
Broc,<br>
<br>
Would you please send the surefire-report for the test<br>
<a href="http://ch.qos.logback.core.net" target="_blank">ch.qos.logback.core.net</a>.<u></u>SocketConnectorBaseTest,<br>
so I can take a look to see where/why it is failing?<br>
<br>
logback-core/target/surefire-<u></u>reports/ch.qos.logback.core.<u></u>net.SocketConnectorBaseTest.<u></u>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,<br>
56e8ab2192697bc27a8cfbd8441db6<u></u>2aff53e87c but I think there is a<br>
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/<u></u>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 56e8ab2192697bc27a8cfbd8441db6<u></u>2aff53e87c<br>
Merge: 2ff61c7 513e380<br>
Author: Ceki Gulcu <<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>><mailto:<a href="mailto:ceki@qos.ch" target="_blank">ce<u></u>ki@qos.ch</a><br></div></div>
<mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>><mailto:<a href="mailto:ceki@qos.ch" target="_blank">c<u></u>eki@qos.ch</a><div class="im"><br>
<mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch" target="_blank">ce<u></u>ki@qos.ch</a> <mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>>>><br>
</div><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<br>
ch.qos.logback.core.joran.<u></u>conditional.<u></u>IfThenElseAndIncludeCompositio<u></u>nTest<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:<br>
0.635 sec<br>
includeNestedWithinIf(ch.qos.<u></u>logback.core.joran.<u></u>conditional.<u></u>IfThenElseAndIncludeCompositio<u></u>nTest)<br>
Time elapsed: 0.635 sec<br>
<br>
Results :<br>
<br>
Failed tests:<br>
testConnectionFails(ch.qos.<u></u><a href="http://logback.core.net" target="_blank">logback.core.net</a>.<u></u>SocketConnectorBaseTest)<br>
<br>
lossyAppenderShouldOnlyLooseCe<u></u>rtainEvents(ch.qos.logback.<u></u>core.AsyncAppenderBaseTest):<br>
expected:<8> but was:<10><br>
<br>
Tests run: 424, Failures: 2, Errors: 0, Skipped: 6<br>
<br>
[INFO]<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
[INFO] Reactor Summary:<br>
[INFO]<br>
[INFO] Logback-Parent ..............................<u></u>...... SUCCESS<br>
[0.244s]<br>
[INFO] Logback Core Module ..............................<u></u>. FAILURE<br>
[27.251s]<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: 28.014s<br>
[INFO] Finished at: Tue Apr 16 12:51:50 EDT 2013<br>
[INFO] Final Memory: 28M/308M<br>
[INFO]<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
[ERROR] Failed to execute goal<br>
org.apache.maven.plugins:<u></u>maven-surefire-plugin:2.12.4:<u></u>test<br>
(default-test) on project logback-core: There are test failures.<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Apr 16, 2013 at 12:42 PM, ceki <<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>><mailto:<a href="mailto:ceki@qos.ch" target="_blank">ce<u></u>ki@qos.ch</a><br></div></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">c<u></u>eki@qos.ch</a><br>
<mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>><mailto:<a href="mailto:ceki@qos.ch" target="_blank">ce<u></u>ki@qos.ch</a> <mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>>>> wrote:<br>
<br></div><div><div class="h5">
I am hoping that commit [1] should make the test failures in<br>
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><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_<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<br>
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<br>
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<br>
org.junit.runners.<u></u>ParentRunner.access$000(<u></u>ParentRunner.java:50)<br>
at<br>
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:<br>
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:<br>
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<br>
[0.338s]<br>
[INFO] Logback Core Module ..............................<u></u>. FAILURE<br>
[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<br>
failures.<br>
</div></div></blockquote>
<br><div class="im">
<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>
</div><a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-dev</a><br>
</blockquote></div><br></div></div>