Tests failing on cloud weather report

Bug #1635235 reported by Konstantinos Tsakalozos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rabbitmq-server (Juju Charms Collection)
Expired
Undecided
Unassigned

Bug Description

Tests are failing as you can see here: http://8.19.32.215:8000/test/8427924630244f9284c796cef2e40057

Cloud Weather Report, relies on bundletester to run tests. You can reproduce the error if you try to run bundletester against the charm in a system with one of the dependencies in test-requirements.txt is missing.

Currently, tests are run through "make test" and "make funstional_test". The later make rule runs bundletester and expects you to have an empty tests/tests.yaml.

We would like to be able to run the test suite both through the bundle tester and the make file.

Revision history for this message
Konstantinos Tsakalozos (kos.tsakalozos) wrote :

Please consider the attached patch

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

We'll need to discuss re: the patch. We're probably not going to be able to patch like so as it would be disruptive to our integration, and we'd need to make that change to 34+ charms.

FYI:

We enforce tox.ini consistency cross all of the openstack charms.

We use tox.ini and test-requirements.txt to construct a virtualenv ahead of testing, in line with upstream OpenStack projects.

Unit and Lint tests are separate from Functional Tests.

All test runners should assume no-sudo access, meaning they should not attempt to install anything unless in a venv.

Changed in rabbitmq-server (Juju Charms Collection):
status: New → Incomplete
Revision history for this message
Ryan Beisner (1chb1n) wrote :

The functional tests, including construction of a python virtualenv, can be triggered as follows:

`tox -e func27`

Or the legacy shim that just calls the above:

`make functional_test`

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for rabbitmq-server (Juju Charms Collection) because there has been no activity for 60 days.]

Changed in rabbitmq-server (Juju Charms Collection):
status: Incomplete → Expired
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.