ubuntu_vfat_stress / ubuntu_zfs_stress stress-ng failed to build (cannot find -lapparmor)

Bug #1973696 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

Like bug 1973673
With stress-ng fork updated to 8a8add42 (V0.14.01+)

The test build will fail with:
  CC stress-io-uring.c
  CC stress-personality.c
  LD stress-ng
  Makefile:439: recipe for target 'stress-ng' failed
  make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_ramfs_stress/src/stress-ng'
  Makefile:416: recipe for target 'all' failed
  stderr:
  /usr/bin/ld: cannot find -lapparmor
  collect2: error: ld returned 1 exit status
  make[1]: *** [stress-ng] Error 1

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

We should check if there is any other stress-ng related test that need this package.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Tests that are using the stress-ng from our git repo:
$ grep -r "git/stress-ng" * | awk '{print $1}'
ubuntu_performance_latency/ubuntu_performance_latency.py:
ubuntu_performance_power/ubuntu_performance_power.py:
ubuntu_performance_stress_ng/ubuntu_performance_stress_ng.py:
ubuntu_performance_thermal/ubuntu_performance_thermal.py:
ubuntu_ramfs_stress/ubuntu_ramfs_stress.py:
ubuntu_stress_btrfs/ubuntu_stress_btrfs.py:
ubuntu_stress_btrfs_cmd/ubuntu_stress_btrfs_cmd.py:
ubuntu_stress_smoke_test/ubuntu_stress_smoke_test.py:
ubuntu_vfat_stress/ubuntu_vfat_stress.py:
ubuntu_zfs_stress/ubuntu_zfs_stress.py:

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → 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.