You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/08/09 19:56:12 UTC

Build failed in Jenkins: brooklyn-master-build-docker #2281

See <https://builds.apache.org/job/brooklyn-master-build-docker/2281/display/redirect>

------------------------------------------
[...truncated 13.89 MB...]
    http.port: 9280+
    proxy.http.port: 9210+
    java.sysprops: 
      brooklyn.example.db.url: 
        # alternate syntax
        $brooklyn:formatString:
        - jdbc:%s%s?user=%s&password=%s
        - $brooklyn:component("db").attributeWhenReady("datastore.url")
        - visitors
        - brooklyn
        - $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password")
- type: org.apache.brooklyn.entity.database.mysql.MySqlNode
  name: My DB
  id: db
  brooklyn.config:
    creation.script.password: $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password")
    datastore.creation.script.url: classpath://visitors-creation-script.sql
,artifacts=[],services=[Service[name=My Web,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster,characteristics=[],customAttributes={brooklyn.config={wars.root=http://search.maven.org/remotecontent?filepath=io/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.6.0-M2/brooklyn-example-hello-world-sql-webapp-0.6.0-M2.war, http.port=9280+, proxy.http.port=9210+, java.sysprops={brooklyn.example.db.url=$brooklyn:formatString("jdbc:%s%s?user=%s&password=%s", entity("db").attributeWhenReady("datastore.url"), "visitors", "brooklyn", external("brooklyn-demo-sample", "hidden-brooklyn-password"))}}}], Service[name=My DB,description=<null>,serviceType=org.apache.brooklyn.entity.database.mysql.MySqlNode,characteristics=[],customAttributes={id=db, brooklyn.config={creation.script.password=$brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password"), datastore.creation.script.url=classpath://visitors-creation-script.sql}}]],customAttributes={location=localhost}]
2019-08-09 19:55:02,063 INFO  - No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2019-08-09 19:55:02,071 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch2() finished in 19 ms
2019-08-09 19:55:02,072 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2019-08-09 19:55:02,073 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2019-08-09 19:55:02,073 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2019-08-09 19:55:02,074 INFO  - Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@78e16155
2019-08-09 19:55:02,074 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 1 ms
2019-08-09 19:55:02,075 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch()
2019-08-09 19:55:02,081 INFO  - No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2019-08-09 19:55:02,084 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch() finished in 9 ms
2019-08-09 19:55:02,084 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2019-08-09 19:55:02,085 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2019-08-09 19:55:02,086 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2019-08-09 19:55:02,087 INFO  - Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@35e52059
2019-08-09 19:55:02,087 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 1 ms
2019-08-09 19:55:02,087 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse()
2019-08-09 19:55:02,090 INFO  - DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@5d332969[name=sample-single-jboss,origin=https://github.com/apache/brooklyn,description=Single JBoss using Brooklyn,sourceCode=#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: sample-single-jboss
description: Single JBoss using Brooklyn
origin: https://github.com/apache/brooklyn
location: localhost
services:
- serviceType: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server
  name: tomcat1
  brooklyn.config:
    wars.root: http://search.maven.org/remotecontent?filepath=io/brooklyn/example/brooklyn-example-hello-world-webapp/0.7.0-M1/brooklyn-example-hello-world-webapp-0.7.0-M1.war
    http.port: 9280+
,artifacts=[],services=[Service[name=tomcat1,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server,characteristics=[],customAttributes={brooklyn.config={wars.root=http://search.maven.org/remotecontent?filepath=io/brooklyn/example/brooklyn-example-hello-world-webapp/0.7.0-M1/brooklyn-example-hello-world-webapp-0.7.0-M1.war, http.port=9280+}}]],customAttributes={location=localhost}]
2019-08-09 19:55:02,090 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse() finished in 3 ms
2019-08-09 19:55:02,090 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2019-08-09 19:55:02,091 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2019-08-09 19:55:02,111 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 13, Failures: 1, Skips: 0
===============================================
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.004 sec <<< FAILURE! - in TestSuite
testExecuteAndWaitForConsumingErrorStream(org.apache.brooklyn.qa.longevity.MonitorUtilsTest)  Time elapsed: 1.019 sec  <<< FAILURE!
org.testng.internal.thread.ThreadTimeoutException: Method org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream() didn't finish within the time-out 1000
	at org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:78)
	at org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream(MonitorUtilsTest.java:67)


Results :

Failed tests: 
  MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream:67->createDumpingProcess:78 » ThreadTimeout

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  5.423 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  5.808 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  8.306 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.399 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 31.081 s]
[INFO] Brooklyn API ....................................... SUCCESS [  3.303 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.124 s]
[INFO] CAMP Base .......................................... SUCCESS [  2.521 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  2.287 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 12.727 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.201 s]
[INFO] CAMP Server ........................................ SUCCESS [ 15.697 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.239 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  2.074 s]
[INFO] Brooklyn Core ...................................... SUCCESS [04:06 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 33.458 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 18.177 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  8.027 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.353 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [01:06 min]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:23 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [02:59 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  4.769 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 10.716 s]
[INFO] Brooklyn REST Resources ............................ SUCCESS [ 53.418 s]
[INFO] Brooklyn REST Server ............................... SUCCESS [ 24.935 s]
[INFO] Brooklyn Launcher .................................. SUCCESS [02:52 min]
[INFO] Brooklyn Container Location Targets ................ SUCCESS [ 12.283 s]
[INFO] Brooklyn Command Line Interface .................... SUCCESS [ 11.940 s]
[INFO] Brooklyn Test Framework ............................ SUCCESS [ 22.341 s]
[INFO] Brooklyn OSGi init ................................. SUCCESS [  5.896 s]
[INFO] Brooklyn OSGi start ................................ SUCCESS [  2.981 s]
[INFO] Brooklyn Karaf ..................................... SUCCESS [  0.027 s]
[INFO] Jetty config fragment .............................. SUCCESS [  1.359 s]
[INFO] Apache Http Component extension .................... SUCCESS [  0.218 s]
[INFO] Brooklyn Karaf Features ............................ SUCCESS [  0.934 s]
[INFO] Brooklyn Karaf Shell Commands ...................... SUCCESS [ 13.082 s]
[INFO] Brooklyn UI :: Parent .............................. SUCCESS [  2.462 s]
[INFO] Brooklyn UI :: Modularity Server (parent) .......... SUCCESS [  0.114 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Module API .. SUCCESS [  4.521 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Module Registry SUCCESS [  2.306 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Proxy ....... SUCCESS [  3.915 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Metadata Registry SUCCESS [  0.585 s]
[INFO] Brooklyn UI :: Modularity Server :: External UI Modules Registration Hooks SUCCESS [  6.166 s]
[INFO] Brooklyn UI :: Modularity Server :: Features ....... SUCCESS [ 16.807 s]
[INFO] Brooklyn UI :: Modules (parent) .................... SUCCESS [  0.172 s]
[INFO] Brooklyn UI :: Modules - UI Utils .................. SUCCESS [ 52.234 s]
[INFO] Brooklyn UI :: Modules - Home ...................... SUCCESS [02:57 min]
[INFO] Brooklyn UI :: Modules - App inspector ............. SUCCESS [02:59 min]
[INFO] Brooklyn UI :: Modules - Blueprint composer ........ SUCCESS [03:09 min]
[INFO] Brooklyn UI :: Modules - Blueprint importer ........ SUCCESS [02:48 min]
[INFO] Brooklyn UI :: Modules - Catalog ................... SUCCESS [02:52 min]
[INFO] Brooklyn UI :: Modules - Location manager .......... SUCCESS [02:55 min]
[INFO] Brooklyn UI :: Modules - REST API Docs ............. SUCCESS [02:55 min]
[INFO] Brooklyn UI :: Modules - Groovy console ............ SUCCESS [02:53 min]
[INFO] Brooklyn UI :: Modules - Logout .................... SUCCESS [02:45 min]
[INFO] Brooklyn UI :: Modules - Features .................. SUCCESS [  1.498 s]
[INFO] Brooklyn UI :: Features ............................ SUCCESS [  0.190 s]
[INFO] Brooklyn Library Root .............................. SUCCESS [  0.146 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [  8.538 s]
[INFO] Brooklyn CM SaltStack .............................. SUCCESS [  5.689 s]
[INFO] Brooklyn CM Ansible ................................ SUCCESS [  4.247 s]
[INFO] Brooklyn CM Integration Root ....................... SUCCESS [  0.100 s]
[INFO] Brooklyn Network Software Entities ................. SUCCESS [  5.222 s]
[INFO] Brooklyn OSGi Software Entities .................... SUCCESS [  3.640 s]
[INFO] Brooklyn Database Software Entities ................ SUCCESS [  8.333 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 24.502 s]
[INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 30.844 s]
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 42.159 s]
[INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [  3.713 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [  0.156 s]
[INFO] Brooklyn QA ........................................ FAILURE [ 11.713 s]
[INFO] Brooklyn Examples Aggregator Project ............... SKIPPED
[INFO] Brooklyn Examples Aggregator Project - Webapps ..... SKIPPED
[INFO] hello-world-webapp Maven Webapp .................... SKIPPED
[INFO] hello-world-sql-webapp Maven Webapp ................ SKIPPED
[INFO] Brooklyn Simple Web Cluster Example ................ SKIPPED
[INFO] Brooklyn Library Karaf integration ................. SKIPPED
[INFO] Brooklyn Library Catalog ........................... SKIPPED
[INFO] Brooklyn Library Karaf Features .................... SKIPPED
[INFO] Brooklyn Client .................................... SKIPPED
[INFO] Brooklyn Client Command Line Interface ............. SKIPPED
[INFO] Brooklyn REST java Client .......................... SKIPPED
[INFO] Brooklyn Downstream Project Parent ................. SKIPPED
[INFO] Brooklyn Dist Root ................................. SKIPPED
[INFO] Brooklyn All Things ................................ SKIPPED
[INFO] Brooklyn Distribution .............................. SKIPPED
[INFO] Brooklyn Karaf Distribution Parent ................. SKIPPED
[INFO] Brooklyn Karaf Server Configuration ................ SKIPPED
[INFO] Brooklyn Dist Karaf Features ....................... SKIPPED
[INFO] Brooklyn Karaf Distribution ........................ SKIPPED
[INFO] Brooklyn Karaf pax-exam itest ...................... SKIPPED
[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] Brooklyn Docker Image .............................. SKIPPED
[INFO] Brooklyn Root 1.0.0-SNAPSHOT ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48:24 min
[INFO] Finished at: 2019-08-09T19:55:02Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-qa: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/brooklyn-library/qa/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-qa
Build step 'Execute shell' marked build as failure
Recording test results
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-master-build-docker/builds/2281/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-12.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-13.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-14.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-15.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-16.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-17.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-18.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-19.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-20.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-21.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-22.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-23.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-24.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-25.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-26.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-27.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-28.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-29.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-30.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-31.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-32.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-33.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-34.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/2281/testng/testng-results.xml'
0.019305% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH