[jira] [Commented] (BROOKLYN-607) azure-arm failure on `yum update` (due to image choice)

2019-01-23 Thread Aled Sage (JIRA)


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

Aled Sage commented on BROOKLYN-607:


Looking at the images from OpenLogic (using {{az vm image list --output table 
--all --publisher OpenLogic}}), they include:
{noformat}
CentOS-SRIOV  OpenLogic    7.3-SRIOV  
OpenLogic:CentOS-SRIOV:7.3-SRIOV:7.3.20171005  7.3.20171005
CentOS        OpenLogic    7.6        OpenLogic:CentOS:7.6:7.6.20181219         
     7.6.20181219{noformat}
 The image chooser gives each of these the same score (3.5). Then it sorts by 
various fields, starting with name (alphabetically). The result is it puts the 
name "OpenLogic:CentOS-SRIOV..." above "OpenLogic:CentOS:7.6...".

Not sure what the best way to fix this is. Changing the image chooser is 
fiddly: it risks breaking the behaviour of defaults on other clouds.

> azure-arm failure on `yum update` (due to image choice)
> ---
>
> Key: BROOKLYN-607
> URL: https://issues.apache.org/jira/browse/BROOKLYN-607
> Project: Brooklyn
>  Issue Type: Bug
>Reporter: Aled Sage
>Priority: Major
>
> With brooklyn 1.0.0-SNAPSHOT, I'm hitting problems provisioning a simple 
> software process entity on Azure - the VM fails when doing `yum update`. 
> Digging into this...
> The imageId being used is:
> {noformat}
>  northeurope/OpenLogic/CentOS-SRIOV/7.3-SRIOV, os={family=centos, 
> version=7.3-SRIOV, description=7.3-SRIOV, is64Bit=true}
> {noformat}
> With hardwareId {{Standard_B1ms}}.
> The location.bom file contains:
> {noformat}
>    item:
>      type: jclouds:azurecompute-arm
>      brooklyn.config:
>    region: northeurope
>        identity: ----
>        credential: x
>    endpoint: 
> https://management.azure.com/subscriptions/----
>        oauth.endpoint: 
> https://login.microsoftonline.com/----/oauth2/token
>        jclouds.azurecompute.arm.publishers: OpenLogic
>    jclouds.azurecompute.arm.operation.timeout: 12
>        osVersionRegex: 7
>        minRam: 2000
> {noformat}
> On executing {{yum update}}, it gives the stderr:
> {noformat}
> Error: Package: kmod-microsoft-hyper-v-4.2.6.1-20181010.x86_64 (openlogic)
>     Requires: kernel(hid_input_report) = 0x4e8c53f3
>     Installed: kernel-3.10.0-514.26.2.el7.x86_64 (@CentOS-Updates)
>     kernel(hid_input_report) = 0x084ce8c6
>     Available: kernel-3.10.0-957.el7.x86_64 (base)
>     kernel(hid_input_report) = 0x6710144a
>     Installing: kernel-3.10.0-957.1.3.el7.x86_64 (updates)
>     kernel(hid_input_report) = 0x6710144a
>     Available: kernel-debug-3.10.0-957.el7.x86_64 (base)
>     kernel(hid_input_report) = 0x2003d78d
>     Available: kernel-debug-3.10.0-957.1.3.el7.x86_64 (updates)
>     kernel(hid_input_report) = 0x2003d78d
> {noformat}
>  



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


Build failed in Jenkins: brooklyn-dist-master-docker #199

2019-01-23 Thread Apache Jenkins Server
See 


