Hi Olivier,
It seems this commit ea8dd94 broke something for my FreeBSD11 system.
Before that commit (almost) all vtest's succeed. After it several cause
core-dumps. (and keep doing that including the current HEAD: 03abf2d )
Can you take a look at the issue?
Below in this mail are the following:
- gdb# bt full of one of the crashed tests..
- summary of failed tests
Regards,
PiBa-NL (Pieter)
gdb --core
/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.510907b0/h1/haproxy.core
./work/haproxy-ea8dd94/haproxy
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by
`/usr/ports/net/haproxy-devel/work/haproxy-ea8dd94/haproxy -d -f
/tmp/haregtests-'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.5...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/lib/libssl.so.8...done.
Loaded symbols for /usr/lib/libssl.so.8
Reading symbols from /lib/libcrypto.so.8...done.
Loaded symbols for /lib/libcrypto.so.8
Reading symbols from /usr/local/lib/liblua-5.3.so...done.
Loaded symbols for /usr/local/lib/liblua-5.3.so
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 conn_fd_handler (fd=55) at src/connection.c:201
201 conn->mux->wake && conn->mux->wake(conn) < 0)
(gdb) bt full
#0 conn_fd_handler (fd=55) at src/connection.c:201
conn = (struct connection *) 0x8027e7000
flags = 0
io_available = 1
#1 0x00000000005fe3f2 in fdlist_process_cached_events (fdlist=0xa66ac0)
at src/fd.c:452
fd = 55
old_fd = 55
e = 39
locked = 0
#2 0x00000000005fdefc in fd_process_cached_events () at src/fd.c:470
No locals.
#3 0x000000000051c15d in run_poll_loop () at src/haproxy.c:2553
next = 0
wake = 0
#4 0x0000000000519ba7 in run_thread_poll_loop (data=0x0) at
src/haproxy.c:2607
ptaf = (struct per_thread_alloc_fct *) 0x94f158
ptif = (struct per_thread_init_fct *) 0x94f168
ptdf = (struct per_thread_deinit_fct *) 0x7fffffffe640
ptff = (struct per_thread_free_fct *) 0x610596
#5 0x000000000051620d in main (argc=4, argv=0x7fffffffe648) at
src/haproxy.c:3286
blocked_sig = {__bits = 0x7fffffffe398}
old_sig = {__bits = 0x7fffffffe388}
i = 16
err = 0
retry = 200
limit = {rlim_cur = 234908, rlim_max = 234909}
errmsg = 0x7fffffffe550 ""
pidfd = -1
Current language: auto; currently minimal
########################## Starting vtest ##########################
Testing with haproxy version: 2.0-dev5-ea8dd94
# top TEST reg-tests/lua/txn_get_priv.vtc FAILED (0.308) exit=2
# top TEST reg-tests/ssl/wrong_ctx_storage.vtc FAILED (0.308) exit=2
# top TEST reg-tests/compression/lua_validation.vtc FAILED (0.433)
exit=2
# top TEST reg-tests/checks/tls_health_checks.vtc TIMED OUT (kill -9)
# top TEST reg-tests/checks/tls_health_checks.vtc FAILED (20.153)
signal=9
# top TEST reg-tests/peers/tls_basic_sync_wo_stkt_backend.vtc TIMED
OUT (kill -9)
# top TEST reg-tests/peers/tls_basic_sync_wo_stkt_backend.vtc FAILED
(20.137) signal=9
# top TEST reg-tests/peers/tls_basic_sync.vtc TIMED OUT (kill -9)
# top TEST reg-tests/peers/tls_basic_sync.vtc FAILED (20.095) signal=9
# top TEST reg-tests/connection/proxy_protocol_random_fail.vtc TIMED
OUT (kill -9)
# top TEST reg-tests/connection/proxy_protocol_random_fail.vtc
FAILED (20.195) signal=9
7 tests failed, 0 tests skipped, 29 tests passed
########################## Gathering results ##########################
###### Test case: reg-tests/compression/lua_validation.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.510907b0"
---- top 0.4 shell_exit not as expected: got 0x0001 wanted 0x0000
---- h1 0.4 Bad exit status: 0x008b exit 0x0 signal 11 core 128
###### Test case: reg-tests/peers/tls_basic_sync.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.5e9ca234"
###### Test case: reg-tests/connection/proxy_protocol_random_fail.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.19403d36"
###### Test case: reg-tests/lua/txn_get_priv.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.73dedc97"
---- c0 0.3 HTTP header is incomplete
---- h1 0.3 Bad exit status: 0x008b exit 0x0 signal 11 core 128
###### Test case: reg-tests/peers/tls_basic_sync_wo_stkt_backend.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.1b66ca02"
###### Test case: reg-tests/ssl/wrong_ctx_storage.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.2c3d79f8"
---- top 0.3 shell_exit not as expected: got 0x0023 wanted 0x0000
---- h1 0.3 Bad exit status: 0x008b exit 0x0 signal 11 core 128
###### Test case: reg-tests/checks/tls_health_checks.vtc ######
## test results in:
"/tmp/haregtests-2019-06-05_20-40-20.7ZSvbo/vtc.65353.0a0c83f6"
---- S2 0.7 EXPECT FAILED ~ "[^:\[ ]\[65364\]: Health check for
server be2/srv1 succeeded, reason: Layer7 check passed, code: 200, info:
"OK", check duration: [[:digit:]]+ms, status: 1/1 UP."
gmake[1]: *** [Makefile:948: reg-tests] Error 1
gmake[1]: Leaving directory
'/usr/ports/net/haproxy-devel/work/haproxy-ea8dd94'
*** Error code 2