Bug 14311 - valgrind drd/tests ptest intermittent failure
Summary: valgrind drd/tests ptest intermittent failure
Status: IN PROGRESS REVIEW
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.99
Assignee: Randy MacLeod
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-03-19 23:39 UTC by Alexandre Belloni
Modified: 2025-04-22 08:00 UTC (History)
14 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
maybe enough? (2.03 KB, patch)
2021-05-17 00:55 UTC, Yi Fan Yu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2021-03-19 23:39:53 UTC
Extracted from bug 14223 because it is closed:


'valgrind': ['drd/tests/std_list']

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1550/steps/12/logs/stdio

{'valgrind': ['drd/tests/thread_name', 'drd/tests/thread_name_xml']}

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1549/steps/10/logs/step1c
Comment 1 Randy MacLeod 2021-03-25 14:43:47 UTC
Only happening on the arm worker we believe.
Comment 2 Yi Fan Yu 2021-04-01 20:20:46 UTC
send a patch to the mailing list to print the valgrind diff when the test fails
Comment 3 Yi Fan Yu 2021-04-22 20:57:51 UTC
not been happening AFAIK,
fyi the patch that printed the diff statements:
https://git.openembedded.org/openembedded-core/commit/?id=099313ef541920d4a84b801d9d8788a56ba7ec61&h=master

so it is viewable at
https://autobuilder.yocto.io/pub/non-release/

marking as resolved.
Comment 4 Alexandre Belloni 2021-04-30 22:19:40 UTC
Reopening for this one:

{'valgrind': ['drd/tests/bar_bad_xml']}

branch: master-next
worker: debian10-ty-2
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2002/steps/12/logs/stdio

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/bar_bad']}

on master (qemux86-64): 
woerker: ubuntu1604-ty-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2005

On master-next:
worker:fedora32-ty-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2006
Comment 5 Alexandre Belloni 2021-05-01 23:02:55 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2013/steps/12/logs/stdio

master-next on debian10-ty-2
Comment 6 Yi Fan Yu 2021-05-03 15:55:23 UTC
ok 3.17 didn't fix it (I enabled it to see if it would reoccur), there might be a race condition in the test.

Upstream has been silent about this bug, I did send the test fail details.
https://bugs.kde.org/show_bug.cgi?id=430321
Comment 7 Alexandre Belloni 2021-05-06 08:52:15 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2055/steps/12/logs/stdio

qemux86-64
master-next on ubuntu1804-ty-2
Comment 8 Alexandre Belloni 2021-05-06 09:31:39 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2026/steps/12/logs/stdio

qemux86-64
master on ubuntu1804-ty-2
Comment 9 Alexandre Belloni 2021-05-06 11:17:12 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2031/steps/12/logs/stdio

qemux86-64
master-next on debian10-ty-3
Comment 10 Alexandre Belloni 2021-05-06 11:38:22 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2033/steps/12/logs/stdio

qemux86-64
master-next on ubuntu2004-ty-2
Comment 11 Alexandre Belloni 2021-05-06 12:47:36 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2036/steps/12/logs/stdio

qemux86-64
master-next on ubuntu1804-ty-2
Comment 12 Alexandre Belloni 2021-05-06 14:36:05 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2045/steps/12/logs/stdio

qemux86-64
master-next on fedora33-ty-1
Comment 13 Alexandre Belloni 2021-05-06 14:43:16 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2038/steps/13/logs/stdio

qemux86-64
master-next on centos7-ty-4
Comment 14 Alexandre Belloni 2021-05-06 14:48:04 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3355/steps/19/logs/stdio

qemux86-64
master-next on ubuntu1804-ty-1
Comment 15 Randy MacLeod 2021-05-06 15:35:54 UTC
Yi Fan, Let me know if you have time for this bug, it's causing quite a few errors on the YP abutobuilder so if you can get to it in the next week or two, I'll leave it with you but otherwise, assign it to me and your replacement will work on it!
Comment 16 Yi Fan Yu 2021-05-06 16:25:17 UTC
Randy:
I was trying to verify if the test still failed and see if it was still the same failure on AB.

