s390x autopkgtest hangs
Bug #2026878 reported by
Benjamin Drung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvme-stas (Ubuntu) |
Fix Released
|
Undecided
|
Mateus Rodrigues de Morais |
Bug Description
The s390x autopkgtest hangs [1]. The issue happens when executing the test test_get_interface [2] and the execution freezes on sock.recv(8192) in line 82 [3] until the test times out.
[1] https:/
[2] https:/
[3] https:/
Related branches
~mateus-morais/ubuntu/+source/nvme-stas:nvme-stas-s390x-autopkgtest-failure
Merged
into
ubuntu/+source/nvme-stas:ubuntu/devel
at
revision 62ae9d566ed18a8b068a5bd9ee6ca33132cd7d23
- Benjamin Drung (community): Approve
-
Diff: 112 lines (+80/-1)4 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/1000-iputil-fix-byte-ordering.patch (+70/-0)
debian/patches/series (+1/-0)
Changed in nvme-stas (Ubuntu): | |
assignee: | nobody → Mateus Rodrigues de Morais (mateus-morais) |
Changed in nvme-stas (Ubuntu): | |
status: | New → In Progress |
Changed in nvme-stas (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This issue was caused by a hard-coded byteorder='little' on a big-endian architecture (s390x), which resulted in garbage messages being sent to the Netlink socket. As these are ignored, nothing was then being received on recv(), causing the subsequent hang and, ultimately, the autopkgtest timeout.
A fix has been proposed at https:/ /code.launchpad .net/~mateus- morais/ ubuntu/ +source/ nvme-stas/ +git/nvme- stas/+merge/ 450606.