--
[...truncated 4.03 MB...]
[INFO]   
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.notUp.indicators (java.util.Map)
[INFO]   enricher.suppressDuplicates[ConfigKey:java.lang.Boolean] = 
true
[INFO]   
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.isUp (java.lang.Boolean)
[INFO]   
enricher.transformation[ConfigKey:com.google.common.base.Function] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
[INFO]   ComputeServiceState{uniqueTag=service.state.actual, 
running=true, entity=TestEffectorImpl{id=x5i3izf9j5}, id=flrsokckus}
[INFO] TestSensorImpl{id=iehcyo60rg} iehcyo60rg
[INFO] displayName = TestSensor:iehc
[INFO] locations = []
[INFO] assert = {equalTo=myEffector(myVal)}
[INFO] sensor = lastCall
[INFO] targetId = sample
[INFO] application.id: cnivu2y3fj
[INFO] entity.id: iehcyo60rg
[INFO] service.isUp: true
[INFO] service.state: running
[INFO] service.state.expected: running @ 1548258722521 / Wed Jan 23 
15:52:02 GMT 2019
[INFO] target: MySampleImpl{id=jw5fxasnjj}
[INFO] test.target.entity.id: jw5fxasnjj
[INFO] test.target.entity.name: MySample:jw5f
[INFO] test.target.entity.type: com.acme.sample.brooklyn.MySample
[INFO] Enrichers:
[INFO]   Transformer{uniqueTag=service.isUp if no 
service.notUp.indicators, running=true, entity=TestSensorImpl{id=iehcyo60rg}, 
id=b9pf24ofhp}
[INFO]   
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.notUp.indicators (java.util.Map)
[INFO]   enricher.suppressDuplicates[ConfigKey:java.lang.Boolean] = 
true
[INFO]   
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.isUp (java.lang.Boolean)
[INFO]   
enricher.transformation[ConfigKey:com.google.common.base.Function] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
[INFO]   ComputeServiceState{uniqueTag=service.state.actual, 
running=true, entity=TestSensorImpl{id=iehcyo60rg}, id=ytq5eo0nh6}
[INFO] TestEffectorImpl{id=j5cwbv13ag} j5cwbv13ag
[INFO] displayName = TestEffector:j5cw
[INFO] locations = []
[INFO] effector = stop
[INFO] targetId = sample
[INFO] application.id: cnivu2y3fj
[INFO] entity.id: j5cwbv13ag
[INFO] service.isUp: true
[INFO] service.state: running
[INFO] service.state.expected: running @ 1548258722539 / Wed Jan 23 
15:52:02 GMT 2019
[INFO] target: MySampleImpl{id=jw5fxasnjj}
[INFO] test.target.entity.id: jw5fxasnjj
[INFO] test.target.entity.name: MySample:jw5f
[INFO] test.target.entity.type: com.acme.sample.brooklyn.MySample
[INFO] Enrichers:
[INFO]   Transformer{uniqueTag=service.isUp if no 
service.notUp.indicators, running=true, entity=TestEffectorImpl{id=j5cwbv13ag}, 
id=b7m7imfs09}
[INFO]   
enricher.sourceSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.notUp.indicators (java.util.Map)
[INFO]   enricher.suppressDuplicates[ConfigKey:java.lang.Boolean] = 
true
[INFO]   
enricher.targetSensor[ConfigKey:org.apache.brooklyn.api.sensor.Sensor] = 
Sensor: service.isUp (java.lang.Boolean)
[INFO]   
enricher.transformation[ConfigKey:com.google.common.base.Function] = 
if[{Predicates.not(Predicates.isNull())=forPredicate(Predicates.equalTo(0)(sizeFunction(keys)))}]-else[UNCHANGED]
[INFO]   ComputeServiceState{uniqueTag=service.state.actual, 
running=true, entity=TestEffectorImpl{id=j5cwbv13ag}, id=u76vl12via}
[INFO] TestSensorImpl{id=gxxwf7kzfs} gxxwf7kzfs
[INFO] displayName = TestSensor:gxxw
[INFO] locations = []
[INFO] assert = {equalTo=false}
[INFO] sensor = service.isUp
[INFO] targetId = sample
[INFO] timeout = 10s
[INFO] application.id: cnivu2y3fj
[INFO] entity.id: gxxwf7kzfs
[INFO] service.isUp: true
[INFO] service.state: running
[INFO] service.state.expected: running @ 1548258722549 / Wed Jan 23 
15:52:02 GMT 2019
[INFO] target: MySampleImpl{id=jw5fxasnjj}
[INFO] test.target.entity.id: jw5fxasnjj
[INFO] test.target.entity.name: MySample:jw5f
[INFO] test.target.entity.type: com.acme.sample.brooklyn.MySample
[INFO] Enrichers:
[INFO]   Transformer{uniqueTag=service.isUp if no 
service.notUp.indicators, running=true, entity=TestSensorImpl{id=gxxwf7kzfs}, 
id=fxd7yfpez0}
[INFO]   

