[GitHub] brooklyn-server pull request #1006: Update IPTables save method

2018-10-02 Thread grkvlt
GitHub user grkvlt opened a pull request:

https://github.com/apache/brooklyn-server/pull/1006

Update IPTables save method

Service iptables save doesn't work with Centos 7, or rather doesn't work 
with the CentOS 7 AMI we use on EC2, which has a cut-down service command only 
supporting the standard start, stop, restart and status command verbs.

Generates a better bash command string that should work on all CentOS 
variants.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/grkvlt/brooklyn-server 
frogfather_amend_iptables_save

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/brooklyn-server/pull/1006.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1006


commit 77b50be911148c7414dbb1b30364b495b4c8f363
Author: frogfather 
Date:   2018-10-01T13:23:15Z

Update IPTables save method

commit c474231af219212336b647f3cc138d6ff58a8f47
Author: frogfather 
Date:   2018-10-02T13:42:23Z

review comments and add test




---


[GitHub] brooklyn-server pull request #1005: [TEST] Update README.md

2018-10-02 Thread grkvlt
GitHub user grkvlt opened a pull request:

https://github.com/apache/brooklyn-server/pull/1005

[TEST] Update README.md

Extra line for PR to test Jenkins builds.

DO NOT MERGE!

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/grkvlt/brooklyn-server patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/brooklyn-server/pull/1005.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1005


commit d7b7d4c8db116e78324e3133c27aeeb519b95383
Author: Andrew Donald Kennedy 
Date:   2018-10-03T00:10:45Z

[TEST] Update README.md

Extra line for PR to test Jenkins builds




---


Build failed in Jenkins: brooklyn-master-build-docker-pipeline #15

2018-10-02 Thread Apache Jenkins Server
See 


