Added some extra debug and some more sanity checking. Looks like on a
single CPU the pthread reaping was not unlocking a mutex causing the
issue.

Fixes committed:
https://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=e5ecba459754d4bdb3e858caaaf41a87e485c8ce
"stress-pthread: make error messages a bit more informative"

and
https://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=a50c7466634e194e3169bc63591a86342cb10c67
stress-pthread: add better error recovery and locking prevention checks

** Changed in: stress-ng
       Status: New => Fix Committed

** Changed in: stress-ng
     Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: stress-ng
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-gcp in Ubuntu.
https://bugs.launchpad.net/bugs/1813899

Title:
  pthread in stress-smoke test failed on GCP X-4.15

Status in Stress-ng:
  Fix Committed
Status in ubuntu-kernel-tests:
  New
Status in linux-gcp package in Ubuntu:
  New

Bug description:
   4.15.0-1027-gcp #28~16.04.1-Ubuntu
   Only spotted on node n1-standard-8

   pthread FAILED
   stress-ng: debug: [19921] 1 processor online, 1 processor configured
   stress-ng: info:  [19921] dispatching hogs: 4 pthread
   stress-ng: debug: [19921] cache allocate: default cache size: 56320K
   stress-ng: debug: [19921] starting stressors
   stress-ng: debug: [19921] 4 stressors spawned
   stress-ng: debug: [19925] stress-ng-pthread: started [19925] (instance 3)
   stress-ng: debug: [19924] stress-ng-pthread: started [19924] (instance 2)
   stress-ng: debug: [19923] stress-ng-pthread: started [19923] (instance 1)
   stress-ng: debug: [19922] stress-ng-pthread: started [19922] (instance 0)
   stress-ng: debug: [19923] stress-ng-pthread: exited [19923] (instance 1)
   stress-ng: debug: [19922] stress-ng-pthread: exited [19922] (instance 0)
   stress-ng: debug: [19921] process [19922] terminated
   stress-ng: debug: [19924] stress-ng-pthread: exited [19924] (instance 2)
   stress-ng: fail:  [19924] stress-ng-pthread: mutex unlock failed, errno=22 
(Invalid argument)
   stress-ng: debug: [19921] process [19923] (stress-ng-pthread) terminated on 
signal: 11 (Segmentation fault)
   stress-ng: debug: [19921] process [19923] terminated
   stress-ng: debug: [19921] process [19924] terminated
   stress-ng: debug: [19921] process [19925] (stress-ng-pthread) terminated on 
signal: 11 (Segmentation fault)
   stress-ng: debug: [19921] process [19925] terminated
   stress-ng: info:  [19921] unsuccessful run completed in 5.05s

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1813899/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to