Warning is emitted during TCP socket initialization when executed with ruby 2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-net-ldap (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A warning is emitted when a TCP socket is initialized after the ruby 2.7 transition, this is causing a ruby-activeldap regression. Below you can see one of the failures:
=======
Failure: test_non_
/tmp/autopkgtes
16: def test_non_exist_user
17: ensure_
18: assert(
=> 19: assert_
20: run_command(uid, "New CN", 11111))
21: assert(
22: end
/tmp/autopkgtes
/tmp/autopkgtes
<[false, "User test-user doesn't exist.\n"]> expected but was
<[false,
"/usr/
"/usr/
"User test-user doesn't exist.\n"]>
diff:
+ [false,
+ "/usr/lib/
+ "/usr/lib/
? [false, "User test-user doesn't exist.\n"]
=======
This is not a regression because the expected behavior happens but the test fails because of the ruby-net-ldap warning.
The attached debdiff fixes the warning and consequently the ruby-activeldap autopkgtest failure:
Finished in 79.427183909 seconds. ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- --] @@@@@@@ @@@@@@ summary
-------
444 tests, 1014 assertions, 0 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
100% passed
-------
5.59 tests/s, 12.77 assertions/s
mv .gem2deb.lib lib
autopkgtest [15:18:11]: test command1: -------
autopkgtest [15:18:12]: test command1: - - - - - - - - - - results - - - - - - - - - -
command1 PASS
autopkgtest [15:18:12]: @@@@@@@
command1 PASS