[logback-dev] Build seems to be fixed.
Joern Huxhorn
jhuxhorn at googlemail.com
Mon Oct 31 00:00:33 CET 2011
Just got this one in Jenkins:
Stacktrace
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at ch.qos.logback.core.rolling.TimeBasedRolling_STest.zCheck(TimeBasedRolling_STest.scala:111)
at ch.qos.logback.core.rolling.TimeBasedRolling_STest$$anonfun$failed_rename$1.apply(TimeBasedRolling_STest.scala:192)
at ch.qos.logback.core.rolling.TimeBasedRolling_STest$$anonfun$failed_rename$1.apply(TimeBasedRolling_STest.scala:192)
at ch.qos.logback.core.rolling.TimeBasedRolling_STest.genericTest(TimeBasedRolling_STest.scala:91)
at ch.qos.logback.core.rolling.TimeBasedRolling_STest.failed_rename(TimeBasedRolling_STest.scala:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Standard Output
target/test-output/67797898/failed_rename.log src/test/witness/rolling/tbr-failed_renameFiles [target/test-output/67797898/failed_rename.log] and [src/test/witness/rolling/tbr-failed_rename] differ on line 1
One reads: [Hello---2].
Other reads:[Hello---0].
--------------------------------
Contents of target/test-output/67797898/failed_rename.log:
1 : Hello---2
--------------------------------
Contents of src/test/witness/rolling/tbr-failed_rename:
1 : Hello---0
2 : Hello---1
3 : Hello---2
19:27:11,007 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
19:27:11,007 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern target/test-output/67797898/failed_rename-%d{yyyy-MM-dd_HH_mm_ss} for the active file
19:27:11,008 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd_HH_mm_ss' from file name pattern 'target/test-output/67797898/failed_rename-%d{yyyy-MM-dd_HH_mm_ss}'.
19:27:11,008 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over every second.
19:27:11,008 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sun Oct 30 19:27:10 CET 2011
19:27:11,008 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - Active log file name: target/test-output/67797898/failed_rename.log
19:27:11,008 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - File property is set to [target/test-output/67797898/failed_rename.log]
19:27:11,008 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [target/test-output/67797898/failed_rename.log] to [target/test-output/67797898/failed_rename-2011-10-30_19_27_10]
19:27:11,009 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [target/test-output/67797898/failed_rename.log] to [target/test-output/67797898/failed_rename-2011-10-30_19_27_11]
On 29.10.2011, at 16:32, ceki wrote:
>
> Thanks Joern. There are still occasional build errors on heavily
> loaded or very slow machines but they occur less often than
> before. I'll have another go at the build after I build up the
> courage.
>
> On 29/10/2011 3:09 PM, Joern Huxhorn wrote:
>> Hi Ceki,
>>
>> just wanted to let you know that it appears like you really fixed the build/tests now.
>> No random build failures on our systems anymore, thumbs up.
>>
>> Cheers,
>> Joern.
>
>
> --
> Ceki
> http://twitter.com/#!/ceki
> _______________________________________________
> logback-dev mailing list
> logback-dev at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-dev
More information about the logback-dev
mailing list