testcontainers / testcontainers/testcontainers-python

Bug: trying to run localstack test container under bitbucket

未关闭
#564 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
2.3k
派生
386
平均合并
4 小时 40 分钟
30 天内合并 PR
1

描述

Describe the bug

Not sure if this is testcontainers or localstack, I have a testcontainers localstack image running on bitbucket the only different is the pro version. Anyone else had this or do I need to get localstack support?

integration_tests/test_stitched_consumptions_glue.py::test_stitched_consumptions_perfect_consumptions 

-------------------------------- live log setup --------------------------------

2024-05-07 13:24:27 [    INFO] using host 10.38.132.27:2375 (docker_client.py:52)

2024-05-07 13:24:27 [   DEBUG] Trying paths: ['/nonexistent/.docker/config.json', '/nonexistent/.dockercfg'] ([config.py:21](http://config.py:21/))

2024-05-07 13:24:27 [   DEBUG] No config file found ([config.py:28](http://config.py:28/))

2024-05-07 13:24:27 [   DEBUG] Trying paths: ['/nonexistent/.docker/config.json', '/nonexistent/.dockercfg'] ([config.py:21](http://config.py:21/))

2024-05-07 13:24:27 [   DEBUG] No config file found ([config.py:28](http://config.py:28/))

2024-05-07 13:24:27 [   DEBUG] Starting new HTTP connection (1): 10.38.132.27:2375 ([connectionpool.py:246](http://connectionpool.py:246/))

2024-05-07 13:24:27 [   DEBUG] http://10.38.132.27:2375/ "GET /version HTTP/1.1" 200 821 ([connectionpool.py:474](http://connectionpool.py:474/))

2024-05-07 13:24:27 [    INFO] using host 10.38.132.27:2375 (docker_client.py:52)

2024-05-07 13:24:27 [   DEBUG] Trying paths: ['/nonexistent/.docker/config.json', '/nonexistent/.dockercfg'] ([config.py:21](http://config.py:21/))

2024-05-07 13:24:27 [   DEBUG] No config file found ([config.py:28](http://config.py:28/))

2024-05-07 13:24:27 [   DEBUG] Trying paths: ['/nonexistent/.docker/config.json', '/nonexistent/.dockercfg'] ([config.py:21](http://config.py:21/))

2024-05-07 13:24:27 [   DEBUG] No config file found ([config.py:28](http://config.py:28/))

2024-05-07 13:24:27 [   DEBUG] Starting new HTTP connection (1): 10.38.132.27:2375 ([connectionpool.py:246](http://connectionpool.py:246/))

2024-05-07 13:24:27 [   DEBUG] http://10.38.132.27:2375/ "GET /version HTTP/1.1" 200 821 ([connectionpool.py:474](http://connectionpool.py:474/))

2024-05-07 13:24:27 [    INFO] Pulling image testcontainers/ryuk:0.7.0 ([container.py:88](http://container.py:88/))

2024-05-07 13:24:27 [   DEBUG] http://10.38.132.27:2375/ "POST /v1.44/containers/create?name=testcontainers-ryuk-88fe3177-a1c8-43b0-9b4b-e5e298b46f84 HTTP/1.1" 404 55 ([connectionpool.py:474](http://connectionpool.py:474/))

2024-05-07 13:24:27 [   DEBUG] Looking for auth config ([auth.py:39](http://auth.py:39/))

2024-05-07 13:24:27 [   DEBUG] No auth config in memory - loading from filesystem ([auth.py:41](http://auth.py:41/))

2024-05-07 13:24:27 [   DEBUG] Trying paths: ['/nonexistent/.docker/config.json', '/nonexistent/.dockercfg'] ([config.py:21](http://config.py:21/))

2024-05-07 13:24:27 [   DEBUG] No config file found ([config.py:28](http://config.py:28/))

2024-05-07 13:24:27 [   DEBUG] Looking for auth entry for '[docker.io](http://docker.io/)' ([auth.py:231](http://auth.py:231/))

2024-05-07 13:24:27 [   DEBUG] No entry found ([auth.py:242](http://auth.py:242/))

2024-05-07 13:24:27 [   DEBUG] No auth config found ([auth.py:56](http://auth.py:56/))

2024-05-07 13:24:27 [   DEBUG] http://10.38.132.27:2375/ "POST /v1.44/images/create?tag=0.7.0&fromImage=testcontainers%2Fryuk HTTP/1.1" 200 None ([connectionpool.py:474](http://connectionpool.py:474/))

2024-05-07 13:24:30 [   DEBUG] http://10.38.132.27:2375/ "GET /v1.44/images/testcontainers/ryuk:0.7.0/json HTTP/1.1" 200 2048 ([connectionpool.py:474](http://connectionpool.py:474/))

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 integration_tests/test_stitched_consumptions_glue.py::test_stitched_consumptions_perfect_consumptions 开始,并使用日志中显示的 Docker 端点重现 Bitbucket 运行。检查 testcontainers/ryuk:0.7.0 的 pull 请求和容器创建请求,然后记录或测试区分此环境与所报告的 localstack 设置的行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, python
领域
ci-cd, testing-qa
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。