[jira] [Created] (BROOKLYN-607) azure-arm failure on `yum update` (due to image choice)

2019-01-23 Thread Aled Sage (JIRA)
Aled Sage created BROOKLYN-607:
--

 Summary: azure-arm failure on `yum update` (due to image choice)
 Key: BROOKLYN-607
 URL: https://issues.apache.org/jira/browse/BROOKLYN-607
 Project: Brooklyn
  Issue Type: Bug
Reporter: Aled Sage


With brooklyn 1.0.0-SNAPSHOT, I'm hitting problems provisioning a simple 
software process entity on Azure - the VM fails when doing `yum update`. 
Digging into this...

The imageId being used is:
{noformat}
 northeurope/OpenLogic/CentOS-SRIOV/7.3-SRIOV, os={family=centos, 
version=7.3-SRIOV, description=7.3-SRIOV, is64Bit=true}
{noformat}

With hardwareId {{Standard_B1ms}}.

The location.bom file contains:

{noformat}
   item:
     type: jclouds:azurecompute-arm
     brooklyn.config:
   region: northeurope
       identity: ----
       credential: x
   endpoint: 
https://management.azure.com/subscriptions/----
       oauth.endpoint: 
https://login.microsoftonline.com/----/oauth2/token
       jclouds.azurecompute.arm.publishers: OpenLogic
   jclouds.azurecompute.arm.operation.timeout: 12
       osVersionRegex: 7
       minRam: 2000
{noformat}

On executing {{yum update}}, it gives the stderr:

{noformat}
Error: Package: kmod-microsoft-hyper-v-4.2.6.1-20181010.x86_64 (openlogic)
    Requires: kernel(hid_input_report) = 0x4e8c53f3
    Installed: kernel-3.10.0-514.26.2.el7.x86_64 (@CentOS-Updates)
    kernel(hid_input_report) = 0x084ce8c6
    Available: kernel-3.10.0-957.el7.x86_64 (base)
    kernel(hid_input_report) = 0x6710144a
    Installing: kernel-3.10.0-957.1.3.el7.x86_64 (updates)
    kernel(hid_input_report) = 0x6710144a
    Available: kernel-debug-3.10.0-957.el7.x86_64 (base)
    kernel(hid_input_report) = 0x2003d78d
    Available: kernel-debug-3.10.0-957.1.3.el7.x86_64 (updates)
    kernel(hid_input_report) = 0x2003d78d
{noformat}

 



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


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

2019-01-23 Thread Apache Jenkins Server
See 




[jira] [Commented] (BROOKLYN-607) azure-arm failure on `yum update` (due to image choice)

2019-01-23 Thread Aled Sage (JIRA)


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

Aled Sage commented on BROOKLYN-607:


Example of a failing test (which we could add to \{{BrooklynImageChooserTest}}):
{noformat}
    @Test
    public void testAzureCentOsOverSriov() {
        // {id=northeurope/OpenLogic/CentOS/7.6, providerId=OpenLogic, 
name=CentOS, location={scope=REGION, id=northeurope, description=North Europe, 
parent=azurecompute-arm, iso3166Codes=[IE]},         os={family=centos, 
version=7.6, description=7.6, is64Bit=true}, description=7.6, version=7.6, 
status=AVAILABLE, loginUser=jclouds}
        Image img1 = new ImageBuilder()
                .id("northeurope/OpenLogic/CentOS/7.6")
                .providerId("OpenLogic")
                .name("CentOS")
                .description("7.6")
                .version("7.6")
                .status(Status.AVAILABLE)
                .operatingSystem(OperatingSystem.builder()
                        .family(OsFamily.CENTOS)
                        .version("7.6")
                        .description("7.6")
                        .is64Bit(true)
                        .build())
                .build();
        
        // {id=northeurope/OpenLogic/CentOS-SRIOV/7.3-SRIOV, 
