The ctest test_concurrency fails intermittently with error:
43: Test command: /home/amywig01/oneDNN/naclBuild/tests/gtests/test_concurrency
43: Test timeout computed to be: 10000000
43: Note: Google Test filter = *:-*_GPU*
43: [==========] Running 1 test from 1 test suite.
43: [----------] Global test environment set-up.
43: [----------] 1 test from test_concurrency_t
43: [ RUN ] test_concurrency_t.Basic
43: test_concurrency: pthread_mutex_lock.c:117: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Test #43: test_concurrency .................Child aborted***Exception: 0.32 sec
For both reference and ACL builds.
It usually fails within 10 or 20 runs. In the example runs I did it always failed within 50 runs.
$ ctest -VV -R test_concurrency --repeat-until-fail 100
...
43: Test command: /home/amywig01/oneDNN/naclBuild/tests/gtests/test_concurrency
43: Test timeout computed to be: 10000000
43: Note: Google Test filter = *:-*_GPU*
43: [==========] Running 1 test from 1 test suite.
43: [----------] Global test environment set-up.
43: [----------] 1 test from test_concurrency_t
43: [ RUN ] test_concurrency_t.Basic
43: test_concurrency: pthread_mutex_lock.c:117: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Test #43: test_concurrency .................Child aborted***Exception: 0.34 sec
Summary
The ctest
test_concurrency
fails intermittently with error:For both reference and ACL builds. It usually fails within 10 or 20 runs. In the example runs I did it always failed within 50 runs.
Version
Environment
cpu: m6g.16xlarge:
Also fails with same error on cpu c6g.16xlarge:
OS version (
uname -a
)Compiler version (
gcc --version
)CMake version (
cmake --version
)git hash (
git log -1 --format=%H
)Steps to reproduce
Observed behavior
Expected behavior
Test passes