This bug was fixed in the package ubuntu-drivers-common - 1:0.9.7.8

---------------
ubuntu-drivers-common (1:0.9.7.8) oracular; urgency=medium

  [ Kuba Pawlak ]
  * Revert "Change maximum open files limit for the shell" (LP: #2077646)

 -- Timo Aaltonen <tjaal...@debian.org>  Wed, 28 Aug 2024 21:42:02 +0300

** Changed in: ubuntu-drivers-common (Ubuntu Oracular)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/2077646

Title:
  revert RLIMIT_NOFILE set and test

Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released
Status in ubuntu-drivers-common source package in Jammy:
  New
Status in ubuntu-drivers-common source package in Noble:
  New
Status in ubuntu-drivers-common source package in Oracular:
  Fix Released

Bug description:
  change to builder config in RLIMIT_NOFILE resulted in one of the tests
  to  fail. The original value of 1024 is now changed to 65535. ADT test
  framework in u-d-c is intended to rise this value to 8180, but only if
  it was lower than that. Then it checks that the limit is set to 8180.
  After the change to the builder config, the tests fail because the
  value is higher than 8180, but the subsequent test is still performed.
  Testing framework became too dependent on builder's internal config.

  [ Impact ]
  ADT testing fails, resulting in package build failures in PPA

  [ Test Plan ]
  Run ADT tests at package build time, or locally with:
  PYTHONPATH=. python3 tests/run test_ubuntu_drivers

  The message that we are looking for is:
  ======================================================================
  FAIL: test_max_open_file_descriptors (test_ubuntu_drivers.DetectTest)
  max_open_file_descriptors
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_ubuntu_drivers.py", line 209, in 
test_max_open_file_descriptors
      self.assertEqual(soft, 8180)
  AssertionError: 65536 != 8180

  [ Where problems could occur ]
  during ADT testing

  [ Other Info ]
  Caused by commit:
  commit 95ab52ae6a00f1cd75bd842486849c0bdb74c71c
  Author: Alberto Milone <alberto.mil...@canonical.com>
  Date:   Mon Mar 7 13:38:19 2022 +0100

      Change maximum open files limit for the shell

  This patch is no longer needed and can be reverted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2077646/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to