Skip to content

Remove TEST_JUJU3 env var from setup.py#697

Merged
freyes merged 2 commits into
openstack-charmers:masterfrom
dosaboy:remove-juju3-env-var
May 15, 2026
Merged

Remove TEST_JUJU3 env var from setup.py#697
freyes merged 2 commits into
openstack-charmers:masterfrom
dosaboy:remove-juju3-env-var

Conversation

@dosaboy

@dosaboy dosaboy commented May 14, 2026

Copy link
Copy Markdown
Contributor

This means that the restriction of juju<3 is removed.

This means that the restriction of juju<3 is removed.
@freyes

freyes commented May 14, 2026

Copy link
Copy Markdown
Member

The CI is failing on a race condition when pulling the images

1        down                     pending        ubuntu@20.04                 failed to start machine 1 (attempt count exceeded: Failed remote image download: Alias already exists: juju/ubuntu@20...
2        down                     pending        ubuntu@22.04                 failed to start machine 2 (attempt count exceeded: Failed remote image download: Alias already exists: juju/ubuntu@22...

This change should address this

diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml
index 2ba834e..d3e96f5 100644
--- a/.github/workflows/tox.yaml
+++ b/.github/workflows/tox.yaml
@@ -106,8 +106,8 @@ jobs:
         sudo iptables -F FORWARD
         sudo iptables -P FORWARD ACCEPT
         # pull images
-        lxc image copy --alias juju/focal/amd64 --copy-aliases ubuntu-daily:focal local:
-        lxc image copy --alias juju/jammy/amd64 --copy-aliases ubuntu-daily:jammy local:
+        lxc image copy --alias juju/ubuntu@20.04/amd64 --alias juju/focal/amd64 --copy-aliases ubuntu-daily:focal local:
+        lxc image copy --alias juju/ubuntu@22.04/amd64 --alias juju/jammy/amd64 --copy-aliases ubuntu-daily:jammy local:
         lxc image list
         juju bootstrap localhost
     - name: Functional test

@freyes freyes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downstream can manage this through constraints or requirements pinning.

I agree we don't need this here anymore.

The CI job failed on 5 attempts, all of them were jujud (controller) dropping the client(s) and preventing clients to reconnect.

@freyes freyes merged commit 8dba141 into openstack-charmers:master May 15, 2026
35 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants