precise-icehouse amulet test failing test_201_ceph_radosgw_relation

Bug #1571768 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph-radosgw (Juju Charms Collection)
Fix Released
High
Alex Kavanagh

Bug Description

precise-icehouse amulet test failing test_200 ceph relation data inspection

It may be that the test needs to be updated to reflect expected behavior, but needs to be evaluated.

ceph-radosgw full amulet test failing @ precise-icehouse with:

00:18:31.435 2016-04-16 21:23:48,670 test_200_ceph_radosgw_ceph_relation DEBUG: Checking ceph-radosgw:mon to ceph:radosgw relation data...
<snip>
00:18:31.436 unexpected relation data in ceph to ceph-radosgw - [None, None, None]
00:18:31.436 juju-test.conductor.014-basic-precise-icehouse DEBUG : Got exit code: 1
00:18:31.436 juju-test.conductor.014-basic-precise-icehouse RESULT : FAIL

See http://pastebin.ubuntu.com/15916975/ for full test output.

Tags: uosci
Ryan Beisner (1chb1n)
Changed in ceph-radosgw (Juju Charms Collection):
assignee: nobody → Alex Kavanagh (ajkavanagh)
Ryan Beisner (1chb1n)
Changed in ceph-radosgw (Juju Charms Collection):
milestone: none → 16.04
importance: Undecided → High
summary: - precise-icehouse amulet test failing test_200 ceph relation data
- inspection
+ precise-icehouse amulet test failing test_201_ceph_radosgw_relation
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

It's happening across most of the tests. I've tested amulet precise-icehouse, trusty-icehouse and trusty-mitaka so far, and they all have the same [None, None, None] return value. I'm guessing this is a (python-)amulet change.

Changed in ceph-radosgw (Juju Charms Collection):
status: New → In Progress
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

It's actually a bug in the test code. The lines:

        if not any(ret):
            message = u.relation_error('ceph to ceph-radosgw', ret)
            amulet.raise_status(amulet.FAIL, msg=message)

Contain the bug. It should be 'if any(ret)'

Now testing variants as a different bug may have surfaced on trusty-mitaka.

Revision history for this message
Ryan Beisner (1chb1n) wrote :
Revision history for this message
Ryan Beisner (1chb1n) wrote :

I'd generally concur that that cherry-picked test bit is indeed inverted. Good spot!

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Fixed by Edward Hope Morley as part of a separate commit: https://review.openstack.org/#/c/308339/

Fix rgw list of pools to create on install

Closes-Bug: 1572572
Change-Id: I8dcdb1085afbea015f39124d917667ea1dd4014a

Changed in ceph-radosgw (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in ceph-radosgw (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.