Welcome! Log In Create A New Profile

Advanced

how to run reg-tests ?

Posted by Илья Шипицин 
Илья Шипицин
how to run reg-tests ?
July 10, 2018 12:10PM
HI,

I cloned haproxy.
built it using:

make TARGET=generic USE_OPENSSL=1

when I run tests, it fails:

[[email protected] haproxy]# VARNISHTEST_PROGRAM=`which varnishtest`
HAPROXY_PROGRAM=`pwd`/haproxy make reg-tests
**** top 0.0 extmacro def pwd=/home/ilia/xxx/haproxy
**** top 0.0 extmacro def localhost=127.0.0.1
**** top 0.0 extmacro def bad_backend=127.0.0.1 43201
**** top 0.0 extmacro def bad_ip=192.0.2.255
**** top 0.0 macro def tmpdir=/tmp/vtc.16011.2577ab83
* top 0.0 TEST reg-tests/seamless-reload/h00000.vtc starting
** top 0.0 === varnishtest "Seamless reload issue with abns sockets"
* top 0.0 TEST Seamless reload issue with abns sockets
** top 0.0 === feature ignore_unknown_macro
** top 0.0 === haproxy h1 -W -conf {
---- top 0.0 Unknown command: "haproxy"
* top 0.0 RESETTING after reg-tests/seamless-reload/h00000.vtc
* top 0.0 TEST reg-tests/seamless-reload/h00000.vtc FAILED
# top TEST reg-tests/seamless-reload/h00000.vtc FAILED (0.002) exit=2
make: *** [Makefile:1004: reg-tests] Error 123
[[email protected] haproxy]#


any idea ?
Илья Шипицин
Re: how to run reg-tests ?
July 10, 2018 12:10PM
I use Fedora 28 if that matters.
varnishtest installed from repo (dnf install varnish), it is
varnish-5.2.1-4.fc28.x86_64


вт, 10 июл. 2018 г. в 14:58, Илья Шипицин <[email protected]>:

> HI,
>
> I cloned haproxy.
> built it using:
>
> make TARGET=generic USE_OPENSSL=1
>
> when I run tests, it fails:
>
> [[email protected] haproxy]# VARNISHTEST_PROGRAM=`which varnishtest`
> HAPROXY_PROGRAM=`pwd`/haproxy make reg-tests
> **** top 0.0 extmacro def pwd=/home/ilia/xxx/haproxy
> **** top 0.0 extmacro def localhost=127.0.0.1
> **** top 0.0 extmacro def bad_backend=127.0.0.1 43201
> **** top 0.0 extmacro def bad_ip=192.0.2.255
> **** top 0.0 macro def tmpdir=/tmp/vtc.16011.2577ab83
> * top 0.0 TEST reg-tests/seamless-reload/h00000.vtc starting
> ** top 0.0 === varnishtest "Seamless reload issue with abns sockets"
> * top 0.0 TEST Seamless reload issue with abns sockets
> ** top 0.0 === feature ignore_unknown_macro
> ** top 0.0 === haproxy h1 -W -conf {
> ---- top 0.0 Unknown command: "haproxy"
> * top 0.0 RESETTING after reg-tests/seamless-reload/h00000.vtc
> * top 0.0 TEST reg-tests/seamless-reload/h00000.vtc FAILED
> # top TEST reg-tests/seamless-reload/h00000.vtc FAILED (0.002) exit=2
> make: *** [Makefile:1004: reg-tests] Error 123
> [[email protected] haproxy]#
>
>
> any idea ?
>
Frederic Lecaille
Re: how to run reg-tests ?
July 10, 2018 12:20PM
Hi,


On 07/10/2018 12:02 PM, Илья Шипицин wrote:
> I use Fedora 28 if that matters.
> varnishtest installed from repo (dnf install varnish), it is
> varnish-5.2.1-4.fc28.x86_64
>
>
> вт, 10 июл. 2018 г. в 14:58, Илья Шипицин <[email protected]
> <mailto:[email protected]>>:
>
> HI,
>
> I cloned haproxy.
> built it using:
>
> make TARGET=generic USE_OPENSSL=1
>
> when I run tests, it fails:
>
> [[email protected] haproxy]# VARNISHTEST_PROGRAM=`which varnishtest`
> HAPROXY_PROGRAM=`pwd`/haproxy make reg-tests
> **** top   0.0 extmacro def pwd=/home/ilia/xxx/haproxy
> **** top   0.0 extmacro def localhost=127.0.0.1
> **** top   0.0 extmacro def bad_backend=127.0.0.1 43201
> **** top   0.0 extmacro def bad_ip=192.0.2.255
> **** top   0.0 macro def tmpdir=/tmp/vtc.16011.2577ab83
> *    top   0.0 TEST reg-tests/seamless-reload/h00000.vtc starting
> **   top   0.0 === varnishtest "Seamless reload issue with abns sockets"
> *    top   0.0 TEST Seamless reload issue with abns sockets
> **   top   0.0 === feature ignore_unknown_macro
> **   top   0.0 === haproxy h1 -W -conf {
> ---- top   0.0 Unknown command: "haproxy"

Such a message means that your varnishtest program does not support
"haproxy" command: it has not been built with the support for haproxy.
Илья Шипицин
Re: how to run reg-tests ?
July 10, 2018 12:30PM
nice :)

вт, 10 июл. 2018 г. в 15:15, Frederic Lecaille <[email protected]>:

> Hi,
>
>
> On 07/10/2018 12:02 PM, Илья Шипицин wrote:
> > I use Fedora 28 if that matters.
> > varnishtest installed from repo (dnf install varnish), it is
> > varnish-5.2.1-4.fc28.x86_64
> >
> >
> > вт, 10 июл. 2018 г. в 14:58, Илья Шипицин <[email protected]
> > <mailto:[email protected]>>:
> >
> > HI,
> >
> > I cloned haproxy.
> > built it using:
> >
> > make TARGET=generic USE_OPENSSL=1
> >
> > when I run tests, it fails:
> >
> > [[email protected] haproxy]# VARNISHTEST_PROGRAM=`which varnishtest`
> > HAPROXY_PROGRAM=`pwd`/haproxy make reg-tests
> > **** top 0.0 extmacro def pwd=/home/ilia/xxx/haproxy
> > **** top 0.0 extmacro def localhost=127.0.0.1
> > **** top 0.0 extmacro def bad_backend=127.0.0.1 43201
> > **** top 0.0 extmacro def bad_ip=192.0.2.255
> > **** top 0.0 macro def tmpdir=/tmp/vtc.16011.2577ab83
> > * top 0.0 TEST reg-tests/seamless-reload/h00000.vtc starting
> > ** top 0.0 === varnishtest "Seamless reload issue with abns
> sockets"
> > * top 0.0 TEST Seamless reload issue with abns sockets
> > ** top 0.0 === feature ignore_unknown_macro
> > ** top 0.0 === haproxy h1 -W -conf {
> > ---- top 0.0 Unknown command: "haproxy"
>
> Such a message means that your varnishtest program does not support
> "haproxy" command: it has not been built with the support for haproxy.
>
Илья Шипицин
Re: how to run reg-tests ?
July 10, 2018 01:10PM
yahoo! green tests

https://gitlab.com/chipitsine/haproxy/-/jobs/80660454

вт, 10 июл. 2018 г. в 15:15, Frederic Lecaille <[email protected]>:

> Hi,
>
>
> On 07/10/2018 12:02 PM, Илья Шипицин wrote:
> > I use Fedora 28 if that matters.
> > varnishtest installed from repo (dnf install varnish), it is
> > varnish-5.2.1-4.fc28.x86_64
> >
> >
> > вт, 10 июл. 2018 г. в 14:58, Илья Шипицин <[email protected]
> > <mailto:[email protected]>>:
> >
> > HI,
> >
> > I cloned haproxy.
> > built it using:
> >
> > make TARGET=generic USE_OPENSSL=1
> >
> > when I run tests, it fails:
> >
> > [[email protected] haproxy]# VARNISHTEST_PROGRAM=`which varnishtest`
> > HAPROXY_PROGRAM=`pwd`/haproxy make reg-tests
> > **** top 0.0 extmacro def pwd=/home/ilia/xxx/haproxy
> > **** top 0.0 extmacro def localhost=127.0.0.1
> > **** top 0.0 extmacro def bad_backend=127.0.0.1 43201
> > **** top 0.0 extmacro def bad_ip=192.0.2.255
> > **** top 0.0 macro def tmpdir=/tmp/vtc.16011.2577ab83
> > * top 0.0 TEST reg-tests/seamless-reload/h00000.vtc starting
> > ** top 0.0 === varnishtest "Seamless reload issue with abns
> sockets"
> > * top 0.0 TEST Seamless reload issue with abns sockets
> > ** top 0.0 === feature ignore_unknown_macro
> > ** top 0.0 === haproxy h1 -W -conf {
> > ---- top 0.0 Unknown command: "haproxy"
>
> Such a message means that your varnishtest program does not support
> "haproxy" command: it has not been built with the support for haproxy.
>
Frederic Lecaille
Re: how to run reg-tests ?
July 10, 2018 01:50PM
On 07/10/2018 12:57 PM, Илья Шипицин wrote:
> yahoo! green tests
>
> https://gitlab.com/chipitsine/haproxy/-/jobs/80660454
>

Nice :)
Sorry, only registered users may post in this forum.

Click here to login