See 
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn/job/master/21/display/redirect>

Changes:


------------------------------------------
[...truncated 155188 lines...]
        application.id: skpwipnsc4
        cluster.entity: DynamicClusterImpl{id=a056e76fz5}
        cluster.member: true
        entity.id: q6mdd3zx1e
        service.isUp: true
        service.state: running
        service.state.expected: running @ 1603882323545 / Wed Oct 28 10:52:03 
UTC 2020
        test.attributeAndConfString: defaultval
        Enrichers:
          Transformer{uniqueTag=service.isUp if no service.notUp.indicators, 
running=true, entity=TestEntityImpl{id=q6mdd3zx1e}, id=ett3wrxp2e}
              
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
Sensor: service.notUp.indicators (java.util.Map)
              enricher.suppressDuplicates[ConfigKey:java.lang.Boolean] = true
              
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
Sensor: service.isUp (java.lang.Boolean)
              
enricher.transformation[ConfigKey:com.google.common.base.Function<?, ?>] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
          ComputeServiceState{uniqueTag=service.state.actual, running=true, 
entity=TestEntityImpl{id=q6mdd3zx1e}, id=th0c7eig0e}
          Transformer{running=true, entity=TestEntityImpl{id=q6mdd3zx1e}, 
id=e2c0i9yovk}
              
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
$brooklyn:sensorName("ip")
              
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
$brooklyn:sensorName("url")
              enricher.targetValue[ConfigKey:java.lang.Object] = 
$brooklyn:formatString("http://%s/";, attributeWhenReady("ip"))
          Propagator{running=true, entity=TestEntityImpl{id=q6mdd3zx1e}, 
id=xkb5bpj2wo}
              
enricher.producer[ConfigKey:org.apache.brooklyn.api.entity.Entity] = 
$brooklyn:entity("this", "")
              enricher.propagating.sensorMapping[ConfigKey:java.util.Map<? 
extends org.apache.brooklyn.api.sensor.Sensor<?>, ? extends 
org.apache.brooklyn.api.sensor.Sensor<?>>] = 
{$brooklyn:sensorName("url")=Sensor: main.uri (java.net.URI)}
    TestEntityImpl{id=n7g0he89v1} n7g0he89v1
        displayName = TestEntity:n7g0
        locations = [LocalhostMachineProvisioningLocation{id=dgru4exyvz, 
name=localhost}]
        cluster.member.id = 2
        application.id: skpwipnsc4
        cluster.entity: DynamicClusterImpl{id=a056e76fz5}
        cluster.member: true
        entity.id: n7g0he89v1
        service.isUp: true
        service.state: running
        service.state.expected: running @ 1603882323547 / Wed Oct 28 10:52:03 
UTC 2020
        test.attributeAndConfString: defaultval
        Enrichers:
          Transformer{uniqueTag=service.isUp if no service.notUp.indicators, 
running=true, entity=TestEntityImpl{id=n7g0he89v1}, id=cbraw67qgp}
              
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
Sensor: service.notUp.indicators (java.util.Map)
              enricher.suppressDuplicates[ConfigKey:java.lang.Boolean] = true
              
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
Sensor: service.isUp (java.lang.Boolean)
              
enricher.transformation[ConfigKey:com.google.common.base.Function<?, ?>] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
          ComputeServiceState{uniqueTag=service.state.actual, running=true, 
entity=TestEntityImpl{id=n7g0he89v1}, id=pqpl2bi1h2}
          Transformer{running=true, entity=TestEntityImpl{id=n7g0he89v1}, 
id=ma37igge4q}
              
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
$brooklyn:sensorName("ip")
              
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor<?>] = 
$brooklyn:sensorName("url")
              enricher.targetValue[ConfigKey:java.lang.Object] = 
$brooklyn:formatString("http://%s/";, attributeWhenReady("ip"))
          Propagator{running=true, entity=TestEntityImpl{id=n7g0he89v1}, 
id=es12ci0ezd}
              
