Skip to content
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

AWSAuthSignerTest tests failing on Apple Silicon build #2776

Closed
hassanctech opened this issue Dec 4, 2023 · 2 comments
Closed

AWSAuthSignerTest tests failing on Apple Silicon build #2776

hassanctech opened this issue Dec 4, 2023 · 2 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@hassanctech
Copy link

Describe the bug

Output from cmake

[100%] Linking CXX executable aws-cpp-sdk-core-tests
/Users/ec2-user/libawscpp/libawscpp-download-prefix/src/libawscpp-download/tests/aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp:295: Failure
Expected equality of these values:
  0u
    Which is: 0
  authorization.find(partialExpectedAuthorization)
    Which is: 18446744073709551615
[  FAILED  ] AWSAuthV4ASignerTest.GetHeaderValueOrder (2 ms)
/Users/ec2-user/libawscpp/libawscpp-download-prefix/src/libawscpp-download/tests/aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp:295: Failure
Expected equality of these values:
  0u
    Which is: 0
  authorization.find(partialExpectedAuthorization)
    Which is: 18446744073709551615
[  FAILED  ] AWSAuthV4ASignerTest.GetHeaderValueTrim (1 ms)
/Users/ec2-user/libawscpp/libawscpp-download-prefix/src/libawscpp-download/tests/aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp:295: Failure
Expected equality of these values:
  0u
    Which is: 0
  authorization.find(partialExpectedAuthorization)
    Which is: 18446744073709551615
[  FAILED  ] AWSAuthV4ASignerTest.GetVanillaQuery (0 ms)
/Users/ec2-user/libawscpp/libawscpp-download-prefix/src/libawscpp-download/tests/aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp:295: Failure
Expected equality of these values:
  0u
    Which is: 0
  authorization.find(partialExpectedAuthorization)
    Which is: 18446744073709551615
[  FAILED  ] AWSAuthV4ASignerTest.PostVanillaEmptyQueryValue (1 ms)

Expected Behavior

Tests should succeed

Current Behavior

Tests failling

Reproduction Steps

I'm building the aws sdk cpp as a dependency in my project, here is how I'm importing it:

cmake_minimum_required(VERSION 3.6.3)
project(libawscpp-download NONE)
include(ExternalProject)

ExternalProject_Add(libawscpp-download
    GIT_REPOSITORY    https://github.com/aws/aws-sdk-cpp.git
    GIT_TAG           1.11.157
    LIST_SEPARATOR    "|"
    CMAKE_ARGS       -DBUILD_SHARED_LIBS=OFF
                     -DBUILD_ONLY=kinesisvideo|kinesis-video-webrtc-storage
                     -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
    BUILD_ALWAYS      TRUE
    TEST_COMMAND      ""
)%  

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.157

Compiler and Version used

AppleClang 15.0.0.15000040

Operating System and version

Darwin <> 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:31 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8112 arm64

@hassanctech hassanctech added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 4, 2023
@hassanctech
Copy link
Author

I tried the latest 1.11.217 and tests run fine there, I'll take it!

Copy link

github-actions bot commented Dec 5, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

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. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant