Register task threads before scheduling tasks
As discussed yesterday in the meeting, this will replace #8708
[approve ci autest]
Hmm, not sure why this is failing the verify plugin tests with Test : Checking that ReturnCode == -2 - Failed , can't recreate it locally either.
In case it's helpful, it looks like the verify_global_plugin test fails with a seg fault:
https://ci.trafficserver.apache.org/job/Github_Builds/job/autest/1256/artifact/output/8981/sandbox/verify_global_plugin/_output/0-tr-Default/stream.all.txt
ERROR: verifying a plugin requires a plugin SO file path argument
traffic_server - STACK TRACE:
/lib64/libpthread.so.0(+0x12ce0)[0x7f5e94630ce0]
traffic_server(_ZNK8APIHooks4headEv+0xc)[0x86fe58]
traffic_server(_ZNK15FeatureAPIHooksI17TSLifecycleHookIDLi9EE3getES0_+0x40)[0x8b0632]
traffic_server(_ZN12AutoStopCont9mainEventEiP5Event+0x2f)[0x8ae5fd]
traffic_server(_ZN12Continuation11handleEventEiPv+0xdd)[0x85f4bf]
traffic_server(_ZN7EThread13process_eventEP5Eventi+0x157)[0xd3b987]
traffic_server(_ZN7EThread15execute_regularEv+0x280)[0xd3bef2]
traffic_server(_ZN7EThread7executeEv+0x107)[0xd3c265]
traffic_server[0xd3aab8]
/lib64/libpthread.so.0(+0x81cf)[0x7f5e946261cf]
/lib64/libc.so.6(clone+0x43)[0x7f5e9375fd83]
In case it's helpful, it looks like the verify_global_plugin test fails with a seg fault:
https://ci.trafficserver.apache.org/job/Github_Builds/job/autest/1256/artifact/output/8981/sandbox/verify_global_plugin/_output/0-tr-Default/stream.all.txt
ERROR: verifying a plugin requires a plugin SO file path argument traffic_server - STACK TRACE: /lib64/libpthread.so.0(+0x12ce0)[0x7f5e94630ce0] traffic_server(_ZNK8APIHooks4headEv+0xc)[0x86fe58] traffic_server(_ZNK15FeatureAPIHooksI17TSLifecycleHookIDLi9EE3getES0_+0x40)[0x8b0632] traffic_server(_ZN12AutoStopCont9mainEventEiP5Event+0x2f)[0x8ae5fd] traffic_server(_ZN12Continuation11handleEventEiPv+0xdd)[0x85f4bf] traffic_server(_ZN7EThread13process_eventEP5Eventi+0x157)[0xd3b987] traffic_server(_ZN7EThread15execute_regularEv+0x280)[0xd3bef2] traffic_server(_ZN7EThread7executeEv+0x107)[0xd3c265] traffic_server[0xd3aab8] /lib64/libpthread.so.0(+0x81cf)[0x7f5e946261cf] /lib64/libc.so.6(clone+0x43)[0x7f5e9375fd83]
Yeah, it's weird that it says verifying a plugin requires a plugin SO file path argument, which sounds like it's missing the so file? Haven't got time to check it yet with the ci docker image, will find sometime next week.
[approve ci autest]
[approve ci autest]
[approve ci]
hmm, I can't seem to get some of the ci builds to start ?
[approve ci autest]
Do we need this for 9.2.2 ?