nodejs / abi-stable-node

Repository used by the Node-API team to manage work related to Node-API and node-addon-api
239 stars 47 forks source link

Regular hang in Running test 'typed_threadsafe_function/typed_threadsafe_function_sum' #435

Open mhdawson opened 2 years ago

mhdawson commented 2 years ago

For example - https://ci.nodejs.org/job/node-test-node-addon-api-new/5552/nodes=debian8-64/console

...
Running test 'run_script'
Running test 'symbol'
Running test 'threadsafe_function/threadsafe_function'
Running test 'threadsafe_function/threadsafe_function_ctx'
Running test 'threadsafe_function/threadsafe_function_existing_tsfn'
Running test 'threadsafe_function/threadsafe_function_ptr'
Running test 'threadsafe_function/threadsafe_function_sum'
Running test 'threadsafe_function/threadsafe_function_unref'
Running test 'typed_threadsafe_function/typed_threadsafe_function'
Running test 'typed_threadsafe_function/typed_threadsafe_function_ctx'
Running test 'typed_threadsafe_function/typed_threadsafe_function_existing_tsfn'
Running test 'typed_threadsafe_function/typed_threadsafe_function_ptr'
Running test 'typed_threadsafe_function/typed_threadsafe_function_sum'

Just hangs until it times out 30 or more minutes later.

Seems to occur regularly on debian, but have also seen on other linuxes.

mhdawson commented 2 years ago

Also seems to occur in older version of Node.js (ex seen in 12.x) so most likely a change in the node-addon-api versus in Node.js