Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev] Use juju ssh to reboot machines in acceptance tests #12477

Conversation

achilleasa
Copy link
Contributor

Prior to this change, some of the acceptance tests would use juju run
to reboot machines. However, the develop branch has removed support for
'--machine' from juju run causing these tests to fail. This commit
updates the affected tests to use juju ssh instead.

In addition, this commit also updates assess_container_networking to
work with python 3 by changing x.iteritems() to iter(x.items()).

NOTE: after landing these changes we will need to update the CI jobs to use python 3 for any tests that use assess_container_networking.

QA steps

Run the following tests:

  • assess_container_networking
  • assess_network_health

Prior to this change, some of the acceptance tests would use `juju run`
to reboot machines. However, the develop branch has removed support for
'--machine' from juju run causing these tests to fail. This commit
updates the affected tests to use `juju ssh` instead.

In addition, this commit also updates assess_container_networking to
work with python 3 by changing x.iteritems() to iter(x.items()).
@achilleasa
Copy link
Contributor Author

!!build!! (changes only affect the acceptance tests; check-multi-juju should not fail)

@achilleasa
Copy link
Contributor Author

$$merge$$

@jujubot jujubot merged commit ee9890e into juju:develop Jan 4, 2021
@achilleasa achilleasa deleted the dev-use-juju-ssh-to-reboot-machines-in-acceptance-tests branch January 4, 2021 11:00
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.

3 participants