testcontainers / testcontainers/testcontainers-python

Bug: test_dind_inherits_network fails

Open
#546 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.3k
Forks
386
Avg merge
4h 40m
Merged PRs (30d)
1

Description

Describe the bug

The test test_dind_inherits_network fails when run with pytest.
Screenshot 2024-04-17 at 19 05 18

To Reproduce

Run the test: pytest core/tests/test_docker_in_docker.py::test_dind_inherits_network

Runtime environment

MacBook M2 with ARM CPU. Is this maybe related to some Mac OS pecularities?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running pytest core/tests/test_docker_in_docker.py::test_dind_inherits_network as reported, then read core/tests/test_docker_in_docker.py and compare the failure on a MacBook M2 with ARM CPU. The issue is done when this test passes in the reported environment without breaking the surrounding Docker-in-Docker tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.