pulsar: cpp-tests job is flaky: python pulsar_test.py fails with Segmentation fault
The cpp-tests job is flaky.
./run-unit-tests.sh: line 99: 2746 Segmentation fault (core dumped) python pulsar_test.py
Example failure: https://github.com/apache/pulsar/runs/5566228154?check_suite_focus=true#step:11:1313
Logs: https://github.com/apache/pulsar/suites/5678205919/artifacts/186533781 https://transfer.sh/DUTouQ/test-logs.zip
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (11 by maintainers)
Commits related to this issue
- [C++] Fix the race condition of connect timeout task Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is performed, if... — committed to BewareMyPower/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is performed, if... — committed to BewareMyPower/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task (#14823) Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is perf... — committed to apache/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task (#14823) Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is perf... — committed to apache/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task (#14823) Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is perf... — committed to apache/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task (#14823) Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is perf... — committed to apache/pulsar by BewareMyPower 2 years ago
- [C++] Fix the race condition of connect timeout task (#14823) Fixes #14665 ### Motivation In C++ client, a connect timeout task is created each time before an asynchronous connect operation is perf... — committed to Nicklee007/pulsar by BewareMyPower 2 years ago
Got it. I think one workaround is to modify the
brokerDeleteInactiveTopicsMode
config of the broker withdelete_when_subscriptions_caught_up
and acknowledge messages.BTW, I just tested
close
afterunsubscribe
with the Java client, it’s okay to do that. I’ll look into the issue with the C++ client soon.