Skip to content

HttpClientTest.TestRandomURLWithProxy test failure on ubuntu 20.04 #1697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
n242 opened this issue Jul 1, 2021 · 1 comment
Closed

HttpClientTest.TestRandomURLWithProxy test failure on ubuntu 20.04 #1697

n242 opened this issue Jul 1, 2021 · 1 comment
Assignees
Labels
bug This issue is a bug. closed-for-staleness

Comments

@n242
Copy link

n242 commented Jul 1, 2021

Describe the bug
failed tests of HttpClientTest.TestRandomURLWithProxy with message:
SSL peer certificate or SSH remote key was not OK

SDK version number
1.9.40

Platform/OS/Hardware/Device
ubuntu 20.04
host machine: windows 10, docker desktop using WSL 2

To Reproduce (observed behavior)
command ran was: docker build -t .
docker file:
RUN git clone --recurse-submodules --branch 1.9.40 https://github.com/aws/aws-sdk-cpp
RUN mkdir sdk_build
RUN cd sdk_build
RUN cmake ../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Release -D BUILD_ONLY="s3"
RUN make
RUN make install

Expected behavior
A clear and concise description of what you expected to happen.

Logs/output
#15 401.7 [----------] 6 tests from HttpClientTest
#15 401.7 [ RUN ] HttpClientTest.TestRandomURLWithProxy
#15 402.0 /aws-sdk-cpp/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:64: Failure
#15 402.0 Failed
#15 402.0 The curl error code has to be 28 in [curlCode: 60, SSL peer certificate or SSH remote key was not OK]
#15 402.0 [ FAILED ] HttpClientTest.TestRandomURLWithProxy (259 ms)
#15 402.0 [ RUN ] HttpClientTest.TestRandomURLWithProxyAndOtherDeclaredAsNonProxyHost
#15 402.2 /aws-sdk-cpp/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:64: Failure
#15 402.2 Failed
#15 402.2 The curl error code has to be 28 in [curlCode: 60, SSL peer certificate or SSH remote key was not OK]
#15 402.2 [ FAILED ] HttpClientTest.TestRandomURLWithProxyAndOtherDeclaredAsNonProxyHost (255 ms)
#15 402.2 [ RUN ] HttpClientTest.TestRandomURLWithProxyAndDeclaredParentDomainAsNonProxyHost
#15 402.2 [ OK ] HttpClientTest.TestRandomURLWithProxyAndDeclaredParentDomainAsNonProxyHost (25 ms)
#15 402.2 [ RUN ] HttpClientTest.TestRandomURLMultiThreaded
#15 403.4 /aws-sdk-cpp/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:64: Failure
#15 403.4 Failed
#15 403.4 The curl error code has to be 6 in [curlCode: 28, Timeout was reached]
#15 403.4 /aws-sdk-cpp/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:64: Failure
#15 403.4 Failed
#15 403.4 The curl error code has to be 6 in [curlCode: 28, Timeout was reached]
#15 403.4 /aws-sdk-cpp/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:64: Failure

Additional context
used default settings for proxy and network on docker desktop

@n242 n242 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jul 1, 2021
@KaibaLopez
Copy link
Contributor

Hi @n242 ,
This error has been fixed as of versions 1.9.56, could you update and try again?
Also, as a side note you could also make your build faster and avoid getting blocked by adding the -DENABLE_TESTING=OFF argument to your cmake command.

@KaibaLopez KaibaLopez added closing-soon This issue will automatically close in 4 days unless further comments are made. and removed needs-triage This issue or PR still needs to be triaged. labels Jul 14, 2021
@KaibaLopez KaibaLopez self-assigned this Jul 14, 2021
@github-actions github-actions bot added closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. closed-for-staleness
Projects
None yet
Development

No branches or pull requests

2 participants