maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Continuum@maven.zones.apache.org" <contin...@maven.zones.apache.org>
Subject [continuum] BUILD FAILURE: Archiva Base :: Configuration
Date Mon, 22 Oct 2007 13:10:12 GMT
Online report : http://maven.zones.apache.org/continuum/buildResult.action?buildId=29695&projectId=271

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Mon 22 Oct 2007 13:09:29 +0000
  Finished at: Mon 22 Oct 2007 13:10:09 +0000
  Total time: 40s
  Build Trigger: Schedule
  Build Number: 148
  Exit code: 1
  Building machine hostname: maven.zones.apache.org
  Operating system : SunOS(unknown)
  Java Home version : 
          java version "1.5.0_13"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
          Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode)
        
  Builder version :
          Maven version: 2.0.7
          Java version: 1.5.0_13
          OS name: "sunos" version: "5.10" arch: "x86"
    
****************************************************************************
SCM Changes:
****************************************************************************
Changed: brett @ Mon 22 Oct 2007 12:36:50 +0000
Comment: [MRM-546] re-enable tests that are passing
Files changed:
  /maven/archiva/trunk/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java
( 587070 )

****************************************************************************
Dependencies Changes:
****************************************************************************
org.apache.maven.archiva:archiva-common:1.0-beta-4-SNAPSHOT

org.apache.maven.archiva:archiva-xml-tools:1.0-beta-4-SNAPSHOT

org.apache.maven.archiva:archiva-policies:1.0-beta-4-SNAPSHOT

org.apache.maven.archiva:archiva-base:1.0-beta-4-SNAPSHOT


****************************************************************************
Build Defintion:
****************************************************************************
POM filename: pom.xml
Goals: clean install   
Arguments: --batch-mode --non-recursive
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: DEFAULT_SCHEDULE
Description: 


****************************************************************************
Test Summary:
****************************************************************************
Tests: 79
Failures: 1
Total time: 5759

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Archiva Base :: Configuration
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/271/target
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/271/target/classes
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/271/target/test-classes
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/271/target/site
[INFO] [modello:java {execution: default}]
[INFO] outputDirectory: /export/home/build/data/continuum/checkouts/271/target/generated-sources/modello
[INFO] Generating current version: 1.0.0
[INFO] [modello:registry-reader {execution: default}]
[INFO] outputDirectory: /export/home/build/data/continuum/checkouts/271/target/generated-sources/modello
[INFO] Generating current version: 1.0.0
[INFO] [modello:registry-writer {execution: default}]
[INFO] outputDirectory: /export/home/build/data/continuum/checkouts/271/target/generated-sources/modello
[INFO] Generating current version: 1.0.0
[INFO] [plexus:descriptor {execution: generate}]
[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'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] [compiler:compile]
[INFO] Compiling 33 source files to /export/home/build/data/continuum/checkouts/271/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 5 source files to /export/home/build/data/continuum/checkouts/271/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /export/home/build/data/continuum/checkouts/271/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.archiva.configuration.ConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.apache.maven.archiva.configuration.functors.RepositoryConfigurationComparatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.maven.archiva.configuration.MavenProxyPropertyLoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.361 sec
Running org.apache.maven.archiva.configuration.ArchivaConfigurationTest
[ERROR] Unable to create user configuration file: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/.m2/archiva-user.xml
(No such file or directory)
java.io.FileNotFoundException: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/.m2/archiva-user.xml
(No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:990)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.writeFile(DefaultArchivaConfiguration.java:334)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.createDefaultConfigurationFile(DefaultArchivaConfiguration.java:291)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.save(DefaultArchivaConfiguration.java:230)
	at org.apache.maven.archiva.configuration.ArchivaConfigurationTest.testLoadConfigurationFromInvalidBothLocationsOnDisk(ArchivaConfigurationTest.java:458)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[ERROR] Unable to create alternative configuration file: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/conf/archiva.xml
(No such file or directory)
java.io.FileNotFoundException: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/conf/archiva.xml
(No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:990)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.writeFile(DefaultArchivaConfiguration.java:334)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.createDefaultConfigurationFile(DefaultArchivaConfiguration.java:293)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.save(DefaultArchivaConfiguration.java:230)
	at org.apache.maven.archiva.configuration.ArchivaConfigurationTest.testLoadConfigurationFromInvalidBothLocationsOnDisk(ArchivaConfigurationTest.java:458)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[ERROR] Unable to create user configuration file: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/.m2/archiva-user.xml
(No such file or directory)
java.io.FileNotFoundException: /export/home/build/data/continuum/checkouts/271/target/*intentionally:invalid*/.m2/archiva-user.xml
(No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:990)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.writeFile(DefaultArchivaConfiguration.java:334)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.createDefaultConfigurationFile(DefaultArchivaConfiguration.java:291)
	at org.apache.maven.archiva.configuration.DefaultArchivaConfiguration.save(DefaultArchivaConfiguration.java:230)
	at org.apache.maven.archiva.configuration.ArchivaConfigurationTest.testLoadConfigurationFromInvalidUserLocationOnDisk(ArchivaConfigurationTest.java:476)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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:585)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.388 sec <<< FAILURE!
Running org.apache.maven.archiva.configuration.functors.ProxyConnectorConfigurationOrderComparatorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec

Results :
Tests run: 30, Failures: 1, 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: 38 seconds
[INFO] Finished at: Mon Oct 22 13:10:09 GMT+00:00 2007
[INFO] Final Memory: 21M/331M
[INFO] ------------------------------------------------------------------------

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



Mime
View raw message