canonical / openstack-exporter-operator

The openstack-exporter-operator is a machine charm for openstack-exporter.
Apache License 2.0
1 stars 7 forks source link

Integration tests failing #68

Closed dashmage closed 5 months ago

dashmage commented 5 months ago

When running the integration tests with make integration, it fails due to a timeout and the units in the model do not settle to the expected status.

Also attached the logs from running the tests.

openstack-exporter-tests-log.txt

samuelallan72 commented 5 months ago

It's failing in the test_openstack_exporter_snap_down test. This tests for expected status when the snap service is not running. When I test the charm manually, it correctly sets the status depending on whether the snap service is running. Perhaps an issue in the test or the test environment. I'm trying to reproduce it locally.

samuelallan72 commented 5 months ago

Note: it appears the integration tests are not compatible with python 3.12 (requires distutils and imp), so I'll need to come back to this tomorrow.

samuelallan72 commented 5 months ago

integration tests appear to be working now, after unblocking the CI by switching to a working juju controller. https://github.com/canonical/openstack-exporter-operator/actions/runs/9594608248/job/26457584226

Maybe something was flaky when you ran the tests @dashmage ?

I propose closing this and reopening a new issue if we see the failure again.