OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build failed in Jenkins: brooklyn-dist-master-docker #14


See <https://builds.apache.org/job/brooklyn-dist-master-docker/14/display/redirect?page=changes>

Changes:

[andreaturli] Fix build issue due the the addition of k8s helm

------------------------------------------
[...truncated 147.92 KB...]
[INFO]       adding maven artifact: mvn:org.apache.brooklyn/brooklyn-dist-config/1.0.0-SNAPSHOT/bom/catalog-core
[INFO]       adding maven artifact: mvn:org.apache.brooklyn/brooklyn-dist-config/1.0.0-SNAPSHOT/bom/catalog-templates
[INFO]    Feature pax-war/6.0.6 is defined as a boot feature
[INFO]       adding maven artifact: mvn:org.ops4j.pax.web/pax-web-deployer/6.0.6
[INFO]       adding maven artifact: mvn:org.ops4j.pax.web/pax-web-extender-whiteboard/6.0.6
[INFO]       adding maven artifact: mvn:org.ops4j.pax.web/pax-web-descriptor/6.0.6
[INFO]       adding maven artifact: mvn:org.ops4j.pax.url/pax-url-war/2.5.2/jar/uber
[INFO]       adding maven artifact: mvn:org.ops4j.pax.web/pax-web-extender-war/6.0.6
[INFO]       adding config file: etc/org.ops4j.pax.url.war.cfg
[INFO] Install stage
[INFO]    Feature wrapper/4.1.2 is defined as an installed feature
[INFO]       adding maven artifact: mvn:org.apache.karaf.wrapper/org.apache.karaf.wrapper.core/4.1.2
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy (unpack) @ apache-brooklyn ---
[INFO] Configured Artifact: org.apache.brooklyn:brooklyn-dist-config:classrename:1.0.0-SNAPSHOT:cfg
[INFO] Configured Artifact: org.apache.brooklyn:brooklyn-dist-config:osgilauncher:1.0.0-SNAPSHOT:cfg
[INFO] Copying org.apache.brooklyn.classrename.cfg to /usr/build/karaf/apache-brooklyn/target/assembly/etc/org.apache.brooklyn.classrename.cfg
[INFO] Copying org.apache.brooklyn.osgilauncher.cfg to /usr/build/karaf/apache-brooklyn/target/assembly/etc/org.apache.brooklyn.osgilauncher.cfg
[INFO] 
[INFO] --- karaf-maven-plugin:4.1.1:archive (default-archive) @ apache-brooklyn ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ apache-brooklyn ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ apache-brooklyn ---
[INFO] No primary artifact to install, installing attached artifacts instead.
[INFO] Installing /usr/build/karaf/apache-brooklyn/pom.xml to /root/.m2/repository/org/apache/brooklyn/apache-brooklyn/1.0.0-SNAPSHOT/apache-brooklyn-1.0.0-SNAPSHOT.pom
[INFO] Installing /usr/build/karaf/apache-brooklyn/target/apache-brooklyn-1.0.0-SNAPSHOT.tar.gz to /root/.m2/repository/org/apache/brooklyn/apache-brooklyn/1.0.0-SNAPSHOT/apache-brooklyn-1.0.0-SNAPSHOT.tar.gz
[INFO] Installing /usr/build/karaf/apache-brooklyn/target/apache-brooklyn-1.0.0-SNAPSHOT.zip to /root/.m2/repository/org/apache/brooklyn/apache-brooklyn/1.0.0-SNAPSHOT/apache-brooklyn-1.0.0-SNAPSHOT.zip
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Brooklyn Karaf pax-exam itest 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ brooklyn-itest ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ brooklyn-itest ---
Downloading from jclouds-snapshots: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20180413.095531-188.pom
Downloaded from jclouds-snapshots: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20180413.095531-188.pom (0 B at 0 B/s)
[INFO] 
[INFO] --- depends-maven-plugin:1.2:generate-depends-file (generate-depends-file) @ brooklyn-itest ---
[INFO] Created: /usr/build/karaf/itest/target/classes/META-INF/maven/dependencies.properties
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ brooklyn-itest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/build/karaf/itest/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ brooklyn-itest ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ brooklyn-itest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ brooklyn-itest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to /usr/build/karaf/itest/target/test-classes
[INFO] /usr/build/karaf/itest/src/test/java/org/apache/brooklyn/core/catalog/internal/DefaultBomLoadTest.java: Some input files use or override a deprecated API.
[INFO] /usr/build/karaf/itest/src/test/java/org/apache/brooklyn/core/catalog/internal/DefaultBomLoadTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ brooklyn-itest ---
[INFO] Surefire report directory: /usr/build/karaf/itest/target/surefire-reports
[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.m2/repository/ch/qos/logback/logback-classic/1.0.7/logback-classic-1.0.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/apache/karaf/org.apache.karaf.client/4.1.2/org.apache.karaf.client-4.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.10.1/pax-logging-api-1.10.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
17:19:38.220 [main] INFO  o.o.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 4.11.0) created.
17:19:38.268 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.security.StockSecurityProviderTest
17:19:38.314 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.security.CustomSecurityProviderTest
17:19:38.358 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.AssemblyTest
17:19:38.362 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.core.catalog.internal.DefaultBomLoadTest
17:19:38.367 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.core.dsl.external.ExternalConfigBrooklynPropertiesOsgiTest
17:19:38.385 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - creating PaxExam runner for class org.apache.brooklyn.launcher.osgi.OsgiLauncherTest
17:19:38.412 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - running test class org.apache.brooklyn.AssemblyTest
17:19:38.417 [main] INFO  o.o.p.e.k.c.i.KarafTestContainer - Creating RMI registry server on 127.0.0.1:21000
17:19:40.689 [main] INFO  o.o.p.e.k.c.i.KarafTestContainer - Found 0 options when requesting OverrideJUnitBundlesOption.class
17:19:40.742 [main] INFO  o.o.p.e.k.c.i.KarafTestContainer - Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
17:19:40.744 [main] INFO  o.o.p.e.r.c.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: 132638b1-cfd7-4e1f-9a15-76ae4a0a6035 timout: [ RelativeTimeout value = 180000 ]
Running org.apache.brooklyn.AssemblyTest
17:22:40.757 [main] WARN  o.o.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.karaf.options.KarafDistributionConfigurationOption has not been recognized.
17:22:40.758 [main] WARN  o.o.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
17:22:41.066 [main] INFO  o.o.p.e.k.c.i.KarafTestContainer - Can't remove runtime system; shedule it for exit of the jvm.
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.322 sec <<< FAILURE! - in null
org.apache.brooklyn.AssemblyTest  Time elapsed: 0.01 sec  <<< ERROR!
java.lang.RuntimeException: Cannot get the remote bundle context
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:261)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:218)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:646)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:253)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:187)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
	at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.rmi.NotBoundException: 132638b1-cfd7-4e1f-9a15-76ae4a0a6035
	at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:209)
	at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
	at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:248)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:218)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:646)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:253)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:187)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
	at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Failure when constructing test  Time elapsed: 0.321 sec  <<< ERROR!
