[Bug 2054369] Re: update-motd fails autopkg test on armhf in noble, blocking python3-defaults

Andreas Hasenack 2054369 at bugs.launchpad.net
Wed Feb 21 21:34:22 UTC 2024


I can reproduce this in an armhf container on an arm64 host.

With python3.11, it works. With python 3.12, it doesn't. We should be
able to narrow this down now.

root at n-armhf:~# python3.12 ./wait-for-apt-update-to-finish 
lockdata = b'\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Attempting to lock /var/lib/apt/lists/lock to wait for any currently running apt updates to finish... Traceback (most recent call last):
  File "/root/./wait-for-apt-update-to-finish", line 33, in <module>
    rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument


root at n-armhf:~# python3.11 ./wait-for-apt-update-to-finish 
lockdata = b'\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Attempting to lock /var/lib/apt/lists/lock to wait for any currently running apt updates to finish... locked, exiting.


root at n-armhf:~# uname -a
Linux n-armhf 6.5.0-17-generic #17-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 11 14:20:13 UTC 2024 armv8l armv8l armv8l GNU/Linux


root at n-armhf:~# dpkg --print-architecture 
armhf



** Tags added: update-excuses

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-motd in Ubuntu.
https://bugs.launchpad.net/bugs/2054369

Title:
  update-motd fails autopkg test on armhf in noble, blocking
  python3-defaults

Status in update-motd package in Ubuntu:
  Confirmed

Bug description:
  on armhf, update-motd fails autopkg test in noble, blocking
  python3-defaults:

  309s autopkgtest [23:36:25]: test update-motd: [-----------------------
  312s Attempting to lock /var/lib/apt/lists/lock to wait for any currently running apt updates to finish... Traceback (most recent call last):
  312s   File "/tmp/autopkgtest.WSDKm0/build.ply/src/debian/tests/wait-for-apt-update-to-finish", line 31, in <module>
  312s     rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)
  312s          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  312s OSError: [Errno 22] Invalid argument
  312s autopkgtest [23:36:28]: test update-motd: -----------------------]
  315s update-motd          FAIL non-zero exit status 1
  315s autopkgtest [23:36:31]: test update-motd:  - - - - - - - - - - results - - - - - - - - - -
  316s autopkgtest [23:36:32]: test update-motd:  - - - - - - - - - - stderr - - - - - - - - - -
  316s Traceback (most recent call last):
  316s   File "/tmp/autopkgtest.WSDKm0/build.ply/src/debian/tests/wait-for-apt-update-to-finish", line 31, in <module>
  316s     rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)
  316s          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  316s OSError: [Errno 22] Invalid argument
  319s autopkgtest [23:36:35]: @@@@@@@@@@@@@@@@@@@@ summary
  319s show-motd            PASS
  319s update-motd          FAIL non-zero exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-motd/+bug/2054369/+subscriptions




More information about the foundations-bugs mailing list