testcontainers / testcontainers/testcontainers-python

Bug: You have to remove (or rename) that container to be able to reuse that name. (starting ryuk twice, dind)

オープン
#597 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

🐛 bug 🛟 help wanted
主要言語
Python
スター
2.3k
フォーク
386
平均マージ
4時間 40分
マージ済み PR(30日)
1

説明

Describe the bug

When we use testcontainer in our build pipeline we get the following error:

Conflict ("Conflict. The container name "/testcontainers-ryuk-d5f13be0-c6ab-43c0-83ad-071f3604cb77" is already in use by container "0f610da3c88a6f4ff0d46c71b55219b08db90dd699aa75a990f041e0bccf83b6". You have to remove (or rename) that container to be able to reuse that name.")

To Reproduce

I am not sure what exactly is the cause for that problem, locally everything runs just fine.

Runtime environment

testcontainers 4.5.0
pytest 6.2.5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

レポートには、ソースファイル、テスト、エントリーポイントのいずれも記載されていません。まず、指定された testcontainers 4.5.0、pytest 6.2.5、Docker-in-Docker 環境で障害を再現してください。Ryuk が 2 回起動される理由を特定し、コンテナ名が重複するケースのカバレッジを追加できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, python
領域
devops, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。