java.lang.RuntimeException: Container never came up
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.stop(KarafTestContainer.java:616)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.tearDown(EagerSingleStagedReactor.java:118)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.afterClass(EagerSingleStagedReactor.java:132)
	at org.ops4j.pax.exam.spi.reactors.ReactorManager.afterClass(ReactorManager.java:441)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:107)
	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


Results :

Tests in error: 
  Container never came up
  AssemblyTest.org.apache.brooklyn.AssemblyTest » Runtime Cannot get the remote ...

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Downstream Project Parent ................. SUCCESS [  4.264 s]
[INFO] Brooklyn Dist Root ................................. SUCCESS [  2.183 s]
[INFO] Brooklyn All Things ................................ SUCCESS [ 34.157 s]
[INFO] Brooklyn Distribution .............................. SUCCESS [ 25.206 s]
[INFO] Brooklyn Karaf Distribution Parent ................. SUCCESS [  0.079 s]
[INFO] Brooklyn Karaf Server Configuration ................ SUCCESS [  0.477 s]
[INFO] Brooklyn Dist Karaf Features ....................... SUCCESS [  0.865 s]
[INFO] Brooklyn Karaf Distribution ........................ SUCCESS [ 20.849 s]
[INFO] Brooklyn Karaf pax-exam itest ...................... FAILURE [03:08 min]
[INFO] Brooklyn Vagrant Getting Started Environment ....... SKIPPED
[INFO] Brooklyn Quick-Start Project Archetype ............. SKIPPED
[INFO] Brooklyn Shared Package Files ...................... SKIPPED
[INFO] Brooklyn RPM Package ............................... SKIPPED
[INFO] Brooklyn DEB Package ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:41 min
[INFO] Finished at: 2018-04-13T17:22:41Z
[INFO] Final Memory: 100M/732M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project brooklyn-itest: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/karaf/itest/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :brooklyn-itest
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-dist-master-docker/builds/14/testng/testng-results.xml'
TestNG Reports Processing: FINISH