maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hudson <Hud...@sonatype.org>
Subject Build failed in Hudson: Archetype #36
Date Mon, 23 Jun 2008 18:48:18 GMT
See http://ci.sonatype.org/job/Archetype/36/changes

Changes:

[rafale] When the archetypeCatalog property is defined with catalogURL starting with file://
of http://, the archetype repository for an archetype selected in such a catalog is the one
defined in the archetype or the archetype's location.
It is first the one defined in the catalog or central for the other options.

[rafale] Fix for archetype-186

------------------------------------------
[...truncated 1776 lines...]
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	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:324)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	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:324)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Running org.apache.maven.archetype.test.ArchetyperRoundtripTest
2008-06-23 13:48:06.623::INFO:  jetty-6.1.4
2008-06-23 13:48:06.628::INFO:  Extract jar:http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/repository-webapp/cargocpc.war!/
 to /tmp/Jetty_0_0_0_0_18881_cargocpc.war__cargocpc__-40pz0h/webapp
2008-06-23 13:48:06.639::INFO:  NO JSP Support for /cargocpc, did not find org.apache.jasper.servlet.JspServlet
2008-06-23 13:48:06.648::INFO:  Started SelectChannelConnector@0.0.0.0:18881
2008-06-23 13:48:09.744::INFO:  Extract jar:http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/wars/archetype-repository.war!/
 to /tmp/Jetty_0_0_0_0_18881_archetype-repository.war__repo__4xtwz7/webapp
2008-06-23 13:48:09.772::INFO:  NO JSP Support for /repo, did not find org.apache.jasper.servlet.JspServlet
2008-06-23 13:48:09.882:/repo:INFO:  Repository Servlet: Requested file = /repo/dummy
Requested file = /repo/dummy
2008-06-23 13:48:09.883:/repo:INFO:  Repository Servlet: Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/dummy

Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/dummy

2008-06-23 13:48:09.883:/repo:INFO:  Repository Servlet: Getting file
Getting file
2008-06-23 13:48:09.884:/repo:INFO:  Repository Servlet: File sent
File sent
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
2008-06-23 13:48:09.981:/repo:INFO:  Repository Servlet: Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar
Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar
2008-06-23 13:48:09.981:/repo:INFO:  Repository Servlet: Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar

Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar

2008-06-23 13:48:09.981:/repo:INFO:  Repository Servlet: Getting file
Getting file
2008-06-23 13:48:09.982:/repo:INFO:  Repository Servlet: File sent
File sent
2008-06-23 13:48:09.986:/repo:INFO:  Repository Servlet: Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1
Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1
2008-06-23 13:48:09.987:/repo:INFO:  Repository Servlet: Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1

Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1

2008-06-23 13:48:09.987:/repo:INFO:  Repository Servlet: Getting file
Getting file
2008-06-23 13:48:09.987:/repo:WARN:  Repository Servlet: Requested file not found 
java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1
 (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.maven.archetype.repository.RepositoryServlet.service(RepositoryServlet.java:103)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:295)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Requested file not found java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1
 (No such file or directory)
java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.sha1
 (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.maven.archetype.repository.RepositoryServlet.service(RepositoryServlet.java:103)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:295)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
2008-06-23 13:48:09.993:/repo:INFO:  Repository Servlet: Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5
Requested file = /repo//org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5
2008-06-23 13:48:09.994:/repo:INFO:  Repository Servlet: Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5

Complete file path = http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5

2008-06-23 13:48:09.994:/repo:INFO:  Repository Servlet: Getting file
Getting file
2008-06-23 13:48:09.994:/repo:WARN:  Repository Servlet: Requested file not found 
java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5
 (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.maven.archetype.repository.RepositoryServlet.service(RepositoryServlet.java:103)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:295)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Requested file not found java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5
 (No such file or directory)
java.io.FileNotFoundException: http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar.md5
 (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.maven.archetype.repository.RepositoryServlet.service(RepositoryServlet.java:103)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:295)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar
- IGNORING
content=package com.mycompany.myapp;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        //A   #\{some}
        //B   #{some}
        //F   {some}
        //C   #{some other}
        //D   ${symbol_pound}{some other}
        //E   #{}
        /*
        A   #\{some}
        B   #{some}
        F   {some}
        C   #{some other}
        D   ${symbol_pound}{some other}
        E   #{}
         */
    }
}

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.749 sec
Running org.apache.maven.archetype.repositorycrawler.DefaultRepositoryCrawlerTest
crawl
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-1/1.0/test-project-1-1.0.jar

[INFO] 	Archetype [org.apache.maven.test:test-project-1:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/org/apache/maven/test/test-project-2/1.0/test-project-2-1.0.jar

[INFO] 	Archetype [org.apache.maven.test:test-project-2:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/archetypes/basic/1.0/basic-1.0.jar

[INFO] 	Archetype [archetypes:basic:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/archetypes/fileset/1.0/fileset-1.0.jar

[INFO] 	Archetype [archetypes:fileset:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/archetypes/site/1.0/site-1.0.jar

[INFO] 	Archetype [archetypes:site:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/archetypes/old/1.0/old-1.0.jar

[INFO] 	Archetype [archetypes:old:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/archetypes/partial/1.0/partial-1.0.jar

[INFO] 	Archetype [archetypes:partial:1.0] defined by repository path
[INFO] Scanning http://ci.sonatype.org/job/Archetype/ws/trunk/archetype-common/target/test-classes/repositories/central/com/company/proficio/proficio/1.0-SNAPSHOT/proficio-1.0-SNAPSHOT.jar

[INFO] 	Archetype [com.company.proficio:proficio:1.0-SNAPSHOT] defined by repository path
result = [[org.apache.maven.test:test-project-1:1.0], [org.apache.maven.test:test-project-2:1.0],
[archetypes:basic:1.0], [archetypes:fileset:1.0], [archetypes:site:1.0], [archetypes:old:1.0],
[archetypes:partial:1.0], [com.company.proficio:proficio:1.0-SNAPSHOT]]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
Running org.apache.maven.archetype.source.CatalogArchetypeDataSinkTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec
Running org.apache.maven.archetype.creator.DefaultArchetypeCreatorTest
testCreateFilesetArchetype
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec

Results :

Failed tests: 
  testArchetyper(org.apache.maven.archetype.test.RoundtripMultiModuleTest)

Tests run: 32, Failures: 1, Errors: 0, Skipped: 0

2008-06-23 13:48:12.585::INFO:  Shutdown hook executing
2008-06-23 13:48:12.585::INFO:  Shutdown hook complete
2008-06-23 13:48:13.588::INFO:  Shutdown hook complete
2008-06-23 13:48:14.590::INFO:  Shutdown hook complete
2008-06-23 13:48:15.592::INFO:  Shutdown hook complete
2008-06-23 13:48:16.498::INFO:  Shutdown hook complete
2008-06-23 13:48:17.500::INFO:  Shutdown hook complete
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	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:324)
	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:425)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 22 seconds
[INFO] Finished at: Mon Jun 23 13:48:18 CDT 2008
[INFO] Final Memory: 48M/63M
[INFO] ------------------------------------------------------------------------


Mime
View raw message