Hi William, On Fri, Jan 17, 2020 at 4:46 PM William Lallemand <wlallem...@haproxy.com> wrote:
> On Fri, Jan 17, 2020 at 04:33:22PM +0200, Martin Grigorov wrote: > > > > git bisect blaims this commit: > > > > 25b569302167e71b32e569a2366027e8e320e80a is the first bad commit > > commit 25b569302167e71b32e569a2366027e8e320e80a > > Author: William Lallemand <wlallem...@haproxy.com> > > Date: Tue Jan 14 15:38:43 2020 +0100 > > > > REGTEST: mcli/mcli_start_progs: start 2 programs > > Well that's the commit which introduces the vtc file so that's normal. > > > > > https://travis-ci.com/haproxy/haproxy is green > > https://cirrus-ci.com/github/haproxy/haproxy is green > > and what is even more interesting is that > > https://travis-ci.org/martin-g/haproxy/builds (my fork with enabled > ARM64 > > testing on TravisCI) also just passed (after few failures due to timing > > issues (I guess) > > I don't see anything regarding mcli_start_progs.vtc in this links, can you > provide the output of > `make reg-tests -- --debug reg-tests/mcli/mcli_start_progs.vtc` ? > Please find attached the output. this two lines look bad in it: *** h1 debug|[ALERT] 016/184150 (7188) : parsing [cur--1:0] : proxy 'MASTER', another server named 'cur--1' was already defined at line 0, please use distinct names. *** h1 debug|[ALERT] 016/184150 (7188) : Fatal errors found in configuration. $ grep -rnH 'cur' /tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/ /tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/LOG:71:*** h1 debug|[ALERT] 016/184150 (7188) : parsing [cur--1:0] : proxy 'MASTER', another server named 'cur--1' was already defined at line 0, please use distinct names. │ File: /tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/cfg ───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 │ global 2 │ stats socket "/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/stats.sock" level admin mode 600 3 │ stats socket "fd@${cli}" level admin 4 │ 5 │ global 6 │ nbproc 1 7 │ defaults 8 │ mode http 9 │ option http-use-htx 10 │ timeout connect 1s 11 │ timeout client 1s 12 │ timeout server 1s 13 │ 14 │ frontend myfrontend 15 │ bind "fd@${my_fe}" 16 │ default_backend test 17 │ 18 │ backend test 19 │ server www1 127.0.0.1:39247 20 │ 21 │ program foo 22 │ command sleep 10 23 │ 24 │ program bar 25 │ command sleep 10 Please let me know if you need more information! Thanks > > -- > William Lallemand >
env VTEST_PROGRAM=../vtest/vtest make reg-tests -- --debug reg-tests/mcli/mcli_start_progs.vtc ########################## Preparing to run tests ########################## Testing with haproxy version: 2.2-dev0-70c5b0-123 Target : linux-glibc Options : +EPOLL -KQUEUE -MY_EPOLL -MY_SPLICE +NETFILTER -PCRE -PCRE_JIT -PCRE2 -PCRE2_JIT +POLL -PRIVATE_CACHE +THREAD -PTHREAD_PSHARED -REGPARM -STATIC_PCRE -STATIC_PCRE2 +TPROXY +LINUX_TPROXY +LINUX_SPLICE +LIBCRYPT +CRYPT_H -VSYSCALL +GETADDRINFO -OPENSSL -LUA +FUTEX +ACCEPT4 -MY_ACCEPT4 +ZLIB -SLZ +CPU_AFFINITY +TFO +NS +DL +RT -DEVICEATLAS -51DEGREES -WURFL -SYSTEMD -OBSOLETE_LINKER +PRCTL +THREAD_DUMP -EVPORTS ########################## Gathering tests to run ########################## Add test: reg-tests/mcli/mcli_start_progs.vtc ########################## Starting vtest ########################## Testing with haproxy version: 2.2-dev0-70c5b0-123 **** dT 0.000 * top TEST reg-tests/mcli/mcli_start_progs.vtc starting **** top extmacro def pwd=/home/ubuntu/git/haproxy/haproxy **** top extmacro def no-htx= **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1 45249 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/home/ubuntu/git/haproxy/haproxy/reg-tests/mcli **** top macro def tmpdir=/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd ** top === varnishtest "Try to start a master CLI with 2 programs" * top VTEST Try to start a master CLI with 2 programs ** top === feature ignore_unknown_macro ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=39247 **** s1 macro def s1_sock=127.0.0.1 39247 * s1 Listen on 127.0.0.1 39247 ** top === haproxy h1 -W -S -conf { ** s1 Started on 127.0.0.1 39247 (1 iterations) **** h1 macro def h1_closed_sock=127.0.0.1 33279 **** h1 macro def h1_closed_addr=127.0.0.1 **** h1 macro def h1_closed_port=33279 **** dT 0.003 **** h1 macro def h1_cli_sock=127.0.0.1 45381 **** h1 macro def h1_cli_addr=127.0.0.1 **** h1 macro def h1_cli_port=45381 **** h1 setenv(cli, 6) **** h1 macro def h1_my_fe_sock=127.0.0.1 33445 **** h1 macro def h1_my_fe_addr=127.0.0.1 **** h1 macro def h1_my_fe_port=33445 **** h1 setenv(my_fe, 7) ** h1 haproxy_start **** h1 opt_worker 1 opt_daemon 0 opt_check_mode 0 opt_mcli 1 **** h1 macro def h1_mcli_sock=127.0.0.1 33097 **** h1 macro def h1_mcli_addr=127.0.0.1 **** h1 macro def h1_mcli_port=33097 **** h1 argv|exec "/home/ubuntu/git/haproxy/haproxy/haproxy" -d -W -S "fd@8" -f "/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/cfg" -p "/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/pid" **** h1 conf| global **** h1 conf|\tstats socket "/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/stats.sock" level admin mode 600 **** h1 conf| stats socket "fd@${cli}" level admin **** h1 conf| **** h1 conf| global **** h1 conf| nbproc 1 **** h1 conf| defaults **** h1 conf| mode http **** h1 conf| option http-use-htx **** h1 conf| timeout connect 1s **** h1 conf| timeout client 1s **** h1 conf| timeout server 1s **** h1 conf| **** h1 conf| frontend myfrontend **** h1 conf| bind "fd@${my_fe}" **** h1 conf| default_backend test **** h1 conf| **** h1 conf| backend test **** h1 conf| server www1 127.0.0.1:39247 **** h1 conf| **** h1 conf| program foo **** h1 conf| command sleep 10 **** h1 conf| **** h1 conf| program bar **** h1 conf| command sleep 10 **** h1 conf| **** h1 XXX 10 @725 *** h1 PID: 7188 **** h1 macro def h1_pid=7188 **** h1 macro def h1_name=/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1 *** h1 wait-pid-file **** dT 0.004 *** h1 debug|[ALERT] 016/184150 (7188) : parsing [cur--1:0] : proxy 'MASTER', another server named 'cur--1' was already defined at line 0, please use distinct names. *** h1 debug|[ALERT] 016/184150 (7188) : Fatal errors found in configuration. **** dT 0.005 **** h1 STDOUT EOF **** dT 3.003 ---- h1 haproxy h1 PID file check failed: Could not read PID file '/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd/h1/pid' * top RESETTING after reg-tests/mcli/mcli_start_progs.vtc ** h1 Reset and free h1 haproxy 7188 ** h1 Wait ** h1 Stop HAproxy pid=7188 ** h1 WAIT4 pid=7188 status=0x0100 (user 0.001870 sys 0.000000) * h1 Expected exit: 0x82 signal: 0 core: 0 ---- h1 Bad exit status: 0x0100 exit 0x1 signal 0 core 0 * top failure during reset # top TEST reg-tests/mcli/mcli_start_progs.vtc FAILED (3.004) exit=2 1 tests failed, 0 tests skipped, 0 tests passed ########################## Gathering results ########################## ###### Test case: reg-tests/mcli/mcli_start_progs.vtc ###### ## test results in: "/tmp/haregtests-2020-01-17_18-41-50.A6zVLb/vtc.7182.700b0bcd" ---- h1 haproxy h1 PID file check failed: ---- h1 Bad exit status: 0x0100 exit 0x1 signal 0 core 0 Makefile:964: recipe for target 'reg-tests' failed make: *** [reg-tests] Error 1