enricher.producer[ConfigKey:org.apache.brooklyn.api.entity.Entity] = 
$brooklyn:entity("this", "")
              enricher.propagating.sensorMapping[ConfigKey:java.util.Map<? 
extends org.apache.brooklyn.api.sensor.Sensor<?>, ? extends 
org.apache.brooklyn.api.sensor.Sensor<?>>] = 
{$brooklyn:sensorName("url")=Sensor: main.uri (java.net.URI)}
2020-10-28 10:52:03,608 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.qa.camp.EnrichersSlightlySimplerYamlTest.testWithAppEnricher()
 finished in 1687 ms
2020-10-28 10:52:03,609 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown()
2020-10-28 10:52:03,613 INFO  JC3u1wLc-[skpwipnsc4] Stopping application 
BasicApplicationImpl{id=skpwipnsc4}
2020-10-28 10:52:03,664 INFO  JC3u1wLc-[skpwipnsc4] Stopped application 
BasicApplicationImpl{id=skpwipnsc4}
2020-10-28 10:52:03,676 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.tearDown() 
finished in 67 ms
2020-10-28 10:52:03,743 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 13, Failures: 1, Skips: 0
===============================================
Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.65 sec <<< 
FAILURE! - in TestSuite
testExampleFunctionsYamlMatch(org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest)
  Time elapsed: 0.164 sec  <<< FAILURE!
java.lang.AssertionError: expected [$brooklyn: is a fun place] but found 
[$brooklyn:literal("$brooklyn: is a fun place")]
        at 
org.apache.brooklyn.qa.camp.JavaWebAppsMatchingTest.testExampleFunctionsYamlMatch(JavaWebAppsMatchingTest.java:93)


Results :

