stress-ng: af-alg should retry in case crypto modules take time to load

Bug #1564786 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stress-ng (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

the af-alg stressor is reporting the following errors because error EAFNOSUPPORT occurs if we have multiple stressors forcing udev to load the crypto modules.

stress-ng: error: [100680] process 101138 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101317 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101432 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101477 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101493 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101529 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101561 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101581 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101596 (stress-ng-af_alg)
terminated with an error, exit status=1
stress-ng: error: [100680] process 101630 (stress-ng-af_alg)
terminated with an error, exit status=1

A workaround is to add a retry spin on the open to wait for the modules to load.

Changed in stress-ng (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in stress-ng (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package stress-ng - 0.05.22-1

---------------
stress-ng (0.05.22-1) unstable; urgency=medium

  * Makefile: bump version
  * stress-af-alg: retry open if we get EAFNOSUPPORT (LP: #1564786)

 -- Colin King <email address hidden> Fri, 1 Apr 2016 09:40:56 +0100

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.