Test cases verified on Jammy ubuntu-drivers-common 1:0.9.6.2~0.22.04.7

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/2077654

Title:
  Race condition on builders result in 100% fail rate

Status in ubuntu-drivers-common package in Ubuntu:
  Invalid
Status in ubuntu-drivers-common source package in Jammy:
  Fix Committed

Bug description:
  [ Impact ]
  ADT testing fails on arm builders due to a racy test

  [Fix]

  Split the test avoiding the race.

  [ Test Plan ]
  Run ADT tests in PPA or locally with:
  PYTHONPATH=. python3 tests/run 
test_ubuntu_drivers.DetectTest.test_system_driver_packages_force_install_nvidia

  The error message to look for is:
  ======================================================================
  FAIL: test_system_driver_packages_force_install_nvidia 
(test_ubuntu_drivers.DetectTest)
  system_driver_packages() force install config points to an older version.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python3.10/unittest/mock.py", line 1379, in patched
      return func(*newargs, **newkeywargs)
    File 
"/home/ubuntu/ubuntu-drivers-common-0.9.6.2~0.22.04.6~ppa0/tests/test_ubuntu_drivers.py",
 line 1479, in test_system_driver_packages_force_install_nvidia
      self.assertFalse('nvidia-driver-510' in res_wrong_json)
  AssertionError: True is not false

  [ Where problems could occur ]
  during ADT testing on builders

  [ Other Info ]
  Cause unknown. It sometimes fails when locally on x86 machine but only in 
Jammy container. Jammy package ran in Noble container does not fail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2077654/+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