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

------------------------------------------
[...truncated 1.99 MB...]
# "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: java-cluster-db-example
location: localhost
services:
- type: org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster
  name: My Web
  brooklyn.config:
    wars.root: 
http://repo1.maven.org/maven2/org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.9.0/brooklyn-example-hello-world-sql-webapp-0.9.0.war
    http.port: 9280+
    proxy.http.port: 9210+
    java.sysprops:
      brooklyn.example.db.url: 
$brooklyn:formatString("jdbc:%s%s?user=%s&password=%s",
         component("db").attributeWhenReady("datastore.url"), "visitors", 
"brooklyn", 
         $brooklyn:external("brooklyn-demo-sample", "hidden-brooklyn-password"))

- type: org.apache.brooklyn.entity.database.mysql.MySqlNode
  id: db
  name: My DB
  creationScriptUrl: classpath://visitors-creation-script.sql
  brooklyn.config:
    creation.script.password: $brooklyn:external("brooklyn-demo-sample", 
"hidden-brooklyn-password")
,artifacts=[],services=[Service[name=My 
Web,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster,characteristics=[],customAttributes={brooklyn.config={wars.root=http://repo1.maven.org/maven2/org/apache/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.9.0/brooklyn-example-hello-world-sql-webapp-0.9.0.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,
 creationScriptUrl=classpath://visitors-creation-script.sql, 
brooklyn.config={creation.script.password=$brooklyn:external("brooklyn-demo-sample",
 "hidden-brooklyn-password")}}]],customAttributes={location=localhost}]
2017-11-15 18:54:29,979 INFO  No Camp-YAML parser registered for parsing 
catalog item DSL; skipping DSL-parsing
2017-11-15 18:54:29,991 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch()
 finished in 24 ms
2017-11-15 18:54:29,992 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-15 18:54:29,993 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() 
finished in 1 ms
2017-11-15 18:54:29,993 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-15 18:54:29,994 INFO  Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@54e7391d
2017-11-15 18:54:29,994 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() 
finished in 1 ms
2017-11-15 18:54:29,995 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch2()
2017-11-15 18:54:29,999 INFO  DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@5a2f016d[name=java-cluster-db-example,origin=<null>,description=<null>,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: java-cluster-db-example
location: localhost
services:
- type: org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster
  name: My Web
  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: 
        # 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}]
2017-11-15 18:54:30,003 INFO  No Camp-YAML parser registered for parsing 
catalog item DSL; skipping DSL-parsing
2017-11-15 18:54:30,010 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch2()
 finished in 15 ms
2017-11-15 18:54:30,011 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-15 18:54:30,012 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() 
finished in 2 ms
2017-11-15 18:54:30,013 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-15 18:54:30,014 INFO  Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@3ef41c66
2017-11-15 18:54:30,015 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() 
finished in 2 ms
2017-11-15 18:54:30,015 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch()
2017-11-15 18:54:30,021 INFO  No Camp-YAML parser registered for parsing 
catalog item DSL; skipping DSL-parsing
2017-11-15 18:54:30,026 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch() 
finished in 10 ms
2017-11-15 18:54:30,026 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-15 18:54:30,027 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() 
finished in 1 ms
2017-11-15 18:54:30,027 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-15 18:54:30,028 INFO  Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@71652c98
2017-11-15 18:54:30,028 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() 
finished in 1 ms
2017-11-15 18:54:30,028 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse()
2017-11-15 18:54:30,031 INFO  DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@49bf29c6[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}]
2017-11-15 18:54:30,031 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse() 
finished in 3 ms
2017-11-15 18:54:30,031 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-15 18:54:30,032 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() 
finished in 1 ms
2017-11-15 18:54:30,065 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 13, Failures: 4, Skips: 0
===============================================
Tests run: 13, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 5.392 sec <<< 
FAILURE! - in TestSuite
testExecuteAndWaitForConsumingErrorStream(org.apache.brooklyn.qa.longevity.MonitorUtilsTest)
  Time elapsed: 0.055 sec  <<< FAILURE!
