-
Notifications
You must be signed in to change notification settings - Fork 501
Open
Labels
bugSomething isn't workingSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
Describe your environment
Alpine Linux Edge, on different architectures (see below)
Steps to reproduce
I tried to update the alpine packages for opentelemetry-cpp from 1.11 to 1.16, unfortunately I get this issue with all supported platforms:
https://gitlab.alpinelinux.org/svrnm/aports/-/pipelines/258676
/builds/svrnm/aports/testing/opentelemetry-cpp/src/opentelemetry-cpp-1.16.1/sdk/test/common/fast_random_number_generator_test.cc:20: Failure
Value of: values.insert(random_number_generator()).second
Actual: false
Expected: true
To reproduce I have the following code prepared, and I was able to reproduce the issue locally
https://github.com/svrnm/otel-abuild
What is the expected behavior?
The test should succeed.
What is the actual behavior?
Te thest is failing.
Additional context
I tried to fix the issue myself, I have a few findings but none of them helped me to find a final solution:
- The issue shows up when GCC14 is used (in alpine edge), but does not show up with GCC13 (with alpine non-edge)
- When I add some code to output the number in the test.cc file it's always 0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.