This bug was fixed in the package ubuntu-drivers-common -
1:0.9.6.2~0.22.04.7
---------------
ubuntu-drivers-common (1:0.9.6.2~0.22.04.7) jammy; urgency=medium
* share/hybrid/71-u-d-c-gpu-detection.rules
- Remove SimpleDRM device when nvidia-drm loads (LP: #2060268)
* share/hybrid/gpu-manager.c
- Wait for nvidia-drm to settle before opening /dev/dri/card*
(LP: #2060268)
* tests/test_ubuntu_drivers.py
- Split a test to fix a race condition
(LP: #2077654)
- revert RLIMIT_NOFILE set and test (LP: #2077646)
-- Kuba Pawlak <[email protected]> Wed, 07 Aug 2024 13:45:38
+0200
** Changed in: ubuntu-drivers-common (Ubuntu Jammy)
Status: Fix Committed => 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:
Fix Released
Status in ubuntu-drivers-common source package in Noble:
Fix Released
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 <[email protected]>
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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp