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 2017/11/17 08:46:06 UTC
Build failed in Jenkins: brooklyn-library-master-docker #4
See <https://builds.apache.org/job/brooklyn-library-master-docker/4/display/redirect>
------------------------------------------
[...truncated 528.29 KB...]
2017-11-17 08:45:57,845 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-11-17 08:45:57,855 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testExampleFunctionsYamlMatch() finished in 24 ms
2017-11-17 08:45:57,856 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-17 08:45:57,857 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2017-11-17 08:45:57,857 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-17 08:45:57,858 INFO Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@5ea502e0
2017-11-17 08:45:57,859 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 2 ms
2017-11-17 08:45:57,859 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch()
2017-11-17 08:45:57,865 INFO DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@49a64d82[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://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-17 08:45:57,871 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-11-17 08:45:57,886 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch() finished in 27 ms
2017-11-17 08:45:57,887 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-17 08:45:57,888 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2017-11-17 08:45:57,888 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-17 08:45:57,889 INFO Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@3a7b503d
2017-11-17 08:45:57,890 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 2 ms
2017-11-17 08:45:57,890 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch2()
2017-11-17 08:45:57,895 INFO DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@2b27cc70[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-17 08:45:57,900 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-11-17 08:45:57,906 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testJavaAndDbWithFunctionYamlMatch2() finished in 16 ms
2017-11-17 08:45:57,907 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-17 08:45:57,907 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2017-11-17 08:45:57,908 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-17 08:45:57,908 INFO Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@6a175569
2017-11-17 08:45:57,909 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 1 ms
2017-11-17 08:45:57,909 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch()
2017-11-17 08:45:57,915 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-11-17 08:45:57,919 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlMatch() finished in 10 ms
2017-11-17 08:45:57,920 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-17 08:45:57,920 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2017-11-17 08:45:57,921 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup()
2017-11-17 08:45:57,922 INFO Added external config supplier named 'brooklyn-demo-sample': org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@1a1d3c1a
2017-11-17 08:45:57,923 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.setup() finished in 2 ms
2017-11-17 08:45:57,923 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse()
2017-11-17 08:45:57,925 INFO DP is:
org.apache.brooklyn.camp.spi.pdp.DeploymentPlan@530a8454[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-17 08:45:57,925 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testSimpleYamlParse() finished in 2 ms
2017-11-17 08:45:57,925 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown()
2017-11-17 08:45:57,926 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.teardown() finished in 1 ms
2017-11-17 08:45:57,951 INFO TESTNG
===============================================
Surefire test
Tests run: 13, Failures: 2, Skips: 0
===============================================
Tests run: 13, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.544 sec <<< FAILURE! - in TestSuite
testExecuteAndWaitForConsumingErrorStream(org.apache.brooklyn.qa.longevity.MonitorUtilsTest) Time elapsed: 0.051 sec <<< FAILURE!
java.lang.RuntimeException: java.io.IOException: Cannot run program "/tmp/test-consume-2180360149942570116.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-2180360149942570116.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-2446884034421837040.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-2446884034421837040.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)
Results :
Failed tests:
MonitorUtilsTest.testExecuteAndWaitForConsumingErrorStream:67->createDumpingProcess:79 » Runtime
MonitorUtilsTest.testExecuteAndWaitForConsumingOutputStream:60->createDumpingProcess:79 » Runtime
Tests run: 13, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Library Root .............................. SUCCESS [ 3.666 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [ 35.960 s]
[INFO] Brooklyn CM SaltStack .............................. SUCCESS [ 7.362 s]
[INFO] Brooklyn CM Ansible ................................ SUCCESS [ 5.173 s]
[INFO] Brooklyn CM Integration Root ....................... SUCCESS [ 0.149 s]
[INFO] Brooklyn Network Software Entities ................. SUCCESS [ 5.838 s]
[INFO] Brooklyn OSGi Software Entities .................... SUCCESS [ 4.381 s]
[INFO] Brooklyn Database Software Entities ................ SUCCESS [ 8.978 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 24.999 s]
[INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 10.496 s]
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 20.005 s]
[INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [ 4.092 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 0.240 s]
[INFO] Brooklyn QA ........................................ FAILURE [ 18.548 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: 02:37 min
[INFO] Finished at: 2017-11-17T08:45:58Z
[INFO] Final Memory: 110M/752M
[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/4/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-library-master-docker/builds/4/testng/testng-results.xml'
2.247191% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
Jenkins build is back to normal : brooklyn-library-master-docker #5
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-library-master-docker/5/display/redirect?page=changes>