Public bug reported: 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_exist_user(TestUsermodLangAdd) /tmp/autopkgtest.XF7v58/build.HWx/src/test/test_usermod-lang-add.rb:19:in `block in test_non_exist_user' 16: def test_non_exist_user 17: ensure_delete_user("test-user") do |uid,| 18: assert(!@user_class.exists?(uid)) => 19: assert_equal([false, "User #{uid} doesn't exist.\n"], 20: run_command(uid, "New CN", 11111)) 21: assert(!@user_class.exists?(uid)) 22: end /tmp/autopkgtest.XF7v58/build.HWx/src/test/al-test-utils.rb:335:in `ensure_delete_user' /tmp/autopkgtest.XF7v58/build.HWx/src/test/test_usermod-lang-add.rb:17:in `test_non_exist_user' <[false, "User test-user doesn't exist.\n"]> expected but was <[false, "/usr/lib/ruby/vendor_ruby/net/ldap/connection.rb:709: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call\n" + "/usr/lib/ruby/2.7.0/socket.rb:623: warning: The called method `tcp' is defined here\n" + "User test-user doesn't exist.\n"]> diff: + [false, + "/usr/lib/ruby/vendor_ruby/net/ldap/connection.rb:709: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call\n" + + "/usr/lib/ruby/2.7.0/socket.rb:623: warning: The called method `tcp' is defined here\n" + ? [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. ** Affects: ruby-net-ldap (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868862 Title: Warning is emitted during TCP socket initialization when executed with ruby 2.7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-net-ldap/+bug/1868862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs