Public bug reported:

https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
resolute/resolute/amd64/s/socket-wrapper/20260316_213621_cb93c@/log.gz

341s [ RUN      ] test_bind_ipv6_only
341s [       OK ] test_bind_ipv6_only
341s [ RUN      ] test_sockopt_tcp
341s [  ERROR   ] --- 104 != 280
341s [   LINE   ] --- 
/tmp/autopkgtest.Bi5tDr/autopkgtest_tmp/tests/test_echo_tcp_socket_options.c:342:
 error: Failure!
341s [  FAILED  ] test_sockopt_tcp
341s [ RUN      ] test_sockopt_reuseport
341s [       OK ] test_sockopt_reuseport
341s [==========] sockopt_tests: 6 test(s) run.
341s [  PASSED  ] 5 test(s).
341s [  FAILED  ] sockopt_tests: 1 test(s), listed below:
341s [  FAILED  ] test_sockopt_tcp
341s 
341s  1 FAILED TEST(S)
341s 


From the test:

        optlen = sizeof(info);
        rc = getsockopt(s, IPPROTO_TCP, TCP_INFO, &info, &optlen);
        assert_return_code(rc, errno);
        assert_int_equal(optlen, sizeof(info));

This assumes that the info struct at build time `sizeof(info)` is the
same as runtime `optlen`, which might not be true if fields are added in
a backward-compatible manner to glibc (like 2.43 did)

This package probably needs a hard depends on the specific libc version
it was built against.

** Affects: socket-wrapper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144662

Title:
  test fail due to hard ABI assumption about libc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socket-wrapper/+bug/2144662/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to