help request: strange error message when running some tests
Description
I notice there are many error messages like:
WARNING: t/plugin/workflow2.t TEST 6: different actions with different limit count conf, up limit by isolation - 2022/09/21 08:51:36 [crit] 137271#137271: *503 connect() to unix:/home/runner/work/apisix/apisix/t/servroot//conf/config_listen.sock failed (2: No such file or directory), context: ngx.timer
See https://github.com/apache/apisix/actions/runs/3095797639/jobs/5011295080
The messages appear when the test is running under TEST_NGINX_USE_HUP = 1: https://github.com/apache/apisix/blob/efd5d1ec21cd1a756eaba345fe2357e54a2b721a/t/plugin/workflow2.t#L23
The message comes from the process which is going to leave after reloading. It seems the test framework will recreate the sock file between tests, and the old workers will try to access the deleted sock.
I try the same with ./bin/apisix but don't see the same error. Therefore I think it is caused by the test framework.
This error doesn't affect the correctness of the tests.
@tzssangglass Would you like to take a look when you have free time? Thanks!
Environment
- APISIX version (run
apisix version): master - Operating system (run
uname -a): - OpenResty / Nginx version (run
openresty -Vornginx -V): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):