We can disable it now if it keeps failing (since there are enough data and the failures seem to happen pretty often on AB)

I'll work on it and see if I can figure out the root cause.
Comment 17 Chee Yang 2021-05-09 11:47:38 UTC
qemux86-64
ubuntu1804-ty-1
{'valgrind': ['drd/tests/bar_bad']}
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2062/steps/12/logs/stdio
Comment 18 Yi Fan Yu 2021-05-17 00:08:43 UTC
I think it is due to bad synchronization.

ThreadA expects threadB to be blocked by using wait(1)

There is no 100% fix to this because it is purposely trying to do something evil (destroy a barrier when there are threads waiting on it)

we can use another mutex/semaphore to guarantee that threadB has executed to the line before threadB gets blocked, but not guarantee threadB gets blocked.
Comment 19 Yi Fan Yu 2021-05-17 00:55:56 UTC
Created attachment 4801 [details]
maybe enough?
Comment 20 Randy MacLeod 2021-05-27 21:06:35 UTC
Yi Fan,

That looks good to me. Did you send it upstream?
Do you need someone to do that or will you have time to work on it in the coming week?
Comment 21 Leonardo Sandoval 2021-07-08 22:33:36 UTC
Still present

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/bar_bad_xml']}

url: https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2255
target: qemux86-64-ptest
worker: debian10-ty-1
Comment 22 Alexandre Belloni 2021-08-13 12:42:12 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2081/steps/12/logs/stdio

'valgrind': ['drd/tests/boost_thread']

qemuarm64-ptest ubuntu2004-arm-1
Comment 23 Alexandre Belloni 2021-09-16 08:57:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2121/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 24 Alexandre Belloni 2021-09-16 09:03:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2426/steps/12/logs/stdio

qemux86-64-ptest centos8-ty-2
Comment 25 Alexandre Belloni 2021-09-16 09:51:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2524/steps/12/logs/stdio

qemux86-64-ptest fedora33-ty-1
Comment 26 Alexandre Belloni 2021-09-16 10:01:50 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2239/steps/12/logs/stdio

qemuarm64-ptest ubuntu2004-arm-1
Comment 27 Alexandre Belloni 2021-09-16 10:36:50 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2202/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 28 Alexandre Belloni 2021-09-16 10:39:30 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2212/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 29 Alexandre Belloni 2021-09-16 13:57:33 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2229/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1
Comment 30 Alexandre Belloni 2021-09-23 13:06:29 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2253/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1
Comment 31 Alexandre Belloni 2021-09-23 13:24:07 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2260/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1
Comment 32 Alexandre Belloni 2021-09-23 13:25:52 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2264/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1
Comment 33 Alexandre Belloni 2021-09-23 13:47:00 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2274/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1
Comment 34 Randy MacLeod 2021-09-23 15:06:44 UTC
@Yi can we skip these tests if we don't have a fix? Ping me on IRC if you get a chance.
Comment 35 Randy MacLeod 2021-09-23 15:11:36 UTC
We probably need a separate bug for valgrind arm target.
Ross does ARM have any interest in improving valgrind for arm?

Note, that i did build valgrind natively on RaspberryPi OS with the test counter patch applied and most if not all tests passed.
Comment 36 Oleksiy Obitotskyy 2021-09-26 13:32:26 UTC
qemuarm64-ptest ubuntu1804-arm-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2297

WARNING: core-image-ptest-all-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 25, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 112, in do_ptestrunner
    self.fail(failmsg)
AssertionError: Failed ptests:
{'strace': ['strace--relative-timestamps-ms.gen.test'],
 'valgrind': ['drd/tests/boost_thread']}

