brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Heneveld <alex.henev...@cloudsoftcorp.com>
Subject Re: Build failed in Jenkins: incubator-brooklyn-master-windows #1
Date Mon, 06 Oct 2014 23:07:12 GMT

Aled-

This should be fixed as part of 
https://github.com/apache/incubator-brooklyn/pull/213  which 
incidentally needs reviewing!

Best
Alex


On 06/10/2014 13:32, Aled Sage wrote:
> Hi all,
>
> The windows jenkins job failed on the test 
> ServiceStateLogicTest.testAllUpAndRunningAfterStart() [1].
>
> Looking into this (on my Mac), there are various races in this code. 
> You can produce a range of failures by either:
>
>  * run it with `@Test(invocationCount=1000)`
>  * or place breakpoints at
>    `ServiceStateLogic$ComputeServiceState.setActualState()` and
>    `CollectionFunctions$SizeFunction.apply()`
>    (The latter is a way to tell when the
>    newEnricherForServiceUpIfNotUpIndicatorsEmpty enricher's onEvent is
>    being called.)
>
> The tests often do assertEquals for the state; if it did 
> `assertAttributeEqualsEventually` then the test would have passed.
> However, really we should not have things like the entity/application 
> temporarily being on-fire (for a few milliseconds), just because the 
> entity's event handler thread was slow to update the entity's attributes.
>
> Aled
>
> [1] https://builds.apache.org/job/incubator-brooklyn-master-windows/1/
>
> On 06/10/2014 17:52, Apache Jenkins Server wrote:
>> See <https://builds.apache.org/job/incubator-brooklyn-master-windows/1/>
>>
>> ------------------------------------------
>> [...truncated 16461 lines...]
>> Downloading: 
>> http://repo.maven.apache.org/maven2/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar
>> Downloading: 
>> http://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.4/mongo-java-driver-2.11.4.jar
>> Downloading: 
>> http://repo.maven.apache.org/maven2/com/basho/riak/riak-client/1.4.0/riak-client-1.4.0.jar
>> Downloading: 
>> http://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.2/jackson-datatype-joda-2.4.2.jar

>> (52 KB at 654.1 KB/sec)
>> Downloading: 
>> http://repo.maven.apache.org/maven2/com/basho/riak/protobuf/riak-pb/1.4.0/riak-pb-1.4.0.jar
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/com/basho/riak/protobuf/riak-pb/1.4.0/riak-pb-1.4.0.jar

>> (351 KB at 1823.2 KB/sec)
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.4/mongo-java-driver-2.11.4.jar

>> (410 KB at 1287.1 KB/sec)
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar

>> (440 KB at 1396.0 KB/sec)
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar

>> (772 KB at 1977.9 KB/sec)
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/com/basho/riak/riak-client/1.4.0/riak-client-1.4.0.jar

>> (574 KB at 1469.6 KB/sec)
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Deleting 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql

