This fails because of the EOL characters in the file src/test/org/apache/commons/compress/archivers/tar/data.txt in combination with having EOL-style set to "Native" in subversion.

The test checks the size (in bytes) of the file, but that number differs on Unix and Windows because of different EOL characters. The tests run fine on my Windows machine. I'm not sure how to fix this though.

[EMAIL PROTECTED] wrote:
Online report : http://vmbuild1.apache.org/continuum/buildResult.action?buildId=2233&projectId=176

Build statistics:
 State: Failed
 Previous State: Failed
 Started at: Thu 23 Aug 2007 07:34:14 -0700
 Finished at: Thu 23 Aug 2007 07:34:32 -0700
 Total time: 17s
 Build Trigger: Schedule
 Build Number: 0
 Exit code: 1
 Building machine hostname: vmbuild
 Operating system : Linux(unknown)
 Java Home version :          java version "1.4.2_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_15-b02)
         Java HotSpot(TM) Client VM (build 1.4.2_15-b02, mixed mode)
        Builder version :
         Maven version: 2.0.7
         Java version: 1.4.2_15
         OS name: "linux" version: "2.6.20-16-server" arch: "i386"
****************************************************************************
SCM Changes:
****************************************************************************
Changed: bayard @ Thu 23 Aug 2007 06:37:40 -0700
Comment: Changing name to 'Commons Xxx (Sandbox)'
Files changed:
 /commons/sandbox/compress/trunk/pom.xml ( 568978 )
 /commons/sandbox/csv/trunk/pom.xml ( 568978 )
 /commons/sandbox/exec/trunk/pom.xml ( 568978 )
 /commons/sandbox/finder/trunk/pom.xml ( 568978 )
 /commons/sandbox/i18n/trunk/pom.xml ( 568978 )
 /commons/sandbox/id/trunk/pom.xml ( 568978 )
 /commons/sandbox/javaflow/trunk/pom.xml ( 568978 )
 /commons/sandbox/js2j/trunk/pom.xml ( 568978 )
 /commons/sandbox/openpgp/trunk/pom.xml ( 568978 )
 /commons/sandbox/performance/trunk/pom.xml ( 568978 )
 /commons/sandbox/pipeline/trunk/pom.xml ( 568978 )
 /commons/sandbox/proxy/trunk/pom.xml ( 568978 )

****************************************************************************
Dependencies Changes:
****************************************************************************
No dependencies changed

****************************************************************************
Test Summary:
****************************************************************************
Tests: 26
Failures: 3
Total time: 7181

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Commons Compress (Sandbox)
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/continuum/data/working-directory/176/target
[INFO] Deleting directory /home/continuum/data/working-directory/176/target/classes [INFO] Deleting directory /home/continuum/data/working-directory/176/target/test-classes [INFO] Deleting directory /home/continuum/data/working-directory/176/target/site
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 34 source files to /home/continuum/data/working-directory/176/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 9 source files to /home/continuum/data/working-directory/176/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/continuum/data/working-directory/176/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.commons.compress.archivers.tar.TarTestCase
count = 134
ch2 = 51
ch = 49
Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec <<< FAILURE!
Running org.apache.commons.compress.archivers.zip.AsiExtraFieldTestCase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.commons.compress.archivers.zip.ExtraFieldUtilsTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.commons.compress.archivers.zip.ZipEntryTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.commons.compress.compressors.bzip2.BzipTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.089 sec
Running org.apache.commons.compress.CompressUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.commons.compress.archivers.zip.ZipLongTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.commons.compress.archivers.zip.ZipShortTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec

Results :

Failed tests: testReadPosixTar(org.apache.commons.compress.archivers.tar.TarTestCase)
 testReadGnuTar(org.apache.commons.compress.archivers.tar.TarTestCase)
 testWritePosixTar(org.apache.commons.compress.archivers.tar.TarTestCase)

Tests run: 26, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Aug 23 07:34:31 PDT 2007
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------

****************************************************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to