archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Building Archiva 1.4-M2-RC
Date Wed, 20 Jun 2012 21:11:43 GMT
We'd need to look at each problem you've cited individually - we haven't seen these. In the
case of the test failures, the failure from target/surefire-reports would be needed.

Here is the CI job closest to your config: https://builds.apache.org/job/archiva-all-maven-3.x-jdk-1.7/865/

(There is one very recent failing test, but it's in a different module to that you'd described).

- Brett

On 21/06/2012, at 6:31 AM, Guillaume Yziquel wrote:

> Hello.
> 
> I'm currently trying to compile Archiva from source. If that matters, my
> system is a Debian-distributed OpenJDK7 on the armv5tel architecture.
> 
> I have first tried compiling from the current head (trunk branch in the
> apache git repository) and it's been failing for various reasons (maven
> timeouts, missing dependencies on redback, failing unit tests, failure
> to compile with Dmaven.test.skip=true as some jcr-metadata maven project
> depends on some jar packaged with test-jar goal of maven-jar plugin),
> but nothing deterministic.
> 
> I have therefore attempted to checkout the 1.4-M2-RC branch and compile
> it, but I keep running in the same kind of issues. (see below, and all
> apologies for the poor formatting).
> 
> What's the most straightforward way to get a relatively recent version
> of Apache Archiva to compile from source?
> 
> Best regards,
> 
>     Guillaume Yziquel
> 
> 
> ----------------------------------------------------------------------
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Archiva Base :: Configuration 1.4-M3-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> archiva-configuration ---
> [INFO] Deleting
> /home/yziquel/store/git/apache/archiva/archiva-modules/archiva-base/arc
> hiva-configuration/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @
> archiva-configuration ---
> [INFO] 
> [INFO] --- modello-maven-plugin:1.0:java (default) @
> archiva-configuration ---
> [INFO] outputDirectory:
> /home/yziquel/store/git/apache/archiva/archiva-modules/archiva-
> base/archiva-configuration/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/configuration.mdo
> [WARNING] attribute 'java.adder' for field element is deprecated: it
> should be moved to
> association
> [WARNING] attribute 'java.generate-create' for association element is
> deprecated: it ha
> s been renamed to 'java.bidi'
> [WARNING] attribute 'java.generate-break' for association element is
> deprecated: it has
> been renamed to 'java.bidi'
> [INFO] Generating current version: 1.4.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.0:generate (archiva-registry-reader) @
> archiva-config
> uration ---
> [INFO] [modello:generate {generator: registry-reader}]
> [INFO] outputDirectory:
> /home/yziquel/store/git/apache/archiva/archiva-modules/archiva-
> base/archiva-configuration/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/configuration.mdo
> [WARNING] attribute 'java.adder' for field element is deprecated: it
> should be moved to
> association
> [WARNING] attribute 'java.generate-create' for association element is
> deprecated: it ha
> s been renamed to 'java.bidi'
> [WARNING] attribute 'java.generate-break' for association element is
> deprecated: it has
> been renamed to 'java.bidi'
> [INFO] Generating current version: 1.4.0
> [INFO] 
> [INFO] --- modello-maven-plugin:1.0:generate (archiva-registry-writer) @
> archiva-config
> uration ---
> [INFO] [modello:generate {generator: registry-writer}]
> [INFO] outputDirectory:
> /home/yziquel/store/git/apache/archiva/archiva-modules/archiva-
> base/archiva-configuration/target/generated-sources/modello
> [INFO] Working on model: src/main/mdo/configuration.mdo
> [WARNING] attribute 'java.adder' for field element is deprecated: it
> should be moved to
> association
> [WARNING] attribute 'java.generate-create' for association element is
> deprecated: it ha
> s been renamed to 'java.bidi'
> [WARNING] attribute 'java.generate-break' for association element is
> deprecated: it has
> been renamed to 'java.bidi'
> [INFO] Generating current version: 1.4.0
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @
> archiva-configuration 
> ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> archiva-configura
> tion ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> archiva-configuratio
> n ---
> [INFO] Compiling 36 source files to
> /home/yziquel/store/git/apache/archiva/archiva-modu
> les/archiva-base/archiva-configuration/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources) @ archiva-c
> onfiguration ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
> @ archiva-conf
> iguration ---
> [INFO] Compiling 7 source files to
> /home/yziquel/store/git/apache/archiva/archiva-modul
> es/archiva-base/archiva-configuration/target/test-classes
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.11:test (default-test) @
> archiva-configuration ---
> [INFO] Surefire report directory:
> /home/yziquel/store/git/apache/archiva/archiva-module
> s/archiva-base/archiva-configuration/target/surefire-reports
> 
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.archiva.configuration.ArchivaConfigurationTest
> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.055
> sec <<< FAILURE
> !
> Running org.apache.archiva.configuration.ConfigurationTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041
> sec
> Running org.apache.archiva.configuration.FileTypesTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.616
> sec
> Running org.apache.archiva.configuration.LegacyArtifactPathTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017
> sec
> Running org.apache.archiva.configuration.MavenProxyPropertyLoaderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043
> sec
> Running
> org.apache.archiva.configuration.functors.ProxyConnectorConfigurationOrderCompa
> ratorTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068
> sec
> Running
> org.apache.archiva.configuration.functors.RepositoryConfigurationComparatorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023
> sec
> 52454 [Thread-3] INFO
> org.springframework.context.support.GenericApplicationContext - C
> losing
> org.springframework.context.support.GenericApplicationContext@11ecc13:
> startup d
> ate [Wed Jun 20 18:10:16 CEST 2012]; root of context hierarchy
> 52468 [Thread-0] INFO
> org.springframework.context.support.GenericApplicationContext - C
> losing
> org.springframework.context.support.GenericApplicationContext@8a5ff0:
> startup da
> te [Wed Jun 20 18:09:36 CEST 2012]; root of context hierarchy
> 52477 [Thread-3] INFO
> org.springframework.beans.factory.support.DefaultListableBeanFact
> ory - Destroying singletons in
> org.springframework.beans.factory.support.DefaultListabl
> eBeanFactory@6bc023: defining beans
> [org.springframework.context.annotation.internalCon
> figurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredA
> nnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationPro
> cessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,fileTyp
> es,archivaConfiguration#default,commons-configuration,componentContainer,org.springfram
> ework.beans.factory.config.PropertyPlaceholderConfigurer#0,preDownloadPolicy#cache-fail
> ures,postDownloadPolicy#checksum,downloadErrorPolicy#propagate-errors,downloadErrorPoli
> cy#propagate-errors-on-update,preDownloadPolicy#releases,preDownloadPolicy#snapshots,ur
> lFailureCache,url-failures-cache,defaultCacheBuilder]; root of factory
> hierarchy
> 52485 [Thread-3] INFO org.codehaus.plexus.cache.ehcache.EhcacheCache -
> Disposing cache:
> [ name = url-failures-cache status = STATUS_ALIVE eternal = false
> overflowToDisk = fal
> se maxElementsInMemory = 1000 maxElementsOnDisk = 0
> memoryStoreEvictionPolicy = LRU tim
> eToLiveSeconds = 1800 timeToIdleSeconds = 2700 diskPersistent = true
> diskExpiryThreadIn
> tervalSeconds = 600 cacheEventListeners:
> net.sf.ehcache.statistics.LiveCacheStatisticsW
> rapper  hitCount = 0 memoryStoreHitCount = 0 diskStoreHitCount = 0
> missCountNotFound = 
> 0 missCountExpired = 0 overflowToOffHeap = false maxMemoryOffHeap = null
> ]
> 52501 [Thread-0] INFO
> org.springframework.beans.factory.support.DefaultListableBeanFact
> ory - Destroying singletons in
> org.springframework.beans.factory.support.DefaultListabl
> eBeanFactory@58eeec: defining beans
> [org.springframework.context.annotation.internalCon
> figurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredA
> nnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationPro
> cessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,fileTyp
> es,archivaConfiguration#default,commons-configuration,componentContainer,org.springfram
> ework.beans.factory.config.PropertyPlaceholderConfigurer#0,preDownloadPolicy#cache-fail
> ures,postDownloadPolicy#checksum,downloadErrorPolicy#propagate-errors,downloadErrorPoli
> cy#propagate-errors-on-update,preDownloadPolicy#releases,preDownloadPolicy#snapshots,ur
> lFailureCache,url-failures-cache,defaultCacheBuilder,org.springframework.beans.factory.
> config.PropertyPlaceholderConfigurer#1,archivaConfiguration#test-defaults-default-repo-
> location-exists,archivaConfiguration#test-defaults,registry#empty,archivaConfiguration#
> test-upgrade-09,registry#test-upgrade-09,archivaConfiguration#test-upgrade-1.3,registry
> #test-upgrade-1.3,archivaConfiguration#test-configuration,registry#configured,archivaCo
> nfiguration#test-autodetect-v1,registry#test-autodetect-v1,archivaConfiguration#test-ar
> chiva-v1,registry#test-archiva-v1,archivaConfiguration#test-save,registry#test-save,arc
> hivaConfiguration#test-save-user-defaults,registry#test-save-user-defaults,archivaConfi
> guration#test-save-user-fallback,registry#test-save-user-fallback,archivaConfiguration#
> test-save-user,registry#test-save-user,archivaConfiguration#test-configuration-both,reg
> istry#test-configuration-both,archivaConfiguration#test-read-saved,registry#test-read-s
> aved,archivaConfiguration#test-cron-expressions,registry#test-cron-expressions,archivaC
> onfiguration#test-remove-central,registry#test-remove-central,archivaConfiguration#test
> -not-allowed-to-write-to-both,registry#test-not-allowed-to-write-to-both,archivaConfigu
> ration#test-not-allowed-to-write-to-user,registry#test-not-allowed-to-write-to-user,cac
> he#url-failures-cache]; root of factory hierarchy
> 52578 [Thread-0] INFO org.codehaus.plexus.cache.ehcache.EhcacheCache -
> Disposing cache:
> [ name = url-failures-cache status = STATUS_ALIVE eternal = false
> overflowToDisk = fal
> se maxElementsInMemory = 1000 maxElementsOnDisk = 0
> memoryStoreEvictionPolicy = LRU tim
> eToLiveSeconds = 1800 timeToIdleSeconds = 2700 diskPersistent = true
> diskExpiryThreadIn
> tervalSeconds = 600 cacheEventListeners:  hitCount = 0
> memoryStoreHitCount = 0 diskStor
> eHitCount = 0 missCountNotFound = 0 missCountExpired = 0
> overflowToOffHeap = false maxM
> emoryOffHeap = null ]
> 
> Results :
> 
> Failed tests:
> testGetConfigurationFromRegistryWithASingleNamedConfigurationResource(o
> rg.apache.archiva.configuration.ArchivaConfigurationTest): check
> appletFindEnabled
> 
> Tests run: 38, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Archiva .................................... SUCCESS
> [2:10.198s]
> [INFO] Archiva :: Documentation Skin ..................... SUCCESS
> [50.620s]
> [INFO] Archiva :: Modules ................................ SUCCESS
> [1.149s]
> [INFO] Archiva Base ...................................... SUCCESS
> [1.133s]
> [INFO] Archiva Base :: Repository Admin .................. SUCCESS
> [1.146s]
> [INFO] Archiva Base :: Repository Admin Api .............. SUCCESS
> [3:21.728s]
> [INFO] Archiva Base :: Common ............................ SUCCESS
> [1:36.824s]
> [INFO] Archiva Base :: Consumers ......................... SUCCESS
> [1.173s]
> [INFO] Archiva Base :: Consumers :: API .................. SUCCESS
> [46.793s]
> [INFO] Archiva Base :: Checksum .......................... SUCCESS
> [54.427s]
> [INFO] Archiva Base :: Policies .......................... SUCCESS
> [2:31.673s]
> [INFO] Archiva Base :: Configuration ..................... FAILURE
> [36:53.455s]
> [INFO] Archiva Base :: Repository Scanner ................ SKIPPED
> [INFO] Archiva Metadata .................................. SKIPPED
> [INFO] Archiva Metadata :: Model ......................... SKIPPED
> [INFO] Archiva Metadata :: Repository API ................ SKIPPED
> [INFO] Archiva Base :: Consumers :: Metadata ............. SKIPPED
> [INFO] Archiva Base :: Plexus Bridge ..................... SKIPPED
> [INFO] Archiva Base ::  Transactions ..................... SKIPPED
> [INFO] Archiva Artifact Converter ........................ SKIPPED
> [INFO] Archiva Base :: Model ............................. SKIPPED
> [INFO] Archiva Base :: XML Tools ......................... SKIPPED
> [INFO] Archiva Metadata :: Repository for Testing ........ SKIPPED
> [INFO] Archiva Core Plugins .............................. SKIPPED
> [INFO] Archiva Core Plugins :: Problem Reporting Plugin .. SKIPPED
> [INFO] Archiva Base :: Proxy Common ...................... SKIPPED
> [INFO] Archiva Core Plugins :: Maven 2.x Repository Support  SKIPPED
> [INFO] Archiva Base :: Repository Interface Layer ........ SKIPPED
> [INFO] Archiva Base :: Repository Converter .............. SKIPPED
> [INFO] Archiva :: Command Line Client .................... SKIPPED
> [INFO] Archiva Base :: Security Common ................... SKIPPED
> [INFO] Archiva Scheduler ................................. SKIPPED
> [INFO] Archiva Scheduler :: API .......................... SKIPPED
> [INFO] Archiva Core Plugins :: Repository Statistics ..... SKIPPED
> [INFO] Archiva Scheduler :: Repository Scanning .......... SKIPPED
> [INFO] Archiva Core Plugins :: Audit Logging ............. SKIPPED
> [INFO] Archiva Base :: Repository Admin Default .......... SKIPPED
> [INFO] Archiva Base :: Indexer ........................... SKIPPED
> [INFO] Archiva Base :: Consumers :: Core Consumers ....... SKIPPED
> [INFO] Archiva Scheduler :: Indexing ..................... SKIPPED
> [INFO] Archiva Core Plugins :: JCR Storage for Metadata .. SKIPPED
> [INFO] Archiva Base :: Consumers :: Lucene ............... SKIPPED
> [INFO] Archiva Base :: Consumers :: GPG Signature ........ SKIPPED
> [INFO] Archiva Consumers :: Consumers Archetype .......... SKIPPED
> [INFO] Archiva Base :: Proxy ............................. SKIPPED
> [INFO] Archiva Web ....................................... SKIPPED
> [INFO] Archiva Web :: Applet ............................. SKIPPED
> [INFO] Archiva Web :: Security Configuration ............. SKIPPED
> [INFO] Archiva Web :: WebDAV ............................. SKIPPED
> [INFO] Archiva Web :: RSS ................................ SKIPPED
> [INFO] Archiva Core Plugins :: Stage Repository Merge .... SKIPPED
> [INFO] Archiva Web :: XML-RPC ............................ SKIPPED
> [INFO] Archiva Web :: XML-RPC API ........................ SKIPPED
> [INFO] Archiva Web :: XML-RPC Security ................... SKIPPED
> [INFO] Archiva Web :: XML-RPC Services ................... SKIPPED
> [INFO] Archiva Web :: XML-RPC Client ..................... SKIPPED
> [INFO] Archiva Web :: REST support ....................... SKIPPED
> [INFO] Archiva Web :: REST support :: Api ................ SKIPPED
> [INFO] Archiva Web :: REST support :: Services ........... SKIPPED
> [INFO] Archiva Web :: Webapp Common ...................... SKIPPED
> [INFO] Archiva Core Plugins :: Generic Metadata Support .. SKIPPED
> [INFO] Archiva Core Plugins :: NPanday Support for Archiva  SKIPPED
> [INFO] Archiva Web :: Application ........................ SKIPPED
> [INFO] Archiva :: Karaf .................................. SKIPPED
> [INFO] Archiva :: Karaf Features ......................... SKIPPED
> [INFO] Archiva Core Plugins :: File System Backed Metadata Repository
> SKIPPED
> [INFO] Archiva Core Plugins :: Maven 1.x Repository Support  SKIPPED
> [INFO] Archiva :: Documentation .......................... SKIPPED
> [INFO] Apache Archiva .................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 51:23.610s
> [INFO] Finished at: Wed Jun 20 18:10:18 CEST 2012
> [INFO] Final Memory: 51M/134M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.11:test
> (default-test) on project archiva-configuration: There are test
> failures.
> [ERROR] 
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
http://twitter.com/brettporter






Mime
View raw message