[Bug]: Doesn't work behind proxy since 1.20.0 (1.20.1 too)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, java
- Lĩnh vực
- devops, testing-qa
Hướng nghiên cứu
Tái hiện quá trình nâng cấp từ 1.19.8 lên 1.20.x trong môi trường Jenkins được mô tả, sử dụng container Oracle và proxy đã cấu hình. So sánh hành vi của các dependency giữa các phiên bản và xác nhận bản sửa lỗi bằng cách khởi động container thành công phía sau proxy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 8.8k
- Fork
- 2k
- Merge trung bình
- 5 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của testcontainers/testcontainers-java
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategyCó thể đã có người làm @aymenjamaaoui đã nhận 1 ngày trước. Đang mởtype/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
testcontainers/testcontainers-java#12171 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Enhancement]: Document why singleton containers are required under Spring's test context cachingCó thể đã có người làm @zakaullah075 đã nhận 95 ngày trước. Đang mởtype/enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
testcontainers/testcontainers-java#11967 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Cannot reuse Selenium BrowserWebDriverContainers under LinuxCó thể đã có người làm @kdelay đã nhận 116 ngày trước. Đang mởtype/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
testcontainers/testcontainers-java#11941 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: DockerDesktopClientProviderStrategy is always applicableCó thể đã có người làm @seonwooj0810 đã nhận 165 ngày trước. Đang mởtype/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
testcontainers/testcontainers-java#11829 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Enhancement]: cleanup document after removing junit4 supportCó thể đã có người làm @SJvaca30 đã nhận 173 ngày trước. Đang mởtype/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
testcontainers/testcontainers-java#11578 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của testcontainers/testcontainers-java
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
yegor256/jping#122 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
SAP/ai-sdk-java#1206 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue insight-module
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
sdlc-pro/spring-lens#606 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/cloudstack#14719 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apache/maven-surefire#3605 ·
Maintainer thường phản hồi trong vòng 1 ngày