providerId=OpenLogic, name=CentOS-SRIOV, location={scope=REGION, 
id=northeurope, description=North Europe, parent=azurecompute-arm,           
iso3166Codes=[IE]}, os={family=centos, version=7.3-SRIOV, 
description=7.3-SRIOV, is64Bit=true}, description=7.3-SRIOV, version=7.3-SRIOV, 
status=AVAILABLE, loginUser=jclouds}
        Image img2 = new ImageBuilder()
            .id("northeurope/OpenLogic/CentOS-SRIOV/7.3-SRIOV")
            .providerId("OpenLogic")
            .name("CentOS-SRIOV")
            .description("7.3-SRIOV")
            .version("7.3-SRIOV")
            .status(Status.AVAILABLE)
            .operatingSystem(OperatingSystem.builder()
                    .family(OsFamily.CENTOS)
                    .version("7.3-SRIOV")
                    .description("7.3-SRIOV")
                    .is64Bit(true)
                    .build())
            .build();

        Function, Image> func = 
brooklynImageChooser.chooser();
        Image choice = func.apply(ImmutableList.of(img1, img2));

        Assert.assertEquals(choice, img1);
    }{noformat}
 

> azure-arm failure on `yum update` (due to image choice)
> ---
>
> Key: BROOKLYN-607
> URL: https://issues.apache.org/jira/browse/BROOKLYN-607
> Project: Brooklyn
>  Issue Type: Bug
>Reporter: Aled Sage
>Priority: Major
>
> With brooklyn 1.0.0-SNAPSHOT, I'm hitting problems provisioning a simple 
> software process entity on Azure - the VM fails when doing `yum update`. 
> Digging into this...
> The imageId being used is:
> {noformat}
>  northeurope/OpenLogic/CentOS-SRIOV/7.3-SRIOV, os={family=centos, 
> version=7.3-SRIOV, description=7.3-SRIOV, is64Bit=true}
> {noformat}
> With hardwareId {{Standard_B1ms}}.
> The location.bom file contains:
> {noformat}
>    item:
>      type: jclouds:azurecompute-arm
>      brooklyn.config:
>    region: northeurope
>        identity: ----
>        credential: x
>    endpoint: 
> https://management.azure.com/subscriptions/----
>        oauth.endpoint: 
> https://login.microsoftonline.com/----/oauth2/token
>        jclouds.azurecompute.arm.publishers: OpenLogic
>    jclouds.azurecompute.arm.operation.timeout: 12
>        osVersionRegex: 7
>        minRam: 2000
> {noformat}
> On executing {{yum update}}, it gives the stderr:
> {noformat}
> Error: Package: kmod-microsoft-hyper-v-4.2.6.1-20181010.x86_64 (openlogic)
>     Requires: kernel(hid_input_report) = 0x4e8c53f3
>     Installed: kernel-3.10.0-514.26.2.el7.x86_64 (@CentOS-Updates)
>     kernel(hid_input_report) = 0x084ce8c6
>     Available: kernel-3.10.0-957.el7.x86_64 (base)
>     kernel(hid_input_report) = 0x6710144a
>     Installing: kernel-3.10.0-957.1.3.el7.x86_64 (updates)
>     kernel(hid_input_report) = 0x6710144a
>     Available: kernel-debug-3.10.0-957.el7.x86_64 (base)
>     kernel(hid_input_report) = 0x2003d78d
>     Available: kernel-debug-3.10.0-957.1.3.el7.x86_64 (updates)
>     kernel(hid_input_report) = 0x2003d78d
> {noformat}
>  



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


[GitHub] duncangrant opened a new pull request #1028: Add missing $

2019-01-23 Thread GitBox
duncangrant opened a new pull request #1028: Add missing $
URL: https://github.com/apache/brooklyn-server/pull/1028
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] tbouron merged pull request #1028: Add missing $

2019-01-23 Thread GitBox
tbouron merged pull request #1028: Add missing $
URL: https://github.com/apache/brooklyn-server/pull/1028
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] grkvlt opened a new pull request #118: [WIP] Parameter UI additions

2019-01-23 Thread GitBox
grkvlt opened a new pull request #118: [WIP] Parameter UI additions
URL: https://github.com/apache/brooklyn-ui/pull/118
 
 
   Adding code to handle the `brooklyn.parameters` section in a blueprint. 
Currently needs more work on editing and handling raw JSON data.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] duncangrant opened a new pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
duncangrant opened a new pull request #1026: Add cxf-karaf-commands dependency
URL: https://github.com/apache/brooklyn-server/pull/1026
 
 
   This is a dependency of cxf that was introduced by the version change to 
4.2.7.
   This adds cxf commands to the karaf shell such as listing endpoints.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] kemitix commented on a change in pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
