Libraries missing for stress/stress-ng-test-for-class-os

Bug #1804150 reported by Kristin Chuang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Snappy
Fix Released
Critical
Sylvain Pineau

Bug Description

"stress/stress-ng-test-for-class-os" always fails with the following error:
/snap/checkbox-snappy/1499/usr/bin/stress-ng: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

Full log from a failed run here:
https://certification.canonical.com/hardware/201802-26087/submission/134895/test-results/fail/

OS: UC18
HW: Intel NUC

Related branches

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

stress-ng dependencies are:

zlib1g-dev, libbsd-dev, libattr1-dev, libgcrypt20-dev, libkeyutils-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64 !linux-ia64], libapparmor-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], apparmor [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libaio-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libcap-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libsctp-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]

Changed in plainbox-provider-snappy:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

On a pi3 running UC18:

core18 18 515 /beta canonical✓ base,ignore-validation
pi 18-0.1 2 18-pi3 canonical✓ gadget
pi-kernel 4.15.0-1028.30 15 18-pi3 canonical✓ kernel
snapd 2.36.3 1977 /stable canonical✓ snapd
stress-ng 0.09.49-20181213-4992-a9f6cab 470 stable cking-kernel-tools -

I've tested stress-ng the snap and it behaves exactly as the stage package we have in checkbox-snappy:

/snap/stress-ng/470/usr/bin/stress-ng: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

Can be reproduced with:
$ stress-ng --sequential 0 --spawn 4

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

I've pushed the following commit to make the stress-ng snap image a static executable, so hopefully there are no longer any shared library issues:

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

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

And the snap has been updated too

Changed in plainbox-provider-snappy:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: Confirmed → In Progress
tags: added: core18
Changed in plainbox-provider-snappy:
importance: High → Critical
Changed in plainbox-provider-snappy:
status: In Progress → Fix Committed
Changed in plainbox-provider-snappy:
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.