nvme-stas 2.3-1ubuntu1 autopkgtest hanging on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvme-stas (Debian) |
Fix Released
|
Unknown
|
|||
nvme-stas (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
On s390x, the test-suite for nvme-stas hangs and then times out:
596s test_clear (test-gtimer.
596s test_new_timer (test-gtimer.
596s test_start_timer (test-gtimer.
596s test_AsyncTask (test-gutil.
596s test__data_
596s test_get_interface (test-iputil.
10600s Check that get_interface() returns the right info ...
I am able to reproduce the issue consistently on a s390x host.
The function that is hanging is the following:
> def net_if_addrs():
> with socket.
> sock.sendall(
> nlmsg = sock.recv(8192) # This call blocks forever
where:
> GETADDRCMD = _nlmsg(RTM_GETADDR, NLM_F_REQUEST | NLM_F_ROOT, _ifaddrmsg())
and
> def _ifaddrmsg(
> '''Implement this C struct:
> struct ifaddrmsg {
> __u8 ifa_family;
> __u8 ifa_prefixlen; /* The prefix length */
> __u8 ifa_flags; /* Flags */
> __u8 ifa_scope; /* Address scope */
> __u32 ifa_index; /* Link index */
> };
> '''
> return struct.
This is presumably an endianness issue since s390x uses big-endian.
tags: | added: proposed-migration |
tags: |
added: update-excuse removed: proposed-migration |
Changed in nvme-stas (Ubuntu): | |
assignee: | nobody → Olivier Gayot (ogayot) |
Changed in nvme-stas (Debian): | |
status: | Unknown → New |
tags: | removed: update-excuse |
Changed in nvme-stas (Debian): | |
status: | New → Fix Released |
Attaching debdiff. The fix was forwarded upstream [1] and to Debian.
PPA: noble-proposed] (https:/ /launchpad. net/~ogayot/ +archive/ ubuntu/ noble-proposed)
[ogayot/
Successful autopkgtest run on s390x against PPA [2].
NOTE I've seen another udev test (test-case 1 with IPv6) fail when running autopkgtest on a canonistack instance. This does not seem related to s390x (also reproduced on ppc64el) and it seems to pass fine on the autopkgtest infrastructure. So I'll consider it something for another day... I've opened a new issue upstream to track this one [3]
FAIL: test__cid_ matches_ tid (__main_ _.Test. test__cid_ matches_ tid) ------- ------- ------- ------- ------- ------- ------- ------- ------- st.Jnsvlo/ build.2IB/ src/test/ test-udev. py", line 525, in test__cid_ matches_ tid assertEqual(
-------
Traceback (most recent call last):
File "/tmp/autopkgte
self.
AssertionError: True != False : Test Case 1 failed
[1] https:/ /github. com/linux- nvme/nvme- stas/pull/ 406 /autopkgtest. ubuntu. com/results/ autopkgtest- noble-ogayot- noble-proposed/ noble/s390x/ n/nvme- stas/20231128_ 113657_ 357b1@/ log.gz /github. com/linux- nvme/nvme- stas/issues/ 407
[2] https:/
[3] https:/