Cannot run ptests without @expectedFailure as ptests are expected to fail
Comment 37 Oleksiy Obitotskyy 2021-09-27 08:43:28 UTC
qemuarm64-ptest ubuntu1804-arm-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2302

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}
Comment 38 Naveen Saini 2021-10-01 09:41:11 UTC
qemuarm64-ptest ubuntu1804-arm-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2327

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}
Comment 39 Naveen Saini 2021-10-01 09:42:35 UTC
qemuarm64-ptest ubuntu1804-arm-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2329

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}
Comment 40 Naveen Saini 2021-10-04 05:11:42 UTC
qemuarm64-ptest ubuntu1804-arm-1 (master-next)

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2332
Comment 41 Naveen Saini 2021-10-04 05:35:45 UTC
qemuarm64-ptest ubuntu1804-arm-1 (master-next)
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2334
Comment 42 Ross Burton 2021-10-07 12:28:00 UTC
Failed test details...
drd/tests/boost_thread.stderr.diff
************
--- boost_thread.stderr.exp	2018-03-09 12:34:56.000000000 +0000
+++ boost_thread.stderr.out	2021-10-03 01:41:28.120866304 +0000
@@ -1,6 +1,52 @@

 Thread 1.
+Thread 2:
+Conflicting load by thread 2 at 0x........ size 4
+   at 0x........: boost::thread_detail::enter_once_region(boost::once_flag&) (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: ??? (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: ??? (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+   by 0x........: (within libpthread-?.?.so)
+   by 0x........: thread_start (in /...libc...)
+Allocation context: BSS section of libboost_thread.so.1.77.0
+Other segment start (thread 1)
+   at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+   by 0x........: boost::thread_detail::commit_once_region(boost::once_flag&) (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::get_current_thread_data() (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*) (thread_data.hpp:207)
+   by 0x........: void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) (condition_variable.hpp:194)
+   by 0x........: main (boost_thread.cpp:?)
+Other segment end (thread 1)
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: boost::thread_detail::commit_once_region(boost::once_flag&) (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::get_current_thread_data() (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*) (thread_data.hpp:207)
+   by 0x........: void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) (condition_variable.hpp:194)
+   by 0x........: main (boost_thread.cpp:?)
+
+Conflicting load by thread 2 at 0x........ size 4
+   at 0x........: ??? (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: ??? (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+   by 0x........: (within libpthread-?.?.so)
+   by 0x........: thread_start (in /...libc...)
+Allocation context: BSS section of libboost_thread.so.1.77.0
+Other segment start (thread 1)
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: boost::thread_detail::enter_once_region(boost::once_flag&) (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::get_current_thread_data() (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*) (thread_data.hpp:207)
+   by 0x........: void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) (condition_variable.hpp:194)
+   by 0x........: main (boost_thread.cpp:?)
+Other segment end (thread 1)
+   at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+   by 0x........: boost::thread_detail::commit_once_region(boost::once_flag&) (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::get_current_thread_data() (in /usr/lib/libboost_thread.so.1.77.0)
+   by 0x........: boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*) (thread_data.hpp:207)
+   by 0x........: void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) (condition_variable.hpp:194)
+   by 0x........: main (boost_thread.cpp:?)
+
 Thread 2.
 Finished.
Comment 43 Thomas Perrot 2021-10-11 11:57:31 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2375/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1
Comment 44 Thomas Perrot 2021-10-11 11:59:07 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2380/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 45 Thomas Perrot 2021-10-12 13:42:22 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2384/steps/12/logs/stdio

qemuarm64-ptest ubuntu2004-arm-1
Comment 46 Thomas Perrot 2021-10-14 14:26:42 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2397/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 47 Thomas Perrot 2021-10-14 14:31:25 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2393/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 49 Chee Yang 2021-11-07 01:35:57 UTC
ubuntu1804-arm-1  qemuarm64-ptest
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2468/steps/12/logs/stdio
Comment 50 Chee Yang 2021-11-07 06:05:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2456/steps/12/logs/stdio
ubuntu1804-arm-1
qemuarm64-ptest
Comment 51 Chee Yang 2021-11-07 14:29:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2460/steps/12/logs/stdio
ubuntu1804-arm-1
qemuarm64-ptest
Comment 52 Chee Yang 2021-11-09 08:03:50 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2475/steps/12/logs/stdio
{'valgrind': ['drd/tests/boost_thread']}
ubuntu1804-arm-1  qemuarm64-ptest
Comment 53 Chee Yang 2021-11-09 09:39:31 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2485/steps/12/logs/stdio
ubuntu1804-arm-1  qemuarm64-ptest
Comment 54 Chee Yang 2021-11-11 09:04:46 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2526/steps/12/logs/stdio
ubuntu1804-arm-1 qemuarm64-ptest
Comment 55 Chee Yang 2021-11-11 09:24:07 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2524/steps/12/logs/stdio
ubuntu1804-arm-1 qemuarm64-ptest
Comment 56 Chee Yang 2021-11-11 13:28:36 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2538/steps/12/logs/stdio
ubuntu1804-arm-1  qemuarm64-ptest
{'strace': ['delay.test', 'delay'], 'valgrind': ['drd/tests/boost_thread']}
Comment 57 Minjae Kim 2021-11-17 06:14:35 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2556/steps/12/logs/stdio

AssertionError: Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}
Comment 58 Minjae Kim 2021-11-17 06:28:54 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2547/steps/12/logs/stdio
qemuarm64-ptest 2547

AssertionError: Failed ptests:
{'coreutils': ['tests/misc/env-signal-handler.sh'],
 'valgrind': ['drd/tests/boost_thread']}
Comment 59 Minjae Kim 2021-11-17 06:31:13 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2546
qemuarm64-ptest2546
AssertionError: Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}
Comment 60 Minjae Kim 2021-11-21 07:43:27 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2561/steps/12/logs/stdio
{'valgrind': ['drd/tests/boost_thread']}
Comment 61 Minjae Kim 2021-11-21 07:45:07 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2560/steps/12/logs/stdio
{'valgrind': ['drd/tests/boost_thread']}
Comment 62 Alexandre Belloni 2021-12-08 16:17:55 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2581/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1
Comment 64 Alexandre Belloni 2021-12-10 10:24:02 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2625/steps/12/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1
Comment 65 Randy MacLeod 2022-01-04 14:28:12 UTC
Patches to work-around the failures reported submitted to the list on Dec 29, 2021:
https://lists.openembedded.org/g/openembedded-core/message/160055
Comment 67 Saul Wold 2022-02-10 18:17:51 UTC
{'valgrind': ['drd/tests/boost_thread']}
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2828/steps/12/logs/stdio
ubuntu1804-arm-1 non-SSD
Comment 68 Alexandre Belloni 2022-03-09 21:58:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2940/steps/12/logs/stdio

qemuarm64-ptest ubuntu2004-arm-1
{'valgrind': ['drd/tests/boost_thread']}


https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/3209/steps/12/logs/stdio

qemux86-64-ptest debian11-ty-3
{'valgrind': ['drd/tests/bar_bad']}


debian11-ty-3 has an SSD
Comment 69 Randy MacLeod 2022-04-18 20:48:49 UTC
In the last comment one of the failures is still on 'master' so 
we'll have to fix that in 4.1-M1.
Comment 70 Leonardo Sandoval 2022-04-20 23:38:19 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/3380

│ ubuntu2004-ty-1  │ SSD     │
Comment 71 Ross Burton 2022-04-28 14:48:50 UTC
That last run was:

{'valgrind': ['drd/tests/bar_bad']}
Comment 72 Alexandre Belloni 2022-08-16 19:19:48 UTC
https://autobuilder.yoctoproject.org/typhoon/#builders/81/builds/3867/steps/12/logs/stdio

qemux86-64-ptest ubuntu2204-ty-1

{'valgrind': ['drd/tests/std_thread2']}
Comment 73 Alexandre Belloni 2022-08-16 20:27:53 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/3879/steps/12/logs/stdio

qemux86-64-ptest ubuntu2204-ty-1
Comment 77 Alexandre Belloni 2022-08-17 14:40:23 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/3891/steps/13/logs/stdio

qemux86-64-ptest stream8-ty-1
Comment 78 Alexandre Belloni 2022-08-17 15:13:59 UTC
drd/tests/std_thread2.stderr.diff
************
--- std_thread2.stderr.exp	2018-03-09 12:34:56.000000000 +0000
+++ std_thread2.stderr.out	2022-08-16 18:12:41.989444480 +0000
@@ -1,9 +1,19 @@
 
 Thread 2:
+Conflicting load by thread 2 at 0x........ size 8
+   at 0x........: _dl_new_hash (dl-new-hash.h:90)
+   by 0x........: _dl_lookup_symbol_x (dl-lookup.c:757)
+Allocation context: Data section of /lib/ld-linux-x86-64.so.2
+
+Conflicting store by thread 2 at 0x........ size 8
+   at 0x........: _dl_new_hash (dl-new-hash.h:90)
+   by 0x........: _dl_lookup_symbol_x (dl-lookup.c:757)
+Allocation context: Data section of /lib/ld-linux-x86-64.so.2
+
 Conflicting store by thread 2 at 0x........ size 4
    at 0x........: main::LAMBDA::operator()() const (std_thread2.cpp:21)
 Allocation context: BSS section of std_thread2
Comment 79 Randy MacLeod 2022-08-23 13:25:39 UTC
Temporarily skip this test:

https://git.openembedded.org/openembedded-core/commit/?id=2d52b590f4f254ba6ff310af1f68780a0f329673

commit 2d52b590f4f254ba6ff310af1f68780a0f329673
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Wed Aug 17 13:17:39 2022

    valgrind: Disable drd/tests/std_thread2 ptest
    
    After improvements to debug sources handling I suspect that extra debug
    information became available and is confusing this test. Disable it
    for now until someone with more knowledge can resolve the issue.
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 80 Randy MacLeod 2022-11-10 15:47:48 UTC
Skipping so no longer AB-INT AB-SSD but still a bug.
Comment 81 Alexandre Belloni 2022-12-07 14:29:37 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4120/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1

{'valgrind': ['drd/tests/boost_thread']}
Comment 83 Alexandre Belloni 2022-12-07 14:41:34 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4133/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 91 Alexandre Belloni 2022-12-22 16:00:51 UTC
https://autobuilder.yoctoproject.org/typhoon/#builders/82/builds/4208/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 94 Randy MacLeod 2022-12-22 19:36:28 UTC
Work-around sent to list:
https://lore.kernel.org/openembedded-core/20221222191753.789795-1-Randy.MacLeod@windriver.com/T/#u

I looked at the 15 most recent failures and all were on ubuntu1804-arm-* 
except for 3 failures on ubuntu2204-arm-*. There are ubuntu2204-arm-* workers so that's a little odd. 

I didn't look yet but will eventually look at what's going wrong. The test seems simple enough:

static void thread_func(void)
{
  std::cerr << "Thread 2.\n";
  boost::mutex::scoped_lock sl(s_m);
  s_cva.notify_all();
  s_cva.wait(sl);
}

int main(int argc, char** argv)
{
  std::cerr << "Thread 1.\n";
  boost::mutex::scoped_lock sl(s_m);
  boost::thread t(thread_func);
  s_cva.wait(sl);
  s_cva.notify_all();
  sl.unlock();
  t.join();
  std::cerr << "Finished.\n";
  return 0;
}
Comment 95 Randy MacLeod 2022-12-25 01:58:47 UTC
skip test on arm merged to master:
https://git.openembedded.org/openembedded-core/commit/?id=d98deec9e4aed9e05343d2758f3a3892e2044616
Comment 97 Alexandre Belloni 2023-02-23 17:15:44 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4402/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1
Comment 98 Alexandre Belloni 2023-02-23 17:22:12 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4627/steps/12/logs/stdio
qemux86-64-ptest fedora36-ty-1
Comment 99 Alexandre Belloni 2023-03-09 15:31:51 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4774/steps/12/logs/stdio

qemux86-64-ptest fedora36-ty-3
Comment 100 Randy MacLeod 2023-03-09 21:24:49 UTC
Sent a patch to disable the test:
https://lists.openembedded.org/g/openembedded-core/message/178271
Comment 101 Alexandre Belloni 2023-06-08 07:19:45 UTC
https://autobuilder.yoctoproject.org/typhoon/#builders/82/builds/4854/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1


'valgrind': ['drd/tests/atomic_var']
Comment 102 Alexandre Belloni 2023-07-18 18:01:24 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5128/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 103 Alexandre Belloni 2023-07-18 18:18:30 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5303/steps/12/logs/stdio

qemux86-64-ptest ubuntu2210-ty-1
Comment 104 Alexandre Belloni 2023-07-19 17:03:59 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5177/steps/12/logs/stdio

qemux86-64-ptest ubuntu2210-ty-1
Comment 106 Alexandre Belloni 2023-08-10 13:51:08 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5246/steps/13/logs/stdio

{'valgrind': ['drd/tests/atomic_var']}

qemuarm64-ptest ubuntu1804-arm-1
Comment 107 Steve Sakoman 2023-11-25 21:46:31 UTC
nanbield:

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5948/steps/12/logs/stdio
qemux86-64-ptest ubuntu2304-ty-1
Comment 108 João Marcos Costa 2024-02-22 14:50:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6273/steps/12/logs/stdio

Failed ptests:
{'valgrind': ['drd/tests/boost_thread']}

qemux86-64-ptest fedora38-ty-2
Comment 109 Randy MacLeod 2024-03-25 23:47:56 UTC
Bulk move to 5.0-M4
Comment 110 João Marcos Costa 2024-04-03 12:41:19 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6256/steps/13/logs/stdio

AssertionError: 
Failed ptests:
{'valgrind': ['memcheck/tests/leak_cpp_interior', 'drd/tests/pth_mutex_signal']}

qemuarm64-ptest ubuntu1804-arm-1
Comment 111 João Marcos Costa 2024-04-03 12:42:16 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6451/steps/12/logs/stdio

AssertionError: 
Failed ptests:
{'valgrind': ['drd/tests/pth_mutex_signal']}

qemux86-64-ptest fedora38-ty-6
Comment 112 Randy MacLeod 2024-04-25 01:26:29 UTC
Park in 5.99 until I'm sure I have time to work on an issue.
Comment 113 João Marcos Costa 2025-02-03 16:35:11 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/866/steps/12/logs/stdio

Four different drd/tests/<...> cases:

{'valgrind': ['gdbserver_tests/mcinfcallWSRU',
              'gdbserver_tests/nlcontrolc',
              'gdbserver_tests/nlvgdbsigqueue',
              'memcheck/tests/sendmsg',
              'drd/tests/fork-parallel',
              'drd/tests/fork-serial',
              'drd/tests/threaded-fork-vcs',
              'drd/tests/threaded-fork',
              'none/tests/fdleak_ipv4',
              'none/tests/file_dclose',
              'none/tests/socket_close']}

qemux86-64-ptest rocky9-vk-1
Comment 114 João Marcos Costa 2025-02-03 16:49:15 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/864/steps/12/logs/stdio

Failed ptests:
{'valgrind': ['gdbserver_tests/mcinfcallWSRU',
              'gdbserver_tests/nlcontrolc',
              'gdbserver_tests/nlvgdbsigqueue',
              'memcheck/tests/sendmsg',
              'drd/tests/fork-parallel',
              'drd/tests/fork-serial',
              'drd/tests/threaded-fork-vcs',
              'drd/tests/threaded-fork',
              'none/tests/fdleak_ipv4',
              'none/tests/file_dclose',
              'none/tests/socket_close']}

qemuarm64-ptest ubuntu2204-vk-arm1
Comment 115 Randy MacLeod 2025-02-14 16:46:35 UTC
bulk change to add Saul's non-WR address.
Comment 116 Randy MacLeod 2025-02-14 16:48:11 UTC
Bulk change: Remove Saul's old WR address.
Comment 117 João Marcos Costa 2025-02-20 09:34:10 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/979/steps/12/logs/stdio

Failed ptests:{'valgrind': ['drd/tests/bar_bad']}

qemuarm64-ptest ubuntu2204-vk-arm2
Comment 118 João Marcos Costa 2025-04-22 08:00:42 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1344/steps/12/logs/stdio

Failed ptests:{'valgrind': ['drd/tests/bar_bad']}

qemuarm64-ptest ubuntu2204-vk-arm2