Failed tests: 
  JavaWebAppsMatchingTest.testExampleFunctionsYamlMatch:93 expected [$brooklyn: 
is a fun place] but found [$brooklyn:literal("$brooklyn: is a fun place")]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  6.469 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  8.311 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 10.741 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.491 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 38.488 s]
[INFO] Brooklyn API ....................................... SUCCESS [  4.723 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.182 s]
[INFO] CAMP Base .......................................... SUCCESS [  4.072 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  2.755 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 22.769 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.271 s]
[INFO] CAMP Server ........................................ SUCCESS [ 21.316 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.864 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  2.229 s]
[INFO] Brooklyn Core ...................................... SUCCESS [04:48 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 36.528 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 24.405 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  9.432 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.439 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [01:27 min]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:39 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [03:18 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  5.612 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 10.275 s]
[INFO] Brooklyn REST Resources ............................ SUCCESS [ 59.813 s]
[INFO] Brooklyn REST Server ............................... SUCCESS [ 28.716 s]
[INFO] Brooklyn Launcher .................................. SUCCESS [02:59 min]
[INFO] Brooklyn Container Location Targets ................ SUCCESS [ 19.834 s]
[INFO] Brooklyn Command Line Interface .................... SUCCESS [ 12.664 s]
[INFO] Brooklyn Test Framework ............................ SUCCESS [ 24.128 s]
[INFO] Brooklyn OSGi init ................................. SUCCESS [  8.097 s]
[INFO] Brooklyn OSGi start ................................ SUCCESS [  3.007 s]
[INFO] Brooklyn Karaf ..................................... SUCCESS [  0.030 s]
[INFO] Jetty config fragment .............................. SUCCESS [  1.528 s]
[INFO] Apache Http Component extension .................... SUCCESS [  0.242 s]
[INFO] Brooklyn Karaf Features ............................ SUCCESS [ 27.057 s]
[INFO] Brooklyn Karaf Shell Commands ...................... SUCCESS [  8.004 s]
[INFO] Brooklyn UI :: Parent .............................. SUCCESS [  3.412 s]
[INFO] Brooklyn UI :: Modularity Server (parent) .......... SUCCESS [  0.147 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Module API .. SUCCESS [  5.598 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Module Registry SUCCESS [  4.501 
s]
[INFO] Brooklyn UI :: Modularity Server :: UI Proxy ....... SUCCESS [  5.111 s]
[INFO] Brooklyn UI :: Modularity Server :: UI Metadata Registry SUCCESS [  
0.776 s]
[INFO] Brooklyn UI :: Modularity Server :: External UI Modules Registration 
Hooks SUCCESS [  5.749 s]
[INFO] Brooklyn UI :: Modularity Server :: Features ....... SUCCESS [ 22.763 s]
[INFO] Brooklyn UI :: Modules (parent) .................... SUCCESS [  0.213 s]
[INFO] Brooklyn UI :: Modules - UI Utils .................. SUCCESS [ 53.812 s]
[INFO] Brooklyn UI :: Modules - Home ...................... SUCCESS [02:18 min]
[INFO] Brooklyn UI :: Modules - App inspector ............. SUCCESS [02:24 min]
[INFO] Brooklyn UI :: Modules - Blueprint composer ........ SUCCESS [02:39 min]
[INFO] Brooklyn UI :: Modules - Blueprint importer ........ SUCCESS [02:08 min]
[INFO] Brooklyn UI :: Modules - Catalog ................... SUCCESS [02:12 min]
[INFO] Brooklyn UI :: Modules - Location manager .......... SUCCESS [02:14 min]
[INFO] Brooklyn UI :: Modules - REST API Docs ............. SUCCESS [02:18 min]
[INFO] Brooklyn UI :: Modules - Groovy console ............ SUCCESS [02:15 min]
[INFO] Brooklyn UI :: Modules - Logout .................... SUCCESS [02:15 min]
[INFO] Brooklyn UI :: Modules - Features .................. SUCCESS [ 19.622 s]
[INFO] Brooklyn UI :: Features ............................ SUCCESS [  4.566 s]
[INFO] Brooklyn Library Root .............................. SUCCESS [  0.165 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [  9.709 s]
[INFO] Brooklyn CM SaltStack .............................. SUCCESS [  6.486 s]
[INFO] Brooklyn CM Ansible ................................ SUCCESS [  4.920 s]
[INFO] Brooklyn CM Integration Root ....................... SUCCESS [  0.161 s]
[INFO] Brooklyn Network Software Entities ................. SUCCESS [  5.796 s]
[INFO] Brooklyn OSGi Software Entities .................... SUCCESS [  4.196 s]
[INFO] Brooklyn Database Software Entities ................ SUCCESS [ 10.040 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 27.529 s]
[INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 42.009 s]
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 59.328 s]
[INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [  4.080 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [  0.197 s]
[INFO] Brooklyn QA ........................................ FAILURE [ 12.878 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 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 Root 1.1.0-SNAPSHOT ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47:22 min
[INFO] Finished at: 2020-10-28T10:52:04Z
[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 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn_master/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
[Pipeline] }
$ docker stop --time=1 
8d10d6b0d62f86b7322c9beb1ee7a33d89e723acadf7cff171e382eb8675748a
$ docker rm -f 8d10d6b0d62f86b7322c9beb1ee7a33d89e723acadf7cff171e382eb8675748a
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Pipeline] step
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/testng-results.xml
Saving reports...
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-1.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-10.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-11.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-12.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-13.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-14.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-15.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-16.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-17.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-18.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-19.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-2.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-20.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-21.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-22.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-23.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-24.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-25.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-26.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-27.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-28.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-29.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-3.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-30.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-31.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-32.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-33.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-34.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-4.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-5.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-6.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-7.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-8.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results-9.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn/branches/master/builds/21/testng/testng-results.xml'
0.018979% of tests failed, which exceeded threshold of 0%. Marking build as 
UNSTABLE
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step

Reply via email to