kemitix commented on a change in pull request #1026: Add cxf-karaf-commands 
dependency
URL: https://github.com/apache/brooklyn-server/pull/1026#discussion_r250136326
 
 

 ##
 File path: karaf/features/src/main/feature/feature.xml
 ##
 @@ -208,6 +208,7 @@
 cxf-jaxrs
 mvn:org.apache.cxf/cxf-rt-rs-security-cors/${cxf.version}
 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/${cxf.version}
+mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.2.7
 
 Review comment:
   Could you change this to a property. e.g. `${cxf-karaf-commands.version}`?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] kemitix commented on a change in pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
kemitix commented on a change in pull request #1026: Add cxf-karaf-commands 
dependency
URL: https://github.com/apache/brooklyn-server/pull/1026#discussion_r250138782
 
 

 ##
 File path: karaf/features/src/main/feature/feature.xml
 ##
 @@ -208,6 +208,7 @@
 cxf-jaxrs
 mvn:org.apache.cxf/cxf-rt-rs-security-cors/${cxf.version}
 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/${cxf.version}
+mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.2.7
 
 Review comment:
   @tbouron I see now that the version of cxf is a typo in the PR description. 
Use `${cxf.version}`


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] kemitix commented on a change in pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
kemitix commented on a change in pull request #1026: Add cxf-karaf-commands 
dependency
URL: https://github.com/apache/brooklyn-server/pull/1026#discussion_r250136326
 
 

 ##
 File path: karaf/features/src/main/feature/feature.xml
 ##
 @@ -208,6 +208,7 @@
 cxf-jaxrs
 mvn:org.apache.cxf/cxf-rt-rs-security-cors/${cxf.version}
 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/${cxf.version}
+mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.2.7
 
 Review comment:
   Could you change this to `${cxf.version}`?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] tbouron commented on a change in pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
tbouron commented on a change in pull request #1026: Add cxf-karaf-commands 
dependency
URL: https://github.com/apache/brooklyn-server/pull/1026#discussion_r250137380
 
 

 ##
 File path: karaf/features/src/main/feature/feature.xml
 ##
 @@ -208,6 +208,7 @@
 cxf-jaxrs
 mvn:org.apache.cxf/cxf-rt-rs-security-cors/${cxf.version}
 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/${cxf.version}
+mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.2.7
 
 Review comment:
   Good point. Actually, I think you can reuse `${cxf.version}` directly as 
these bundles are released in the same time


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] duncangrant commented on a change in pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
duncangrant commented on a change in pull request #1026: Add cxf-karaf-commands 
dependency
URL: https://github.com/apache/brooklyn-server/pull/1026#discussion_r250141286
 
 

 ##
 File path: karaf/features/src/main/feature/feature.xml
 ##
 @@ -208,6 +208,7 @@
 cxf-jaxrs
 mvn:org.apache.cxf/cxf-rt-rs-security-cors/${cxf.version}
 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/${cxf.version}
+mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.2.7
 
 Review comment:
   oops - sorry about that


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] jcabrerizo opened a new pull request #1027: Added config keys for Oauth

2019-01-23 Thread GitBox
jcabrerizo opened a new pull request #1027: Added config keys for Oauth
URL: https://github.com/apache/brooklyn-server/pull/1027
 
 
   Some new ConfigKeys added to mange the authentication using Oauth


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


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

2019-01-23 Thread Apache Jenkins Server
See 


--
[...truncated 14.68 MB...]
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-jaspi/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.apache.aries/org.apache.aries.util/1.1.0
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-util-ajax/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-xml/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.5.0
[INFO]   adding maven artifact: 
mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.0.10
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-continuation/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.12.v20180830
[INFO]   adding maven artifact: mvn:javax.websocket/javax.websocket-api/1.1
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-jndi/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-jmx/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-security/9.4.12.v20180830
[INFO]   adding maven artifact: mvn:javax.mail/mail/1.4.4
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-jaas/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty.websocket/websocket-server/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-webapp/9.4.12.v20180830
[INFO]   adding maven artifact: 
mvn:org.eclipse.jetty/jetty-client/9.4.12.v20180830
[INFO]Feature cxf-jaxws/3.2.7 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.cxf/cxf-rt-frontend-jaxws/3.2.7
[INFO]   adding maven artifact: 
mvn:org.apache.cxf/cxf-rt-frontend-simple/3.2.7
[INFO]   adding library: 
lib/endorsed/org.apache.servicemix.specs.jaxws-api-2.2-2.9.0.jar
[INFO]Feature brooklyn-ui-app-inspector/1.0.0.SNAPSHOT is defined as a boot 
feature
[INFO]   adding maven artifact: 
mvn:org.apache.brooklyn.ui.modules/brooklyn-ui-app-inspector/1.0.0-SNAPSHOT/war
[INFO]Feature jclouds-api-rackspace-cloudfiles/2.1.0 is defined as a boot 
feature
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.api/rackspace-cloudfiles/2.1.0
[INFO]Feature jclouds-elastichosts-sat-p/2.1.0 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.provider/elastichosts-sat-p/2.1.0
[INFO]Feature jclouds-api-openstack-swift/2.1.0 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.api/openstack-swift/2.1.0
[INFO]Feature jclouds-openhosting-east1/2.1.0 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.api/elasticstack/2.1.0
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.provider/openhosting-east1/2.1.0
[INFO]Feature jclouds-digitalocean2/2.1.0 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.jclouds.provider/digitalocean2/2.1.0
[INFO]Feature scr/4.2.2 is defined as a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.2.2
[INFO]   adding maven artifact: 
mvn:org.apache.felix/org.apache.felix.scr/2.1.14
[INFO]   adding maven artifact: 
mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.2.2
[INFO]   adding maven artifact: 
mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.1.0
[INFO]   adding maven artifact: 
mvn:org.apache.felix/org.apache.felix.metatype/1.2.2
[INFO]   adding maven artifact: 
mvn:org.apache.felix/org.apache.felix.inventory/1.0.4
[INFO]Feature brooklyn-rest-resources-prereqs/1.0.0.SNAPSHOT is defined as 
a boot feature
[INFO]   adding maven artifact: 
mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.2.7
[INFO]   adding maven artifact: 
mvn:org.apache.cxf/cxf-rt-rs-security-cors/3.2.7
[INFO]   adding maven artifact: 
mvn:org.apache.cxf.karaf/cxf-karaf-commands/{cxf.version}
[INFO]   adding maven artifact: 
mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.9.6
[INFO]   adding maven artifact: mvn:javax.ws.rs/javax.ws.rs-api/2.1.1
[INFO]   adding maven artifact: mvn:javax.servlet/javax.servlet-api/3.1.0
[INFO]   adding config file: etc/org.apache.cxf.osgi.cfg
[WARNING] Error resolving artifact 
org.apache.cxf.karaf:cxf-karaf-commands:jar:{cxf.version}: [Could not find 
artifact org.apache.cxf.karaf:cxf-karaf-commands:jar:{cxf.version} in 
servicemix (http://svn.apache.org/repos/asf/servicemix/m2-repo/), Could not 
find artifact org.apache.cxf.karaf:cxf-karaf-commands:jar:{cxf.version} in 
jclouds-snapshots 

[GitHub] tbouron commented on issue #1027: Added config keys for Oauth

2019-01-23 Thread GitBox
tbouron commented on issue #1027: Added config keys for Oauth
URL: https://github.com/apache/brooklyn-server/pull/1027#issuecomment-456760002
 
 
   Thanks for the PR @jcabrerizo !
   
   However, the `OAuthProvider` introduced by #1024 was WIP and removed in 
#1025. So I think these config keys should be added at the same time you'll 
re-introduce the stable `OAuthProvider`. You could even use this PR for this.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] tbouron merged pull request #1026: Add cxf-karaf-commands dependency

2019-01-23 Thread GitBox
tbouron merged pull request #1026: Add cxf-karaf-commands dependency
URL: https://github.com/apache/brooklyn-server/pull/1026
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] tbouron edited a comment on issue #1027: Added config keys for Oauth

2019-01-23 Thread GitBox
tbouron edited a comment on issue #1027: Added config keys for Oauth
URL: https://github.com/apache/brooklyn-server/pull/1027#issuecomment-456760002
 
 
   Thanks for the PR @jcabrerizo !
   
   However, the `OAuthProvider` introduced by #1024 was WIP and removed in 
