Skip to content

HttpClientTest failing when building 1.11.717 #3673

@wl-spaceline

Description

@wl-spaceline

Describe the bug

I'm preparing a docker image where I am building aws-sdk-cpp s3 module, and I'm getting a failing test that prevents the docker image to be created.

I can skip the tests, but not sure if it is "safe" considering the failing test.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

aws-cpp-sdk builds without failure.

Current Behavior

HttpClientTest fails.

/home/runner/aws-sdk-cpp/tests/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp:146: Failure
Value of: hasPendingTasks
Actual: true
Expected: false
[  FAILED  ] HttpClientTest.TestRandomURLMultiThreaded (6186 ms)

Reproduction Steps

git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp && cd aws-sdk-cpp/ && git checkout 1.11.717
cmake -B build-aws-s3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="s3" .
cmake --build build-aws-s3 --config=Release

Possible Solution

Not a solution, but as workaround I can build with -DBUILD_TESTING=OFF

UPDATE: Test passes when switching to 1.11.716

Additional Information/Context

No response

AWS CPP SDK version used

1.11.717

Compiler and Version used

gcc (Debian 12.2.0-14+deb12u1) 12.2.0

Operating System and version

debian bookworm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions