update-motd fails autopkg test on armhf in noble, blocking python3-defaults
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| update-motd (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
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/
312s File "/tmp/autopkgte
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/autopkgte
316s rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)
316s ^^^^^^^
316s OSError: [Errno 22] Invalid argument
319s autopkgtest [23:36:35]: @@@@@@@
319s show-motd PASS
319s update-motd FAIL non-zero exit status 1
| tags: | added: rls-nn-incoming |
| Changed in update-motd (Ubuntu): | |
| status: | New → Confirmed |

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