commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: [continuum] BUILD FAILURE: Commons IO
Date Wed, 23 Apr 2008 13:36:12 GMT

--- Niall Pemberton <niall.pemberton@gmail.com> wrote:

> On Tue, Apr 22, 2008 at 6:48 PM, Matt Benson
> <gudnabrsam@yahoo.com> wrote:
> > Where can I go to see the specific details for the
> >  failed test?
> 
> http://tinyurl.com/6h75tg
> 
> This test has been failing randomly - i.e. sometimes
> is passes and
> sometimes fails on Continuum, also the point of
> failure is not always
> the same - since I added it. Haven't worked out why
> yet, 'coz it runs
> OK for me.

Don't you hate that?  Thanks for the clarification,
Niall.

-Matt

>  The current output (from that link) is
> below.
> 
> Tests run: 5, Failures: 2, Errors: 0, Skipped: 0,
> Time elapsed: 8.716
> sec <<< FAILURE!
>
testFileCreate(org.apache.commons.io.monitor.FilesystemObserverTestCase)
>  Time elapsed: 2.012 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: E[0 0 0 1 0
> 0]: No. of
> directories changed expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at
>
junit.framework.Assert.failNotEquals(Assert.java:282)
> 	at
> junit.framework.Assert.assertEquals(Assert.java:64)
> 	at
> junit.framework.Assert.assertEquals(Assert.java:201)
> 	at
>
org.apache.commons.io.monitor.FilesystemObserverTestCase.checkCollectionSizes(FilesystemObserverTestCase.java:424)
> 	at
>
org.apache.commons.io.monitor.FilesystemObserverTestCase.testFileCreate(FilesystemObserverTestCase.java:203)
> 
>
testFileDelete(org.apache.commons.io.monitor.FilesystemObserverTestCase)
>  Time elapsed: 0.969 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: E[0 0 0 0 0
> 1]: No. of
> directories changed expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at
>
junit.framework.Assert.failNotEquals(Assert.java:282)
> 	at
> junit.framework.Assert.assertEquals(Assert.java:64)
> 	at
> junit.framework.Assert.assertEquals(Assert.java:201)
> 	at
>
org.apache.commons.io.monitor.FilesystemObserverTestCase.checkCollectionSizes(FilesystemObserverTestCase.java:424)
> 	at
>
org.apache.commons.io.monitor.FilesystemObserverTestCase.testFileDelete(FilesystemObserverTestCase.java:324)
> 
> 
> 
> 
> 
> >  Thanks,
> >  Matt
> >
> >  --- Continuum VMBuild Server
> <continuum@apache.org>
> >  wrote:
> >
> >
> >
> >  > Online report :
> >  >
> > 
>
http://vmbuild.apache.org/continuum/buildResult.action?buildId=79718&projectId=155
> >  >
> >  > Build statistics:
> >  >   State: Failed
> >  >   Previous State: Ok
> >  >   Started at: Tue 22 Apr 2008 10:31:41 -0700
> >  >   Finished at: Tue 22 Apr 2008 10:32:32 -0700
> >  >   Total time: 50s
> >  >   Build Trigger: Schedule
> >  >   Build Number: 76
> >  >   Exit code: 1
> >  >   Building machine hostname: vmbuild.apache.org
> >  >   Operating system : Linux(unknown)
> >  >   Java Home version :
> >  >           java version "1.5.0_12"
> >  >           Java(TM) 2 Runtime Environment,
> Standard
> >  > Edition (build 1.5.0_12-b04)
> >  >           Java HotSpot(TM) Client VM (build
> >  > 1.5.0_12-b04, mixed mode, sharing)
> >  >
> >  >   Builder version :
> >  >           Maven version: 2.0.7
> >  >           Java version: 1.5.0_12
> >  >           OS name: "linux" version:
> >  > "2.6.20-16-server" arch: "i386"
> >  >
> >  >
> > 
>
****************************************************************************
> >  > SCM Changes:
> >  >
> > 
>
****************************************************************************
> >  > Changed: mbenson @ Tue 22 Apr 2008 10:15:01
> -0700
> >  > Comment: [IO-164] change test case setup to
> work
> >  > around apparent Java bug on OS X
> >  > Files changed:
> >  >
> >  >
> > 
>
/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
> >  > ( 650580 )
> >  >
> >  >
> > 
>
****************************************************************************
> >  > Dependencies Changes:
> >  >
> > 
>
****************************************************************************
> >  > No dependencies changed
> >  >
> >  >
> >  >
> > 
>
****************************************************************************
> >  > Build Defintion:
> >  >
> > 
>
****************************************************************************
> >  > POM filename: pom.xml
> >  > Goals: clean deploy
> >  > Arguments: --batch-mode
> >  >
> > 
>
-DaltDeploymentRepository=vmbuild.repo::default::file://localhost/home/continuum/data/commons
> >  > -Pci
> >  > Build Fresh: false
> >  > Always Build: false
> >  > Default Build Definition: true
> >  > Schedule: COMMONS_SCHEDULE
> >  > Profile Name: Java 5
> >  > Description:
> >  >
> >  >
> >  >
> > 
>
****************************************************************************
> >  > Test Summary:
> >  >
> > 
>
****************************************************************************
> >  > Tests: 500
> >  > Failures: 2
> >  > Total time: 28246
> >  >
> >  >
> > 
>
****************************************************************************
> >  > Output:
> >  >
> > 
>
****************************************************************************
> >  > [INFO] Scanning for projects...
> >  > [INFO]
> >  >
> > 
>
----------------------------------------------------------------------------
> >  > [INFO] Building Commons IO
> >  > [INFO]    task-segment: [clean, deploy]
> >  > [INFO]
> >  >
> > 
>
----------------------------------------------------------------------------
> >  > [INFO] [clean:clean]
> >  > [INFO] Deleting directory
> >  >
> /home/continuum/data/working-directory/155/target
> >  > [INFO] Deleting directory
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/classes
> >  > [INFO] Deleting directory
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/test-classes
> >  > [INFO] Deleting directory
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/site
> >  > [INFO] [antrun:run {execution:
> javadoc.resources}]
> >  > [INFO] Executing tasks
> >  >      [copy] Copying 2 files to
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/apidocs/META-INF
> >  > [INFO] Executed tasks
> >  > [INFO] [resources:resources]
> >  > [INFO] Using default encoding to copy filtered
> >  > resources.
> >  > [INFO] [compiler:compile]
> >  > [INFO] Compiling 78 source files to
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/classes
> >  > [INFO] [bundle:manifest {execution:
> >  > bundle-manifest}]
> >  > [INFO] [resources:testResources]
> >  > [INFO] Using default encoding to copy filtered
> >  > resources.
> >  > [INFO] [compiler:testCompile]
> >  > [INFO] Compiling 67 source files to
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/test-classes
> >  > [INFO] [surefire:test]
> >  > [INFO] Surefire report directory:
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/surefire-reports
> >  >
> >  >
> > 
>
-------------------------------------------------------
> >  >  T E S T S
> >  >
> > 
>
-------------------------------------------------------
> >  > Running
> org.apache.commons.io.output.NullWriterTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.078 sec
> >  > Running
> >  >
> org.apache.commons.io.output.ClosedOutputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.011 sec
> >  > Running
> org.apache.commons.io.FilenameUtilsTestCase
> >  > Tests run: 27, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.483 sec
> >  > Running org.apache.commons.io.CopyUtilsTest
> >  > Tests run: 8, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.023 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.output.FileWriterWithEncodingTest
> >  > Tests run: 6, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.331 sec
> >  > Running
> org.apache.commons.io.LineIteratorTestCase
> >  > Tests run: 12, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.045 sec
> >  > Running
> >  > org.apache.commons.io.FileUtilsWaitForTestCase
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 5.859 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.filefilter.RegexFileFilterTestCase
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.028 sec
> >  > Running org.apache.commons.io.FileUtilsTestCase
> >  > Tests run: 80, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 2.626 sec
> >  > Running
> >  > org.apache.commons.io.input.TeeInputStreamTest
> >  > Tests run: 7, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.01 sec
> >  > Running
> org.apache.commons.io.FileCleanerTestCase
> >  > Tests run: 9, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 1.687 sec
> >  > Running
> >  >
> org.apache.commons.io.input.CountingInputStreamTest
> >  > Tests run: 10, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.073 sec
> >  > Running org.apache.commons.io.IOUtilsTestCase
> >  > Tests run: 18, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.076 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.output.CloseShieldOutputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.006 sec
> >  > Running
> org.apache.commons.io.input.NullReaderTest
> >  > Tests run: 6, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.008 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.filefilter.OrFileFilterTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.017 sec
> >  > Running
> >  >
> org.apache.commons.io.FileDeleteStrategyTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.007 sec
> >  > Running
> >  >
> org.apache.commons.io.output.LockableFileWriterTest
> >  > Tests run: 7, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.016 sec
> >  > Running
> >  > org.apache.commons.io.DirectoryWalkerTestCase
> >  > Tests run: 14, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.201 sec
> >  > Running
> >  >
> org.apache.commons.io.output.TeeOutputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.011 sec
> >  > Running
> >  >
> org.apache.commons.io.input.CharSequenceReaderTest
> >  > Tests run: 7, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.018 sec
> >  > Running
> >  >
> org.apache.commons.io.FilenameUtilsWildcardTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.011 sec
> >  > Running
> >  >
> org.apache.commons.io.output.NullOutputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.005 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.FileUtilsCleanDirectoryTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.105 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.SizeFileComparatorTest
> >  > Tests run: 4, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.016 sec
> >  > Running
> >  >
> org.apache.commons.io.input.AutoCloseInputStreamTest
> >  > Tests run: 4, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.012 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.LastModifiedFileComparatorTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 1.884 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.output.DeferredFileOutputStreamTest
> >  > Tests run: 10, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.013 sec
> >  > Running org.apache.commons.io.EndianUtilsTest
> >  > Tests run: 20, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.027 sec
> >  > Running
> org.apache.commons.io.IOUtilsWriteTestCase
> >  > Tests run: 53, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.108 sec
> >  > Running org.apache.commons.io.HexDumpTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.028 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.input.ClassLoaderObjectInputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.009 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.output.ByteArrayOutputStreamTestCase
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.006 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.output.CountingOutputStreamTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.051 sec
> >  > Running
> >  >
> org.apache.commons.io.filefilter.FileFilterTestCase
> >  > Tests run: 28, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 2.095 sec
> >  > Running
> >  > org.apache.commons.io.input.NullInputStreamTest
> >  > Tests run: 6, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.011 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.ExtensionFileComparatorTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.008 sec
> >  > Running org.apache.commons.io.IOCaseTestCase
> >  > Tests run: 15, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.022 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.input.CloseShieldInputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.005 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.NameFileComparatorTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.005 sec
> >  > Running
> >  >
> org.apache.commons.io.FileUtilsListFilesTestCase
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.013 sec
> >  > Running
> >  >
> org.apache.commons.io.FileCleaningTrackerTestCase
> >  > Tests run: 9, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 2.685 sec
> >  > Running
> >  >
> org.apache.commons.io.FileUtilsFileNewerTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.036 sec
> >  > Running org.apache.commons.io.DemuxTestCase
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.635 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.input.SwappedDataInputStreamTest
> >  > Tests run: 14, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.037 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.PathFileComparatorTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.031 sec
> >  > Running
> org.apache.commons.io.IOUtilsCopyTestCase
> >  > Tests run: 22, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.112 sec
> >  > Running
> >  >
> org.apache.commons.io.IOExceptionWithCauseTestCase
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.003 sec
> >  > Running
> >  > org.apache.commons.io.FileSystemUtilsTestCase
> >  > Tests run: 27, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.089 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.monitor.FilesystemObserverTestCase
> >  > Tests run: 5, Failures: 2, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 8.716 sec <<< FAILURE!
> >  > Running
> >  >
> > 
>
org.apache.commons.io.filefilter.AndFileFilterTestCase
> >  > Tests run: 5, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.021 sec
> >  > Running
> >  >
> org.apache.commons.io.output.StringBuilderWriterTest
> >  > Tests run: 12, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.007 sec
> >  > Running
> >  >
> > 
>
org.apache.commons.io.comparator.DefaultFileComparatorTest
> >  > Tests run: 2, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.004 sec
> >  > Running
> >  >
> org.apache.commons.io.input.ClosedInputStreamTest
> >  > Tests run: 1, Failures: 0, Errors: 0, Skipped:
> 0,
> >  > Time elapsed: 0.003 sec
> >  >
> >  > Results :
> >  >
> >  > Failed tests:
> >  >
> >  >
> > 
>
testFileCreate(org.apache.commons.io.monitor.FilesystemObserverTestCase)
> >  >
> >  >
> > 
>
testFileDelete(org.apache.commons.io.monitor.FilesystemObserverTestCase)
> >  >
> >  > Tests run: 500, Failures: 2, Errors: 0,
> Skipped: 0
> >  >
> >  > [INFO]
> >  >
> > 
>
------------------------------------------------------------------------
> >  > [ERROR] BUILD FAILURE
> >  > [INFO]
> >  >
> > 
>
------------------------------------------------------------------------
> >  > [INFO] There are test failures.
> >  >
> >  > Please refer to
> >  >
> > 
>
/home/continuum/data/working-directory/155/target/surefire-reports
> >  > for the individual test results.
> >  > [INFO]
> >  >
> > 
>
------------------------------------------------------------------------
> >  > [INFO] For more information, run Maven with the
> -e
> >  > switch
> >  > [INFO]
> >  >
> > 
>
------------------------------------------------------------------------
> >  > [INFO] Total time: 46 seconds
> >  > [INFO] Finished at: Tue Apr 22 10:32:32 PDT
> 2008
> >  > [INFO] Final Memory: 12M/31M
> >  > [INFO]
> >  >
> > 
>
------------------------------------------------------------------------
> >  >
> >  >
> > 
>
****************************************************************************
> >  >
> >  >
> >  >
> >  >
> > 
>
---------------------------------------------------------------------
> >  > To unsubscribe, e-mail:
> >  > dev-unsubscribe@commons.apache.org
> >  > For additional commands, e-mail:
> >  > dev-help@commons.apache.org
> >  >
> >  >
> >
> >
> >
> >
> >      
>
____________________________________________________________________________________
> >  Be a better friend, newshound, and
> >  know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> >
> >
> > 
>
---------------------------------------------------------------------
> >  To unsubscribe, e-mail:
> dev-unsubscribe@commons.apache.org
> >  For additional commands, e-mail:
> dev-help@commons.apache.org
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@commons.apache.org
> For additional commands, e-mail:
> dev-help@commons.apache.org
> 
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message