testcontainers / testcontainers/testcontainers-python

Bug: trying to run localstack test container under bitbucket

Ouverte
#564 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
Python
Étoiles
2.3k
Forks
386
Merge moyen
4 h 40 min
PR mergées (30 j)
1

Description

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/))

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par integration_tests/test_stitched_consumptions_glue.py::test_stitched_consumptions_perfect_consumptions et reproduisez l’exécution Bitbucket à l’aide de l’endpoint Docker indiqué dans les logs. Examinez les requêtes de pull et de création de conteneur pour testcontainers/ryuk:0.7.0, puis documentez ou testez le comportement qui distingue cet environnement de la configuration localstack signalée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, python
Domaine
ci-cd, testing-qa
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.