librelp is FTBFS on riscv64 on Focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
librelp (Ubuntu) |
Fix Released
|
Medium
|
Matthew Ruffell | ||
Focal |
Fix Released
|
Medium
|
Matthew Ruffell | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
Matthew Ruffell |
Bug Description
[Impact]
During the recent SRU for bug 1908473, we found that librelp is FTBFS on riscv64 on Focal, due to the test cases basic-realistic.sh and tls-basic-
dh_auto_test --no-parallel
make -j1 check VERBOSE=1
...
make check-TESTS
make[4]: Entering directory '/<<PKGBUILDDIR
...
FAIL: basic-realistic.sh
FAIL: tls-basic-
...
Relevant log: https:/
These tests attempt to send 50,000 messages between a server and client, and riscv64 is just too slow to complete sending all of these messages before the watchdog thinks the process gets stuck and kills it.
Recent runs see "00046000 msgs sent" for basic-realistic.sh and "00029000 msgs sent" for tls-basic-
To fix, we will follow a similar pattern to an existing patch we carry already and trim down the number of messages sent to 10,000 which should reliably be possible on riscv64.
[Testcase]
Attempt to build librelp on on all architectures, and currently, riscv64 will fail on Focal.
If you apply the below patch to reduce messages for basic-realistic.sh and tls-basic-
https:/
[Where problems could occur]
Since we are reducing the number of packets being sent in a testcase in an attempt to not time out the build, there should be little risk in this SRU.
The tests are still continuing to run on all architectures, and are still at a meaningful high number of 10,000 packets, which should find any problems during subsequent builds in the future, but not slow down the build for riscv64.
[Other Info]
* Upload to Focal before Hirsute has been authorized by SRU team (#3).
Hirsute is being followed up on soon.
Changed in librelp (Ubuntu): | |
status: | New → Fix Released |
Changed in librelp (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Matthew Ruffell (mruffell) |
tags: | added: sts |
description: | updated |
description: | updated |
Changed in librelp (Ubuntu Hirsute): | |
assignee: | nobody → Matthew Ruffell (mruffell) |
Changed in librelp (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
Attached is a debdiff for librelp from librelp_ 1.5.0-1ubuntu2. 20.04.1 to librelp_ 1.5.0-1ubuntu2. 20.04.2