#1025. So I think these config keys should be added at the same time you'll 
re-introduce the stable version of `OAuthProvider`, it would make more sense. 
You could even use this PR for this.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


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

2019-01-23 Thread Apache Jenkins Server
See 


--
[...truncated 13.18 MB...]
2019-01-24 00:38:49,251 INFO  - Starting 
TrackingAbstractControllerImpl{id=bbm18s50op}, obtaining a new location 
instance in FixedListMachineProvisioningLocation{id=abf0fiqqsx, 
name=FixedListMachineProvisioningLocation:abf0} with ports [22, 8000, 8443]
2019-01-24 00:38:49,255 INFO  y1JjJwVP-[oce03z06eh,bbm18s50op] Starting 
TrackingAbstractControllerImpl{id=bbm18s50op} on machine 
SshMachineLocation[SshMachineLocation:qgip:null@/1.1.1.1:22(id=qgip1zxa7h)]
2019-01-24 00:38:49,369 INFO  y1JjJwVP-[oce03z06eh,bbm18s50op] Added policy 
ServerPoolMemberTrackerPolicy{id=cdsgnk0xtd, name=Controller targets tracker, 
running=true} to TrackingAbstractControllerImpl{id=bbm18s50op}
2019-01-24 00:38:49,369 INFO  y1JjJwVP-[oce03z06eh,bbm18s50op] Resetting 
TrackingAbstractControllerImpl{id=bbm18s50op}, server pool targets {}
2019-01-24 00:38:49,370 INFO  y1JjJwVP-[oce03z06eh,bbm18s50op] Updating 
TrackingAbstractControllerImpl{id=bbm18s50op}, server pool targets {}
2019-01-24 00:38:49,371 INFO  y1JjJwVP-[oce03z06eh,bbm18s50op] test controller 
reconfigure, targets []
2019-01-24 00:38:49,388 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.entity.proxy.AbstractAbstractControllerTest.setUp() 
finished in 196 ms
2019-01-24 00:38:49,389 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.entity.proxy.AbstractControllerTest.testMainUriSensorsCorrectlyComputedWithoutDomain()
2019-01-24 00:38:49,403 INFO  - Starting 
TrackingAbstractControllerImpl{id=hhpk7it27x} on machine 
SshMachineLocation[SshMachineLocationWithSubnetHostname:fyyy:null@/1.1.1.1:22(id=fyyyc9a252)]
2019-01-24 00:38:49,515 INFO  - Added policy 
ServerPoolMemberTrackerPolicy{id=y73kjrud9n, name=Controller targets tracker, 
running=true} to TrackingAbstractControllerImpl{id=hhpk7it27x}
2019-01-24 00:38:49,515 INFO  - Resetting 
TrackingAbstractControllerImpl{id=hhpk7it27x}, server pool targets {}
2019-01-24 00:38:49,516 INFO  - Updating 
TrackingAbstractControllerImpl{id=hhpk7it27x}, server pool targets {}
2019-01-24 00:38:49,517 INFO  - test controller reconfigure, targets []
2019-01-24 00:38:49,525 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.entity.proxy.AbstractControllerTest.testMainUriSensorsCorrectlyComputedWithoutDomain()
 finished in 136 ms
