On 5/3/19 11:39 AM, Илья Шипицин wrote:
Hello,
I'm expanding openssl matrix.
here's failing build
https://travis-ci.org/chipitsine/haproxy-1/jobs/527683332
Hello Ilya,
In fact this has nothing to see with openssl. A lot of tests without any
usage of TLS/SSL also fail.
There are a lot of HTTP rx which timed out.
Only these two tests passed:
reg-tests/http-capture/multiple_headers.vtc
reg-tests/spoe/wrong_init.vtc
but in these cases we do not have any log.
About the test which fail, I would say that such errors are not negligible :
Starting frontend GLOBAL: cannot change UNIX socket ownership
[/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T//regtest.zHu/
I have simulated it with such a patch on Linux:
$ git diff src/proto_uxst.c
diff --git a/src/proto_uxst.c b/src/proto_uxst.c
index 980a22649..b5f945b9f 100644
--- a/src/proto_uxst.c
+++ b/src/proto_uxst.c
@@ -309,6 +309,10 @@ static int uxst_bind_listener(struct listener
*listener, char *errmsg, int errle
goto err_unlink_temp;
}
+ err |= ERR_FATAL | ERR_ALERT;
+ msg = "cannot change UNIX socket ownership";
+ goto err_unlink_temp;
+
ready = 0;
ready_len = sizeof(ready);
if (getsockopt(fd, SOL_SOCKET, SO_ACCEPTCONN, &ready,
&ready_len) == -1)
I got the same results as yours: lots of HTTP RX time out because
haproxy exited unespectedly.
But in such a case on my PC only reg-tests/spoe/wrong_init.vtc succeeds.
I do not understand how reg-tests/http-capture/multiple_headers.vtc can
succeed on your side.
Would be interesting to run it on OSX with this command:
$ make reg-tests reg-tests/http-capture/multiple_headers.vtc -- --debug
So on OSX you should try to use/create a temporary working director
where you have enough permissions to create a stats UNIX socket with
0600 as permissions.
And let's see if that fixes your issue.
Fred.