setup and ramfs-stress from ubuntu-ramfs-stress fails on some 5.4 and 4.15

Bug #1915577 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
High
Colin Ian King
stress-ng (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Focal 5.4.0-66.74 - lowlatency
Focal 5.4.0-66.74 - generic
Bionic 5.4.0-66.74~18.04.2 - lowlatency
Bionic 5.4.0-66.74~18.04.2 - generic (fails on lagalla and passes on spitfire)
Bionic 4.15.0-1084.93 - ibm-gt

Seen failing on lagalla, spitfire, and s2lp3

1157. 02/08 11:34:43 DEBUG| utils:0153| [stdout] LD stress-ng
1158. 02/08 11:34:44 ERROR| utils:0153| [stderr] core-vmstat.o: In function `stress_vmstat_start':
1159. 02/08 11:34:44 ERROR| utils:0153| [stderr] core-vmstat.c:(.text+0x17b6): undefined reference to `strlcpy'
1160. 02/08 11:34:44 ERROR| utils:0153| [stderr] collect2: error: ld returned 1 exit status
1161. 02/08 11:34:44 DEBUG| utils:0153| [stdout] Makefile:375: recipe for target 'stress-ng' failed
1162. 02/08 11:34:44 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_ramfs_stress/src/stress-ng'
1163. 02/08 11:34:44 ERROR| utils:0153| [stderr] make[1]: *** [stress-ng] Error 1
1164. 02/08 11:34:44 ERROR| utils:0153| [stderr] make: *** [all] Error 2
1165. 02/08 11:34:44 DEBUG| utils:0153| [stdout] Makefile:355: recipe for target 'all' failed
1166. 02/08 11:34:44 ERROR| test:0414| Exception escaping from test:
1167. Traceback (most recent call last):
1168. File "/home/ubuntu/autotest/client/shared/test.py", line 387, in _exec
1169. *p_args, **p_dargs)
1170. File "/home/ubuntu/autotest/client/shared/utils.py", line 865, in update_version
1171. install(*args, **dargs)
1172. File "/home/ubuntu/autotest/client/tests/ubuntu_ramfs_stress/ubuntu_ramfs_stress.py", line 60, in setup
1173. utils.make(nprocs)
1174. File "/home/ubuntu/autotest/client/shared/utils.py", line 2056, in make
1175. return system(cmd, timeout=timeout, ignore_status=ignore_status)
1176. File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
1177. verbose=verbose).exit_status
1178. File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
1179. "Command returned non-zero exit status")
1180. CmdError: Command failed, rc=2, Command returned non-zero exit status
1181. * Command:
1182. make -j16
1183. Exit status: 2
1184. Duration: 37.5755739212

Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

A retrigger on B/ibm-gt 4.15.0-1084.93 using lagalla passed. Appears to maybe be a flakey test

description: updated
Sean Feole (sfeole)
tags: added: sru-20210125
Changed in ubuntu-kernel-tests:
importance: Undecided → Critical
assignee: nobody → Colin Ian King (colin-king)
status: New → In Progress
Revision history for this message
Colin Ian King (colin-king) wrote :

This was fixed in stress-ng in commit:

commit 4b12a9e7c3d0e1d777c6ff4225913ca33534ccf2
Author: Colin Ian King <email address hidden>
Date: Mon Feb 8 17:20:18 2021 +0000

    core-vmstat: use shim wrapper of strlcpy to avoid compat linking issues

https://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=4b12a9e7c3d0e1d777c6ff4225913ca33534ccf2

Apologies for breaking the test. This required a libbsd shim compat call to use the safer strlcpy

Revision history for this message
Colin Ian King (colin-king) wrote :

Please re-run the test and see if this fixes the issue.

Changed in stress-ng (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
Changed in ubuntu-kernel-tests:
importance: Critical → High
status: In Progress → Fix Committed
Ian May (ian-may)
tags: added: azure
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

A re-run on Trusty / X-fips shows this is now working.
Thank you!

Changed in ubuntu-kernel-tests:
status: Fix Committed → Fix Released
Changed in stress-ng (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.