>> (includes = [brooklyn*.log, brooklyn*.log.*, stacktrace.log, 
>> test-output, prodDb.*], excludes = [])
>> [INFO]
>> [INFO] --- maven-replacer-plugin:1.4.0:replace 
>> (fix-eclipse-dot-classpath-mangling) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Ignoring missing file
>> [INFO] Replacement run on 0 file.
>> [INFO]
>> [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (brooklyn-build-req) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\src\main\resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- maven-bundle-plugin:2.3.4:manifest (bundle-manifest) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [WARNING] Ignoring project type war - supportedProjectTypes = [jar]
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources 
>> (default-testResources) @ brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\src\test\resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile 
>> (default-testCompile) @ brooklyn-example-hello-world-sql-webapp ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [JENKINS] Recording test results
>> [INFO]
>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [brooklyn-example-hello-world-sql-webapp] in 
>> [F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\target\brooklyn-example-hello-world-sql-webapp]
>> [INFO] Processing war project
>> [INFO] Copying webapp resources 
>> [F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\src\main\webapp]
>> [INFO] Webapp assembled in [79 msecs]
>> [INFO] Building war: 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\target\brooklyn-example-hello-world-sql-webapp.war
>> [WARNING] Warning: selected war files include a WEB-INF/web.xml which 
>> will be ignored
>> (webxml attribute is missing from war task, or ignoreWebxml attribute 
>> is specified as 'true')
>> [INFO]
>> [INFO] --- maven-site-plugin:3.4:attach-descriptor 
>> (attach-descriptor) @ brooklyn-example-hello-world-sql-webapp ---
>> [INFO]
>> [INFO] --- apache-rat-plugin:0.10:check (default) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] 51 implicit excludes (use -debug for more details).
>> [INFO] Exclude: 
>> **/simple-open-loop-policy/localrepo/io/brooklyn/org.marre.smsj/1.0.0-20051126/org.marre.smsj-1.0.0-20051126.pom
>> [INFO] Exclude: **/.git/**
>> [INFO] Exclude: **/.gitignore
>> [INFO] Exclude: **/.repository/**
>> [INFO] Exclude: **/.idea/**
>> [INFO] Exclude: **/*.iml
>> [INFO] Exclude: **/.classpath/**
>> [INFO] Exclude: **/.project
>> [INFO] Exclude: **/.settings/**
>> [INFO] Exclude: **/*.log
>> [INFO] Exclude: **/brooklyn*.log.*
>> [INFO] Exclude: **/target/**
>> [INFO] Exclude: ignored/**
>> [INFO] Exclude: LICENSE.md
>> [INFO] Exclude: **/MANIFEST.MF
>> [INFO] Exclude: **/test-output/**
>> [INFO] Exclude: **/*.pem.pub
>> [INFO] Exclude: **/*.svg
>> [INFO] Exclude: **/*.crt
>> [INFO] Exclude: **/*.csr
>> [INFO] Exclude: **/*.key
>> [INFO] Exclude: **/*.key.org
>> [INFO] Exclude: **/*.psd
>> [INFO] Exclude: **/*.json
>> [INFO] Exclude: **/*.plxarc
>> [INFO] Exclude: **/services/brooklyn.location.LocationResolver
>> [INFO] Exclude: 
>> **/src/test/resources/brooklyn/entity/basic/template_with_extra_substitutions.txt
>> [INFO] Exclude: **/src/main/resources/banner.txt
>> [INFO] Exclude: **/src/test/resources/ssl/certs/localhost/info.txt
>> [INFO] Exclude: **/sandbox/examples/src/main/scripts/amis.txt
>> [INFO] Exclude: docs/**
>> [INFO] 10 resources included (use -debug for more details)
>> [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 
>> generated: 0 approved: 9 licence.
>> [INFO]
>> [INFO] --- maven-source-plugin:2.3:jar-no-fork (attach-sources) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Building jar: 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\target\brooklyn-example-hello-world-sql-webapp-sources.jar
>> [INFO]
>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ 
>> brooklyn-example-hello-world-sql-webapp ---
>> [INFO] Installing 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\target\brooklyn-example-hello-world-sql-webapp.war

>> to 
>> f:\jenkins\jenkins-slave\maven-repositories\1\io\brooklyn\example\brooklyn-example-hello-world-sql-webapp\0.7.0-SNAPSHOT\brooklyn-example-hello-world-sql-webapp-0.7.0-SNAPSHOT.war
>> [INFO] Installing 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\pom.xml

>> to 
>> f:\jenkins\jenkins-slave\maven-repositories\1\io\brooklyn\example\brooklyn-example-hello-world-sql-webapp\0.7.0-SNAPSHOT\brooklyn-example-hello-world-sql-webapp-0.7.0-SNAPSHOT.pom
>> [INFO] Installing 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\examples\webapps\hello-world-sql\target\brooklyn-example-hello-world-sql-webapp-sources.jar

>> to 
>> f:\jenkins\jenkins-slave\maven-repositories\1\io\brooklyn\example\brooklyn-example-hello-world-sql-webapp\0.7.0-SNAPSHOT\brooklyn-example-hello-world-sql-webapp-0.7.0-SNAPSHOT-sources.jar
>> [JENKINS] Archiving disabled
>> [INFO]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Skipping Brooklyn Simple Web Cluster Example
>> [INFO] This project has been banned from the build due to previous 
>> failures.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Skipping Brooklyn Global Web Fabric Example
>> [INFO] This project has been banned from the build due to previous 
>> failures.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Skipping Brooklyn Simple Messaging Publish-Subscribe Example
>> [INFO] This project has been banned from the build due to previous 
>> failures.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Skipping Brooklyn NoSQL Cluster Examples
>> [INFO] This project has been banned from the build due to previous 
>> failures.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Skipping Brooklyn QA
>> [INFO] This project has been banned from the build due to previous 
>> failures.
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Brooklyn Parent Project ........................... SUCCESS 
>> [35.817s]
>> [INFO] Brooklyn Utilities to Support Testing (listeners etc) SUCCESS 
>> [23.785s]
>> [INFO] Brooklyn Logback Includable Configuration ......... SUCCESS 
>> [2.711s]
>> [INFO] Brooklyn Common Utilities ......................... SUCCESS 
>> [44.262s]
>> [INFO] Brooklyn Groovy Utilities ......................... SUCCESS 
>> [9.417s]
>> [INFO] Brooklyn API ...................................... SUCCESS 
>> [8.684s]
>> [INFO] Brooklyn Test Support ............................. SUCCESS 
>> [8.223s]
>> [INFO] CAMP Server Parent Project ........................ SUCCESS 
>> [0.159s]
>> [INFO] CAMP Base ......................................... SUCCESS 
>> [12.194s]
>> [INFO] Brooklyn REST Swagger Apidoc Utilities ............ SUCCESS 
>> [11.950s]
>> [INFO] Brooklyn Logback Configuration .................... SUCCESS 
>> [0.401s]
>> [INFO] CAMP Server ....................................... SUCCESS 
>> [18.116s]
>> [INFO] Brooklyn Core ..................................... FAILURE 
>> [5:23.732s]
>> [INFO] Brooklyn Policies ................................. SKIPPED
>> [INFO] Brooklyn Hazelcast Storage ........................ SKIPPED
>> [INFO] Brooklyn Jclouds Location Targets ................. SKIPPED
>> [INFO] Brooklyn Secure JMXMP Agent ....................... SKIPPED
>> [INFO] Brooklyn JMX RMI Agent ............................ SUCCESS 
>> [8.746s]
>> [INFO] Brooklyn Software Base ............................ SKIPPED
>> [INFO] Brooklyn Network Software Entities ................ SKIPPED
>> [INFO] Brooklyn OSGi Software Entities ................... SKIPPED
>> [INFO] Brooklyn Web App Software Entities ................ SKIPPED
>> [INFO] Brooklyn Messaging Software Entities .............. SKIPPED
>> [INFO] Brooklyn Database Software Entities ............... SKIPPED
>> [INFO] Brooklyn NoSQL Data Store Software Entities ....... SKIPPED
>> [INFO] Brooklyn Monitoring Software Entities ............. SKIPPED
>> [INFO] Brooklyn CAMP REST API ............................ SKIPPED
>> [INFO] Brooklyn REST API ................................. SUCCESS 
>> [14.957s]
>> [INFO] Brooklyn REST Server .............................. SKIPPED
>> [INFO] Brooklyn REST Client .............................. SKIPPED
>> [INFO] Brooklyn REST JavaScript Web GUI .................. SKIPPED
>> [INFO] Brooklyn Launcher ................................. SKIPPED
>> [INFO] Brooklyn Command Line Interface ................... SKIPPED
>> [INFO] Brooklyn All Things ............................... SKIPPED
>> [INFO] Brooklyn Distribution ............................. SKIPPED
>> [INFO] Brooklyn Quick-Start Project Archetype ............ FAILURE 
>> [5.696s]
>> [INFO] Brooklyn Downstream Project Parent ................ SUCCESS 
>> [0.167s]
>> [INFO] Brooklyn Examples Aggregator Project .............. SUCCESS 
>> [0.177s]
>> [INFO] Brooklyn Examples Support Aggregator Project - Webapps SUCCESS 
>> [2.642s]
>> [INFO] hello-world-webapp Maven Webapp ................... SUCCESS 
>> [5.721s]
>> [INFO] hello-world-sql-webapp Maven Webapp ............... SUCCESS 
>> [6.027s]
>> [INFO] Brooklyn Simple Web Cluster Example ............... SKIPPED
>> [INFO] Brooklyn Global Web Fabric Example ................ SKIPPED
>> [INFO] Brooklyn Simple Messaging Publish-Subscribe Example SKIPPED
>> [INFO] Brooklyn NoSQL Cluster Examples ................... SKIPPED
>> [INFO] Brooklyn QA ....................................... SKIPPED
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 9:21.263s
>> [INFO] Finished at: Mon Oct 06 09:51:25 PDT 2014
>> [INFO] Final Memory: 37M/101M
>> [INFO] 
>> ------------------------------------------------------------------------
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> [JENKINS] Archiving disabled
>> Waiting for Jenkins to finish collecting data
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-surefire-plugin:2.17:test 
>> (default-test) on project brooklyn-core: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to 
>> F:\jenkins\jenkins-slave\workspace\incubator-brooklyn-master-windows\core\target\surefire-reports

>> for the individual test results.
>> [ERROR] -> [Help 1]
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test 
>> (default-integration-test) on project brooklyn-archetype-quickstart:
>> [ERROR] Archetype IT 'integration-test-1' failed: Some content are 
>> not equals
>> [ERROR] -> [Help 2]
>> [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] [Help 2] 
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with 
>> the command
>> [ERROR]   mvn <goals> -rf :brooklyn-core
>> channel stopped
>
>


Mime
View raw message