See
<https://builds.apache.org/job/incubator-brooklyn-master-integration/123/changes>
Changes:
[sam.corbett] Adds BrooklynClassLoadingContext.getResources(String)
[sam.corbett] Indent BrooklynVersion properly
[sam.corbett] ResourceUtils.getResources
[sam.corbett] BrooklynVersion.getFeatures
[sam.corbett] Include Brooklyn-Feature-Name in downstream project manifests
[sam.corbett] Update archetype notes
[sam.corbett] Simplify ServerResource logic
[sam.corbett] Expose features in /v1/server/version response
[alex.heneveld] AutoScaler now takes config keys for iteration increment and
iteration max
[alex.heneveld] clean up time API and support date parsing
[alex.heneveld] better REST coercion and coerce String->Date
[alex.heneveld] require java 7
[alex.heneveld] date parsing - support `t` separator, and better doc,
recommending yaml "timestamp"
[alex.heneveld] switch Time api around dates to be based on Calendar so we
preserve time zone
[alex.heneveld] fix spelling
[aled.sage] Windows support improvements in JcloudsLocation
[github] Tweak PasswordHasher.sha256() to avoid potentially misleading use of
ByteBuffer.array().
[github] Small improvements to unit test.
[aled.sage] jclouds userData: support for vCloud Director
[sam.corbett] Simplify JcloudsLocationTest
[sam.corbett] Adds PROVISION_LATCH config
[mike.zaccardo] Add link to GitHub blueprint library
[alex.heneveld] use java6 for the jmx jars
[alex.heneveld] minor toString improvement and deprecation tidy
[aled.sage] Windows support fixes (for vCloud Director)
[aled.sage] Adds VanillaWindowsProcess.RDP_PORT attribute
[alex.heneveld] time/date parse code review - formatting mostly
[aled.sage] Sanitize: don’t use anonymous inner class
[aled.sage] Adds VanillaWindowsProcess.WINRM_PORT attribute
[aled.sage] Adds WINRM_ADDRESS attribute in VanillaWindowsProcess
[aled.sage] ResourceUtilsHttpTest: use different port
[aled.sage] Adds AdvertiseWinrmLoginPolicy
[alex.heneveld] set all java refs in docs to 1.7+
[alex.heneveld] fix seconds parse and add test for Time/date parsing
------------------------------------------
[...truncated 30751 lines...]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
testAsyncExecStdoutAndStderr(brooklyn.util.internal.ssh.sshj.SshjToolIntegrationTest)
Time elapsed: 5.617 sec <<< FAILURE!
java.lang.AssertionError: expected [mystringToStderr
mystringPostSleepToStderr] but found [mystringToStderr
/home/jenkins/.bash_logout: line 7: 28656 Terminated tail -c +1 -f
/tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28657 Terminated tail -c +1 -f
/tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
tail: /tmp/brooklyn-20150617-230902952-Ioz3.stderr: file truncated
/home/jenkins/.bash_logout: line 7: 28675 Terminated tail -c +18
-f /tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28676 Terminated tail -c +273
-f /tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
tail: /tmp/brooklyn-20150617-230902952-Ioz3.stderr: file truncated
mystringPostSleepToStderr
/home/jenkins/.bash_logout: line 7: 28694 Terminated tail -c +18
-f /tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28695 Terminated tail -c +598
-f /tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at org.testng.Assert.assertEquals(Assert.java:186)
at
brooklyn.util.internal.ssh.sshj.SshjToolIntegrationTest.testAsyncExecStdoutAndStderr(SshjToolIntegrationTest.java:196)
testExtractingConnectablePassphraselessKey(brooklyn.location.basic.SshMachineLocationIntegrationTest)
Time elapsed: 0.004 sec <<< FAILURE!
java.lang.NullPointerException: This test requires a localhost named location
called 'localhost-passphrase' (which should have a passphrase set)
at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
at
brooklyn.location.basic.SshMachineLocationIntegrationTest.testExtractingConnectablePassphraselessKey(SshMachineLocationIntegrationTest.java:70)
Results :
Failed tests:
CatalogDtoTest.testCatalogLookup:62->checkCatalogHealthy:83 expected object
to not be null
CatalogDtoTest.testCatalogSerializeAndLookup:74->checkCatalogHealthy:79 »
ClassCast
SshMachineLocationIntegrationTest.testExtractingConnectablePassphraselessKey:70
» NullPointer
SshMachineLocationTest.testIsSshableWhenFalse:282 » Timeout Still running:
r=b...
HostGeoLookupIntegrationTest.testMaxmindLookup:71 host lookup unavailable -
is the maxmind database installed? expected object to not be null
SshCliToolIntegrationTest>ShellToolAbstractTest.testRunAsRoot:368 not running
as root; whoami is: Executed /tmp/brooklyn-20150617-221555350-wMMa.sh, result 1
(err is 'sudo: a password is required
') expected [true] but found [false]
ProcessToolIntegrationTest>ShellToolAbstractTest.testRunAsRoot:368 not
running as root; whoami is: Executed /tmp/brooklyn-20150617-221556000-eEOr.sh,
result 1
(err is 'sudo: a password is required
') expected [true] but found [false]
SshjToolIntegrationTest.testAsyncExecStdoutAndStderr:196 expected
[mystringToStderr
mystringPostSleepToStderr] but found [mystringToStderr
/home/jenkins/.bash_logout: line 7: 28656 Terminated tail -c +1 -f
/tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28657 Terminated tail -c +1 -f
/tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
tail: /tmp/brooklyn-20150617-230902952-Ioz3.stderr: file truncated
/home/jenkins/.bash_logout: line 7: 28675 Terminated tail -c +18
-f /tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28676 Terminated tail -c +273
-f /tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
tail: /tmp/brooklyn-20150617-230902952-Ioz3.stderr: file truncated
mystringPostSleepToStderr
/home/jenkins/.bash_logout: line 7: 28694 Terminated tail -c +18
-f /tmp/brooklyn-20150617-230902952-Ioz3.stdout
/home/jenkins/.bash_logout: line 7: 28695 Terminated tail -c +598
-f /tmp/brooklyn-20150617-230902952-Ioz3.stderr 1>&2
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).]
SshjToolIntegrationTest>ShellToolAbstractTest.testRunAsRoot:368 not running
as root; whoami is: Executed /tmp/brooklyn-20150617-225504211-NmJB.sh, result 1
(err is 'sudo: a password is required
') expected [true] but found [false]
SshjToolIntegrationTest>SshToolAbstractIntegrationTest.testSshKeyWithPassphrase:245
» Ssh
BashCommandsIntegrationTest.testSudo:134 out=; err=sudo: a password is
required
expected [0] but found [1]
Tests run: 1319, Failures: 11, Errors: 0, Skipped: 3
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Parent Project ........................... SUCCESS [14.127s]
[INFO] Brooklyn Utilities to Support Testing (listeners etc) SUCCESS [11.352s]
[INFO] Brooklyn Logback Includable Configuration ......... SUCCESS [6.367s]
[INFO] Brooklyn Common Utilities ......................... FAILURE [48.965s]
[INFO] Brooklyn Groovy Utilities ......................... SUCCESS [13.177s]
[INFO] Brooklyn API ...................................... SUCCESS [5.151s]
[INFO] Brooklyn Test Support ............................. SUCCESS [8.239s]
[INFO] CAMP Server Parent Project ........................ SUCCESS [1.160s]
[INFO] CAMP Base ......................................... SUCCESS [7.125s]
[INFO] Brooklyn Core ..................................... FAILURE
[1:07:42.577s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:10:12.570s
[INFO] Finished at: Wed Jun 17 23:14:17 UTC 2015
[INFO] Final Memory: 38M/241M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on
project brooklyn-utils-common: There are test failures.
[ERROR]
[ERROR] Please refer to
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/common/target/surefire-reports>
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on
project brooklyn-core: There are test failures.
[ERROR]
[ERROR] Please refer to
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/core/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-utils-common
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/core/pom.xml>
to
org.apache.brooklyn/brooklyn-core/0.7.0-SNAPSHOT/brooklyn-core-0.7.0-SNAPSHOT.pom
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Core #2
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 9754 bytes
Compression is 0.0%
Took 3 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/groovy/pom.xml>
to
org.apache.brooklyn/brooklyn-utils-groovy/0.7.0-SNAPSHOT/brooklyn-utils-groovy-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/groovy/target/brooklyn-utils-groovy-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn/brooklyn-utils-groovy/0.7.0-SNAPSHOT/brooklyn-utils-groovy-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/groovy/target/brooklyn-utils-groovy-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn/brooklyn-utils-groovy/0.7.0-SNAPSHOT/brooklyn-utils-groovy-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Groovy Utilities #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 88353 bytes
Compression is 0.0%
Took 0.53 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/common/pom.xml>
to
org.apache.brooklyn/brooklyn-utils-common/0.7.0-SNAPSHOT/brooklyn-utils-common-0.7.0-SNAPSHOT.pom
No prior successful build to compare, so performing full copy of artifacts
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/test-support/pom.xml>
to
org.apache.brooklyn/brooklyn-test-support/0.7.0-SNAPSHOT/brooklyn-test-support-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/test-support/target/brooklyn-test-support-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn/brooklyn-test-support/0.7.0-SNAPSHOT/brooklyn-test-support-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/test-support/target/brooklyn-test-support-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn/brooklyn-test-support/0.7.0-SNAPSHOT/brooklyn-test-support-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Test Support #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 111204 bytes
Compression is 0.0%
Took 0.25 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/camp/camp-base/pom.xml>
to
org.apache.brooklyn.camp/camp-base/0.7.0-SNAPSHOT/camp-base-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/camp/camp-base/target/camp-base-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn.camp/camp-base/0.7.0-SNAPSHOT/camp-base-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/camp/camp-base/target/camp-base-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn.camp/camp-base/0.7.0-SNAPSHOT/camp-base-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration » CAMP
Base #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 131124 bytes
Compression is 0.0%
Took 0.46 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/pom.xml>
to
org.apache.brooklyn/brooklyn-parent/0.7.0-SNAPSHOT/brooklyn-parent-0.7.0-SNAPSHOT.pom
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Parent Project #122
Archived 1 artifacts
Archive block size is 32768
Received 1 blocks and 60381 bytes
Compression is 35.2%
Took 0.18 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/logback-includes/pom.xml>
to
org.apache.brooklyn/brooklyn-logback-includes/0.7.0-SNAPSHOT/brooklyn-logback-includes-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/logback-includes/target/brooklyn-logback-includes-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn/brooklyn-logback-includes/0.7.0-SNAPSHOT/brooklyn-logback-includes-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/usage/logback-includes/target/brooklyn-logback-includes-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn/brooklyn-logback-includes/0.7.0-SNAPSHOT/brooklyn-logback-includes-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Logback Includable Configuration #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 41371 bytes
Compression is 0.0%
Took 0.17 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/test-support/pom.xml>
to
org.apache.brooklyn/brooklyn-utils-test-support/0.7.0-SNAPSHOT/brooklyn-utils-test-support-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/test-support/target/brooklyn-utils-test-support-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn/brooklyn-utils-test-support/0.7.0-SNAPSHOT/brooklyn-utils-test-support-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/utils/test-support/target/brooklyn-utils-test-support-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn/brooklyn-utils-test-support/0.7.0-SNAPSHOT/brooklyn-utils-test-support-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn Utilities to Support Testing (listeners etc) #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 44893 bytes
Compression is 0.0%
Took 0.17 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/camp/pom.xml>
to
org.apache.brooklyn.camp/camp-parent/0.7.0-SNAPSHOT/camp-parent-0.7.0-SNAPSHOT.pom
Sending artifact delta relative to incubator-brooklyn-master-integration » CAMP
Server Parent Project #122
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 1821 bytes
Compression is 0.0%
Took 0.16 sec
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/api/pom.xml>
to
org.apache.brooklyn/brooklyn-api/0.7.0-SNAPSHOT/brooklyn-api-0.7.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/api/target/brooklyn-api-0.7.0-SNAPSHOT.jar>
to
org.apache.brooklyn/brooklyn-api/0.7.0-SNAPSHOT/brooklyn-api-0.7.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://builds.apache.org/job/incubator-brooklyn-master-integration/ws/api/target/brooklyn-api-0.7.0-SNAPSHOT-sources.jar>
to
org.apache.brooklyn/brooklyn-api/0.7.0-SNAPSHOT/brooklyn-api-0.7.0-SNAPSHOT-sources.jar
Sending artifact delta relative to incubator-brooklyn-master-integration »
Brooklyn API #122
Archived 3 artifacts
Archive block size is 32768
Received 0 blocks and 250609 bytes
Compression is 0.0%
Took 0.32 sec
channel stopped
Looks like the node went offline during the build. Check the slave log for the
details.