Protocol.UndefinedError in list-unconsumed-queues

Bug #1878452 reported by Aurelien Lourot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack RabbitMQ Server Charm
In Progress
Low
Unassigned

Bug Description

Sometimes [0] the 'list-unconsumed-queues' action prints

2020-05-13 00:00:30 DEBUG list-unconsumed-queues %Protocol.UndefinedError{description: "", protocol: Enumerable, value: {:badrpc, {:EXIT, {:aborted, {:no_exists, [:rabbit_queue, {:amqqueue, {:resource, "/", :queue, :_}, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_, :_}]}}}}}

which leads to test_913_list_unconsumed_queues [1] failing with

2020-05-13 00:03:13 [INFO] Traceback (most recent call last):
2020-05-13 00:03:13 [INFO] File "/tmp/tmp.cCBLSHx1KT/func/lib/python3.5/site-packages/zaza/openstack/charm_tests/rabbitmq_server/tests.py", line 320, in test_913_list_unconsumed_queues
2020-05-13 00:03:13 [INFO] queue_count = int(action.results['unconsumed-queue-count'])
2020-05-13 00:03:13 [INFO] KeyError: 'unconsumed-queue-count'

0: https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-rabbitmq-server/725909/2/5682/index.html
1: https://github.com/openstack-charmers/zaza-openstack-tests/blob/master/zaza/openstack/charm_tests/rabbitmq_server/tests.py#L320

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
Changed in charm-rabbitmq-server:
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-rabbitmq-server (master)

Reviewed: https://review.opendev.org/725909
Committed: https://git.openstack.org/cgit/openstack/charm-rabbitmq-server/commit/?id=7c18da37295a04a40f46acdbe1db4dd9ced7b31e
Submitter: Zuul
Branch: master

commit 7c18da37295a04a40f46acdbe1db4dd9ced7b31e
Author: Aurelien Lourot <email address hidden>
Date: Wed May 6 17:55:51 2020 +0200

    Pre-freeze 'make sync' and make list-unconsumed-queues more robust

    Partial-Bug: #1878452
    Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/288
    Change-Id: I6e03ec2b918ca1fbb1563a981827c687814902c4

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.