java.lang.RuntimeException: java.io.IOException: Cannot run program 
"/tmp/test-consume-4776651767034114485.bat": error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream(MonitorUtilsTest.java:67)
Caused by: java.io.IOException: Cannot run program 
"/tmp/test-consume-4776651767034114485.bat": error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream(MonitorUtilsTest.java:67)
Caused by: java.io.IOException: error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream(MonitorUtilsTest.java:67)

testExecuteAndWaitForConsumingOutputStream(org.apache.brooklyn.qa.longevity.MonitorUtilsTest)
  Time elapsed: 0.009 sec  <<< FAILURE!
java.lang.RuntimeException: java.io.IOException: Cannot run program 
"/tmp/test-consume-1014195761784610739.bat": error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingOutputStream(MonitorUtilsTest.java:60)
Caused by: java.io.IOException: Cannot run program 
"/tmp/test-consume-1014195761784610739.bat": error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingOutputStream(MonitorUtilsTest.java:60)
Caused by: java.io.IOException: error=8, Exec format error
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.createDumpingProcess(MonitorUtilsTest.java:79)
        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testExecuteAndWaitForConsumingOutputStream(MonitorUtilsTest.java:60)

testFindOwnPid(org.apache.brooklyn.qa.longevity.MonitorUtilsTest)  Time 
elapsed: 0.022 sec  <<< FAILURE!
org.apache.brooklyn.qa.longevity.MonitorUtils$ProcessHasStderr: 
Process printed to stderr: ps: unrecognized option: p
BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.
Usage: ps [-o COL1,COL2=HEADER]
Show list of processes
        -o COL1,COL2=HEADER     Select columns for display

        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testFindOwnPid(MonitorUtilsTest.java:87)

testIsPidRunning(org.apache.brooklyn.qa.longevity.MonitorUtilsTest)  Time 
elapsed: 0.013 sec  <<< FAILURE!
org.apache.brooklyn.qa.longevity.MonitorUtils$ProcessHasStderr: 
Process printed to stderr: ps: unrecognized option: p
BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.
Usage: ps [-o COL1,COL2=HEADER]
Show list of processes
        -o COL1,COL2=HEADER     Select columns for display

        at 
org.apache.brooklyn.qa.longevity.MonitorUtilsTest.testIsPidRunning(MonitorUtilsTest.java:100)


Results :

Failed tests: 
  
MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream:67->createDumpingProcess:79
 » Runtime
  
MonitorUtilsTest.testExecuteAndWaitForConsumingOutputStream:60->createDumpingProcess:79
 » Runtime
  MonitorUtilsTest.testFindOwnPid:87 » ProcessHasStderr Process printed to 
stder...
  MonitorUtilsTest.testIsPidRunning:100 » ProcessHasStderr Process printed to 
st...

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Library Root .............................. SUCCESS [  3.964 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [01:25 min]
[INFO] Brooklyn CM SaltStack .............................. SUCCESS [  7.690 s]
[INFO] Brooklyn CM Ansible ................................ SUCCESS [  5.119 s]
[INFO] Brooklyn CM Integration Root ....................... SUCCESS [  0.145 s]
[INFO] Brooklyn Network Software Entities ................. SUCCESS [  6.076 s]
[INFO] Brooklyn OSGi Software Entities .................... SUCCESS [  4.503 s]
[INFO] Brooklyn Database Software Entities ................ SUCCESS [ 11.265 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 26.124 s]
[INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 26.861 s]
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 37.973 s]
[INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [  4.003 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [  0.429 s]
[INFO] Brooklyn QA ........................................ FAILURE [ 27.700 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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:16 min
[INFO] Finished at: 2017-11-15T18:54:30Z
[INFO] Final Memory: 109M/761M
[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/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-library-master-docker/builds/1/testng/testng-results-1.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-10.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-2.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-3.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-4.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-5.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-6.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-7.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-8.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results-9.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/1/testng/testng-results.xml'
4.494382% of tests failed, which exceeded threshold of 0%. Marking build as 
UNSTABLE
TestNG Reports Processing: FINISH

Reply via email to