test_socket_with_bind_to_interface fails when building for epel8 on arch ppc64le #665
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to 'closing-soon' in 7 days.
Describe the bug
I'm packaging
aws-c-io
for Fedora and EPEL (https://src.fedoraproject.org/rpms/aws-c-io).While working on the update from
0.14.10
to0.14.16
today I discovered thattest_socket_with_bind_to_interface
fails when building for RHEL 8 / EPEL 8 on archppc64le
. On the same OS on archx86_64
andaarch64
passes all tests without issues.Expected Behavior
test_socket_with_bind_to_interface
passes on RHEL 8 / EPEL 8 on archppc64le
Current Behavior
setsockopt() for enabling TCP_KEEPINTVL for TCP failed with errno 22
followed bybind failed with error code 98
.My understand is that error 22 indicates an invalid argument and error 98 that the port is already in use.
I couldn't figure out yet why both appear and which one happens first.
My assumption is that 22 is the actual problem and 98 just happens down the line because if it.
But this is the part were I could use some input from experienced C developers :)
Reproduction Steps
I use the build infrastructure from Fedora. I don't have a direct access to a PPC64LE machine. So reproducing this error manually might be tricky. But I don't do anything fancy, I trigger the build with
-DBUILD_SHARED_LIBS=ON
and the tests without any additional args.Possible Solution
No response
Additional Information/Context
The test that fails seem pretty new, added via PR #647 with commit d04508d.
aws-c-io version used
0.14.16
Compiler and version used
8.5.0-22.el8_10
Operating System and version
RHEL 8
The text was updated successfully, but these errors were encountered: