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

Tests are broken #8

Open
hadret opened this issue Nov 1, 2019 · 0 comments
Open

Tests are broken #8

hadret opened this issue Nov 1, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@hadret
Copy link
Owner

hadret commented Nov 1, 2019

New tests I introduced recently, for whatever reason, fail in CI pipelines -- on both GitLab and Travis:

    TASK [ansible-role-containers : setup the network(s)] **************************
    changed: [instance] => (item={'name': 'network-1'})
    
    TASK [ansible-role-containers : include_tasks] *********************************
    included: /home/gitlab-runner/builds/1dhPYUvK/0/hadret/ansible-role-containers/tasks/containers.yml for instance
    
    TASK [ansible-role-containers : deploy the container(s)] ***********************
    failed: [instance] (item={'name': 'hello-1', 'image': 'hello-world', 'state': 'started', 'restart_policy': 'always', 'networks': [{'name': 'network-1'}]}) => {"ansible_loop_var": "item", "changed": false, "item": {"image": "hello-world", "name": "hello-1", "networks": [{"name": "network-1"}], "restart_policy": "always", "state": "started"}, "msg": "Error creating container: 500 Server Error: Internal Server Error (\"error creating aufs mount to /var/lib/docker/aufs/mnt/b340d708451a880816c0b3921defdee2a30ce16a381fc7003cea2fae2d1eb465-init: mount target=/var/lib/docker/aufs/mnt/b340d708451a880816c0b3921defdee2a30ce16a381fc7003cea2fae2d1eb465-init data=br:/var/lib/docker/aufs/diff/b340d708451a880816c0b3921defdee2a30ce16a381fc7003cea2fae2d1eb465-init=rw:/var/lib/docker/aufs/diff/a158599c2b550f556906d5e506b38cf144321fd2738567eaec08139d66155556=ro+wh,dio,xino=/dev/shm/aufs.xino: invalid argument\")"}
    failed: [instance] (item={'name': 'hello-2', 'image': 'hello-world', 'state': 'started', 'restart_policy': 'always', 'networks': [{'name': 'network-1'}]}) => {"ansible_loop_var": "item", "changed": false, "item": {"image": "hello-world", "name": "hello-2", "networks": [{"name": "network-1"}], "restart_policy": "always", "state": "started"}, "msg": "Error creating container: 500 Server Error: Internal Server Error (\"error creating aufs mount to /var/lib/docker/aufs/mnt/040af0f7950b7089d51468b7d3542418e0b82e05f8d28dd9401214e083518945-init: mount target=/var/lib/docker/aufs/mnt/040af0f7950b7089d51468b7d3542418e0b82e05f8d28dd9401214e083518945-init data=br:/var/lib/docker/aufs/diff/040af0f7950b7089d51468b7d3542418e0b82e05f8d28dd9401214e083518945-init=rw:/var/lib/docker/aufs/diff/a158599c2b550f556906d5e506b38cf144321fd2738567eaec08139d66155556=ro+wh,dio,xino=/dev/shm/aufs.xino: invalid argument\")"}

I have no idea why those tests are working just fine locally (via Docker Desktop for Mac) 🤷‍♂ I'm going to keep this issue for tracking and will revert the tests until I (or somebody else) find a solution.

@hadret hadret added the bug Something isn't working label Nov 1, 2019
hadret added a commit that referenced this issue Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant