Activity build for the REST client

Build: #348 failed Changes by Arnaud Cogoluègnes

Build result summary

Details

Completed
Duration
1 minute
Labels
None
Agent
bamboo-24.af.pivotal.io
Revision
1119a9abba71839993f50addc9494a950e40f0e4 1119a9abba71839993f50addc9494a950e40f0e4
Total tests
210
Failing since
#347 (Changes by Arnaud Cogoluègnes)
Fixed in
#349 (Manual run by Arnaud Cogoluègnes)

Tests

Responsible

Code commits

Author Commit Message Commit date
Arnaud Cogoluègnes Arnaud Cogoluègnes 1119a9abba71839993f50addc9494a950e40f0e4 1119a9abba71839993f50addc9494a950e40f0e4 Accept string values for vhost tags
This field is supposed to be an array. It was introduced in RabbitMQ
3.8. The string case seems to happen only after an upgrade from 3.7 and
once the vhost metadata has been activated (the tags are set to
'undefined'). This will hopefully be fixed in 3.8.x but meanwhile
this fix will avoid Hop to fail in this case.

Tests

Existing test failures 6
Status Test Failing since View job Duration
org.spockframework.runtime.SpockComparisonFailure: Condition not satisfied:

vhi.description == "vhost description"
|   |           |
|   null        false
VhostInfo{name='vhost-with-metadata', description=null, tags=null, tracing=true, clusterState={rabbit@bamboo-24=running}, messageStats=null, messages=0, messagesDetails=null, messagesReady=0, messagesReadyDetails=null, messagesUnacknowledged=0, messagesUnacknowledgedDetails=null, octetsReceived=0, octetsReceivedDetails=null, octetsSent=0, octetsSentDetails=null}

Condition not satisfied:
(7 more lines...)
org.spockframework.runtime.ConditionNotSatisfiedError: Condition not satisfied:

isVersion38orLater(version) ? vhi.description != null : vhi.description == null
|                  |          |   |           |
true               3.8.1      |   null        false
                              VhostInfo{name='/', description=null, tags=null, tracing=false, clusterState={rabbit@bamboo-24=running}, messageStats=MessageStats{basicPublish=2109, basicPublishDetails=RateDetails{rate=1.0}, publisherConfirm=108, publisherConfirmDetails=RateDetails{rate=1.0}, basicReturn=0, basicReturnDetails=RateDetails{rate=0.0}, basicDeliver=0, basicGet=9, basicGetDetails=RateDetails{rate=1.0}, basicDeliverDetails=RateDetails{rate=0.0}, basicDeliverNoAck=2, basicDeliverNoAckDetails=RateDetails{rate=1.0}, basicGetNoAck=1, basicGetNoAckDetails=RateDetails{rate=0.0}, ack=0, ackDetails=RateDetails{rate=0.0}, getCounter=6, getDetails=RateDetails{rate=0.0}}, messages=12, messagesDetails=RateDetails{rate=0.0}, messagesReady=12, messagesReadyDetails=RateDetails{rate=0.0}, messagesUnacknowledged=0, messagesUnacknowledgedDetails=RateDetails{rate=0.0}, octetsReceived=8958, octetsReceivedDetails=RateDetails{rate=491.0}, octetsSent=10469, octetsSentDetails=RateDetails{rate=551.0}}

Condition not satisfied:
(8 more lines...)
org.spockframework.runtime.ConditionNotSatisfiedError: Condition not satisfied:

isVersion38orLater(version) ? vhi.description != null : vhi.description == null
|                  |          |   |           |
true               3.8.1      |   null        false
                              VhostInfo{name='/', description=null, tags=null, tracing=false, clusterState={rabbit@bamboo-24=running}, messageStats=MessageStats{basicPublish=2109, basicPublishDetails=RateDetails{rate=1.0}, publisherConfirm=108, publisherConfirmDetails=RateDetails{rate=1.0}, basicReturn=0, basicReturnDetails=RateDetails{rate=0.0}, basicDeliver=0, basicGet=9, basicGetDetails=RateDetails{rate=1.0}, basicDeliverDetails=RateDetails{rate=0.0}, basicDeliverNoAck=2, basicDeliverNoAckDetails=RateDetails{rate=1.0}, basicGetNoAck=1, basicGetNoAckDetails=RateDetails{rate=0.0}, ack=0, ackDetails=RateDetails{rate=0.0}, getCounter=6, getDetails=RateDetails{rate=0.0}}, messages=12, messagesDetails=RateDetails{rate=0.0}, messagesReady=12, messagesReadyDetails=RateDetails{rate=0.0}, messagesUnacknowledged=0, messagesUnacknowledgedDetails=RateDetails{rate=0.0}, octetsReceived=8958, octetsReceivedDetails=RateDetails{rate=491.0}, octetsSent=10469, octetsSentDetails=RateDetails{rate=551.0}}

Condition not satisfied:
(8 more lines...)
org.spockframework.runtime.SpockComparisonFailure: Condition not satisfied:

vhi.description == "vhost description"
|   |           |
|   null        false
VhostInfo{name='vhost-with-metadata', description=null, tags=null, tracing=true, clusterState={rabbit@bamboo-24=running}, messageStats=null, messages=0, messagesDetails=null, messagesReady=0, messagesReadyDetails=null, messagesUnacknowledged=0, messagesUnacknowledgedDetails=null, octetsReceived=0, octetsReceivedDetails=null, octetsSent=0, octetsSentDetails=null}

Condition not satisfied:
(7 more lines...)
org.spockframework.runtime.ConditionNotSatisfiedError: Condition not satisfied:

isVersion38orLater(version) ? vhi.description != null : vhi.description == null
|                  |          |   |           |
true               3.8.1      |   null        false
                              VhostInfo{name='/', description=null, tags=null, tracing=false, clusterState={rabbit@bamboo-24=running}, messageStats=MessageStats{basicPublish=1000, basicPublishDetails=RateDetails{rate=0.0}, publisherConfirm=0, publisherConfirmDetails=RateDetails{rate=0.0}, basicReturn=0, basicReturnDetails=RateDetails{rate=0.0}, basicDeliver=0, basicGet=0, basicGetDetails=null, basicDeliverDetails=null, basicDeliverNoAck=0, basicDeliverNoAckDetails=null, basicGetNoAck=0, basicGetNoAckDetails=null, ack=0, ackDetails=null, getCounter=0, getDetails=null}, messages=12, messagesDetails=RateDetails{rate=0.0}, messagesReady=12, messagesReadyDetails=RateDetails{rate=0.0}, messagesUnacknowledged=0, messagesUnacknowledgedDetails=RateDetails{rate=0.0}, octetsReceived=3682, octetsReceivedDetails=RateDetails{rate=491.0}, octetsSent=4408, octetsSentDetails=RateDetails{rate=551.0}}

Condition not satisfied:
(8 more lines...)
org.spockframework.runtime.ConditionNotSatisfiedError: Condition not satisfied:

isVersion38orLater(version) ? vhi.description != null : vhi.description == null
|                  |          |   |           |
true               3.8.1      |   null        false
                              VhostInfo{name='/', description=null, tags=null, tracing=false, clusterState={rabbit@bamboo-24=running}, messageStats=MessageStats{basicPublish=1000, basicPublishDetails=RateDetails{rate=0.0}, publisherConfirm=0, publisherConfirmDetails=RateDetails{rate=0.0}, basicReturn=0, basicReturnDetails=RateDetails{rate=0.0}, basicDeliver=0, basicGet=0, basicGetDetails=null, basicDeliverDetails=null, basicDeliverNoAck=0, basicDeliverNoAckDetails=null, basicGetNoAck=0, basicGetNoAckDetails=null, ack=0, ackDetails=null, getCounter=0, getDetails=null}, messages=12, messagesDetails=RateDetails{rate=0.0}, messagesReady=12, messagesReadyDetails=RateDetails{rate=0.0}, messagesUnacknowledged=0, messagesUnacknowledgedDetails=RateDetails{rate=0.0}, octetsReceived=3682, octetsReceivedDetails=RateDetails{rate=491.0}, octetsSent=4408, octetsSentDetails=RateDetails{rate=551.0}}

Condition not satisfied:
(8 more lines...)