[Bug]: Doesn't work behind proxy since 1.20.0 (1.20.1 too)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- docker, java
- 領域
- devops, testing-qa
調査の方向性
説明されている Jenkins 環境で、Oracle コンテナと設定済みのプロキシを使用して 1.19.8 から 1.20.x へのアップグレードを再現します。バージョン間の依存関係の動作を比較し、プロキシ経由でコンテナを正常に起動して修正を確認します。
索引モデルが issue の本文から書いたものです。
説明
Module
Core
Testcontainers version
1.20.0
Using the latest Testcontainers version?
Yes
Host OS
Linux OL8
Host Arch
x86
Docker version
20.10.21
What happened?
When we upgrade the testcontainers version from 1.19.8 to 1.20.* our container (oracle free database) doesn't start anymore.
We usually use the docker image from Oracle container registry like this :
private static final DockerImageName oracleFreeImage = DockerImageName
.parse("container-registry.oracle.com/database/free:23.3.0.0")
.asCompatibleSubstituteFor("gvenzl/oracle-free");
We tried without success to use the one from testcontainers :
public static OracleContainer oracleContainer = new OracleContainer("gvenzl/oracle-free:23.4-slim-faststart")
The behaviour is always the same in Jenkins (maven 3.6.2) :
[ERROR] MyTestClass.theTest » NoClassDefFound
It works perfectly on local machine (Windows 10, maven 3.6.2).
The Jenkins jobs runs on OL8 machine behind an enterprise proxy. The credentials are configured in
/etc/systemd/system/docker.service.d/http-proxy.conf
like that
[Service]
Environment="HTTP_PROXY=http://myuser:[email protected]:3128"
Environment="HTTPS_PROXY=http://myuser:[email protected]:3128"
Environment="NO_PROXY=localhost,127.0.0.0/8,mycompany.com,local"
This was working with 1.19.8 and 1.19.7.
I tried to force environment variables with .withEnv("HTTP_PROXY... It had no effect.
I guess this bug comes from a dependency but I didn't manage to find which incriminate.
I can help to run any workaround if you need me.
Regards
Relevant log output
unfortunately nothing
Additional Information
No response
- 主要言語
- Java
- スター
- 8.8k
- フォーク
- 2k
- 平均マージ
- 5日 21時間
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
testcontainers/testcontainers-java のほかの issue
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategy対応中かも @aymenjamaaoui が 1 日前に担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
testcontainers/testcontainers-java#12171 ·
メンテナーはふだん 1 日以内に返信
-
[Enhancement]: Document why singleton containers are required under Spring's test context caching対応中かも @zakaullah075 が 95 日前に担当しました。 オープンtype/enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
testcontainers/testcontainers-java#11967 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Cannot reuse Selenium BrowserWebDriverContainers under Linux対応中かも @kdelay が 116 日前に担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
testcontainers/testcontainers-java#11941 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: DockerDesktopClientProviderStrategy is always applicable対応中かも @seonwooj0810 が 165 日前に担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
testcontainers/testcontainers-java#11829 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Enhancement]: cleanup document after removing junit4 support対応中かも @SJvaca30 が 173 日前に担当しました。 オープンtype/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
testcontainers/testcontainers-java#11578 ·
メンテナーはふだん 1 日以内に返信
testcontainers/testcontainers-java の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
yegor256/jping#122 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
SAP/ai-sdk-java#1206 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue insight-module
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sdlc-pro/spring-lens#606 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/cloudstack#14719 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/maven-surefire#3605 ·
メンテナーはふだん 1 日以内に返信