--
[...truncated 25.48 MB...]
Progress (1): 1.6 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/3.1.0/maven-artifact-3.1.0.pom
 (1.6 kB at 126 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.0.0.M2a/org.eclipse.sisu.plexus-0.0.0.M2a.pom
Progress (1): 2.8/5.9 kBProgress (1): 5.5/5.9 kBProgress (1): 5.9 kB
Downloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.0.0.M2a/org.eclipse.sisu.plexus-0.0.0.M2a.pom
 (5.9 kB at 453 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/sisu-plexus/0.0.0.M2a/sisu-plexus-0.0.0.M2a.pom
Progress (1): 2.2/7.9 kBProgress (1): 5.0/7.9 kBProgress (1): 7.8/7.9 
kBProgress (1): 7.9 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/sisu-plexus/0.0.0.M2a/sisu-plexus-0.0.0.M2a.pom
 (7.9 kB at 528 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/com/google/guava/guava/10.0.1/guava-10.0.1.pom
Progress (1): 2.8/5.4 kBProgress (1): 5.4 kBDownloaded 
from central: 
https://repo.maven.apache.org/maven2/com/google/guava/guava/10.0.1/guava-10.0.1.pom
 (5.4 kB at 385 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/com/google/guava/guava-parent/10.0.1/guava-parent-10.0.1.pom
Progress (1): 2.0 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/com/google/guava/guava-parent/10.0.1/guava-parent-10.0.1.pom
 (2.0 kB at 163 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0.pom
Progress (1): 2.2/10 kBProgress (1): 5.0/10 kBProgress (1): 7.8/10 kBProgress 
(1): 10 kB   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0.pom
 (10 kB at 725 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/sonatype/sisu/inject/guice-parent/3.1.0/guice-parent-3.1.0.pom
Progress (1): 2.8/11 kBProgress (1): 5.5/11 kBProgress (1): 8.3/11 kBProgress 
(1): 11 kB   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/sonatype/sisu/inject/guice-parent/3.1.0/guice-parent-3.1.0.pom
 (11 kB at 910 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M2a/org.eclipse.sisu.inject-0.0.0.M2a.pom
Progress (1): 2.2/5.0 kBProgress (1): 5.0 kBDownloaded 
from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M2a/org.eclipse.sisu.inject-0.0.0.M2a.pom
 (5.0 kB at 414 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/sisu-inject/0.0.0.M2a/sisu-inject-0.0.0.M2a.pom
Progress (1): 2.2/7.8 kBProgress (1): 5.0/7.8 kBProgress (1): 7.8/7.8 
kBProgress (1): 7.8 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/org/eclipse/sisu/sisu-inject/0.0.0.M2a/sisu-inject-0.0.0.M2a.pom
 (7.8 kB at 558 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom
Progress (1): 1.6 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom
 (1.6 kB at 116 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom
Progress (1): 2.2/17 kBProgress (1): 5.0/17 kBProgress (1): 7.7/17 kBProgress 
(1): 11/17 kB Progress (1): 13/17 kBProgress (1): 16/17 kBProgress (1): 17 kB   
   Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom
 (17 kB at 972 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/com/github/eirslett/frontend-plugin-core/1.3/frontend-plugin-core-1.3.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.3/httpcore-4.4.3.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.5.1/httpclient-4.5.1.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
Progress (1): 2.2/70 kBProgress (1): 5.0/70 kBProgress (1): 7.7/70 kBProgress 
(1): 10/70 kB Progress (1): 13/70 kBProgress (1): 16/70 kBProgress (1): 19/70 
kBProgress (1): 

Build failed in Jenkins: brooklyn-client-master-docker #31

2018-10-02 Thread Apache Jenkins Server
See 


--
[...truncated 21.58 KB...]
Preparing to unpack .../49-libdpkg-perl_1.18.25_all.deb ...
Unpacking libdpkg-perl (1.18.25) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../50-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b2) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../51-libglib2.0-0_2.50.3-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.50.3-2) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../52-libglib2.0-data_2.50.3-2_all.deb ...
Unpacking libglib2.0-data (2.50.3-2) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../53-libxmuu1_2%3a1.1.2-2_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../54-manpages-dev_4.10-2_all.deb ...
Unpacking manpages-dev (4.10-2) ...
Selecting previously unselected package patch.
Preparing to unpack .../55-patch_2.7.5-1+deb9u1_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../56-pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package rename.
Preparing to unpack .../57-rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package rsync.
Preparing to unpack .../58-rsync_3.1.2-1+deb9u1_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../59-shared-mime-info_1.8-1+deb9u1_amd64.deb ...
Unpacking shared-mime-info (1.8-1+deb9u1) ...
Selecting previously unselected package xauth.
Preparing to unpack .../60-xauth_1%3a1.0.9-1+b2_amd64.deb ...
Unpacking xauth (1:1.0.9-1+b2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../61-xdg-user-dirs_0.15-2+b1_amd64.deb ...
Unpacking xdg-user-dirs (0.15-2+b1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../62-xml-core_0.17_all.deb ...
Unpacking xml-core (0.17) ...
Setting up libquadmath0:amd64 (6.3.0-18+deb9u1) ...
Setting up libedit2:amd64 (3.1-20160903-3) ...
Setting up libgomp1:amd64 (6.3.0-18+deb9u1) ...
Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u4) ...
Setting up libgdbm3:amd64 (1.8.3-14) ...
Setting up manpages (4.10-2) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u4) ...
Setting up git-man (1:2.11.0-3+deb9u3) ...
Setting up libpopt0:amd64 (1.16-10+b2) ...
Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Setting up less (481-2.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libasan3:amd64 (6.3.0-18+deb9u1) ...
Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u7) ...
Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libglib2.0-0:amd64 (2.50.3-2) ...
No schema files found: doing nothing.
Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u5) ...
Setting up sgml-base (1.29) ...
Setting up libicu57:amd64 (57.1-6+deb9u2) ...
Setting up libxmuu1:amd64 (2:1.1.2-2) ...
Setting up libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
Setting up rsync (3.1.2-1+deb9u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up xauth (1:1.0.9-1+b2) ...
Setting up perl (5.24.1-3+deb9u4) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) 
in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz 
because associated file /usr/share/man/man1/prename.1.gz (of link group rename) 
doesn't exist
Setting up libfile-fcntllock-perl (0.22-3+b2) ...
Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ...
Setting up libisl15:amd64 (0.18-1) ...
Setting up patch (2.7.5-1+deb9u1) ...
Setting up libglib2.0-data (2.50.3-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up liblocale-gettext-perl (1.07-3+b1) ...
Setting up libmpfr4:amd64 (3.1.5-1) ...
Setting up shared-mime-info (1.8-1+deb9u1) ...
Setting up libmpc3:amd64 (1.0.3-1+b2) ...
Setting up binutils (2.28-5) ...
Setting up cpp-6 (6.3.0-18+deb9u1) ...
Setting up golang-1.7-src (1.7.4-2) ...
Setting up libc-dev-bin (2.24-11+deb9u3) ...
Setting up xml-core (0.17) ...
Setting up manpages-dev (4.10-2) ...
Setting up openssh-client (1:7.4p1-10+deb9u4) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u3) ...
Setting up xdg-user-dirs (0.15-2+b1) ...
Setting up libitm1:amd64 (6.3.0-18+deb9u1) ...
Setting up netbase (5.4) ...
Setting up cpp (4:6.3.0-4) ...
Setting up 

[GitHub] brooklyn-server issue #1003: Update IPTables save method

2018-10-02 Thread grkvlt
Github user grkvlt commented on the issue:

https://github.com/apache/brooklyn-server/pull/1003
  
I think Jenkins is failing due to permissions, maybe on the ASF side?


---


Jenkins build is back to normal : brooklyn-master-build-docker #749

2018-10-02 Thread Apache Jenkins Server
See 




Build failed in Jenkins: brooklyn-ui-master-docker #60

2018-10-02 Thread Apache Jenkins Server
See 


--
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1794)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: missing object referenced by 
'refs/tags/rel/apache-brooklyn-1.0.0-M1'
error: Could not read 3fffb6094da9b63aadd90faaf8f30dbabe9644fd
remote: Counting objects: 2783, done.
remote: Compressing objects:   0% (1/2118)   remote: Compressing 
objects:   1% (22/2118)   remote: Compressing objects:   2% (43/2118)   
remote: Compressing objects:   3% (64/2118)   remote: 
Compressing objects:   4% (85/2118)   remote: Compressing objects:   5% 
(106/2118)   remote: Compressing objects:   6% (128/2118)   
remote: Compressing objects:   7% (149/2118)   remote: Compressing 
objects:   8% (170/2118)   remote: Compressing objects:   9% (191/2118) 
  remote: Compressing objects:  10% (212/2118)   remote: 
Compressing objects:  11% (233/2118)   remote: Compressing objects:  
12% (255/2118)   remote: Compressing objects:  13% (276/2118)   
remote: Compressing objects:  14% (297/2118)   remote: Compressing 
objects:  15% (318/2118)   remote: Compressing objects:  16% (339/2118) 
  remote: Compressing objects:  17% (361/2118)   remote: 
Compressing objects:  18% (382/2118)   remote: Compressing objects:  
19% (403/2118)   remote: Compressing objects:  20% (424/2118)   
remote: Compressing objects:  21% (445/2118)   remote: Compressing 
objects:  22% (466/2118)   remote: Compressing objects:  23% (488/2118) 
  remote: Compressing objects:  24% (509/2118)   remote: 
Compressing objects:  25% (530/2118)   remote: Compressing objects:  
26% (551/2118)   remote: Compressing objects:  27% (572/2118)   
remote: Compressing objects:  28% (594/2118)   remote: Compressing 
objects:  29% (615/2118)   remote: Compressing objects:  30% (636/2118) 
  remote: Compressing objects:  31% (657/2118)   remote: 
Compressing objects:  32% (678/2118)   remote: Compressing objects:  
33% (699/2118)   remote: Compressing objects:  34% (721/2118)   
remote: Compressing objects:  35% (742/2118)   remote: Compressing 
objects:  36% (763/2118)   remote: Compressing objects:  37% (784/2118) 
  remote: Compressing objects:  38% (805/2118)   remote: 
Compressing objects:  39% (827/2118)   remote: Compressing objects:  
40% (848/2118)   remote: Compressing objects:  41% (869/2118)   
remote: Compressing objects:  42% (890/2118)   remote: Compressing 
objects:  43% (911/2118)   remote: Compressing objects:  44% (932/2118) 
  remote: Compressing objects:  45% (954/2118)   remote: 
Compressing objects:  46% (975/2118)   remote: Compressing objects:  
47% (996/2118)   remote: Compressing objects:  48% (1017/2118)  
 remote: Compressing objects:  49% (1038/2118)   remote: Compressing 
objects:  50% 

[GitHub] brooklyn-server issue #1003: Update IPTables save method

2018-10-02 Thread grkvlt
Github user grkvlt commented on the issue:

https://github.com/apache/brooklyn-server/pull/1003
  
Thanks @frogfather LGTM, will merge assuming tests pass


---


[GitHub] brooklyn-server issue #1003: Update IPTables save method

2018-10-02 Thread grkvlt
Github user grkvlt commented on the issue:

https://github.com/apache/brooklyn-server/pull/1003
  
> Service iptables save doesn't work with Centos7

That is, doesn't work with the CentOS 7 AMI we use on EC2, which has a 
cut-down `service` command only supporting the standard _start_, _stop_, 
_restart_ and _status_ command verbs.


---


Build failed in Jenkins: brooklyn-ui-master-docker #58

2018-10-02 Thread Apache Jenkins Server
See 


--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1794)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: missing object referenced by 
'refs/tags/rel/apache-brooklyn-1.0.0-M1'
error: Could not read 3fffb6094da9b63aadd90faaf8f30dbabe9644fd
remote: Counting objects: 2783, done.
remote: Compressing objects:   0% (1/2118)   remote: Compressing 
objects:   1% (22/2118)   remote: Compressing objects:   2% (43/2118)   
remote: Compressing objects:   3% (64/2118)   remote: 
Compressing objects:   4% (85/2118)   remote: Compressing objects:   5% 
(106/2118)   remote: Compressing objects:   6% (128/2118)   
remote: Compressing objects:   7% (149/2118)   remote: Compressing 
objects:   8% (170/2118)   remote: Compressing objects:   9% (191/2118) 
  remote: Compressing objects:  10% (212/2118)   remote: 
Compressing objects:  11% (233/2118)   remote: Compressing objects:  
12% (255/2118)   remote: Compressing objects:  13% (276/2118)   
remote: Compressing objects:  14% (297/2118)   remote: Compressing 
objects:  15% (318/2118)   remote: Compressing objects:  16% (339/2118) 
  remote: Compressing objects:  17% (361/2118)   remote: 
Compressing objects:  18% (382/2118)   remote: Compressing objects:  
19% (403/2118)   remote: Compressing objects:  20% (424/2118)   
remote: Compressing objects:  21% (445/2118)   remote: Compressing 
objects:  22% (466/2118)   remote: Compressing objects:  23% (488/2118) 
  remote: Compressing objects:  24% (509/2118)   remote: 
Compressing objects:  25% (530/2118)   remote: Compressing objects:  
26% (551/2118)   remote: Compressing objects:  27% (572/2118)   
remote: Compressing objects:  28% (594/2118)   remote: Compressing 
objects:  29% (615/2118)   remote: Compressing objects:  30% (636/2118) 
  remote: Compressing objects:  31% (657/2118)   remote: 
Compressing objects:  32% (678/2118)   remote: Compressing objects:  
33% (699/2118)   remote: Compressing objects:  34% (721/2118)   
remote: Compressing objects:  35% (742/2118)   remote: Compressing 
objects:  36% (763/2118)   remote: Compressing objects:  37% (784/2118) 
  remote: Compressing objects:  38% (805/2118)   remote: 
Compressing objects:  39% (827/2118)   remote: Compressing objects:  
40% (848/2118)   remote: Compressing objects:  41% (869/2118)   
remote: Compressing objects:  42% (890/2118)   remote: Compressing 
objects:  43% (911/2118)   remote: Compressing objects:  44% (932/2118) 
  remote: Compressing objects:  45% (954/2118)   remote: 
Compressing objects:  46% (975/2118)   remote: Compressing objects:  
47% (996/2118)   remote: Compressing objects:  48% (1017/2118)  
 remote: Compressing objects:  49% (1038/2118)   remote: Compressing 
objects:  50% 

Build failed in Jenkins: brooklyn-ui-master-docker #57

2018-10-02 Thread Apache Jenkins Server
See 


--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1794)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: missing object referenced by 
'refs/tags/rel/apache-brooklyn-1.0.0-M1'
error: Could not read 3fffb6094da9b63aadd90faaf8f30dbabe9644fd
remote: Counting objects: 2783, done.
remote: Compressing objects:   0% (1/2118)   remote: Compressing 
objects:   1% (22/2118)   remote: Compressing objects:   2% (43/2118)   
remote: Compressing objects:   3% (64/2118)   remote: 
Compressing objects:   4% (85/2118)   remote: Compressing objects:   5% 
(106/2118)   remote: Compressing objects:   6% (128/2118)   
remote: Compressing objects:   7% (149/2118)   remote: Compressing 
objects:   8% (170/2118)   remote: Compressing objects:   9% (191/2118) 
  remote: Compressing objects:  10% (212/2118)   remote: 
Compressing objects:  11% (233/2118)   remote: Compressing objects:  
12% (255/2118)   remote: Compressing objects:  13% (276/2118)   
remote: Compressing objects:  14% (297/2118)   remote: Compressing 
objects:  15% (318/2118)   remote: Compressing objects:  16% (339/2118) 
  remote: Compressing objects:  17% (361/2118)   remote: 
Compressing objects:  18% (382/2118)   remote: Compressing objects:  
19% (403/2118)   remote: Compressing objects:  20% (424/2118)   
remote: Compressing objects:  21% (445/2118)   remote: Compressing 
objects:  22% (466/2118)   remote: Compressing objects:  23% (488/2118) 
  remote: Compressing objects:  24% (509/2118)   remote: 
Compressing objects:  25% (530/2118)   remote: Compressing objects:  
26% (551/2118)   remote: Compressing objects:  27% (572/2118)   
remote: Compressing objects:  28% (594/2118)   remote: Compressing 
objects:  29% (615/2118)   remote: Compressing objects:  30% (636/2118) 
  remote: Compressing objects:  31% (657/2118)   remote: 
Compressing objects:  32% (678/2118)   remote: Compressing objects:  
33% (699/2118)   remote: Compressing objects:  34% (721/2118)   
remote: Compressing objects:  35% (742/2118)   remote: Compressing 
objects:  36% (763/2118)   remote: Compressing objects:  37% (784/2118) 
  remote: Compressing objects:  38% (805/2118)   remote: 
Compressing objects:  39% (827/2118)   remote: Compressing objects:  
40% (848/2118)   remote: Compressing objects:  41% (869/2118)   
remote: Compressing objects:  42% (890/2118)   remote: Compressing 
objects:  43% (911/2118)   remote: Compressing objects:  44% (932/2118) 
  remote: Compressing objects:  45% (954/2118)   remote: 
Compressing objects:  46% (975/2118)   remote: Compressing objects:  
47% (996/2118)   remote: Compressing objects:  48% (1017/2118)  
 remote: Compressing objects:  49% (1038/2118)   remote: Compressing 
objects:  50% 

Build failed in Jenkins: brooklyn-ui-master-docker #56

2018-10-02 Thread Apache Jenkins Server
See 


--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1794)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/brooklyn-ui.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: missing object referenced by 
'refs/tags/rel/apache-brooklyn-1.0.0-M1'
error: Could not read 3fffb6094da9b63aadd90faaf8f30dbabe9644fd
remote: Counting objects: 2783, done.
remote: Compressing objects:   0% (1/2118)   remote: Compressing 
objects:   1% (22/2118)   remote: Compressing objects:   2% (43/2118)   
remote: Compressing objects:   3% (64/2118)   remote: 
Compressing objects:   4% (85/2118)   remote: Compressing objects:   5% 
(106/2118)   remote: Compressing objects:   6% (128/2118)   
remote: Compressing objects:   7% (149/2118)   remote: Compressing 
objects:   8% (170/2118)   remote: Compressing objects:   9% (191/2118) 
  remote: Compressing objects:  10% (212/2118)   remote: 
Compressing objects:  11% (233/2118)   remote: Compressing objects:  
12% (255/2118)   remote: Compressing objects:  13% (276/2118)   
remote: Compressing objects:  14% (297/2118)   remote: Compressing 
objects:  15% (318/2118)   remote: Compressing objects:  16% (339/2118) 
  remote: Compressing objects:  17% (361/2118)   remote: 
Compressing objects:  18% (382/2118)   remote: Compressing objects:  
19% (403/2118)   remote: Compressing objects:  20% (424/2118)   
remote: Compressing objects:  21% (445/2118)   remote: Compressing 
objects:  22% (466/2118)   remote: Compressing objects:  23% (488/2118) 
  remote: Compressing objects:  24% (509/2118)   remote: 
Compressing objects:  25% (530/2118)   remote: Compressing objects:  
26% (551/2118)   remote: Compressing objects:  27% (572/2118)   
remote: Compressing objects:  28% (594/2118)   remote: Compressing 
objects:  29% (615/2118)   remote: Compressing objects:  30% (636/2118) 
  remote: Compressing objects:  31% (657/2118)   remote: 
Compressing objects:  32% (678/2118)   remote: Compressing objects:  
33% (699/2118)   remote: Compressing objects:  34% (721/2118)   
remote: Compressing objects:  35% (742/2118)   remote: Compressing 
objects:  36% (763/2118)   remote: Compressing objects:  37% (784/2118) 
  remote: Compressing objects:  38% (805/2118)   remote: 
Compressing objects:  39% (827/2118)   remote: Compressing objects:  
40% (848/2118)   remote: Compressing objects:  41% (869/2118)   
remote: Compressing objects:  42% (890/2118)   remote: Compressing 
objects:  43% (911/2118)   remote: Compressing objects:  44% (932/2118) 
  remote: Compressing objects:  45% (954/2118)   remote: 
Compressing objects:  46% (975/2118)   remote: Compressing objects:  
47% (996/2118)   remote: Compressing objects:  48% (1017/2118)  
 remote: Compressing objects:  49% (1038/2118)   remote: Compressing 
objects:  50% 

[GitHub] brooklyn-ui pull request #76: Composer palette: search entity tags

2018-10-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/brooklyn-ui/pull/76


---


[GitHub] brooklyn-ui issue #76: Composer palette: search entity tags

2018-10-02 Thread ahgittin
Github user ahgittin commented on the issue:

https://github.com/apache/brooklyn-ui/pull/76
  
lgtm


---


[jira] [Created] (BROOKLYN-603) SoftwareProcess.restart(restartMachine: true) fails: keypair does not exist

2018-10-02 Thread Aled Sage (JIRA)
Aled Sage created BROOKLYN-603:
--

 Summary: SoftwareProcess.restart(restartMachine: true) fails: 
keypair does not exist
 Key: BROOKLYN-603
 URL: https://issues.apache.org/jira/browse/BROOKLYN-603
 Project: Brooklyn
  Issue Type: Bug
Affects Versions: 1.0.0-M1
Reporter: Aled Sage


For a {{VanillaSoftwareProcess}} entity, calling {{restart(restartMachine: 
true)}} fails with the error:
{noformat}
2018-09-28T01:13:35.382Z :  
{"timeMillis":1538097215363,"thread":"brooklyn-execmanager-bKgJW2xZ-51","level":"DEBUG","loggerName":"org.apache.brooklyn.util.core.task.BasicExecutionManager","message":"Exception
 running task Task[Cross-
context execution: Invoking effector restart on Docker Entity with parameters 
{restartMachine=true}]@O8Dz2VIj (rethrowing): 
org.apache.brooklyn.core.mgmt.internal.EffectorUtils$EffectorCallPropagatedRuntimeException:
 Error invoking r
estart at VanillaSoftwareProcessImpl{id=d0398d4n58}: Failed to get VM after 3 
attempts. - First cause is org.jclouds.rest.ResourceNotFoundException: The key 
pair 'jclouds#qa-docker-ent-d0398d4n58#4ef' does not exist (listed in primar
y trace); plus 2 more (e.g. the last is 
org.jclouds.rest.ResourceNotFoundException: The key pair 
'jclouds#qa-docker-ent-d0398d4n58#4ef' does not exist): 
ResourceNotFoundException: The key pair 'jclouds#qa-docker-ent-d0398d4n58#4ef' d
oes not 
exist","endOfBatch":false,"loggerFqcn":"org.ops4j.pax.logging.slf4j.Slf4jLogger","threadId":208,"threadPriority":5}
{noformat}
The series of events is:
 # start the entity:
 ## call jclouds to provision the VM
 ## jclouds creates the keyPair and other incidental resources, and provisions 
the VM
 # the keyPair is deleted (by our 'cloud cleaner')
 # restart the entity:
 ## call jclouds to stop the VM
 ### jclouds stops the VM, and also attempts to delete incidental resources 
(e.g. keyPairs)
 ## call jclouds to create the VM
 ### jclouds creates the keyPair
 ### jclouds decides to use the old keyPair, because that name is still in the 
{{credentialsMap}}.
 ### VM creation fails: keypair does not exist.

 

At step 3.1.1, {{org.jclouds.ec2.compute.EC2ComputeService.deleteKeyPair}}, it 
does not find the keypair. It therefore does not call 
{{credentialsMap.remove(new RegionAndName(region, keyPair.getKeyName()))}} 
(where credentialsMap is {{ConcurrentMap 
credentialsMap}}). It leaves the non-existent keypair name in the 
credentialsMap.

At step 3.2.2, it leaves behind the second keyPair, and tries to use the key 
name from the map. The code is at 
{{org.jclouds.ec2.compute.strategy.CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.createOrImportKeyPair}}:
{noformat}
   // base EC2 driver currently does not support key import
   protected String createOrImportKeyPair(String region, String group, 
TemplateOptions options) {
  RegionAndName regionAndGroup = new RegionAndName(region, group);
  KeyPair keyPair = makeKeyPair.apply(new RegionAndName(region, group));
  // make sure that we don't request multiple keys simultaneously
  // if there is already a keypair for the group specified, use it
  // otherwise create a new keypair and key it under the group and also the 
regular keyname
  KeyPair origValue = credentialsMap.putIfAbsent(regionAndGroup, keyPair);
  if (origValue != null) {
 return origValue.getKeyName();
  }
{noformat}
There are a number of improvements we could make:

1. Fix jclouds, so it clears out the non-existant keypair name from the 
credentialsMap as part of {{cleanUpIncidentalResources}}.
 2. When the entity stops the VM and then creates a new VM, pass in a different 
group name (e.g. with an incremented suffix - currently the group name is 
generated from the app/entity's name + id).
 3. Discourage use of {{restart(restartMachine: true)}}  (e.g. the VM's IP 
address may well change - is the entity really implemented to support this? 
Would a user of this parameter just expect the VM to reboot, so is it 
dangerous?).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: brooklyn-library-master-docker #346

2018-10-02 Thread Apache Jenkins Server
See 


--
[...truncated 202.96 KB...]
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ 
brooklyn-software-cm-ansible ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ 
brooklyn-software-cm-ansible ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
brooklyn-software-cm-ansible ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
brooklyn-software-cm-ansible ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ 
brooklyn-software-cm-ansible ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /usr/build/software/cm/ansible/target/classes
[INFO] 
/usr/build/software/cm/ansible/src/main/java/org/apache/brooklyn/entity/cm/ansible/AnsibleEntityImpl.java:
 Some input files use or override a deprecated API.
[INFO] 
/usr/build/software/cm/ansible/src/main/java/org/apache/brooklyn/entity/cm/ansible/AnsibleEntityImpl.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ 
brooklyn-software-cm-ansible ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ 
brooklyn-software-cm-ansible ---
[WARNING] Manifest 
org.apache.brooklyn:brooklyn-software-cm-ansible:jar:1.0.0-SNAPSHOT : Unused 
Export-Package instructions: [brooklyn.*] 
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
brooklyn-software-cm-ansible ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/usr/build/software/cm/ansible/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ 
brooklyn-software-cm-ansible ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
/usr/build/software/cm/ansible/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ 
brooklyn-software-cm-ansible ---

---
 T E S T S
---
Running org.apache.brooklyn.entity.cm.ansible.AnsibleEntityIntegrationTest
2018-10-02 08:44:28,373 INFO  - TESTNG RUNNING: Suite: "Surefire test" 
containing "0" Tests (config: null)
2018-10-02 08:44:28,398 INFO  - TESTNG 
===
Surefire test
Tests run: 0, Failures: 0, Skips: 0
===
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.065 sec - in 
org.apache.brooklyn.entity.cm.ansible.AnsibleEntityIntegrationTest

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ 
brooklyn-software-cm-ansible ---
[INFO] Building jar: 
/usr/build/software/cm/ansible/target/brooklyn-software-cm-ansible-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
brooklyn-software-cm-ansible ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (test-jar-creation) @ 
brooklyn-software-cm-ansible ---
[INFO] Building jar: 
/usr/build/software/cm/ansible/target/brooklyn-software-cm-ansible-1.0.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ 
brooklyn-software-cm-ansible ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: sandbox/**
[INFO] Exclude: release/**
[INFO] Exclude: README.md
[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: **/nbactions.xml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: ignored/**
[INFO] Exclude: LICENSE.md
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/*.pem.pub
[INFO] Exclude: **/*.pem
[INFO] Exclude: **/*_rsa.pub
[INFO] Exclude: **/*_rsa
[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: 
**/src/test/resources/org/apache/brooklyn/entity/software/base/template_with_extra_substitutions.txt
[INFO] Exclude: 

Build failed in Jenkins: brooklyn-server-master-docker #147

2018-10-02 Thread Apache Jenkins Server
See 


Changes:

[aled.sage] BROOKLYN-602: fix config key order for yaml overrides

--
[...truncated 46.70 MB...]
Downloading from servicemix: 
http://svn.apache.org/repos/asf/servicemix/m2-repo/com/fasterxml/oss-parent/28/oss-parent-28.pom
Downloading from jclouds-snapshots: 
https://repository.apache.org/content/repositories/snapshots/com/fasterxml/oss-parent/28/oss-parent-28.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/com/fasterxml/oss-parent/28/oss-parent-28.pom
Progress (1): 0.7/20 kBProgress (1): 3.4/20 kBProgress (1): 6.2/20 kBProgress 
(1): 9.0/20 kBProgress (1): 12/20 kB Progress (1): 14/20 kBProgress (1): 17/20 
kBProgress (1): 20/20 kBProgress (1): 20 kB  Downloaded 
from central: 
https://repo.maven.apache.org/maven2/com/fasterxml/oss-parent/28/oss-parent-28.pom
 (20 kB at 1.5 MB/s)
Downloading from servicemix: 
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom
Downloading from jclouds-snapshots: 
https://repository.apache.org/content/repositories/snapshots/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom
Progress (1): 2.2/2.7 kBProgress (1): 2.7 kBDownloaded 
from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom
 (2.7 kB at 224 kB/s)
Downloading from servicemix: 
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom
Downloading from jclouds-snapshots: 
https://repository.apache.org/content/repositories/snapshots/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom
Progress (1): 2.2/12 kBProgress (1): 5.0/12 kBProgress (1): 7.8/12 kBProgress 
(1): 11/12 kB Progress (1): 12 kB  Downloaded from central: 
https://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom
 (12 kB at 984 kB/s)
Downloading from servicemix: 
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.pom
Downloading from jclouds-snapshots: 
https://repository.apache.org/content/repositories/snapshots/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.pom
Progress (1): 1.4 kBDownloaded from central: 
https://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.pom
 (1.4 kB at 99 kB/s)
Downloading from servicemix: 
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.jar
Downloading from jclouds-snapshots: 
https://repository.apache.org/content/repositories/snapshots/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.jar
Downloading from central: 
https://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0.jar
Progress (1): 2.2/771 kBProgress (1): 5.0/771 kBProgress (1): 7.7/771 
kBProgress (1): 10/771 kB Progress (1): 13/771 kBProgress (1): 16/771 
kBProgress (1): 19/771 kBProgress (1): 21/771 kBProgress (1): 24/771 kBProgress 
(1): 27/771 kBProgress (1): 30/771 kBProgress (1): 32/771 kBProgress (1): 
36/771 kBProgress (1): 40/771 kBProgress (1): 45/771 kBProgress (1): 49/771 
kBProgress (1): 53/771 kBProgress (1): 57/771 kBProgress (1): 61/771 kBProgress 
(1): 65/771 kBProgress (1): 69/771 kBProgress (1): 73/771 kBProgress (1): 
77/771 kBProgress (1): 81/771 kBProgress (1): 85/771 kBProgress (1): 90/771 
kBProgress (1): 94/771 kBProgress (1): 98/771 kBProgress (1): 102/771 
kBProgress (1): 106/771 kBProgress (1): 110/771 kBProgress (1): 114/771 
kBProgress (1): 118/771 kBProgress (1): 122/771 kBProgress (1): 126/771 
kBProgress (1): 131/771 kBProgress (1): 135/771 kBProgress (1): 139/771 
kBProgress (1): 143/771 kBProgress (1): 147/771 kBProgress (1): 151/771 
kBProgress (1): 155/771 kBProgress (1): 159/771 kBProgress (1): 163/771 
kBProgress (1): 167/771 kBProgress (1): 171/771 kBProgress (1): 176/771 
kBProgress (1): 180/771 kBProgress (1): 184/771 kBProgress (1): 188/771 
kBProgress (1): 192/771 kBProgress (1): 196/771 kBProgress (1): 200/771 
kBProgress (1): 204/771 kBProgress (1): 208/771 kBProgress (1): 212/771 
kBProgress (1): 217/771 kBProgress (1): 221/771 kBProgress (1): 225/771 
kBProgress (1): 229/771 kBProgress (1): 233/771 kBProgress (1): 237/771 
kBProgress (1): 241/771 kBProgress (1): 245/771 kBProgress (1): 249/771 
kBProgress (1): 253/771 kBProgress (1): 258/771 kBProgress (1): 262/771 
kBProgress (1): 266/771 kBProgress (1): 270/771 kBProgress (1): 

jenkins PR failure in `git fetch`: delete workspace before build starts?

2018-10-02 Thread Aled Sage

Hi all,

Our brooklyn-ui PR builds (e.g. [1]) were failing with the same error as 
is given in INFRA-17055 [2].


```
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress git://github.com/apache/brooklyn-ui.git 
+refs/pull/*:refs/remotes/origin/pr/*" returned status code 128:

stdout:
stderr: error: Could not read 0f7365b818627ae0fa4c1cdf0fb6a65062d23968
```

I've therefore applied the same fix as described in INFRA-17055: enabled 
'Delete workspace before build starts'.


And I've kicked off my PR build again for [3].

---
Longer term, I think it makes sense to delete the workspace for PR 
builds, because PRs could vary massively. If this works for brooklyn-ui, 
is it sensible to roll that change across all the other PR build 
configurations as well?


(I think I've seen that error a few times - I'd previously put it down 
to bad networks, interrupted during git fetch.)


Aled

[1] https://builds.apache.org/job/brooklyn-ui-pull-requests/167/console
[2] https://issues.apache.org/jira/browse/INFRA-17055
[3] https://github.com/apache/brooklyn-ui/pull/76



[GitHub] brooklyn-ui issue #76: Composer palette: search entity tags

2018-10-02 Thread aledsage
Github user aledsage commented on the issue:

https://github.com/apache/brooklyn-ui/pull/76
  
retest this please


---


[jira] [Commented] (BROOKLYN-602) priority of parameters should not be reset by extending a config key in yaml

2018-10-02 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/BROOKLYN-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16635145#comment-16635145
 ] 

ASF GitHub Bot commented on BROOKLYN-602:
-

Github user asfgit closed the pull request at:

https://github.com/apache/brooklyn-server/pull/1004


> priority of parameters should not be reset by extending a config key in yaml
> 
>
> Key: BROOKLYN-602
> URL: https://issues.apache.org/jira/browse/BROOKLYN-602
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 1.0.0-M1
>Reporter: Aled Sage
>Priority: Minor
> Fix For: 1.0.0
>
>
> Currently, if you write a yaml entity that extends an entity to add 
> constraints / descriptions to the config keys, it re-orders the keys: the 
> keys declared in the yaml appear at the top.
> The order should be preserved.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (BROOKLYN-602) priority of parameters should not be reset by extending a config key in yaml

2018-10-02 Thread Aled Sage (JIRA)


 [ 
https://issues.apache.org/jira/browse/BROOKLYN-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aled Sage resolved BROOKLYN-602.

   Resolution: Fixed
 Assignee: Aled Sage
Fix Version/s: 1.0.0

> priority of parameters should not be reset by extending a config key in yaml
> 
>
> Key: BROOKLYN-602
> URL: https://issues.apache.org/jira/browse/BROOKLYN-602
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 1.0.0-M1
>Reporter: Aled Sage
>Assignee: Aled Sage
>Priority: Minor
> Fix For: 1.0.0
>
>
> Currently, if you write a yaml entity that extends an entity to add 
> constraints / descriptions to the config keys, it re-orders the keys: the 
> keys declared in the yaml appear at the top.
> The order should be preserved.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] brooklyn-server pull request #1004: BROOKLYN-602: fix config key order for y...

2018-10-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/brooklyn-server/pull/1004


---


[jira] [Commented] (BROOKLYN-602) priority of parameters should not be reset by extending a config key in yaml

2018-10-02 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/BROOKLYN-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16635141#comment-16635141
 ] 

ASF GitHub Bot commented on BROOKLYN-602:
-

Github user aledsage commented on the issue:

https://github.com/apache/brooklyn-server/pull/1004
  
Thanks @geomacy - variable renamed; merging.


> priority of parameters should not be reset by extending a config key in yaml
> 
>
> Key: BROOKLYN-602
> URL: https://issues.apache.org/jira/browse/BROOKLYN-602
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 1.0.0-M1
>Reporter: Aled Sage
>Priority: Minor
>
> Currently, if you write a yaml entity that extends an entity to add 
> constraints / descriptions to the config keys, it re-orders the keys: the 
> keys declared in the yaml appear at the top.
> The order should be preserved.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] brooklyn-server issue #1004: BROOKLYN-602: fix config key order for yaml ove...

2018-10-02 Thread aledsage
Github user aledsage commented on the issue:

https://github.com/apache/brooklyn-server/pull/1004
  
Thanks @geomacy - variable renamed; merging.


---


[jira] [Commented] (BROOKLYN-595) Brooklyn karaf fails with Java 9

2018-10-02 Thread Aled Sage (JIRA)


[ 
https://issues.apache.org/jira/browse/BROOKLYN-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16635137#comment-16635137
 ] 

Aled Sage commented on BROOKLYN-595:


See the fix in https://github.com/apache/brooklyn-server/pull/1002 (still under 
review).

However, we don't really care about Java 9 or Java 10 because they are already 
end-of-life. We do care about Java 11.

> Brooklyn karaf fails with Java 9
> 
>
> Key: BROOKLYN-595
> URL: https://issues.apache.org/jira/browse/BROOKLYN-595
> Project: Brooklyn
>  Issue Type: Bug
>Reporter: Aled Sage
>Priority: Major
>
> Running on OS X, Brooklyn karaf fails to start:
> {{./bin/start}} gives no output, exit code 0, but the process isn't running! 
> Tweaking the script to add {{-x}}, I see the last thing it did was:
> {noformat}
> exec 
> /Users/aledsage/repos/apache/brooklyn/brooklyn-dist/karaf/apache-brooklyn/target/assembly/bin/karaf
>  server
> {noformat}
> {{./bin/karaf}} gives the error:
> {noformat}
> karaf: JVM must be greater than 1.8
> {noformat}
> Digging into this further, {{java -version}} gives:
> {noformat}
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
> {noformat}
> Running {{./bin/karaf}} with {{-x}} shows:
> {noformat}
> + detectJVM
> + /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home//bin/java 
> -version
> + grep '^IBM'
> + false
> + JVM_VENDOR=SUN
> + checkJvmVersion
> ++ /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home//bin/java 
> -version
> ++ egrep '"([0-9].[0-9]\..*[0-9]).*"'
> ++ awk '{print substr($3,2,length($3)-2)}'
> ++ awk '{print substr($1, 3, 3)}'
> ++ sed -e 's;\.;;g'
> + VERSION=04
> + '[' x04 = x ']'
> + '[' 04 -lt 80 ']'
> + die 'JVM must be greater than 1.8'
> + warn 'JVM must be greater than 1.8'
> + echo 'karaf: JVM must be greater than 1.8'
> karaf: JVM must be greater than 1.8
> + exit 1
> {noformat}
> This looks very similar to 
> https://jira.opendaylight.org/browse/ODLPARENT-73?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BROOKLYN-596) Brooklyn karaf fails with Java 10

2018-10-02 Thread Aled Sage (JIRA)


[ 
https://issues.apache.org/jira/browse/BROOKLYN-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16635136#comment-16635136
 ] 

Aled Sage commented on BROOKLYN-596:


See the fix in https://github.com/apache/brooklyn-server/pull/1002 (still under 
review).

However, we don't really care about Java 9 or Java 10 because they are already 
end-of-life. We do care about Java 11.

> Brooklyn karaf fails with Java 10
> -
>
> Key: BROOKLYN-596
> URL: https://issues.apache.org/jira/browse/BROOKLYN-596
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Aled Sage
>Priority: Major
>
> Running on OS X, Brooklyn karaf fails to start with Java 10:
> {{./bin/start}} does start the process briefly, but it quickly exits. 
> {{./data/log/karaf.log}} shows:
> {noformat}
> Jun 26, 2018 9:11:10 AM org.apache.karaf.main.Main launch(Felix.java:3079)
> INFO: Installing and starting initial 
> bundlesontextImpl.installBundle(BundleContextImpl.java:167)
> Jun 26, 2018 9:11:10 AM org.apache.karaf.main.Main mainndles(Main.java:523)
> SEVERE: Could not launch framework
> java.lang.RuntimeException: Error installing bundle listed in 
> startup.properties with url: 
> mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.1.2 and 
> startlevel: 1
> at 
> org.apache.karaf.main.Main.installAndStartBundles(Main.java:530)ons.java:64)
> at 
> org.apache.karaf.main.Main.launch(Main.java:273)oundsCheckIndex(Preconditions.java:70)
> at 
> org.apache.karaf.main.Main.main(Main.java:178)kIndex(Preconditions.java:248)
> Caused by: org.osgi.framework.BundleException: Could not create bundle object.
> at org.apache.felix.framework.Felix.installBundle(Felix.java:3079)
> at 
> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167)65)
> at org.apache.karaf.main.Main.installAndStartBundles(Main.java:523)
> ... 2 more
> Caused by: java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for 
> length 0
> at 
> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
> at 
> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
> at 
> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
> at java.base/java.util.Objects.checkIndex(Objects.java:372)
> at java.base/java.util.ArrayList.get(ArrayList.java:440)k lock
> at 
> org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:465)t/assembly/lock
> at org.apache.felix.framework.Felix.installBundle(Felix.java:3045)
> ... 4 mored
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (BROOKLYN-599) Brooklyn DSL fails if unrelated entity getParent() throws exception

