[logback-dev] [JIRA] Issue Comment Edited: (LBGENERAL-35) TimeBasedRollingWithArchiveRemovalTest failed
Joern Huxhorn (JIRA)
noreply-jira at qos.ch
Sat Nov 28 21:39:44 CET 2009
[ http://jira.qos.ch/browse/LBGENERAL-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11386#action_11386 ]
Joern Huxhorn edited comment on LBGENERAL-35 at 11/28/09 9:39 PM:
------------------------------------------------------------------
The following failure happens all the time with
http://github.com/ceki/logback/commit/843489d8a2aefa978f32c6ad9b9ed1596ec113c8
I don't know when this started. And since I don't know which file is supposedly missing I can't say if this is a bug in RFA or the test.
My config:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
Running on Mac OS X 10.6.2.
Failed tests:
montlyRolloverOverManyPeriods(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest)
The test prints the following (I added System.out of the files):
randomOutputDir=target/test-output/1917845623/
[target/test-output/1917845623/2013, target/test-output/1917845623/2013/01, target/test-output/1917845623/2013/01/clean.txt.zip, target/test-output/1917845623/2013/02, target/test-output/1917845623/2013/02/clean.txt.zip, target/test-output/1917845623/2013/03, target/test-output/1917845623/2013/03/clean.txt]
java.lang.AssertionError: expected:<8> but was:<7>
at org.junit.Assert.fail(Assert.java:74)
at org.junit.Assert.failNotEquals(Assert.java:448)
at org.junit.Assert.assertEquals(Assert.java:102)
at org.junit.Assert.assertEquals(Assert.java:323)
at org.junit.Assert.assertEquals(Assert.java:319)
at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.check(TimeBasedRollingWithArchiveRemovalTest.java:301)
at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.montlyRolloverOverManyPeriods(TimeBasedRollingWithArchiveRemovalTest.java:111)
was (Author: jhuxhorn):
The following failure happens all the time with
http://github.com/ceki/logback/commit/843489d8a2aefa978f32c6ad9b9ed1596ec113c8
I don't know when this started.
My config:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
Running on Mac OS X 10.6.2.
Failed tests:
montlyRolloverOverManyPeriods(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest)
The test prints the following (I added System.out of the files):
randomOutputDir=target/test-output/1917845623/
[target/test-output/1917845623/2013, target/test-output/1917845623/2013/01, target/test-output/1917845623/2013/01/clean.txt.zip, target/test-output/1917845623/2013/02, target/test-output/1917845623/2013/02/clean.txt.zip, target/test-output/1917845623/2013/03, target/test-output/1917845623/2013/03/clean.txt]
java.lang.AssertionError: expected:<8> but was:<7>
at org.junit.Assert.fail(Assert.java:74)
at org.junit.Assert.failNotEquals(Assert.java:448)
at org.junit.Assert.assertEquals(Assert.java:102)
at org.junit.Assert.assertEquals(Assert.java:323)
at org.junit.Assert.assertEquals(Assert.java:319)
at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.check(TimeBasedRollingWithArchiveRemovalTest.java:301)
at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.montlyRolloverOverManyPeriods(TimeBasedRollingWithArchiveRemovalTest.java:111)
> TimeBasedRollingWithArchiveRemovalTest failed
> ---------------------------------------------
>
> Key: LBGENERAL-35
> URL: http://jira.qos.ch/browse/LBGENERAL-35
> Project: logback-general
> Issue Type: Sub-task
> Affects Versions: 0.9.17
> Environment: Mac OSX
> Reporter: Ralph Goers
> Assignee: Logback dev list
>
> This is not a frequent occurence.
> -------------------------------------------------------------------------------
> Test set: ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.411 sec <<< FAILURE!
> montlyRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.114 sec
> montlyRolloverOverManyPeriods(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.253 sec
> dailyRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.058 sec
> dailyCronologRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.108 sec
> dailySizeBasedRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.454 sec
> dailyChronologSizeBasedRollover(ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest) Time elapsed: 0.417 sec <<< ERROR!
> java.util.concurrent.TimeoutException
> at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
> at java.util.concurrent.FutureTask.get(FutureTask.java:91)
> at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.doRollover(TimeBasedRollingWithArchiveRemovalTest.java:194)
> at ch.qos.logback.core.rolling.TimeBasedRollingWithArchiveRemovalTest.dailyChronologSizeBasedRollover(TimeBasedRollingWithArchiveRemovalTest.java:157)
> 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.internal.runners.TestMethod.invoke(TestMethod.java:59)
> at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
> at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
> at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
> at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
> at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
> at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
> at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
> at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
> at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
> at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
> at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list