2019-01-24 00:38:49,526 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown()
2019-01-24 00:38:49,532 INFO  thNpr8s5-[oce03z06eh,bbm18s50op] Stopping 
TrackingAbstractControllerImpl{id=bbm18s50op} in 
[SshMachineLocation[SshMachineLocation:qgip:n...@one.one.one.one/1.1.1.1:22(id=qgip1zxa7h)]]
2019-01-24 00:38:49,533 INFO  DLRgy6s6-[oce03z06eh,hhpk7it27x] Stopping 
TrackingAbstractControllerImpl{id=hhpk7it27x} in 
[SshMachineLocation[SshMachineLocationWithSubnetHostname:fyyy:n...@one.one.one.one/1.1.1.1:22(id=fyyyc9a252)]]
2019-01-24 00:38:49,561 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown() finished 
in 35 ms
2019-01-24 00:38:49,562 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.entity.proxy.AbstractAbstractControllerTest.setUp()
2019-01-24 00:38:49,562 INFO  - Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@177515d1
2019-01-24 00:38:49,629 INFO  - Starting 
TrackingAbstractControllerImpl{id=y4x44myfia}, obtaining a new location 
instance in FixedListMachineProvisioningLocation{id=e0yhye3y62, 
name=FixedListMachineProvisioningLocation:e0yh} with ports [22, 8000, 8443]
2019-01-24 00:38:49,650 INFO  - Starting 
TrackingAbstractControllerImpl{id=y4x44myfia} on machine 
SshMachineLocation[SshMachineLocation:yvyg:null@/1.1.1.1:22(id=yvygiljxan)]
2019-01-24 00:38:49,777 INFO  - Added policy 
ServerPoolMemberTrackerPolicy{id=dujr9ya3oz, name=Controller targets tracker, 
running=true} to TrackingAbstractControllerImpl{id=y4x44myfia}
2019-01-24 00:38:49,777 INFO  - Resetting 
TrackingAbstractControllerImpl{id=y4x44myfia}, server pool targets {}
2019-01-24 00:38:49,777 INFO  - Updating 
TrackingAbstractControllerImpl{id=y4x44myfia}, server pool targets {}
2019-01-24 00:38:49,777 INFO  - test controller reconfigure, targets []
2019-01-24 00:38:49,795 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.entity.proxy.AbstractAbstractControllerTest.setUp() 
finished in 233 ms
2019-01-24 00:38:49,796 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.entity.proxy.AbstractControllerTest.testMemberWithoutHostAndPortDoesNotLogErrorRepeatedly()
2019-01-24 00:38:49,815 INFO  - Starting 
TrackingAbstractControllerImpl{id=bsy9zwiueb}, obtaining a new 

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

2019-01-23 Thread Apache Jenkins Server
See 


--
[...truncated 134628 lines...]
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.3/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.4/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5/1.5 MB
Progress (1): 1.5 MB

Downloaded from central: 
https://repo.maven.apache.org/maven2/com/google/guava/guava/10.0.1/guava-10.0.1.jar
 (1.5 MB at 6.6 MB/s)
[INFO] Node v8.4.0 is already installed.
[INFO] NPM 5.4.1 is already installed.
[INFO] 
[INFO] --- frontend-maven-plugin:1.3:npm (npm install) @ brooklyn-ui-utils ---
[INFO] Running 'npm install' in 
/home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline/brooklyn-ui/ui-modules/utils
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] Unhandled rejection Error: EACCES: permission denied, mkdir '/.npm'
[ERROR] 
[ERROR] 
┌──────────────────────────────────────────────┐
[ERROR] │   npm update check failed│
[ERROR] │ Try running with sudo or get access  │
[ERROR] │ to the local update config store via │
[ERROR] │ sudo chown -R $USER:$(id -gn $USER) /.config │
[ERROR] 
└──────────────────────────────────────────────┘
[ERROR] npm ERR! cb() never called!
[ERROR] 
[ERROR] npm ERR! This is an error with npm itself. Please report this error at:
[ERROR] npm ERR! 
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ... SUCCESS [  5.686 s]
[INFO] Brooklyn Parent Project  SUCCESS [  6.596 s]
[INFO] Brooklyn Test Support Utilities  SUCCESS [  8.673 s]
[INFO] Brooklyn Logback Includable Configuration .. SUCCESS [  0.524 s]
[INFO] Brooklyn Common Utilities .. SUCCESS [ 31.551 s]
[INFO] Brooklyn API ... SUCCESS [  3.358 s]
[INFO] CAMP Server Parent Project . SUCCESS [  0.188 s]
[INFO] CAMP Base .. SUCCESS [  3.736 s]
[INFO] Brooklyn Test Support .. SUCCESS [  2.413 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities . SUCCESS [ 13.785 s]
[INFO] Brooklyn Logback Configuration . SUCCESS [  0.213 s]
[INFO] CAMP Server  SUCCESS [ 13.258 s]
[INFO] Brooklyn Felix Runtime . SUCCESS [  3.674 s]
[INFO] Brooklyn Groovy Utilities .. SUCCESS [  2.278 s]
[INFO] Brooklyn Core .. SUCCESS [04:30 min]
[INFO] Brooklyn Policies .. SUCCESS [ 36.317 s]
[INFO] Brooklyn WinRM Software Entities ... SUCCESS [ 21.832 s]
[INFO] Brooklyn Secure JMXMP Agent