2018-10-02 Thread Aled Sage (JIRA)


 [ 
https://issues.apache.org/jira/browse/BROOKLYN-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aled Sage resolved BROOKLYN-599.

   Resolution: Fixed
 Assignee: Aled Sage
Fix Version/s: 1.0.0-M1

> Brooklyn DSL fails if unrelated entity getParent() throws exception
> ---
>
> Key: BROOKLYN-599
> URL: https://issues.apache.org/jira/browse/BROOKLYN-599
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Aled Sage
>Assignee: Aled Sage
>Priority: Major
> Fix For: 1.0.0-M1
>
>
> If an entity has a badly implemented {{getParent()}} method (e.g. that throws 
> a {{ClassCastException}}), then it can break other unrelated entities that 
> try to use the brooklyn DSL.
> I came across this error while testing rebind of lots of different entity 
> types.
> I tried to deploy:
> {noformat}
> services:
> - type: org.apache.brooklyn.entity.messaging.qpid.QpidQueue
> {noformat}
> I then tried to deploy a blueprint which uses 
> {{$brooklyn:entity("...").attributeWhenReady("...")}}
> The DSL resolution calls {{LocalEntityManager.getAllEntitiesInApplication}}, 
> which results in the failing call to {{QpidQueue.getParent()}}.
> The full exception is shown below:
> {noformat}
> 2018-09-06T06:45:36,098 DEBUG 348 o.a.b.r.u.WebResourceUtils 
> [p1122435972-4851] responding 400 Bad Request (Error launching blueprint 
> (autodetecting): Error resolving Resolving raw value of simple config 
> loadbalancer.serverpool[ConfigKey:org.apache.brooklyn.api.entity.Group], 
> $brooklyn:entity("cluster"), in 
> org.apache.brooklyn.util.core.task.BasicExecutionContext@58dd4fd6([Wrapped[contextEntity:NginxControllerImpl{id=yoftvdvfuj}],
>  LocalManagementContext[JOHlSRgo-BFD1QQWq]]): com.sun.proxy.$Proxy138 cannot 
> be cast to org.apache.brooklyn.entity.messaging.qpid.QpidBroker)
> 2018-09-06T06:45:36,103 DEBUG 348 o.a.b.r.u.DefaultExceptionMapper 
> [p1122435972-4851] REST request running as 
> WebEntitlementContext[admin@127.0.0.1:KXKEUn] threw: {}
> javax.ws.rs.WebApplicationException: HTTP 400 Bad Request
> at 
> org.apache.brooklyn.rest.util.WebResourceUtils.throwWebApplicationException(WebResourceUtils.java:81)
>  [348:org.apache.brooklyn.rest-resources:1.0.0.20180524_1624]
> at 
> org.apache.brooklyn.rest.util.WebResourceUtils.badRequest(WebResourceUtils.java:101)
>  [348:org.apache.brooklyn.rest-resources:1.0.0.20180524_1624]
> at 
> org.apache.brooklyn.rest.resources.ApplicationResource.createPoly(ApplicationResource.java:419)
>  [348:org.apache.brooklyn.rest-resources:1.0.0.20180524_1624]
> at sun.reflect.GeneratedMethodAccessor244.invoke(Unknown Source) 
> ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:?]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
> at 
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at 
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189) 
> [163:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.10]
> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99) 
> [163:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.10]
> at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  [159:org.apache.cxf.cxf-core:3.1.10]
> at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)
>  [171:org.apache.cxf.cxf-rt-transports-http:3.1.10]
> at 
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
>  [171:org.apache.cxf.cxf-rt-transports-http:3.1.10]
> at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
>  [171:org.apache.cxf.cxf-rt-transports-http:3.1.10]
> at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
>  [171:org.apache.cxf.cxf-rt-transports-http:3.1.10]
> at 
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
>  

[jira] [Resolved] (BROOKLYN-600) Failed blueprint deployment: entities not cleaned up under-the-covers

2018-10-02 Thread Aled Sage (JIRA)


 [ 
https://issues.apache.org/jira/browse/BROOKLYN-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aled Sage resolved BROOKLYN-600.

   Resolution: Fixed
 Assignee: Aled Sage
Fix Version/s: 1.0.0-M1

> Failed blueprint deployment: entities not cleaned up under-the-covers
> -
>
> Key: BROOKLYN-600
> URL: https://issues.apache.org/jira/browse/BROOKLYN-600
> Project: Brooklyn
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Aled Sage
>Assignee: Aled Sage
>Priority: Major
> Fix For: 1.0.0-M1
>
>
> When a blueprint deployment fails, it can leave partially-created entities 
> behind. These are referenced under-the-covers in 
> {{LocalEntityManager.preRegisteredEntitiesById}} and 
> {{preManagedEntitiesById}}, so are entirely hidden from the user. However, it 
> is bad that we leave them around, and it was a contributing factor to 
> https://issues.apache.org/jira/browse/BROOKLYN-599.
> For example, deploying this blueprint fails (because {{QpidQueue}} entity 
> expects to have as a parent a {{QpidBroker}}).
> ```
> services:
> - type: org.apache.brooklyn.entity.messaging.qpid.QpidQueue
> ```
> However, the failed app/entity is still held in memory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: brooklyn-master-build-docker #748

2018-10-02 Thread Apache Jenkins Server
See 


--
[...truncated 9.70 MB...]
at 
org.apache.brooklyn.core.test.entity.LocalManagementContextForTests$Builder.build(LocalManagementContextForTests.java:185)
at 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.newTestManagementContext(AbstractYamlTest.java:117)
at 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest$1.newMgmtContext(AbstractYamlTest.java:103)
at 
org.apache.brooklyn.camp.brooklyn.BrooklynCampPlatformLauncherAbstract.launch(BrooklynCampPlatformLauncherAbstract.java:48)
at 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUpPlatform(AbstractYamlTest.java:106)
at 
org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp(AbstractYamlTest.java:95)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:590)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:132)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

