You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pthread_kill() is failing in stopRuncMonitorThread() which is calling from destructor.
Sometime runcMonitorThread() is starting late, with in the time, if dobbymanager object is deleted, pthread_kill() is failing because the thread is not yet started.
solution: Need to be add the semaphore handling to avoid this sync issue.
Expected Behaviour
pthread_kill() should not fail and destructor should happened without any issues
Actual Behaviour
pthread_kill() is failing and exit from the process
If including the Dobby log, please ensure Dobby has been started with the verbose flag (-v)
Steps to Reproduce
Run the L1 test in github workflow and randomly this issue will reproduce
Platform/Environment
Run the L1 test in github workflow
The text was updated successfully, but these errors were encountered:
goruklu
changed the title
In stopRuncMonitorThread(), pthread_kill() fails if the dobbymanager object is removed before the runcMonitorThread() thread is started.
[ DELIA-64149] race condition In stopRuncMonitorThread()
Dec 14, 2023
goruklu
changed the title
[ DELIA-64149] race condition In stopRuncMonitorThread()
[DELIA-64149] race condition In stopRuncMonitorThread()
Dec 14, 2023
Description
In L1 test, Randomly test cases are failing
pthread_kill() is failing in stopRuncMonitorThread() which is calling from destructor.
Sometime runcMonitorThread() is starting late, with in the time, if dobbymanager object is deleted, pthread_kill() is failing because the thread is not yet started.
solution: Need to be add the semaphore handling to avoid this sync issue.
Expected Behaviour
pthread_kill() should not fail and destructor should happened without any issues
Actual Behaviour
pthread_kill() is failing and exit from the process
If including the Dobby log, please ensure Dobby has been started with the verbose flag (
-v
)Steps to Reproduce
Run the L1 test in github workflow and randomly this issue will reproduce
Platform/Environment
The text was updated successfully, but these errors were encountered: