Merge ~mertkirpici/juju-lint:lp/1995479 into juju-lint:master

Proposed by Mert Kirpici
Status: Rejected
Rejected by: Mert Kirpici
Proposed branch: ~mertkirpici/juju-lint:lp/1995479
Merge into: juju-lint:master
Diff against target: 28 lines (+3/-0)
2 files modified
tests/functional/requirements.txt (+1/-0)
tox.ini (+2/-0)
Reviewer Review Type Date Requested Status
Gabriel Cocenza Disapprove
🤖 prod-jenkaas-bootstack (community) continuous-integration Approve
Eric Chen Needs Fixing
Review via email: mp+432487@code.launchpad.net

Commit message

Close LP #1995479

Description of the change

Functests seem to get stuck with libjuju 3.0.4. Also PYTHONPATH variables were missing from the functests that use the python package.

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Eric Chen (eric-chen) wrote :

This modification seems conflicts with the conclusion in LP #1993334 that we need to use pylibjuju >= 3.0.4. I prefer to dig into deeper and find out the root cause.

review: Needs Fixing
Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

The problem was an incompatibility issue between python-libjuju and the version of the controller. Updating the controller to the latest stable version solved the issue.

review: Disapprove

Unmerged commits

a60dc92... by Mert Kirpici

tests/functional: pin juju to 3.0.2

Works-on: 1995479
Signed-off-by: Mert Kırpıcı <email address hidden>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/tests/functional/requirements.txt b/tests/functional/requirements.txt
index f7fed82..da81487 100644
--- a/tests/functional/requirements.txt
+++ b/tests/functional/requirements.txt
@@ -1,2 +1,3 @@
1pytest1pytest
2pytest-operator2pytest-operator
3juju==3.0.2
diff --git a/tox.ini b/tox.ini
index 08183e2..9a9b8f3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -56,6 +56,7 @@ commands =
56 --log-cli-level=WARNING \56 --log-cli-level=WARNING \
57 --ignore={toxinidir}/tests/unit \57 --ignore={toxinidir}/tests/unit \
58 -m smoke58 -m smoke
59setenv = PYTHONPATH={toxinidir}
5960
60[testenv:func-dev]61[testenv:func-dev]
61deps =62deps =
@@ -65,6 +66,7 @@ commands =
65 pytest -v \66 pytest -v \
66 --log-cli-level=WARNING \67 --log-cli-level=WARNING \
67 --ignore={toxinidir}/tests/unit68 --ignore={toxinidir}/tests/unit
69setenv = PYTHONPATH={toxinidir}
6870
69[testenv:lint]71[testenv:lint]
70deps =72deps =

Subscribers

People subscribed via source and target branches