archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Build fails on Linux 64Bit
Date Mon, 11 Dec 2006 12:34:05 GMT
We need the ChecksumArtifactReporterTest report saved in target/surefire-reports directory

Emmanuel

Ulrich Metzger a écrit :
> All i can say is, that the ChecksumArtifactReporterTest does not pass
> on a Linux 64Bit platform with JRockit JDK installed. I tryed to get
> mot information, but
> There is not much more information when running mvn with -X -e flag:
> 
> 
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running 
> org.apache.maven.archiva.reporting.processor.DependencyArtifactReportProcessorTest 
> 
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.739 sec
> Running 
> org.apache.maven.archiva.reporting.processor.OldArtifactReportProcessorTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
> Running 
> org.apache.maven.archiva.reporting.processor.InvalidPomArtifactReportProcessorTest 
> 
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
> Running 
> org.apache.maven.archiva.reporting.processor.OldSnapshotArtifactReportProcessorTest 
> 
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 sec
> Running 
> org.apache.maven.archiva.reporting.processor.LocationArtifactReportProcessorTest 
> 
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.53 sec
> Running 
> org.apache.maven.archiva.reporting.reporter.DefaultArtifactReporterTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.563 sec
> Running 
> org.apache.maven.archiva.reporting.processor.BadMetadataReportProcessorTest
> Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.73 sec
> Running 
> org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.281
> sec <<< FAILURE!
> Running 
> org.apache.maven.archiva.reporting.processor.DuplicateArtifactFileReportProcessorTest

> 
> artifact = groupId:artifactId:jar:1.0-alpha-1
> indexDirectory =
> /home/downloads/Apache-Archiva/trunk/archiva-reports-standard/target/indexDirectory 
> 
> artifact = groupId:artifactId:jar:1.0-alpha-1
> indexDirectory =
> /home/downloads/Apache-Archiva/trunk/archiva-reports-standard/target/indexDirectory 
> 
> artifact = groupId:artifactId:jar:1.0-alpha-1
> indexDirectory =
> /home/downloads/Apache-Archiva/trunk/archiva-reports-standard/target/indexDirectory 
> 
> artifact = groupId:artifactId:jar:1.0-alpha-1
> indexDirectory =
> /home/downloads/Apache-Archiva/trunk/archiva-reports-standard/target/indexDirectory 
> 
> artifact = groupId:artifactId:jar:1.0-alpha-1
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.899 sec
> 
> Results :
> Tests run: 72, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] 
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

> 
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>        at 
> jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown

> 
> Source)
>        at 
> java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava.lang.Object;(Unknown

> 
> Source)
>        at 
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test failures.
>        at 
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:403) 
> 
>        at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

> 
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

> 
>        ... 14 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 36 seconds
> [INFO] Finished at: Mon Dec 11 12:13:22 CET 2006
> [INFO] Final Memory: 37M/64M
> [INFO] 
> ------------------------------------------------------------------------
> 
> hope this will help to trace it down
> Uli
> 
> 
> 
> 
> 2006/12/7, Carlos Sanchez <carlos@apache.org>:
>> well, you'd need to post the test result
>>
>> On 12/7/06, Ulrich Metzger <ulrich@muehlgasse.de> wrote:
>> > There is at least one test which fails on Linux 64Bit with
>> > jrockit-R26.4.0-jdk1.5.0_06 JDK installed.
>> >
>> > Running 
>> org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest
>> > Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.261
>> > sec <<< FAILURE!
>> > Running 
>> org.apache.maven.archiva.reporting.processor.DuplicateArtifactFileReportProcessorTest

>>
>> > artifact = groupId:artifactId:jar:1.0-alpha-1
>> >
>> >
>> > On Windows the build passes. Does anyone know how to get this fixed?
>> >
>> > Uli
>> >
>>
>>
>> -- 
>> I could give you my word as a Spaniard.
>> No good. I've known too many Spaniards.
>>                              -- The Princess Bride
>>
> 
> 
> 


Mime
View raw message