2018-10-02 07:00:15,175 INFO  - BrooklynLeakListener.onFinish attempting to 
terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; 
excludedGroups=[Integration, Acceptance, Live, Live-sanity, WIP, Broken]; 
suiteName=Surefire suite; 
outDir=/usr/build/brooklyn-server/camp/camp-brooklyn/target/surefire-reports/Surefire
 suite: 4 ManagementContexts terminated
2018-10-02 07:00:15,175 INFO  - TESTNG 
===
Surefire test
Tests run: 811, Failures: 1, Skips: 0
===
[GC (Allocation Failure)  377176K->159661K(760320K), 0.0363647 secs]
Tests run: 811, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 192.02 sec 
<<< FAILURE! - in TestSuite
testWarnOnlyOnceOnRepeatedCoercionException(org.apache.brooklyn.camp.brooklyn.FunctionSensorYamlTest)
  Time elapsed: 0.132 sec  <<< FAILURE!
java.lang.AssertionError: 
exceptionEvents=2018-10-02 06:58:39.028: brooklyn-execmanager-skgdX5WK-2: 
DEBUG: 2018-10-02 06:58:39,028 DEBUG - Trace for exception reading 
TestEntityImpl{id=eoh10vhn0z}->Sensor: mysensor (java.lang.Integer): 
org.apache.brooklyn.util.javalang.coerce.ClassCoercionException: Cannot coerce 
"my-not-a-number" to java.lang.Integer (my-not-a-number): adapting failed
org.apache.brooklyn.util.javalang.coerce.ClassCoercionException: Cannot coerce 
"my-not-a-number" to java.lang.Integer (my-not-a-number): adapting failed
at 
org.apache.brooklyn.util.javalang.coerce.PrimitiveStringTypeCoercions.stringToPrimitive(PrimitiveStringTypeCoercions.java:201)
 ~[brooklyn-utils-common-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]

Cannot coerce "my-not-a-number" to java.lang.Integer (my-not-a-number): 
adapting failed
at at