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

docker swarm modules: only run integration tests on VMs #53292

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

felixfontein
Copy link
Contributor

SUMMARY

This PR restricts all docker swarm related tests to proper VM based CI nodes. This hopefully improves stability, as putting the docker daemon in and out of swarm mode (and otherwise poking it) seems to destabilize it if you do it too often. This is dangerous if the whole CI system runs inside docker, so we restrict to proper VMs where the docker daemon is installed inside the VM by the setup_docker role.

Note that I didn't add docker daemon restarts to all affected tests, since that can also lead to further problems...

CC @mattclay

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

docker_config
docker_node_facts
docker_secret
docker_stack
docker_swarm_facts
docker_swarm_service

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. docker support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests. labels Mar 4, 2019
@felixfontein
Copy link
Contributor Author

The main downside of this is that currently, only the RHEL7 VM is used (since I don't know how to install docker on RHEL8; see #48842), and so everything's Python 2.7.

@WojciechowskiPiotr
Copy link
Contributor

shipit

1 similar comment
@felixfontein
Copy link
Contributor Author

shipit

@ansibot ansibot added automerge This PR was automatically merged by ansibot. shipit This PR is ready to be merged by Core and removed community_review In order to be merged, this PR must follow the community review workflow. labels Mar 4, 2019
@ansibot ansibot merged commit a7cee49 into ansible:devel Mar 4, 2019
@felixfontein
Copy link
Contributor Author

@mattclay @WojciechowskiPiotr thanks for reviewing!

@felixfontein felixfontein deleted the docker-swarm-only-vm branch March 4, 2019 21:23
@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 automerge This PR was automatically merged by ansibot. bug This issue/PR relates to a bug. cloud docker shipit This PR is ready to be merged by Core support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants