Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51794-14595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/varnish-modules-0.21.0-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51794-14595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TLrHkH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf varnish-modules-0.21.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/varnish-modules-0.21.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd varnish-modules-0.21.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56Olhz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd varnish-modules-0.21.0 + export RST2MAN=rst2man + RST2MAN=rst2man + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-09-16 02:00:02.000000000 +0800 +++ ./configure 2023-09-21 02:08:28.562903533 +0800 @@ -1906,7 +1906,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-09-21 02:08:28.562903533 +0800 +++ ./configure 2023-09-21 02:08:28.579903598 +0800 @@ -7046,7 +7046,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -16229,7 +16229,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7052: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to build with code coverage support... no checking for rst2man... rst2man checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.21... yes checking for VARNISHAPI... yes checking for Varnish... 7.2.1 checking for vsha256.h... yes checking for cache/cache.h... yes checking for a Python interpreter with version >= 3.4... python3.10 checking for python3.10... /usr/bin/python3.10 checking for python3.10 version... 3.10 checking for python3.10 platform... linux checking for GNU default python3.10 prefix... ${prefix} checking for GNU default python3.10 exec_prefix... ${exec_prefix} checking for python3.10 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python3.10 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking how to run the C preprocessor... gcc -E checking for cache/cache_varnishd.h... yes checking for struct tcp_info... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vsctool.py -h ./xkey.vsc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vsctool.py -c ./xkey.vsc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vsctool.py -r ./xkey.vsc >VSC_xkey.rst make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_accept_if ./vmod_accept.vcc NOTICE: Please put $Module description in quotes. make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_bodyaccess_if ./vmod_bodyaccess.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_header_if ./vmod_header.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_vsthrottle_if ./vmod_vsthrottle.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_xkey_if ./vmod_xkey.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_str_if ./vmod_str.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_saintmode_if ./vmod_saintmode.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_var_if ./vmod_var.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /usr/bin/python3.10 /usr/share/varnish/vmodtool.py -o vcc_tcp_if ./vmod_tcp.vcc make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_bodyaccess_if.lo vcc_bodyaccess_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_bodyaccess_if.c -fPIC -DPIC -o .libs/vcc_bodyaccess_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_vsthrottle_if.lo vcc_vsthrottle_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_vsthrottle_if.c -fPIC -DPIC -o .libs/vcc_vsthrottle_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o VSC_xkey.lo VSC_xkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c VSC_xkey.c -fPIC -DPIC -o .libs/VSC_xkey.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_accept_if.lo vcc_accept_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_accept_if.c -fPIC -DPIC -o .libs/vcc_accept_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_var_if.lo vcc_var_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_var_if.c -fPIC -DPIC -o .libs/vcc_var_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_saintmode_if.lo vcc_saintmode_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_saintmode_if.c -fPIC -DPIC -o .libs/vcc_saintmode_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_header_if.lo vcc_header_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_header_if.c -fPIC -DPIC -o .libs/vcc_header_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_xkey_if.lo vcc_xkey_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_xkey_if.c -fPIC -DPIC -o .libs/vcc_xkey_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_str_if.lo vcc_str_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_str_if.c -fPIC -DPIC -o .libs/vcc_str_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vcc_tcp_if.lo vcc_tcp_if.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vcc_tcp_if.c -fPIC -DPIC -o .libs/vcc_tcp_if.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_bodyaccess.man.rst vmod_bodyaccess.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_saintmode.man.rst vmod_saintmode.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_tcp.man.rst vmod_tcp.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_var.man.rst vmod_var.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_vsthrottle.man.rst vmod_vsthrottle.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_accept.man.rst vmod_accept.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_header.man.rst vmod_header.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_str.man.rst vmod_str.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' rst2man vmod_xkey.man.rst vmod_xkey.3 make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_tcp.lo vmod_tcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_tcp.c -fPIC -DPIC -o .libs/vmod_tcp.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_bodyaccess.lo vmod_bodyaccess.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_bodyaccess.c -fPIC -DPIC -o .libs/vmod_bodyaccess.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_str.lo vmod_str.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_str.c -fPIC -DPIC -o .libs/vmod_str.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_header.lo vmod_header.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_header.c -fPIC -DPIC -o .libs/vmod_header.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_accept.lo vmod_accept.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_accept.c -fPIC -DPIC -o .libs/vmod_accept.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_var.lo vmod_var.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_var.c -fPIC -DPIC -o .libs/vmod_var.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_saintmode.lo vmod_saintmode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_saintmode.c -fPIC -DPIC -o .libs/vmod_saintmode.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_vsthrottle.lo vmod_vsthrottle.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_vsthrottle.c -fPIC -DPIC -o .libs/vmod_vsthrottle.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_tcp.la -rpath /usr/lib64/varnish/vmods vmod_tcp.lo vcc_tcp_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_tcp.o .libs/vcc_tcp_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_tcp.so -o .libs/libvmod_tcp.so libtool: link: ( cd ".libs" && rm -f "libvmod_tcp.la" && ln -s "../libvmod_tcp.la" "libvmod_tcp.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_bodyaccess.la -rpath /usr/lib64/varnish/vmods vmod_bodyaccess.lo vcc_bodyaccess_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_bodyaccess.o .libs/vcc_bodyaccess_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_bodyaccess.so -o .libs/libvmod_bodyaccess.so libtool: link: ( cd ".libs" && rm -f "libvmod_bodyaccess.la" && ln -s "../libvmod_bodyaccess.la" "libvmod_bodyaccess.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_str.la -rpath /usr/lib64/varnish/vmods vmod_str.lo vcc_str_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_str.o .libs/vcc_str_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_str.so -o .libs/libvmod_str.so libtool: link: ( cd ".libs" && rm -f "libvmod_str.la" && ln -s "../libvmod_str.la" "libvmod_str.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_header.la -rpath /usr/lib64/varnish/vmods vmod_header.lo vcc_header_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_header.o .libs/vcc_header_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_header.so -o .libs/libvmod_header.so libtool: link: ( cd ".libs" && rm -f "libvmod_header.la" && ln -s "../libvmod_header.la" "libvmod_header.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_accept.la -rpath /usr/lib64/varnish/vmods vmod_accept.lo vcc_accept_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_accept.o .libs/vcc_accept_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_accept.so -o .libs/libvmod_accept.so libtool: link: ( cd ".libs" && rm -f "libvmod_accept.la" && ln -s "../libvmod_accept.la" "libvmod_accept.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_var.la -rpath /usr/lib64/varnish/vmods vmod_var.lo vcc_var_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_var.o .libs/vcc_var_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_var.so -o .libs/libvmod_var.so libtool: link: ( cd ".libs" && rm -f "libvmod_var.la" && ln -s "../libvmod_var.la" "libvmod_var.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_saintmode.la -rpath /usr/lib64/varnish/vmods vmod_saintmode.lo vcc_saintmode_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_saintmode.o .libs/vcc_saintmode_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_saintmode.so -o .libs/libvmod_saintmode.so libtool: link: ( cd ".libs" && rm -f "libvmod_saintmode.la" && ln -s "../libvmod_saintmode.la" "libvmod_saintmode.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vmod_xkey.lo vmod_xkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vmod_xkey.c -fPIC -DPIC -o .libs/vmod_xkey.o make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_vsthrottle.la -rpath /usr/lib64/varnish/vmods vmod_vsthrottle.lo vcc_vsthrottle_if.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_vsthrottle.o .libs/vcc_vsthrottle_if.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_vsthrottle.so -o .libs/libvmod_vsthrottle.so libtool: link: ( cd ".libs" && rm -f "libvmod_vsthrottle.la" && ln -s "../libvmod_vsthrottle.la" "libvmod_vsthrottle.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/varnish -I../src/foreign -Wall -Werror -Wall -Wno-format-y2k -Wstrict-prototypes -Wmissing-prototypes -Werror=missing-field-initializers -Wpointer-arith -Wreturn-type -Wwrite-strings -Wcast-qual -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wextra -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lvarnishapi -module -export-dynamic -avoid-version -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libvmod_xkey.la -rpath /usr/lib64/varnish/vmods vmod_xkey.lo vcc_xkey_if.lo VSC_xkey.lo libtool: link: gcc -shared -fPIC -DPIC .libs/vmod_xkey.o .libs/vcc_xkey_if.o .libs/VSC_xkey.o -lvarnishapi -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libvmod_xkey.so -o .libs/libvmod_xkey.so libtool: link: ( cd ".libs" && rm -f "libvmod_xkey.la" && ln -s "../libvmod_xkey.la" "libvmod_xkey.la" ) make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.d91Btl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64 + cd varnish-modules-0.21.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64 'INSTALL=/usr/bin/install -p' docdir=/usr/share/doc/varnish-modules Making install in src make[1]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 vmod_accept.3 vmod_bodyaccess.3 vmod_header.3 vmod_saintmode.3 vmod_str.3 vmod_tcp.3 vmod_var.3 vmod_vsthrottle.3 vmod_xkey.3 '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/share/man/man3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods' /bin/sh ../libtool --mode=install /usr/bin/install -p libvmod_accept.la libvmod_bodyaccess.la libvmod_header.la libvmod_saintmode.la libvmod_str.la libvmod_tcp.la libvmod_var.la libvmod_vsthrottle.la libvmod_xkey.la '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods' libtool: install: /usr/bin/install -p .libs/libvmod_accept.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_accept.so libtool: install: /usr/bin/install -p .libs/libvmod_accept.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_accept.la libtool: install: /usr/bin/install -p .libs/libvmod_bodyaccess.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_bodyaccess.so libtool: install: /usr/bin/install -p .libs/libvmod_bodyaccess.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_bodyaccess.la libtool: install: /usr/bin/install -p .libs/libvmod_header.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_header.so libtool: install: /usr/bin/install -p .libs/libvmod_header.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_header.la libtool: install: /usr/bin/install -p .libs/libvmod_saintmode.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_saintmode.so libtool: install: /usr/bin/install -p .libs/libvmod_saintmode.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_saintmode.la libtool: install: /usr/bin/install -p .libs/libvmod_str.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_str.so libtool: install: /usr/bin/install -p .libs/libvmod_str.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_str.la libtool: install: /usr/bin/install -p .libs/libvmod_tcp.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_tcp.so libtool: install: /usr/bin/install -p .libs/libvmod_tcp.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_tcp.la libtool: install: /usr/bin/install -p .libs/libvmod_var.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_var.so libtool: install: /usr/bin/install -p .libs/libvmod_var.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_var.la libtool: install: /usr/bin/install -p .libs/libvmod_vsthrottle.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_vsthrottle.so libtool: install: /usr/bin/install -p .libs/libvmod_vsthrottle.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_vsthrottle.la libtool: install: /usr/bin/install -p .libs/libvmod_xkey.so /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_xkey.so libtool: install: /usr/bin/install -p .libs/libvmod_xkey.lai /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_xkey.la libtool: warning: remember to run 'libtool --finish /usr/lib64/varnish/vmods' make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[1]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[1]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0' make[2]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/share/doc/varnish-modules' /usr/bin/install -p -m 644 README.md LICENSE '/builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/share/doc/varnish-modules' make[2]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0' make[1]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0' + find /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64//usr/lib64/ -name '*.la' -delete + rm /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/share/doc/varnish-modules/LICENSE + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.21.0-3.oc9 --unique-debug-suffix -0.21.0-3.oc9.x86_64 --unique-debug-src-base varnish-modules-0.21.0-3.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/varnish-modules-0.21.0 extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_bodyaccess.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_header.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_accept.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_saintmode.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_tcp.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_str.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_var.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_vsthrottle.so extracting debug info from /builddir/build/BUILDROOT/varnish-modules-0.21.0-3.oc9.x86_64/usr/lib64/varnish/vmods/libvmod_xkey.so Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB.Support for debuginfod is not compiled into GDB. 282 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CpHYap + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd varnish-modules-0.21.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 check VERBOSE=1 Making check in src /usr/bin/make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/accept/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/bodyaccess/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/bodyaccess/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/append_overflow.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/accept/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/bodyaccess/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/bodyaccess/test05.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/keep-others.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/append_maxhdr_overflow.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/bodyaccess/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/copy.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/import.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/get.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/remove.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/saintmode/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/saintmode/test05.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/append.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/regsub.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/saintmode/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/header/some-data.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/saintmode/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test05.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test06.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/saintmode/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test08.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/tcp/01-dumpinfo.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/tcp/02-congestion.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/tcp/03-read-tcpinfo.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/str/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/tcp/04-pacing.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test05.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/vsthrottle/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test08.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test06.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/vsthrottle/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test07.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/var/test06.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test02.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test05.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/vsthrottle/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test01.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/vsthrottle/test03.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test04.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test09.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test10.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test11.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test12.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' FAIL: tests/xkey/test13.vtc make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' make[3]: Entering directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' ================================================ varnish-modules 0.21.0: src/test-suite.log ================================================ # TOTAL: 56 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 56 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/accept/test01 ========================= **** dT 0.000 * top TEST ./tests/accept/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39433 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/accept **** top macro def tmpdir=/tmp/vtc.1545009.166f9c63 ** top === varnishtest "Test accept vmod" * top VTEST Test accept vmod ** top === server s1 {} -start ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35895 **** s1 macro def s1_sock=127.0.0.1:35895 * s1 Listen on 127.0.0.1:35895 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35895 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545009.166f9c63/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40433' -P /tmp/vtc.1545009.166f9c63/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545009.166f9c63/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40433' -P /tmp/vtc.1545009.166f9c63/v1/varnishd.pid **** dT 0.004 *** v1 PID: 1545147 **** v1 macro def v1_pid=1545147 **** v1 macro def v1_name=/tmp/vtc.1545009.166f9c63/v1 **** dT 0.025 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|undhivhfwdrfrbhaydmpachmyagdcenr **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 5fff667e40bb89e3a814d6084f138241d8d14665022e0a6cedfdea1f901db5e6 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35895"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport accept from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_accept.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew rule = accept.rule("foo"); **** v1 CLI TX|\t\trule.add("bar"); **** v1 CLI TX|\t\trule.add("baz"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.tst = rule.filter(req.http.tst); **** v1 CLI TX|\t\treturn (deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/accept/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545147 status=0x0000 (user 0.003454 sys 0.018207) * top TEST ./tests/accept/test01.vtc FAILED # top TEST ./tests/accept/test01.vtc FAILED (0.218) exit=2 FAIL tests/accept/test01.vtc (exit status: 2) FAIL: tests/accept/test02 ========================= **** dT 0.000 * top TEST ./tests/accept/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39917 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/accept **** top macro def tmpdir=/tmp/vtc.1545030.3e695f19 ** top === varnishtest "Quality quality assurance" * top VTEST Quality quality assurance ** top === server s1 {} -start ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35689 **** s1 macro def s1_sock=127.0.0.1:35689 * s1 Listen on 127.0.0.1:35689 ** top === varnish v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:35689 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545030.3e695f19/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46731' -P /tmp/vtc.1545030.3e695f19/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545030.3e695f19/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46731' -P /tmp/vtc.1545030.3e695f19/v1/varnishd.pid **** dT 0.006 *** v1 PID: 1545208 **** v1 macro def v1_pid=1545208 **** v1 macro def v1_name=/tmp/vtc.1545030.3e695f19/v1 **** dT 0.048 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|fgqdzcemykscssyoagmhdwpophqzzfph **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 9886b1fd2c2a0329f006dd39dc5970ab30dfceb6539b8d3283bd4efa710afffc *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.121 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35689"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport accept from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_accept.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew rule = accept.rule("foo"); **** v1 CLI TX|\t\trule.add("bar"); **** v1 CLI TX|\t\trule.add("baz"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.tst = rule.filter(req.http.tst); **** v1 CLI TX|\t\treturn (deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/accept/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.221 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545208 status=0x0000 (user 0.008485 sys 0.033972) * top TEST ./tests/accept/test02.vtc FAILED # top TEST ./tests/accept/test02.vtc FAILED (0.221) exit=2 FAIL tests/accept/test02.vtc (exit status: 2) FAIL: tests/bodyaccess/test01 ============================= **** dT 0.000 * top TEST ./tests/bodyaccess/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:32865 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/bodyaccess **** top macro def tmpdir=/tmp/vtc.1545029.04cda662 ** top === varnishtest "Test len of req body" * top VTEST Test len of req body ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=42759 **** s1 macro def s1_sock=127.0.0.1:42759 * s1 Listen on 127.0.0.1:42759 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:42759 (1 iterations) **** dT 0.006 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545029.04cda662/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40775' -P /tmp/vtc.1545029.04cda662/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545029.04cda662/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40775' -P /tmp/vtc.1545029.04cda662/v1/varnishd.pid *** v1 PID: 1545210 **** v1 macro def v1_pid=1545210 **** v1 macro def v1_name=/tmp/vtc.1545029.04cda662/v1 **** dT 0.047 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ztjbsbpqfehvxpmbbsovxsugirmnways **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 1b1d8d6f325d0e5b5cc0e3a0f4e091b8758f631935f70e0329c8be7cf6b3bbf0 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.121 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "42759"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport bodyaccess from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_bodyaccess.so"; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tstd.cache_req_body(110B); **** v1 CLI TX|\t\tset req.http.x-len = bodyaccess.len_req_body(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.x-len = req.http.x-len; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.126 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/bodyaccess/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.221 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545210 status=0x0000 (user 0.005714 sys 0.035736) * top TEST ./tests/bodyaccess/test01.vtc FAILED # top TEST ./tests/bodyaccess/test01.vtc FAILED (0.221) exit=2 FAIL tests/bodyaccess/test01.vtc (exit status: 2) FAIL: tests/bodyaccess/test02 ============================= **** dT 0.000 * top TEST ./tests/bodyaccess/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33257 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/bodyaccess **** top macro def tmpdir=/tmp/vtc.1545047.42761f99 ** top === varnishtest "Test hash on req body" * top VTEST Test hash on req body ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=38779 **** s1 macro def s1_sock=127.0.0.1:38779 * s1 Listen on 127.0.0.1:38779 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:38779 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545047.42761f99/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38609' -P /tmp/vtc.1545047.42761f99/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545047.42761f99/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38609' -P /tmp/vtc.1545047.42761f99/v1/varnishd.pid **** dT 0.005 *** v1 PID: 1545203 **** v1 macro def v1_pid=1545203 **** v1 macro def v1_name=/tmp/vtc.1545047.42761f99/v1 **** dT 0.035 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|rkdkxhtrpjkjhkbzbwynynirwvgavzqy **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth d9a8ddef99477c7e9b08637695940b7a9aa1ed770ff6e79d5923e285a1532ee4 **** dT 0.118 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "38779"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport bodyaccess from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_bodyaccess.so"; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif(req.method == "POST" && req.http.Pass =="yes") { **** v1 CLI TX|\t\t\tstd.cache_req_body(110B); **** v1 CLI TX|\t\t\treturn (pass); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\treturn(hash); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_hash { **** v1 CLI TX|\t\tbodyaccess.hash_req_body(); **** v1 CLI TX|\t\treturn (lookup); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_hit { **** v1 CLI TX|\t\tset req.http.x-cache = "HIT"; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_miss { **** v1 CLI TX|\t\tset req.http.x-cache = "MISS"; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.x-cache = req.http.x-cache; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/bodyaccess/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.125 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545203 status=0x0000 (user 0.004679 sys 0.028269) * top TEST ./tests/bodyaccess/test02.vtc FAILED # top TEST ./tests/bodyaccess/test02.vtc FAILED (0.218) exit=2 FAIL tests/bodyaccess/test02.vtc (exit status: 2) FAIL: tests/bodyaccess/test03 ============================= **** dT 0.000 * top TEST ./tests/bodyaccess/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:45371 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/bodyaccess **** top macro def tmpdir=/tmp/vtc.1545050.03c6dc35 ** top === varnishtest "test regex match on req body" * top VTEST test regex match on req body ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35953 **** s1 macro def s1_sock=127.0.0.1:35953 * s1 Listen on 127.0.0.1:35953 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35953 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545050.03c6dc35/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35827' -P /tmp/vtc.1545050.03c6dc35/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545050.03c6dc35/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35827' -P /tmp/vtc.1545050.03c6dc35/v1/varnishd.pid *** v1 PID: 1545194 **** v1 macro def v1_pid=1545194 **** v1 macro def v1_name=/tmp/vtc.1545050.03c6dc35/v1 **** dT 0.027 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ajswtgeknklwbrheyfbpqpmsitvpmpgj **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 2053b42f111702a0114c482eb3c908df7e72d623a2f674484ac3059ddffcec93 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35953"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport bodyaccess from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_bodyaccess.so"; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tstd.cache_req_body(10KB); **** v1 CLI TX|\t\tset req.http.x-re1 = bodyaccess.rematch_req_body(".*"); **** v1 CLI TX|\t\tset req.http.x-re2 = bodyaccess.rematch_req_body("aRNI"); **** v1 CLI TX|\t\tset req.http.x-re3 = bodyaccess.rematch_req_body("a"); **** v1 CLI TX|\t\tset req.http.x-re4 = bodyaccess.rematch_req_body("F"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.x-re1 = req.http.x-re1; **** v1 CLI TX|\t\tset resp.http.x-re2 = req.http.x-re2; **** v1 CLI TX|\t\tset resp.http.x-re3 = req.http.x-re3; **** v1 CLI TX|\t\tset resp.http.x-re4 = req.http.x-re4; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/bodyaccess/test03.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.123 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545194 status=0x0000 (user 0.002097 sys 0.023455) * top TEST ./tests/bodyaccess/test03.vtc FAILED # top TEST ./tests/bodyaccess/test03.vtc FAILED (0.218) exit=2 FAIL tests/bodyaccess/test03.vtc (exit status: 2) FAIL: tests/bodyaccess/test04 ============================= **** dT 0.000 * top TEST ./tests/bodyaccess/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38679 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/bodyaccess **** top macro def tmpdir=/tmp/vtc.1545058.01cdcfb7 ** top === varnishtest "chunked test" * top VTEST chunked test ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45467 **** s1 macro def s1_sock=127.0.0.1:45467 * s1 Listen on 127.0.0.1:45467 ** top === varnish v1 -cli "param.set vsl_mask +Hash" ** s1 Started on 127.0.0.1:45467 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545058.01cdcfb7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42593' -P /tmp/vtc.1545058.01cdcfb7/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545058.01cdcfb7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42593' -P /tmp/vtc.1545058.01cdcfb7/v1/varnishd.pid *** v1 PID: 1545205 **** v1 macro def v1_pid=1545205 **** v1 macro def v1_name=/tmp/vtc.1545058.01cdcfb7/v1 **** dT 0.052 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.121 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|slchrenkdbqjxskjfpbahvyigqeuaesm **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth cc8f13ef5fd42d7de84168be61015cbcf326198d329c904e4bf272a64995f56a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.122 **** v1 CLI TX|param.set vsl_mask +Hash *** v1 CLI RX 200 ** v1 CLI 200 ** top === varnish v1 -vcl+backend { **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45467"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport bodyaccess from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_bodyaccess.so"; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\t# On cache things that look like model api calls **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\t# Set the method as a header so we can reuse it for the fetch **** v1 CLI TX|\t\tset req.http.x-meth = req.method; **** v1 CLI TX|\t\tif (req.method == "POST") { **** v1 CLI TX|\t\t\t# Buffer the request body **** v1 CLI TX|\t\t\tstd.cache_req_body(10KB); **** v1 CLI TX|\t\t\treturn (hash); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_hash { **** v1 CLI TX|\t\tif (req.method == "POST") { **** v1 CLI TX|\t\t\tbodyaccess.hash_req_body(); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\t# Reuse our method we kept as a header in recv **** v1 CLI TX|\t\tset bereq.method = bereq.http.x-meth; **** v1 CLI TX|\t\treturn(fetch); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\t# Cache everything for 5 minutes **** v1 CLI TX|\t\tset beresp.ttl = 5m; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tif (obj.hits > 0) { **** v1 CLI TX|\t\t\tset resp.http.X-Cache = "HIT"; **** v1 CLI TX|\t\t} else { **** v1 CLI TX|\t\t\tset resp.http.X-Cache = "MISS"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.x-len = req.http.x-len; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/bodyaccess/test04.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.222 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545205 status=0x0000 (user 0.010515 sys 0.036818) * top TEST ./tests/bodyaccess/test04.vtc FAILED # top TEST ./tests/bodyaccess/test04.vtc FAILED (0.222) exit=2 FAIL tests/bodyaccess/test04.vtc (exit status: 2) FAIL: tests/bodyaccess/test05 ============================= **** dT 0.000 * top TEST ./tests/bodyaccess/test05.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44535 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/bodyaccess **** top macro def tmpdir=/tmp/vtc.1545073.2ce2ff51 ** top === varnishtest "Test logging POST body" * top VTEST Test logging POST body ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=44821 **** s1 macro def s1_sock=127.0.0.1:44821 * s1 Listen on 127.0.0.1:44821 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:44821 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545073.2ce2ff51/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38665' -P /tmp/vtc.1545073.2ce2ff51/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545073.2ce2ff51/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38665' -P /tmp/vtc.1545073.2ce2ff51/v1/varnishd.pid *** v1 PID: 1545229 **** v1 macro def v1_pid=1545229 **** v1 macro def v1_name=/tmp/vtc.1545073.2ce2ff51/v1 **** dT 0.047 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|hlrzvqqgpafvlpgekbnylmlijkbyrnph **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth f7c07dc3d8a2839333b059bc78574a7db59587c88bf2f75bb51b669d33ab2850 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "44821"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport bodyaccess from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_bodyaccess.so"; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tstd.cache_req_body(10KB); **** v1 CLI TX|\t\tbodyaccess.log_req_body("PREFIX:", 3); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/bodyaccess/test05.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.126 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545229 status=0x0000 (user 0.005301 sys 0.039331) **** dT 0.220 * top TEST ./tests/bodyaccess/test05.vtc FAILED # top TEST ./tests/bodyaccess/test05.vtc FAILED (0.220) exit=2 FAIL tests/bodyaccess/test05.vtc (exit status: 2) FAIL: tests/header/append ========================= **** dT 0.000 * top TEST ./tests/header/append.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44865 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545071.70eae483 ** top === varnishtest "Header-vmod: Test appending" * top VTEST Header-vmod: Test appending ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41347 **** s1 macro def s1_sock=127.0.0.1:41347 * s1 Listen on 127.0.0.1:41347 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41347 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545071.70eae483/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 34107' -P /tmp/vtc.1545071.70eae483/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545071.70eae483/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 34107' -P /tmp/vtc.1545071.70eae483/v1/varnishd.pid *** v1 PID: 1545206 **** v1 macro def v1_pid=1545206 **** v1 macro def v1_name=/tmp/vtc.1545071.70eae483/v1 **** dT 0.056 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.124 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|riwhfwmdcsomhuemmcydvhthbkmfevlb **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth bcd47ddeeeb008c8089d17859230a805b1ac05179f96f6bba4227b2d4b02fb3a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.125 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41347"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\tset beresp.http.foo = "null"; **** v1 CLI TX|\t\t\theader.append(header.dyn(beresp, 35 + 7), "is the answer"); **** v1 CLI TX|\t\t} elsif ( bereq.url == "/bar") { **** v1 CLI TX|\t\t\theader.append(beresp.http.foo, "blatti"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\treturn(deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.131 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/append.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.133 **** v1 STDOUT EOF **** dT 0.225 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545206 status=0x0000 (user 0.005460 sys 0.042148) * top TEST ./tests/header/append.vtc FAILED # top TEST ./tests/header/append.vtc FAILED (0.225) exit=2 FAIL tests/header/append.vtc (exit status: 2) FAIL: tests/header/append_maxhdr_overflow ========================================= **** dT 0.000 * top TEST ./tests/header/append_maxhdr_overflow.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39511 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545098.6119c4fd ** top === varnishtest "header.append with http_max_hdr and overflow" * top VTEST header.append with http_max_hdr and overflow ** top === varnish v1 -arg "-p http_max_hdr=32" -vcl { **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545098.6119c4fd/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35517' -P /tmp/vtc.1545098.6119c4fd/v1/varnishd.pid -p http_max_hdr=32 *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545098.6119c4fd/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35517' -P /tmp/vtc.1545098.6119c4fd/v1/varnishd.pid -p http_max_hdr=32 **** dT 0.004 *** v1 PID: 1545261 **** v1 macro def v1_pid=1545261 **** v1 macro def v1_name=/tmp/vtc.1545098.6119c4fd/v1 **** dT 0.049 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 *** v1 CLI RX 107 **** v1 CLI RX|rxxfekjsxsmnkhwacrmeghjechbrovdb **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.118 **** v1 CLI TX|auth df293802c6b1e6086cf7f5312ed8ebceee260ef360ee6d193bdfbe181472d860 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tbackend proforma None; **** v1 CLI TX| **** v1 CLI TX|\timport vtc; **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tstd.log(vtc.workspace_free(client)); **** v1 CLI TX|\t\theader.append(req.http.foo, "bar"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 VCL compilation failed expected success * top RESETTING after ./tests/header/append_maxhdr_overflow.vtc ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545261 status=0x0000 (user 0.006795 sys 0.041128) * top TEST ./tests/header/append_maxhdr_overflow.vtc FAILED # top TEST ./tests/header/append_maxhdr_overflow.vtc FAILED (0.219) exit=2 FAIL tests/header/append_maxhdr_overflow.vtc (exit status: 2) FAIL: tests/header/append_overflow ================================== **** dT 0.000 * top TEST ./tests/header/append_overflow.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39797 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545091.5174c080 ** top === varnishtest "header.append overflow" * top VTEST header.append overflow ** top === varnish v1 -vcl { **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545091.5174c080/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43785' -P /tmp/vtc.1545091.5174c080/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545091.5174c080/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43785' -P /tmp/vtc.1545091.5174c080/v1/varnishd.pid *** v1 PID: 1545249 **** v1 macro def v1_pid=1545249 **** v1 macro def v1_name=/tmp/vtc.1545091.5174c080/v1 **** dT 0.039 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 *** v1 CLI RX 107 **** v1 CLI RX|kenmwatngwuvkyafplllhmvmmwafgrao **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth c900abd026432901f6096ce2cb12c26069133139560644327fc2277586442aca *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.117 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tbackend proforma None; **** v1 CLI TX| **** v1 CLI TX|\timport vtc; **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tvtc.workspace_alloc(client, -2); **** v1 CLI TX|\t\theader.append(req.http.foo, "bar"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.121 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 VCL compilation failed expected success * top RESETTING after ./tests/header/append_overflow.vtc ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545249 status=0x0000 (user 0.002931 sys 0.034587) * top TEST ./tests/header/append_overflow.vtc FAILED # top TEST ./tests/header/append_overflow.vtc FAILED (0.217) exit=2 FAIL tests/header/append_overflow.vtc (exit status: 2) FAIL: tests/header/copy ======================= **** dT 0.000 * top TEST ./tests/header/copy.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:34635 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545101.5681a71d ** top === varnishtest "Header-vmod: Test copying" * top VTEST Header-vmod: Test copying ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=39737 **** s1 macro def s1_sock=127.0.0.1:39737 * s1 Listen on 127.0.0.1:39737 ** top === varnish v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:39737 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545101.5681a71d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39997' -P /tmp/vtc.1545101.5681a71d/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545101.5681a71d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39997' -P /tmp/vtc.1545101.5681a71d/v1/varnishd.pid *** v1 PID: 1545268 **** v1 macro def v1_pid=1545268 **** v1 macro def v1_name=/tmp/vtc.1545101.5681a71d/v1 **** dT 0.051 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.120 *** v1 CLI RX 107 **** v1 CLI RX|xcgdvqxslapgwfudwviqnwfqgeavqihq **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 6056bb5bcc70e30ab86661c36a398df2d08f43c30567d95a8f3c9cb8f093dca5 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "39737"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\theader.copy(beresp.http.foo,beresp.http.bar); **** v1 CLI TX|\t\t\tset beresp.http.x-one = header.get(beresp.http.bar,"one"); **** v1 CLI TX|\t\t\tset beresp.http.x-two = header.get(beresp.http.bar,"two"); **** v1 CLI TX|\t\t\tset beresp.http.x-three = header.get(beresp.http.bar,"three"); **** v1 CLI TX|\t\t\tset beresp.http.y-one = header.get(beresp.http.foo,"one"); **** v1 CLI TX|\t\t\tset beresp.http.y-two = header.get(beresp.http.foo,"two"); **** v1 CLI TX|\t\t\tset beresp.http.y-three = header.get(beresp.http.foo,"three"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\treturn(deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/copy.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545268 status=0x0000 (user 0.004408 sys 0.042081) * top TEST ./tests/header/copy.vtc FAILED # top TEST ./tests/header/copy.vtc FAILED (0.221) exit=2 FAIL tests/header/copy.vtc (exit status: 2) FAIL: tests/header/get ====================== **** dT 0.000 * top TEST ./tests/header/get.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39599 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545128.7040038e ** top === varnishtest "Header-vmod: Test fetching" * top VTEST Header-vmod: Test fetching ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=42315 **** s1 macro def s1_sock=127.0.0.1:42315 * s1 Listen on 127.0.0.1:42315 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:42315 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545128.7040038e/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35695' -P /tmp/vtc.1545128.7040038e/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545128.7040038e/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35695' -P /tmp/vtc.1545128.7040038e/v1/varnishd.pid *** v1 PID: 1545276 **** v1 macro def v1_pid=1545276 **** v1 macro def v1_name=/tmp/vtc.1545128.7040038e/v1 **** dT 0.055 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ficxkxotqxufofetxrmpicaqiluipasw **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 4c2218293ac59edc6101b4c3329a5b59624f30b23fcd0496a07c3a8e2f727791 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "42315"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/") { **** v1 CLI TX|\t\t\tset beresp.http.xusr = header.get(beresp.http.foo,"realcookie="); **** v1 CLI TX|\t\t\tset beresp.http.dyn-xusr = header.get( **** v1 CLI TX|\t\t\t header.dyn(beresp,"foo"), **** v1 CLI TX|\t\t\t "realcookie="); **** v1 CLI TX|\t\t} elsif (bereq.url == "/two") { **** v1 CLI TX|\t\t\tset beresp.http.xusr = header.get(beresp.http.foo,"^realcookie="); **** v1 CLI TX|\t\t\tset beresp.http.dyn-xusr = header.get( **** v1 CLI TX|\t\t\t header.dyn(beresp,"foo"), **** v1 CLI TX|\t\t\t "^realcookie="); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\treturn(deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/get.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.126 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545276 status=0x0000 (user 0.006486 sys 0.037860) **** dT 0.221 * top TEST ./tests/header/get.vtc FAILED # top TEST ./tests/header/get.vtc FAILED (0.221) exit=2 FAIL tests/header/get.vtc (exit status: 2) FAIL: tests/header/import ========================= **** dT 0.000 * top TEST ./tests/header/import.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33627 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545148.2563d7d6 ** top === varnishtest "Header-vmod: Test basic import" * top VTEST Header-vmod: Test basic import ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=39501 **** s1 macro def s1_sock=127.0.0.1:39501 * s1 Listen on 127.0.0.1:39501 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:39501 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545148.2563d7d6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44405' -P /tmp/vtc.1545148.2563d7d6/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545148.2563d7d6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44405' -P /tmp/vtc.1545148.2563d7d6/v1/varnishd.pid *** v1 PID: 1545295 **** v1 macro def v1_pid=1545295 **** v1 macro def v1_name=/tmp/vtc.1545148.2563d7d6/v1 **** dT 0.049 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.118 *** v1 CLI RX 107 **** v1 CLI RX|cnoibwfeusocdwghkahxouoepmhspeyw **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 1ebb57e1bb83b69aa9ca363da7142ff34d0f71f47da8820bbe0f852fa79179be *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "39501"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/import.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.125 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545295 status=0x0000 (user 0.004696 sys 0.041967) * top TEST ./tests/header/import.vtc FAILED # top TEST ./tests/header/import.vtc FAILED (0.219) exit=2 FAIL tests/header/import.vtc (exit status: 2) FAIL: tests/header/keep-others ============================== **** dT 0.000 * top TEST ./tests/header/keep-others.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33717 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545146.00b2ee62 ** top === varnishtest "Header-vmod: Ensure other headers remain untouc... * top VTEST Header-vmod: Ensure other headers remain untouched ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=43519 **** s1 macro def s1_sock=127.0.0.1:43519 * s1 Listen on 127.0.0.1:43519 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:43519 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545146.00b2ee62/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42881' -P /tmp/vtc.1545146.00b2ee62/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545146.00b2ee62/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42881' -P /tmp/vtc.1545146.00b2ee62/v1/varnishd.pid *** v1 PID: 1545262 **** v1 macro def v1_pid=1545262 **** v1 macro def v1_name=/tmp/vtc.1545146.00b2ee62/v1 **** dT 0.043 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|gonkufoppyihyciphrqpyqaxavftrgnr **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 152ca33b7288d34c9e538a27dd654bed3c0c318245226baf1550857098b5bf5a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "43519"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"one=1"); **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\tset beresp.uncacheable = true; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/keep-others.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.125 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545262 status=0x0000 (user 0.007678 sys 0.034222) * top TEST ./tests/header/keep-others.vtc FAILED # top TEST ./tests/header/keep-others.vtc FAILED (0.218) exit=2 FAIL tests/header/keep-others.vtc (exit status: 2) FAIL: tests/header/remove ========================= **** dT 0.000 * top TEST ./tests/header/remove.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44569 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545163.00bbd4b7 ** top === varnishtest "Header-vmod: Test removing" * top VTEST Header-vmod: Test removing ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34771 **** s1 macro def s1_sock=127.0.0.1:34771 * s1 Listen on 127.0.0.1:34771 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34771 (1 iterations) **** dT 0.006 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545163.00bbd4b7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40721' -P /tmp/vtc.1545163.00bbd4b7/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545163.00bbd4b7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40721' -P /tmp/vtc.1545163.00bbd4b7/v1/varnishd.pid **** dT 0.007 *** v1 PID: 1545336 **** v1 macro def v1_pid=1545336 **** v1 macro def v1_name=/tmp/vtc.1545163.00bbd4b7/v1 **** dT 0.050 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|wygyvidrkxigmmucefggycstzpjzwdbc **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth e60b047f53f202f31a610b4fe625ff49a77e235d3677047d7115385bfcc7528c *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34771"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"notok"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (bereq.url == "/nothing") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"."); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (bereq.url == "/blatti1") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"^ no.ok=.$"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (bereq.url == "/blatti2") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"^no.ok=.$"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (bereq.url == "/blatti3") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.set-cookie,"^(?!(funcookie=))"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (beresp.http.foo) { **** v1 CLI TX|\t\t\tset beresp.http.foo-exists = "yes"; **** v1 CLI TX|\t\t} else { **** v1 CLI TX|\t\t\tset beresp.http.foo-exists = "no"; **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\treturn(deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/remove.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545336 status=0x0000 (user 0.004325 sys 0.041690) * top TEST ./tests/header/remove.vtc FAILED # top TEST ./tests/header/remove.vtc FAILED (0.220) exit=2 FAIL tests/header/remove.vtc (exit status: 2) FAIL: tests/header/some-data ============================ **** dT 0.000 * top TEST ./tests/header/some-data.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38821 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545196.132849b6 ** top === varnishtest "Header-vmod: Send some data too" * top VTEST Header-vmod: Send some data too ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=37265 **** s1 macro def s1_sock=127.0.0.1:37265 * s1 Listen on 127.0.0.1:37265 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:37265 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545196.132849b6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44285' -P /tmp/vtc.1545196.132849b6/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545196.132849b6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44285' -P /tmp/vtc.1545196.132849b6/v1/varnishd.pid *** v1 PID: 1545324 **** v1 macro def v1_pid=1545324 **** v1 macro def v1_name=/tmp/vtc.1545196.132849b6/v1 **** dT 0.051 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|gpuvazfekbujzquqntsqenzcfwnyeinm **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.120 **** v1 CLI TX|auth d1b6a888c551a52d5344035e19467bf55ebd12372cb067e68db949d6412bcd47 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "37265"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\theader.remove(beresp.http.foo,"one=1"); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset beresp.uncacheable = true; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.126 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/some-data.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545324 status=0x0000 (user 0.006678 sys 0.041418) * top TEST ./tests/header/some-data.vtc FAILED # top TEST ./tests/header/some-data.vtc FAILED (0.221) exit=2 FAIL tests/header/some-data.vtc (exit status: 2) FAIL: tests/header/regsub ========================= **** dT 0.000 * top TEST ./tests/header/regsub.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:43315 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/header **** top macro def tmpdir=/tmp/vtc.1545170.31718c23 ** top === varnishtest "Header-vmod: Test substitution" * top VTEST Header-vmod: Test substitution ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=39115 **** s1 macro def s1_sock=127.0.0.1:39115 * s1 Listen on 127.0.0.1:39115 ** top === varnish v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:39115 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545170.31718c23/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39707' -P /tmp/vtc.1545170.31718c23/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545170.31718c23/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39707' -P /tmp/vtc.1545170.31718c23/v1/varnishd.pid *** v1 PID: 1545331 **** v1 macro def v1_pid=1545331 **** v1 macro def v1_name=/tmp/vtc.1545170.31718c23/v1 **** dT 0.050 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|lmfembwolqqabeccnvcmlabjytdqfsvd **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 03e7a5e2bc4515dc3eeb42ec387cf74c97d9dc45e4f41bcba4d701c761515af0 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "39115"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport header from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_header.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\theader.regsub(req, "bam", "quux", all=true); **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\theader.regsub(bereq, "^(?i)X-Prefix", "Y-Prefix"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\theader.regsub(beresp, "^Foo: (b)(a)(r)(f)", "Bar: \4\3\2p"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\theader.regsub(resp, "^(?i)V(\d): (?-i)val=(.*)$", "Val\1: \2"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/header/regsub.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545331 status=0x0000 (user 0.006596 sys 0.040396) * top TEST ./tests/header/regsub.vtc FAILED # top TEST ./tests/header/regsub.vtc FAILED (0.220) exit=2 FAIL tests/header/regsub.vtc (exit status: 2) FAIL: tests/saintmode/test01 ============================ **** dT 0.000 * top TEST ./tests/saintmode/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41149 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/saintmode **** top macro def tmpdir=/tmp/vtc.1545201.435c4b60 ** top === varnishtest "Test saintmode vmod" * top VTEST Test saintmode vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=36645 **** s1 macro def s1_sock=127.0.0.1:36645 * s1 Listen on 127.0.0.1:36645 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:36645 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545201.435c4b60/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42481' -P /tmp/vtc.1545201.435c4b60/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545201.435c4b60/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42481' -P /tmp/vtc.1545201.435c4b60/v1/varnishd.pid *** v1 PID: 1545312 **** v1 macro def v1_pid=1545312 **** v1 macro def v1_name=/tmp/vtc.1545201.435c4b60/v1 **** dT 0.049 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|csjitvvckvnverlpofcyhzvqmpcadvji **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 93cc6af876aaf6a5d56a2b058ba767f78d95e5d525deea14f125cdbd1c7ff00f *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "36645"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport saintmode from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_saintmode.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew sm = saintmode.saintmode(s1, 3); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tset bereq.backend = sm.backend(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (beresp.http.Saint == "yes") { **** v1 CLI TX|\t\t\tsaintmode.blacklist(0.5s); **** v1 CLI TX|\t\t\treturn (retry); # -> 503 **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.count = sm.blacklist_count(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/saintmode/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545312 status=0x0000 (user 0.002876 sys 0.045295) * top TEST ./tests/saintmode/test01.vtc FAILED # top TEST ./tests/saintmode/test01.vtc FAILED (0.218) exit=2 FAIL tests/saintmode/test01.vtc (exit status: 2) FAIL: tests/saintmode/test02 ============================ **** dT 0.000 * top TEST ./tests/saintmode/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33887 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/saintmode **** top macro def tmpdir=/tmp/vtc.1545215.1f52c2ee ** top === varnishtest "Test saintmode vmod" * top VTEST Test saintmode vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=46823 **** s1 macro def s1_sock=127.0.0.1:46823 * s1 Listen on 127.0.0.1:46823 ** top === server s2 { ** s2 Starting server **** s2 macro def s2_addr=127.0.0.1 **** s2 macro def s2_port=45147 **** s2 macro def s2_sock=127.0.0.1:45147 * s2 Listen on 127.0.0.1:45147 ** s1 Started on 127.0.0.1:46823 (1 iterations) ** top === varnish v1 -vcl+backend { ** s2 Started on 127.0.0.1:45147 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545215.1f52c2ee/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44459' -P /tmp/vtc.1545215.1f52c2ee/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545215.1f52c2ee/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44459' -P /tmp/vtc.1545215.1f52c2ee/v1/varnishd.pid *** v1 PID: 1545303 **** v1 macro def v1_pid=1545303 **** v1 macro def v1_name=/tmp/vtc.1545215.1f52c2ee/v1 **** dT 0.052 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.121 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 8 *** v1 CLI RX 107 **** v1 CLI RX|fbetuvktqlmsuoeifeneqyjckoongjhp **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 36b88efabdc79bff8ca83ecc93e4c29b2b24f166e3434efbc45b588344b4a2d6 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.122 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "46823"; } **** v1 CLI TX|backend s2 { .host = "127.0.0.1"; .port = "45147"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport saintmode from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_saintmode.so"; **** v1 CLI TX|\timport directors; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew sm1 = saintmode.saintmode(s1, 5); **** v1 CLI TX|\t\tnew sm2 = saintmode.saintmode(s2, 5); **** v1 CLI TX|\t\tnew fb = directors.fallback(); **** v1 CLI TX|\t\tfb.add_backend(sm1.backend()); **** v1 CLI TX|\t\tfb.add_backend(sm2.backend()); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tset bereq.backend = fb.backend(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (beresp.http.Saint == "yes") { **** v1 CLI TX|\t\t\tsaintmode.blacklist(0.5s); **** v1 CLI TX|\t\t\treturn (retry); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/saintmode/test02.vtc ** s1 Waiting for server (3/-1) ** s2 Waiting for server (4/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.222 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545303 status=0x0000 (user 0.010729 sys 0.036038) * top TEST ./tests/saintmode/test02.vtc FAILED # top TEST ./tests/saintmode/test02.vtc FAILED (0.222) exit=2 FAIL tests/saintmode/test02.vtc (exit status: 2) FAIL: tests/saintmode/test03 ============================ **** dT 0.000 * top TEST ./tests/saintmode/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38257 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/saintmode **** top macro def tmpdir=/tmp/vtc.1545182.54a59a2d ** top === varnishtest "varnish-modules issue #54" * top VTEST varnish-modules issue #54 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=44585 **** s1 macro def s1_sock=127.0.0.1:44585 * s1 Listen on 127.0.0.1:44585 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:44585 (1 iterations) **** dT 0.007 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545182.54a59a2d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33157' -P /tmp/vtc.1545182.54a59a2d/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545182.54a59a2d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33157' -P /tmp/vtc.1545182.54a59a2d/v1/varnishd.pid *** v1 PID: 1545371 **** v1 macro def v1_pid=1545371 **** v1 macro def v1_name=/tmp/vtc.1545182.54a59a2d/v1 **** dT 0.050 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ubwveoihncmqywckrfczcxrbjbmcyywf **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.120 **** v1 CLI TX|auth 8a26e6851903a52d6456d43b76a5db191f92e2c41492f7c50ae40edb814d21cc *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "44585"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport saintmode from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_saintmode.so"; **** v1 CLI TX|\timport directors; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (pass); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\t# this should be a no-op when saintmode is not configured **** v1 CLI TX|\t\tsaintmode.blacklist(0.5s); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.127 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/saintmode/test03.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.128 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545371 status=0x0000 (user 0.004406 sys 0.042651) * top TEST ./tests/saintmode/test03.vtc FAILED # top TEST ./tests/saintmode/test03.vtc FAILED (0.221) exit=2 FAIL tests/saintmode/test03.vtc (exit status: 2) FAIL: tests/saintmode/test04 ============================ **** dT 0.000 * top TEST ./tests/saintmode/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35607 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/saintmode **** top macro def tmpdir=/tmp/vtc.1545224.31e6e385 ** top === varnishtest "varnish-modules issue #27" * top VTEST varnish-modules issue #27 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45935 **** s1 macro def s1_sock=127.0.0.1:45935 * s1 Listen on 127.0.0.1:45935 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:45935 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545224.31e6e385/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43173' -P /tmp/vtc.1545224.31e6e385/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545224.31e6e385/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43173' -P /tmp/vtc.1545224.31e6e385/v1/varnishd.pid *** v1 PID: 1545364 **** v1 macro def v1_pid=1545364 **** v1 macro def v1_name=/tmp/vtc.1545224.31e6e385/v1 **** dT 0.049 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ipxnzyflvnnusglrimqujbdsusugccem **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.118 **** v1 CLI TX|auth 51ceae92c4c20dfcff6188ec75108add4cbddfaef09c2a031e7b03fc5255ef0d *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45935"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport saintmode from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_saintmode.so"; **** v1 CLI TX|\timport directors; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew sm = saintmode.saintmode(s1, 3); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tset bereq.backend = sm.backend(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (beresp.http.Saint == "yes") { **** v1 CLI TX|\t\t\tsaintmode.blacklist(5s); **** v1 CLI TX|\t\t\treturn (retry); # -> 503 **** v1 CLI TX|\t\t} else { **** v1 CLI TX|\t\t\tset beresp.ttl = 0.1s; **** v1 CLI TX|\t\t\tset beresp.grace = 10s; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_hit { **** v1 CLI TX|\t\tif (!sm.is_healthy()) { **** v1 CLI TX|\t\t\treturn(synth(466, "object is sick!")); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\t# special case: vcl_hash and vcl_recv does not have digest **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url == "/c" && !sm.is_healthy()) { **** v1 CLI TX|\t\t\treturn (pass); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/saintmode/test04.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545364 status=0x0000 (user 0.004860 sys 0.043153) * top TEST ./tests/saintmode/test04.vtc FAILED # top TEST ./tests/saintmode/test04.vtc FAILED (0.219) exit=2 FAIL tests/saintmode/test04.vtc (exit status: 2) FAIL: tests/saintmode/test05 ============================ **** dT 0.000 * top TEST ./tests/saintmode/test05.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41027 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/saintmode **** top macro def tmpdir=/tmp/vtc.1545223.2ce807ca ** top === varnishtest "varnish-modules issue #27" * top VTEST varnish-modules issue #27 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35265 **** s1 macro def s1_sock=127.0.0.1:35265 * s1 Listen on 127.0.0.1:35265 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35265 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545223.2ce807ca/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 37341' -P /tmp/vtc.1545223.2ce807ca/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545223.2ce807ca/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 37341' -P /tmp/vtc.1545223.2ce807ca/v1/varnishd.pid *** v1 PID: 1545341 **** v1 macro def v1_pid=1545341 **** v1 macro def v1_name=/tmp/vtc.1545223.2ce807ca/v1 **** dT 0.049 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|mfitzgiobfnqluuzbuhidtjbubimohfi **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 2cf7b32d4493a47518d42e359a123186973320af419f09441b0ab4a83350c6b8 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35265"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport saintmode from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_saintmode.so"; **** v1 CLI TX|\timport directors; **** v1 CLI TX|\timport std; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew sm = saintmode.saintmode(s1, 3); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tset bereq.backend = sm.backend(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (beresp.http.Saint == "yes") { **** v1 CLI TX|\t\t\tsaintmode.blacklist(5s); **** v1 CLI TX|\t\t\treturn (retry); # -> 503 **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = std.healthy(sm.backend()); **** v1 CLI TX|\t\tset resp.http.foo2 = sm.is_healthy(); **** v1 CLI TX| **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/saintmode/test05.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545341 status=0x0000 (user 0.007647 sys 0.040159) * top TEST ./tests/saintmode/test05.vtc FAILED # top TEST ./tests/saintmode/test05.vtc FAILED (0.218) exit=2 FAIL tests/saintmode/test05.vtc (exit status: 2) FAIL: tests/str/test01 ====================== **** dT 0.000 * top TEST ./tests/str/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:40287 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545277.1a753669 ** top === varnishtest "count()" * top VTEST count() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=32933 **** s1 macro def s1_sock=127.0.0.1:32933 * s1 Listen on 127.0.0.1:32933 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:32933 (1 iterations) **** dT 0.006 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545277.1a753669/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35763' -P /tmp/vtc.1545277.1a753669/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545277.1a753669/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35763' -P /tmp/vtc.1545277.1a753669/v1/varnishd.pid *** v1 PID: 1545399 **** v1 macro def v1_pid=1545399 **** v1 macro def v1_name=/tmp/vtc.1545277.1a753669/v1 **** dT 0.048 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.120 *** v1 CLI RX 107 **** v1 CLI RX|oishqmgrdjcyiofagafpgbfntdwrfzqd **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 6276ca2da4ae0615452684afde085accef5915709e5fae957926b82c8212a872 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "32933"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.count = str.count(req.http.string); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.126 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545399 status=0x0000 (user 0.006785 sys 0.037212) **** dT 0.227 * top TEST ./tests/str/test01.vtc FAILED # top TEST ./tests/str/test01.vtc FAILED (0.228) exit=2 FAIL tests/str/test01.vtc (exit status: 2) FAIL: tests/str/test02 ====================== **** dT 0.000 * top TEST ./tests/str/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44789 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545232.2f127324 ** top === varnishtest "endswith()" * top VTEST endswith() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35583 **** s1 macro def s1_sock=127.0.0.1:35583 * s1 Listen on 127.0.0.1:35583 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35583 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545232.2f127324/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45039' -P /tmp/vtc.1545232.2f127324/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545232.2f127324/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45039' -P /tmp/vtc.1545232.2f127324/v1/varnishd.pid *** v1 PID: 1545358 **** v1 macro def v1_pid=1545358 **** v1 macro def v1_name=/tmp/vtc.1545232.2f127324/v1 **** dT 0.048 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|iabouvlwxowukidsrpxjkmzfolojooae **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth cfd71b631c506298697990420f0541ddf6af693a7a22e18310a6dde67804eee2 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35583"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.endswith("abcde", "cde"); **** v1 CLI TX|\t\tset resp.http.bar = str.endswith("cde", "abcde"); **** v1 CLI TX|\t\tset resp.http.baz = str.endswith("abc", req.http.none); **** v1 CLI TX|\t\tset resp.http.qux = str.endswith(req.http.none, "abc"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545358 status=0x0000 (user 0.001087 sys 0.045985) * top TEST ./tests/str/test02.vtc FAILED # top TEST ./tests/str/test02.vtc FAILED (0.219) exit=2 FAIL tests/str/test02.vtc (exit status: 2) FAIL: tests/str/test03 ====================== **** dT 0.000 * top TEST ./tests/str/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35459 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545257.1bd8e0b3 ** top === varnishtest "startswith()" * top VTEST startswith() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34571 **** s1 macro def s1_sock=127.0.0.1:34571 * s1 Listen on 127.0.0.1:34571 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34571 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545257.1bd8e0b3/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38901' -P /tmp/vtc.1545257.1bd8e0b3/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545257.1bd8e0b3/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38901' -P /tmp/vtc.1545257.1bd8e0b3/v1/varnishd.pid **** dT 0.004 *** v1 PID: 1545357 **** v1 macro def v1_pid=1545357 **** v1 macro def v1_name=/tmp/vtc.1545257.1bd8e0b3/v1 **** dT 0.047 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.115 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.116 *** v1 CLI RX 107 **** v1 CLI RX|yrharrkgnjujexvqdlocvzowuzybwzrc **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 63828e1b70ae3fa754508a247d96848978a0d80009b0f6e388c4f05eeda91e79 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34571"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.startswith("abcde", "abc"); **** v1 CLI TX|\t\tset resp.http.bar = str.startswith("abc", "abcde"); **** v1 CLI TX|\t\tset resp.http.baz = str.startswith("abc", req.http.none); **** v1 CLI TX|\t\tset resp.http.qux = str.startswith(req.http.none, "abc"); **** v1 CLI TX|\t\tset resp.http.quux = str.startswith("abcde", "adc"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test03.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.216 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545357 status=0x0000 (user 0.005667 sys 0.042234) * top TEST ./tests/str/test03.vtc FAILED # top TEST ./tests/str/test03.vtc FAILED (0.217) exit=2 FAIL tests/str/test03.vtc (exit status: 2) FAIL: tests/str/test04 ====================== **** dT 0.000 * top TEST ./tests/str/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35997 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545286.757e8f2c ** top === varnishtest "take()" * top VTEST take() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=33295 **** s1 macro def s1_sock=127.0.0.1:33295 * s1 Listen on 127.0.0.1:33295 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:33295 (1 iterations) **** dT 0.007 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545286.757e8f2c/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44579' -P /tmp/vtc.1545286.757e8f2c/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545286.757e8f2c/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44579' -P /tmp/vtc.1545286.757e8f2c/v1/varnishd.pid *** v1 PID: 1545445 **** v1 macro def v1_pid=1545445 **** v1 macro def v1_name=/tmp/vtc.1545286.757e8f2c/v1 **** dT 0.045 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|okpljfnuksczphtvirvqhxtaapnthklg **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 2d55209ce731ba71a697fe49155690093afd3fc991555dbdbcd11c6080e49af2 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "33295"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.take("abcde", 3); **** v1 CLI TX|\t\tset resp.http.bar = str.take("abcde", 7); **** v1 CLI TX|\t\tset resp.http.baz = str.take("abcde", 0); **** v1 CLI TX|\t\tset resp.http.qux = str.take(req.http.none, 3); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test04.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.221 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545445 status=0x0000 (user 0.006436 sys 0.033947) **** dT 0.223 * top TEST ./tests/str/test04.vtc FAILED # top TEST ./tests/str/test04.vtc FAILED (0.224) exit=2 FAIL tests/str/test04.vtc (exit status: 2) FAIL: tests/str/test05 ====================== **** dT 0.000 * top TEST ./tests/str/test05.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:43157 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545273.5f66daef ** top === varnishtest "take(), negative argument" * top VTEST take(), negative argument ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35979 **** s1 macro def s1_sock=127.0.0.1:35979 * s1 Listen on 127.0.0.1:35979 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35979 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545273.5f66daef/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42905' -P /tmp/vtc.1545273.5f66daef/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545273.5f66daef/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42905' -P /tmp/vtc.1545273.5f66daef/v1/varnishd.pid *** v1 PID: 1545387 **** v1 macro def v1_pid=1545387 **** v1 macro def v1_name=/tmp/vtc.1545273.5f66daef/v1 **** dT 0.047 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|bjersrklpupmbyuuwqkvknsjbicqzytx **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 531e066327638c1f03eda5fa66fa9400e0514c49113f9781f67bb8ed71ac288d *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35979"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.take("abcde", 0 - 3); **** v1 CLI TX|\t\tset resp.http.bar = str.take("abcde", 0 - 7); **** v1 CLI TX|\t\tset resp.http.baz = str.take("abcde", 3, 0 - 4); **** v1 CLI TX|\t\tset resp.http.qux = str.take("abcde", 5, 0 - 3); **** v1 CLI TX|\t\tset resp.http.quux = str.take("abcde", 5, 0 - 7); **** v1 CLI TX|\t\tset resp.http.quuz = str.take("abcde", 5, 0 - 15); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test05.vtc **** dT 0.123 ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545387 status=0x0000 (user 0.003712 sys 0.042832) * top TEST ./tests/str/test05.vtc FAILED # top TEST ./tests/str/test05.vtc FAILED (0.218) exit=2 FAIL tests/str/test05.vtc (exit status: 2) FAIL: tests/str/test06 ====================== **** dT 0.000 * top TEST ./tests/str/test06.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:43115 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545280.15f3b62e ** top === varnishtest "reverse()" * top VTEST reverse() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35035 **** s1 macro def s1_sock=127.0.0.1:35035 * s1 Listen on 127.0.0.1:35035 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:35035 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545280.15f3b62e/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46809' -P /tmp/vtc.1545280.15f3b62e/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545280.15f3b62e/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46809' -P /tmp/vtc.1545280.15f3b62e/v1/varnishd.pid *** v1 PID: 1545382 **** v1 macro def v1_pid=1545382 **** v1 macro def v1_name=/tmp/vtc.1545280.15f3b62e/v1 **** dT 0.046 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.115 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|dmlnnausjxynrwanxibwqeyjfedizxfs **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 4791476a891abf843230751c36d4a72ff7f066a1d463be0024c04edf348bc49a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35035"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.reverse("abc"); **** v1 CLI TX|\t\tset resp.http.bar = str.reverse(""); **** v1 CLI TX|\t\tset resp.http.baz = str.reverse(req.http.none); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.121 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test06.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.122 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.216 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545382 status=0x0000 (user 0.007927 sys 0.039712) * top TEST ./tests/str/test06.vtc FAILED # top TEST ./tests/str/test06.vtc FAILED (0.216) exit=2 FAIL tests/str/test06.vtc (exit status: 2) FAIL: tests/str/test08 ====================== **** dT 0.000 * top TEST ./tests/str/test08.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38939 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/str **** top macro def tmpdir=/tmp/vtc.1545284.67ab33cb ** top === varnishtest "split()" * top VTEST split() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41579 **** s1 macro def s1_sock=127.0.0.1:41579 * s1 Listen on 127.0.0.1:41579 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41579 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545284.67ab33cb/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 36793' -P /tmp/vtc.1545284.67ab33cb/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545284.67ab33cb/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 36793' -P /tmp/vtc.1545284.67ab33cb/v1/varnishd.pid *** v1 PID: 1545395 **** v1 macro def v1_pid=1545395 **** v1 macro def v1_name=/tmp/vtc.1545284.67ab33cb/v1 **** dT 0.048 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|pqzueyzvguncuhieqraemedgevflsrmd **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 6d4068503bef198b7149f404e6bdcdd837f37c7f5b108395778be6a368430bc4 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.119 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41579"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport str from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_str.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo = str.split(".-.abc..def.-ghi..", 3, ".-"); **** v1 CLI TX|\t\tset resp.http.bar = str.split(".-.abc..def.-ghi..", 7, ".-"); **** v1 CLI TX|\t\tset resp.http.baz = str.split(".-.abc..def.-ghi..", 0-3, ".-"); **** v1 CLI TX|\t\tset resp.http.qux = str.split(".-.abc..def.-ghi..", 0-4, ".-"); **** v1 CLI TX|\t\tset resp.http.quux = str.split(req.http.none, 0-1, ".-"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/str/test08.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545395 status=0x0000 (user 0.006051 sys 0.040528) * top TEST ./tests/str/test08.vtc FAILED # top TEST ./tests/str/test08.vtc FAILED (0.220) exit=2 FAIL tests/str/test08.vtc (exit status: 2) FAIL: tests/tcp/01-dumpinfo =========================== **** dT 0.000 * top TEST ./tests/tcp/01-dumpinfo.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44589 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/tcp **** top macro def tmpdir=/tmp/vtc.1545307.67882353 ** top === varnishtest "Test tcp vmod" * top VTEST Test tcp vmod ** top === feature cmd "uname | grep Linux" **** dT 0.003 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=37379 **** s1 macro def s1_sock=127.0.0.1:37379 * s1 Listen on 127.0.0.1:37379 ** top === varnish v1 -vcl+backend { **** dT 0.004 ** s1 Started on 127.0.0.1:37379 (1 iterations) **** dT 0.008 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545307.67882353/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35683' -P /tmp/vtc.1545307.67882353/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545307.67882353/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35683' -P /tmp/vtc.1545307.67882353/v1/varnishd.pid *** v1 PID: 1545442 **** v1 macro def v1_pid=1545442 **** v1 macro def v1_name=/tmp/vtc.1545307.67882353/v1 **** dT 0.046 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.123 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|rwuswnilaepaooabphhicrfmiwmzcvxs **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.124 **** v1 CLI TX|auth 920171dc78f554b10cb4fa1176cfe62840ab39c1ad3400f9b1475c75b8d20918 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "37379"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport tcp from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_tcp.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\ttcp.dump_info(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/tcp/01-dumpinfo.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.224 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545442 status=0x0000 (user 0.005090 sys 0.032816) * top TEST ./tests/tcp/01-dumpinfo.vtc FAILED * diag 0.0 Linux # top TEST ./tests/tcp/01-dumpinfo.vtc FAILED (0.225) exit=2 FAIL tests/tcp/01-dumpinfo.vtc (exit status: 2) FAIL: tests/tcp/02-congestion ============================= **** dT 0.000 * top TEST ./tests/tcp/02-congestion.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:37483 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/tcp **** top macro def tmpdir=/tmp/vtc.1545293.5ed187f7 ** top === varnishtest "Test tcp vmod" * top VTEST Test tcp vmod ** top === feature cmd "uname | grep Linux" **** dT 0.005 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45207 **** s1 macro def s1_sock=127.0.0.1:45207 * s1 Listen on 127.0.0.1:45207 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:45207 (1 iterations) **** dT 0.010 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545293.5ed187f7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39459' -P /tmp/vtc.1545293.5ed187f7/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545293.5ed187f7/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39459' -P /tmp/vtc.1545293.5ed187f7/v1/varnishd.pid **** dT 0.011 *** v1 PID: 1545449 **** v1 macro def v1_pid=1545449 **** v1 macro def v1_name=/tmp/vtc.1545293.5ed187f7/v1 **** dT 0.048 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.124 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|bfshmtylozdcfdkmuxzxxyyhxskfeblt **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 12b3b2a3ea2ad8e7aad1f7b5513434e6de0b8c0b50ab7ba8398f26018fe33f75 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.125 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45207"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport tcp from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_tcp.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.a = tcp.congestion_algorithm("reno"); **** v1 CLI TX|\t\tset resp.http.b = tcp.congestion_algorithm("slartibartfast"); **** v1 CLI TX|\t\tset resp.http.c = tcp.congestion_algorithm("cubic"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.129 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/tcp/02-congestion.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.225 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545449 status=0x0000 (user 0.007811 sys 0.031415) **** dT 0.226 * top TEST ./tests/tcp/02-congestion.vtc FAILED * diag 0.0 Linux # top TEST ./tests/tcp/02-congestion.vtc FAILED (0.226) exit=2 FAIL tests/tcp/02-congestion.vtc (exit status: 2) FAIL: tests/tcp/03-read-tcpinfo =============================== **** dT 0.000 * top TEST ./tests/tcp/03-read-tcpinfo.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:36551 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/tcp **** top macro def tmpdir=/tmp/vtc.1545353.1ffddc4f ** top === varnishtest "Test tcp vmod" * top VTEST Test tcp vmod ** top === feature cmd "uname | grep Linux" **** dT 0.004 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=36581 **** s1 macro def s1_sock=127.0.0.1:36581 * s1 Listen on 127.0.0.1:36581 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:36581 (1 iterations) **** dT 0.007 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545353.1ffddc4f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 36855' -P /tmp/vtc.1545353.1ffddc4f/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545353.1ffddc4f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 36855' -P /tmp/vtc.1545353.1ffddc4f/v1/varnishd.pid *** v1 PID: 1545452 **** v1 macro def v1_pid=1545452 **** v1 macro def v1_name=/tmp/vtc.1545353.1ffddc4f/v1 **** dT 0.044 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|qafzlophxfylxupjwspnbwnmzrdqxsir **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth af360d2b1549e5ab2433d9f11981a75f8b8982e1224dcdaf580c36898daf8271 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "36581"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport tcp from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_tcp.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.a = tcp.get_estimated_rtt(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/tcp/03-read-tcpinfo.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545452 status=0x0000 (user 0.005200 sys 0.036520) **** dT 0.222 * top TEST ./tests/tcp/03-read-tcpinfo.vtc FAILED * diag 0.0 Linux # top TEST ./tests/tcp/03-read-tcpinfo.vtc FAILED (0.223) exit=2 FAIL tests/tcp/03-read-tcpinfo.vtc (exit status: 2) FAIL: tests/tcp/04-pacing ========================= **** dT 0.000 * top TEST ./tests/tcp/04-pacing.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35099 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/tcp **** top macro def tmpdir=/tmp/vtc.1545640.2a260ae2 ** top === varnishtest "Test enabling pacing" * top VTEST Test enabling pacing ** top === feature cmd "uname | grep Linux" **** dT 0.003 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45239 **** s1 macro def s1_sock=127.0.0.1:45239 * s1 Listen on 127.0.0.1:45239 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:45239 (1 iterations) **** dT 0.013 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545640.2a260ae2/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40531' -P /tmp/vtc.1545640.2a260ae2/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545640.2a260ae2/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40531' -P /tmp/vtc.1545640.2a260ae2/v1/varnishd.pid *** v1 PID: 1545812 **** v1 macro def v1_pid=1545812 **** v1 macro def v1_name=/tmp/vtc.1545640.2a260ae2/v1 **** dT 0.039 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.123 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.124 *** v1 CLI RX 107 **** v1 CLI RX|lfbrnihrusseveqpaqpeejoiniblljdi **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth d9089af5695fddac448934f692c49ff7bff3d2234ee81fafab8f60abef174393 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45239"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport tcp from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_tcp.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\ttcp.set_socket_pace(1000); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.132 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/tcp/04-pacing.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.134 **** v1 STDOUT EOF **** dT 0.224 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545812 status=0x0000 (user 0.007421 sys 0.018256) * top TEST ./tests/tcp/04-pacing.vtc FAILED * diag 0.0 Linux # top TEST ./tests/tcp/04-pacing.vtc FAILED (0.225) exit=2 FAIL tests/tcp/04-pacing.vtc (exit status: 2) FAIL: tests/var/test01 ====================== **** dT 0.000 * top TEST ./tests/var/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41877 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545660.0c5aad17 ** top === varnishtest "Test var vmod" * top VTEST Test var vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=36307 **** s1 macro def s1_sock=127.0.0.1:36307 * s1 Listen on 127.0.0.1:36307 ** top === varnish v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:36307 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545660.0c5aad17/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45839' -P /tmp/vtc.1545660.0c5aad17/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545660.0c5aad17/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45839' -P /tmp/vtc.1545660.0c5aad17/v1/varnishd.pid *** v1 PID: 1545752 **** v1 macro def v1_pid=1545752 **** v1 macro def v1_name=/tmp/vtc.1545660.0c5aad17/v1 **** dT 0.019 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|qxmkasmquiqiuokpqlmwluuwnukgnnxm **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 33e00dcbf5dc23d83ec36d440fb65507e4dc6de49f34de5de6c8bdff8219d853 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "36307"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| **** v1 CLI TX|\tbackend dummy { .host = "192.0.2.255"; .port = "1234"; } **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tvar.set_backend("be1", s1); **** v1 CLI TX|\t\tset bereq.backend = dummy; **** v1 CLI TX|\t\tset bereq.http.be-notused = bereq.backend; **** v1 CLI TX|\t\tset bereq.backend = var.get_backend("be1"); **** v1 CLI TX|\t\tset bereq.http.be-used = bereq.backend; **** v1 CLI TX|\t} **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tvar.set("foo", "bar"); **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t\tvar.set("foo2", "bar2"); **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t\tvar.clear(); **** v1 CLI TX|\t\tset resp.http.x-foo2 = "" + var.get("foo2"); **** v1 CLI TX|\t\tvar.set_int("i1", 123); **** v1 CLI TX|\t\tset resp.http.i1 = var.get_int("i1") + 1; **** v1 CLI TX|\t\tvar.set_real("r1", 2); **** v1 CLI TX|\t\tvar.set_real("r1", var.get_real("r1")); **** v1 CLI TX|\t\tset resp.http.r1 = var.get_real("r1"); **** v1 CLI TX| **** v1 CLI TX|\t\tvar.set_duration("d1", 1m); **** v1 CLI TX|\t\tset resp.http.d1 = var.get_duration("d1"); **** v1 CLI TX| **** v1 CLI TX|\t\tvar.set_ip("ip1", client.ip); **** v1 CLI TX|\t\tset resp.http.ip1 = var.get_ip("ip1"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545752 status=0x0000 (user 0.007874 sys 0.008697) * top TEST ./tests/var/test01.vtc FAILED # top TEST ./tests/var/test01.vtc FAILED (0.218) exit=2 FAIL tests/var/test01.vtc (exit status: 2) FAIL: tests/var/test02 ====================== **** dT 0.000 * top TEST ./tests/var/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:46207 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545678.326c9306 ** top === varnishtest "Test global variables" * top VTEST Test global variables ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=46265 **** s1 macro def s1_sock=127.0.0.1:46265 * s1 Listen on 127.0.0.1:46265 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:46265 (1 iterations) **** dT 0.010 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545678.326c9306/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40679' -P /tmp/vtc.1545678.326c9306/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545678.326c9306/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 40679' -P /tmp/vtc.1545678.326c9306/v1/varnishd.pid *** v1 PID: 1545811 **** v1 macro def v1_pid=1545811 **** v1 macro def v1_name=/tmp/vtc.1545678.326c9306/v1 **** dT 0.037 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|lvvpfjsinqggwaioffehfnzlbhorfimi **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 15650b903423d6eec6df430b7a1f07622369f4ab28e9b61a6bbda0eeb53e571b **** dT 0.121 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "46265"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tvar.global_set("foo", "fooval"); **** v1 CLI TX|\t\tvar.global_set("bar", "barval"); **** v1 CLI TX|\t\tvar.global_set("bar", "altered_barval"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tvar.global_get(req.http.NULL); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.x-foo = var.global_get("foo"); **** v1 CLI TX|\t\tset resp.http.x-bar = var.global_get("bar"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.129 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.131 **** v1 STDOUT EOF **** dT 0.221 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545811 status=0x0000 (user 0.010695 sys 0.015892) * top TEST ./tests/var/test02.vtc FAILED # top TEST ./tests/var/test02.vtc FAILED (0.221) exit=2 FAIL tests/var/test02.vtc (exit status: 2) FAIL: tests/var/test03 ====================== **** dT 0.000 * top TEST ./tests/var/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:45897 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545690.3f3103ed **** dT 0.001 ** top === varnishtest "Test var vmod" * top VTEST Test var vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=42223 **** s1 macro def s1_sock=127.0.0.1:42223 * s1 Listen on 127.0.0.1:42223 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:42223 (1 iterations) **** dT 0.009 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545690.3f3103ed/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39679' -P /tmp/vtc.1545690.3f3103ed/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545690.3f3103ed/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39679' -P /tmp/vtc.1545690.3f3103ed/v1/varnishd.pid **** dT 0.010 *** v1 PID: 1545814 **** v1 macro def v1_pid=1545814 **** v1 macro def v1_name=/tmp/vtc.1545690.3f3103ed/v1 **** dT 0.037 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.120 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|umwwcaeoexxkwenopxerhuxcbpazznko **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 7d76e4148778b1820980c777efb23d057b4b4a62c8cdc65873b2a4bccd9c88a2 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "42223"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tvar.set("foo", "bar"); **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t\tvar.set("foo2", "bar2"); **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t\tvar.clear(); **** v1 CLI TX|\t\tset resp.http.x-foo2 = "" + var.get("foo2"); **** v1 CLI TX|\t\tvar.set_int("i1", 123); **** v1 CLI TX|\t\tset resp.http.i1 = var.get_int("i1") + 1; **** v1 CLI TX|\t\tvar.set_real("r1", 2); **** v1 CLI TX|\t\tvar.set_real("r1", var.get_real("r1")); **** v1 CLI TX|\t\tset resp.http.r1 = var.get_real("r1"); **** v1 CLI TX| **** v1 CLI TX|\t\tvar.set_duration("d1", 1m); **** v1 CLI TX|\t\tset resp.http.d1 = var.get_duration("d1"); **** v1 CLI TX|\t\tset resp.http.x-null = var.get("nosuchvar"); **** v1 CLI TX|\t\tset resp.http.x-null2 = var.get(req.http.no-such-var); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test03.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.129 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.221 ** v1 WAIT4 pid=1545814 status=0x0000 (user 0.004781 sys 0.022598) * top TEST ./tests/var/test03.vtc FAILED # top TEST ./tests/var/test03.vtc FAILED (0.221) exit=2 FAIL tests/var/test03.vtc (exit status: 2) FAIL: tests/var/test04 ====================== **** dT 0.000 * top TEST ./tests/var/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:32943 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545726.0fa3ba12 ** top === varnishtest "Test vcl reload" * top VTEST Test vcl reload ** top === barrier b1 cond 2 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34039 **** s1 macro def s1_sock=127.0.0.1:34039 * s1 Listen on 127.0.0.1:34039 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34039 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545726.0fa3ba12/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35405' -P /tmp/vtc.1545726.0fa3ba12/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545726.0fa3ba12/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35405' -P /tmp/vtc.1545726.0fa3ba12/v1/varnishd.pid *** v1 PID: 1545892 **** v1 macro def v1_pid=1545892 **** v1 macro def v1_name=/tmp/vtc.1545726.0fa3ba12/v1 **** dT 0.043 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.114 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|inhddoajjolzeenrwyggdpzxlzjgcchj **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 05839342cb3c53b41bcb3c9552ea256967a446b4bb8d76f658b066acee929e1a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34039"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tvar.set("foo", "bar"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test04.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.215 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545892 status=0x0000 (user 0.006735 sys 0.031240) * top TEST ./tests/var/test04.vtc FAILED # top TEST ./tests/var/test04.vtc FAILED (0.215) exit=2 FAIL tests/var/test04.vtc (exit status: 2) FAIL: tests/var/test05 ====================== **** dT 0.000 * top TEST ./tests/var/test05.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:34221 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545728.3205b2a6 ** top === varnishtest "Test that a var persists across a restart" * top VTEST Test that a var persists across a restart ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=43353 **** s1 macro def s1_sock=127.0.0.1:43353 * s1 Listen on 127.0.0.1:43353 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:43353 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545728.3205b2a6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43501' -P /tmp/vtc.1545728.3205b2a6/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545728.3205b2a6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43501' -P /tmp/vtc.1545728.3205b2a6/v1/varnishd.pid *** v1 PID: 1545877 **** v1 macro def v1_pid=1545877 **** v1 macro def v1_name=/tmp/vtc.1545728.3205b2a6/v1 **** dT 0.040 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.113 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.114 *** v1 CLI RX 107 **** v1 CLI RX|kjfnslxwciijlnezdrgbfeuybdrjyfwv **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 2b61503ea02bdde3ad8a5562fd07afdbdbd4f988a8cae986541523f32ede6879 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "43353"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tif (req.restarts == 0 && req.url == "/a") { **** v1 CLI TX|\t\t\tvar.set("foo", "bar"); **** v1 CLI TX|\t\t\treturn (restart); **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\tset resp.http.x-foo = var.get("foo"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test05.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.214 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545877 status=0x0000 (user 0.005035 sys 0.031517) * top TEST ./tests/var/test05.vtc FAILED # top TEST ./tests/var/test05.vtc FAILED (0.214) exit=2 FAIL tests/var/test05.vtc (exit status: 2) FAIL: tests/var/test06 ====================== **** dT 0.000 * top TEST ./tests/var/test06.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38775 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/var **** top macro def tmpdir=/tmp/vtc.1545801.4a441b0b ** top === varnishtest "Test that running out of workspace memory fails... * top VTEST Test that running out of workspace memory fails the request ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41435 **** s1 macro def s1_sock=127.0.0.1:41435 * s1 Listen on 127.0.0.1:41435 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41435 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545801.4a441b0b/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44409' -P /tmp/vtc.1545801.4a441b0b/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545801.4a441b0b/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44409' -P /tmp/vtc.1545801.4a441b0b/v1/varnishd.pid *** v1 PID: 1545937 **** v1 macro def v1_pid=1545937 **** v1 macro def v1_name=/tmp/vtc.1545801.4a441b0b/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|jrsnprftqezjisacswpgyxdhfnjtopem **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 6de811393fbd3d1846bc6f68dbeaabaa66fedb5737294e44d4144313c9a15688 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41435"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport var from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_var.so"; **** v1 CLI TX| import vtc; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX| if (req.url == "/a") { **** v1 CLI TX| # Leave only a single byte in the workspace free. **** v1 CLI TX| vtc.workspace_alloc(client, -1); **** v1 CLI TX| # The allocation of the the actual struct var is next and will fail now. **** v1 CLI TX| var.set("a", "0"); **** v1 CLI TX| } **** v1 CLI TX| if (req.url == "/b") { **** v1 CLI TX| # Leave enough bytes in the workspace for the **** v1 CLI TX| # struct var allocation to succeed, but fail when **** v1 CLI TX| # copying the variable name. **** v1 CLI TX| vtc.workspace_alloc(client, -64); **** v1 CLI TX| var.set("b000000000000000000000000000000000000000000000000000000000000000", "0"); **** v1 CLI TX| } **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.125 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/var/test06.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.220 ** v1 WAIT4 pid=1545937 status=0x0000 (user 0.004586 sys 0.034805) * top TEST ./tests/var/test06.vtc FAILED # top TEST ./tests/var/test06.vtc FAILED (0.220) exit=2 FAIL tests/var/test06.vtc (exit status: 2) FAIL: tests/vsthrottle/test01 ============================= **** dT 0.000 * top TEST ./tests/vsthrottle/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33737 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/vsthrottle **** top macro def tmpdir=/tmp/vtc.1545797.2fe8ffe2 ** top === varnishtest "Test vsthrottle vmod" * top VTEST Test vsthrottle vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=42139 **** s1 macro def s1_sock=127.0.0.1:42139 * s1 Listen on 127.0.0.1:42139 ** top === varnish v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:42139 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545797.2fe8ffe2/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35279' -P /tmp/vtc.1545797.2fe8ffe2/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545797.2fe8ffe2/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35279' -P /tmp/vtc.1545797.2fe8ffe2/v1/varnishd.pid *** v1 PID: 1545912 **** v1 macro def v1_pid=1545912 **** v1 macro def v1_name=/tmp/vtc.1545797.2fe8ffe2/v1 **** dT 0.041 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.112 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|gyddsefhluydfiparvnwbfkjxsibegtx **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth c1de5de4fa34c0202339df4e430bd6a4f3e4534c72dc63e01c0fc1c0f863fda3 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "42139"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport vsthrottle from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_vsthrottle.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo-count0 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset resp.http.f1 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.foo-count1 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset resp.http.f2 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.foo-count2 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tset resp.http.bar-count0 = vsthrottle.remaining("bar", 1, 1s); **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("bar", 1, 1s)) { **** v1 CLI TX|\t\t\tset resp.http.f3 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.bar-count1 = vsthrottle.remaining("bar", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tset resp.http.f4-count0 = vsthrottle.remaining(req.http.not-found, 1, 1s); **** v1 CLI TX|\t\tif (vsthrottle.is_denied(req.http.not-found, 10, 100s)) { **** v1 CLI TX|\t\t\tset resp.http.f4 = "NULL"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.f4-count1 = vsthrottle.remaining(req.http.not-found, 1, 1s); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.120 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/vsthrottle/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.125 **** v1 STDOUT EOF **** dT 0.212 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545912 status=0x0000 (user 0.006209 sys 0.032096) * top TEST ./tests/vsthrottle/test01.vtc FAILED # top TEST ./tests/vsthrottle/test01.vtc FAILED (0.213) exit=2 FAIL tests/vsthrottle/test01.vtc (exit status: 2) FAIL: tests/vsthrottle/test02 ============================= **** dT 0.000 * top TEST ./tests/vsthrottle/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33125 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/vsthrottle **** top macro def tmpdir=/tmp/vtc.1545802.4f492f63 ** top === varnishtest "Test use in backend path" * top VTEST Test use in backend path ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45505 **** s1 macro def s1_sock=127.0.0.1:45505 * s1 Listen on 127.0.0.1:45505 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:45505 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545802.4f492f63/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33615' -P /tmp/vtc.1545802.4f492f63/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545802.4f492f63/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33615' -P /tmp/vtc.1545802.4f492f63/v1/varnishd.pid *** v1 PID: 1545926 **** v1 macro def v1_pid=1545926 **** v1 macro def v1_name=/tmp/vtc.1545802.4f492f63/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.118 *** v1 CLI RX 107 **** v1 CLI RX|wudedinisyqajcnkxfhgkzpuhlnvzxpx **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 1e29d2bb2f365620d54f5aa5748a807653ef851305d412b23c68e161f79bc6c4 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45505"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport vsthrottle from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_vsthrottle.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset beresp.http.f1 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset beresp.http.f2 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("bar", 1, 1s)) { **** v1 CLI TX|\t\t\tset beresp.http.f3 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX| **** v1 CLI TX|\t\tif (vsthrottle.is_denied(bereq.http.not-found, 10, 100s)) { **** v1 CLI TX|\t\t\tset beresp.http.f4 = "NULL"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/vsthrottle/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.124 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545926 status=0x0000 (user 0.007592 sys 0.031412) * top TEST ./tests/vsthrottle/test02.vtc FAILED # top TEST ./tests/vsthrottle/test02.vtc FAILED (0.219) exit=2 FAIL tests/vsthrottle/test02.vtc (exit status: 2) FAIL: tests/vsthrottle/test03 ============================= **** dT 0.000 * top TEST ./tests/vsthrottle/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33361 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/vsthrottle **** top macro def tmpdir=/tmp/vtc.1545799.374bdb3f ** top === varnishtest "Test the block parameter" * top VTEST Test the block parameter ** top === varnish v1 -vcl { **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545799.374bdb3f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45861' -P /tmp/vtc.1545799.374bdb3f/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545799.374bdb3f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45861' -P /tmp/vtc.1545799.374bdb3f/v1/varnishd.pid *** v1 PID: 1545938 **** v1 macro def v1_pid=1545938 **** v1 macro def v1_name=/tmp/vtc.1545799.374bdb3f/v1 **** dT 0.041 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 **** dT 0.118 *** v1 CLI RX 107 **** v1 CLI RX|vzledmqphwhrpmeckhicniujdutvmzbb **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth e30ff4f524971afb841cb3d0558a1c394639918a64c68c4d5772a4cf52b87a99 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport vsthrottle from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_vsthrottle.so"; **** v1 CLI TX| backend b { .host = "192.0.2.255"; } **** v1 CLI TX| **** v1 CLI TX| sub vcl_recv { **** v1 CLI TX| return(synth(200)); **** v1 CLI TX| } **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX| set resp.http.block = vsthrottle.is_denied("quux", 2, 1s, 2s); **** v1 CLI TX| set resp.http.blocked = vsthrottle.blocked("quux", 2, 1s, 2s); **** v1 CLI TX| return(deliver); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 VCL compilation failed expected success * top RESETTING after ./tests/vsthrottle/test03.vtc ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.219 ** v1 WAIT4 pid=1545938 status=0x0000 (user 0.004727 sys 0.034535) * top TEST ./tests/vsthrottle/test03.vtc FAILED # top TEST ./tests/vsthrottle/test03.vtc FAILED (0.220) exit=2 FAIL tests/vsthrottle/test03.vtc (exit status: 2) FAIL: tests/vsthrottle/test04 ============================= **** dT 0.000 * top TEST ./tests/vsthrottle/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35021 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/vsthrottle **** top macro def tmpdir=/tmp/vtc.1545805.42b2e244 ** top === varnishtest "Test vsthrottle return_token()" * top VTEST Test vsthrottle return_token() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=37569 **** s1 macro def s1_sock=127.0.0.1:37569 * s1 Listen on 127.0.0.1:37569 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:37569 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545805.42b2e244/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44047' -P /tmp/vtc.1545805.42b2e244/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545805.42b2e244/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 44047' -P /tmp/vtc.1545805.42b2e244/v1/varnishd.pid *** v1 PID: 1545945 **** v1 macro def v1_pid=1545945 **** v1 macro def v1_name=/tmp/vtc.1545805.42b2e244/v1 **** dT 0.043 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.119 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|ivqzftlpxpaobwfjhblmbiqdtmqpzlnb **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth fa2b16f1978ae64fd2307402e5f70b29c6409a5211aa1b9846fa923aebb60de2 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.120 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "37569"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport vsthrottle from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_vsthrottle.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.foo-count0 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset resp.http.f1 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.foo-count1 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tif (!vsthrottle.is_denied("foo", 1, 1s)) { **** v1 CLI TX|\t\t\tset resp.http.f2 = "OK"; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tset resp.http.foo-count2 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tvsthrottle.return_token("foo", 1, 1s); **** v1 CLI TX| **** v1 CLI TX|\t\tset resp.http.foo-count3 = vsthrottle.remaining("foo", 1, 1s); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/vsthrottle/test04.vtc ** s1 Waiting for server (3/-1) **** dT 0.129 ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.220 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545945 status=0x0000 (user 0.008066 sys 0.029853) * top TEST ./tests/vsthrottle/test04.vtc FAILED # top TEST ./tests/vsthrottle/test04.vtc FAILED (0.220) exit=2 FAIL tests/vsthrottle/test04.vtc (exit status: 2) FAIL: tests/xkey/test01 ======================= **** dT 0.000 * top TEST ./tests/xkey/test01.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:37971 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545798.53d3099b ** top === varnishtest "Test xkey vmod" * top VTEST Test xkey vmod ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=40557 **** s1 macro def s1_sock=127.0.0.1:40557 * s1 Listen on 127.0.0.1:40557 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:40557 (1 iterations) **** dT 0.003 ** v1 Launch **** dT 0.004 *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545798.53d3099b/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 37067' -P /tmp/vtc.1545798.53d3099b/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545798.53d3099b/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 37067' -P /tmp/vtc.1545798.53d3099b/v1/varnishd.pid *** v1 PID: 1545919 **** v1 macro def v1_pid=1545919 **** v1 macro def v1_name=/tmp/vtc.1545798.53d3099b/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|hqnlstaxjnmvwzrbdowwypjxjnjcfkzv **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 5149da586b814967ae377266daece0e975ba5ba8acc27d616ee942152b8f5b37 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "40557"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test01.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.129 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545919 status=0x0000 (user 0.004827 sys 0.034774) * top TEST ./tests/xkey/test01.vtc FAILED # top TEST ./tests/xkey/test01.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test01.vtc (exit status: 2) FAIL: tests/xkey/test02 ======================= **** dT 0.000 * top TEST ./tests/xkey/test02.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:36603 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545800.2220c78a ** top === varnishtest "Test xkey vmod multiple keys" * top VTEST Test xkey vmod multiple keys ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=40409 **** s1 macro def s1_sock=127.0.0.1:40409 * s1 Listen on 127.0.0.1:40409 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:40409 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545800.2220c78a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35137' -P /tmp/vtc.1545800.2220c78a/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545800.2220c78a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35137' -P /tmp/vtc.1545800.2220c78a/v1/varnishd.pid **** dT 0.004 *** v1 PID: 1545927 **** v1 macro def v1_pid=1545927 **** v1 macro def v1_name=/tmp/vtc.1545800.2220c78a/v1 **** dT 0.039 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|nufjpwucwogkafqtmumgtkscdiilesnn **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.119 **** v1 CLI TX|auth d670425312fc4962adf7f50ec332bed22b9b6103f1ce9ce689a9567bd54084f8 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "40409"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test02.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545927 status=0x0000 (user 0.009649 sys 0.026891) * top TEST ./tests/xkey/test02.vtc FAILED # top TEST ./tests/xkey/test02.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test02.vtc (exit status: 2) FAIL: tests/xkey/test03 ======================= **** dT 0.000 * top TEST ./tests/xkey/test03.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:46537 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545803.4cd318ac ** top === varnishtest "Test xkey vmod multiple objects multiple keys" * top VTEST Test xkey vmod multiple objects multiple keys ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=44737 **** s1 macro def s1_sock=127.0.0.1:44737 * s1 Listen on 127.0.0.1:44737 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:44737 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545803.4cd318ac/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35581' -P /tmp/vtc.1545803.4cd318ac/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545803.4cd318ac/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35581' -P /tmp/vtc.1545803.4cd318ac/v1/varnishd.pid *** v1 PID: 1545943 **** v1 macro def v1_pid=1545943 **** v1 macro def v1_name=/tmp/vtc.1545803.4cd318ac/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|dglxqwoseayckzuvhsajtackmvjozcwk **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 067bf9fc765808274d4fc18e6d7919460d1c0ee7c8ec8e374adc2b48582930aa *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "44737"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.129 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test03.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545943 status=0x0000 (user 0.011241 sys 0.028171) * top TEST ./tests/xkey/test03.vtc FAILED # top TEST ./tests/xkey/test03.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test03.vtc (exit status: 2) FAIL: tests/xkey/test04 ======================= **** dT 0.000 * top TEST ./tests/xkey/test04.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39097 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545813.654d792a ** top === varnishtest "Test xkey vmod multiple objects multiple keys c... * top VTEST Test xkey vmod multiple objects multiple keys cleanup ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34499 **** s1 macro def s1_sock=127.0.0.1:34499 * s1 Listen on 127.0.0.1:34499 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34499 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545813.654d792a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35525' -P /tmp/vtc.1545813.654d792a/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545813.654d792a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35525' -P /tmp/vtc.1545813.654d792a/v1/varnishd.pid **** dT 0.006 *** v1 PID: 1545956 **** v1 macro def v1_pid=1545956 **** v1 macro def v1_name=/tmp/vtc.1545813.654d792a/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|nkgytmpevycrgwxkuotvvgtrwlbxuoqn **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth c6b18af621230e12215fea044f6014bbc5fa847a2b1797ebfef0ad3c62e6a5d3 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34499"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test04.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545956 status=0x0000 (user 0.006229 sys 0.031946) * top TEST ./tests/xkey/test04.vtc FAILED # top TEST ./tests/xkey/test04.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test04.vtc (exit status: 2) FAIL: tests/xkey/test05 ======================= **** dT 0.000 * top TEST ./tests/xkey/test05.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39887 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545820.022042c6 ** top === varnishtest "Test xkey vmod multiple keys" * top VTEST Test xkey vmod multiple keys ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=34385 **** s1 macro def s1_sock=127.0.0.1:34385 * s1 Listen on 127.0.0.1:34385 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:34385 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545820.022042c6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43943' -P /tmp/vtc.1545820.022042c6/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545820.022042c6/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43943' -P /tmp/vtc.1545820.022042c6/v1/varnishd.pid *** v1 PID: 1545929 **** v1 macro def v1_pid=1545929 **** v1 macro def v1_name=/tmp/vtc.1545820.022042c6/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|ktyccnqbwabvbqkcihpuggxsswhlubva **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 08af53f265872c82c65a0d8ff1de08080ae9668ad9d9614a8c976b8c9ac7cd43 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "34385"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.128 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test05.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.129 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.130 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545929 status=0x0000 (user 0.005426 sys 0.033941) * top TEST ./tests/xkey/test05.vtc FAILED # top TEST ./tests/xkey/test05.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test05.vtc (exit status: 2) FAIL: tests/xkey/test06 ======================= **** dT 0.000 * top TEST ./tests/xkey/test06.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:33421 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545804.65118c43 ** top === varnishtest "Test xkey.softpurge()" * top VTEST Test xkey.softpurge() ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=42509 **** s1 macro def s1_sock=127.0.0.1:42509 * s1 Listen on 127.0.0.1:42509 ** top === varnish v1 -arg "-p default_keep=0 -p default_grace=0" -vcl+... ** s1 Started on 127.0.0.1:42509 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545804.65118c43/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38733' -P /tmp/vtc.1545804.65118c43/v1/varnishd.pid -p default_keep=0 -p default_grace=0 *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545804.65118c43/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 38733' -P /tmp/vtc.1545804.65118c43/v1/varnishd.pid -p default_keep=0 -p default_grace=0 *** v1 PID: 1545933 **** v1 macro def v1_pid=1545933 **** v1 macro def v1_name=/tmp/vtc.1545804.65118c43/v1 **** dT 0.041 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|rihwisvdizqhfmrtsemfrxosuccvsxwx **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 7e0ae5bbb7f5a1ec49309ba60a78135be9684dfeb3b6f99311aa435d43a076a1 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "42509"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.softpurge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0.5s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.122 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test06.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545933 status=0x0000 (user 0.003964 sys 0.034722) * top TEST ./tests/xkey/test06.vtc FAILED # top TEST ./tests/xkey/test06.vtc FAILED (0.218) exit=2 FAIL tests/xkey/test06.vtc (exit status: 2) FAIL: tests/xkey/test07 ======================= **** dT 0.000 * top TEST ./tests/xkey/test07.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:34331 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545810.49979f5c ** top === varnishtest "Test xkey vmod multiple objects purging multipl... * top VTEST Test xkey vmod multiple objects purging multiple keys ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41863 **** s1 macro def s1_sock=127.0.0.1:41863 * s1 Listen on 127.0.0.1:41863 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41863 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545810.49979f5c/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35641' -P /tmp/vtc.1545810.49979f5c/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545810.49979f5c/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 35641' -P /tmp/vtc.1545810.49979f5c/v1/varnishd.pid *** v1 PID: 1545922 **** v1 macro def v1_pid=1545922 **** v1 macro def v1_name=/tmp/vtc.1545810.49979f5c/v1 **** dT 0.042 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.118 *** v1 CLI RX 107 **** v1 CLI RX|uwquyyhobfeqlxrqawveihwarbxkvskz **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth f64289966cf64ed10a648b330e4b85244c3bbf4a517beaaaccf112a8af1a18e4 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41863"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.123 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test07.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.124 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1545922 status=0x0000 (user 0.005319 sys 0.033395) * top TEST ./tests/xkey/test07.vtc FAILED # top TEST ./tests/xkey/test07.vtc FAILED (0.219) exit=2 FAIL tests/xkey/test07.vtc (exit status: 2) FAIL: tests/xkey/test08 ======================= **** dT 0.000 * top TEST ./tests/xkey/test08.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:44129 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545819.1dc1e9fe ** top === varnishtest "Test xkey vmod purge non-existant key" * top VTEST Test xkey vmod purge non-existant key ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=44153 **** s1 macro def s1_sock=127.0.0.1:44153 * s1 Listen on 127.0.0.1:44153 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:44153 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545819.1dc1e9fe/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39017' -P /tmp/vtc.1545819.1dc1e9fe/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545819.1dc1e9fe/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39017' -P /tmp/vtc.1545819.1dc1e9fe/v1/varnishd.pid *** v1 PID: 1545935 **** v1 macro def v1_pid=1545935 **** v1 macro def v1_name=/tmp/vtc.1545819.1dc1e9fe/v1 **** dT 0.041 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|iulfphtbguiylbuqmsdnxcsczgldhmln **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 76b25083486b119e3419917d6005b5a8befbb846139aa955a4f42c1abcc4c612 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "44153"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.121 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test08.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 0.122 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.123 **** v1 STDOUT EOF **** dT 0.216 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.217 ** v1 WAIT4 pid=1545935 status=0x0000 (user 0.006785 sys 0.031043) * top TEST ./tests/xkey/test08.vtc FAILED # top TEST ./tests/xkey/test08.vtc FAILED (0.217) exit=2 FAIL tests/xkey/test08.vtc (exit status: 2) FAIL: tests/xkey/test09 ======================= **** dT 0.000 * top TEST ./tests/xkey/test09.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35751 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545925.0a523e6d ** top === varnishtest "Test xkey vmod multiple keys, comma separated" * top VTEST Test xkey vmod multiple keys, comma separated ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41341 **** s1 macro def s1_sock=127.0.0.1:41341 * s1 Listen on 127.0.0.1:41341 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41341 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545925.0a523e6d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46105' -P /tmp/vtc.1545925.0a523e6d/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545925.0a523e6d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46105' -P /tmp/vtc.1545925.0a523e6d/v1/varnishd.pid *** v1 PID: 1546007 **** v1 macro def v1_pid=1546007 **** v1 macro def v1_name=/tmp/vtc.1545925.0a523e6d/v1 **** dT 0.037 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|dstgifvwnrexcqqgcwnqsmekdmbupawx **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 5375b4ff3c5be72252ae2d9af0d62dd0932a15aa1aa9401eed06ebdc13ce41a0 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41341"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.127 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test09.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1546007 status=0x0000 (user 0.008639 sys 0.028058) **** dT 0.218 * top TEST ./tests/xkey/test09.vtc FAILED # top TEST ./tests/xkey/test09.vtc FAILED (0.218) exit=2 FAIL tests/xkey/test09.vtc (exit status: 2) FAIL: tests/xkey/test10 ======================= **** dT 0.000 * top TEST ./tests/xkey/test10.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:34557 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545946.6b704530 ** top === varnishtest "Test g_keys counter multiple keys/objects" * top VTEST Test g_keys counter multiple keys/objects ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=37623 **** s1 macro def s1_sock=127.0.0.1:37623 * s1 Listen on 127.0.0.1:37623 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:37623 (1 iterations) **** dT 0.003 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545946.6b704530/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45329' -P /tmp/vtc.1545946.6b704530/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545946.6b704530/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 45329' -P /tmp/vtc.1545946.6b704530/v1/varnishd.pid *** v1 PID: 1546002 **** v1 macro def v1_pid=1546002 **** v1 macro def v1_name=/tmp/vtc.1545946.6b704530/v1 **** dT 0.037 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.117 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|sajpjdbdrbctdfqggiplrzangpesrryw **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 7c45a95372d1dc9fbf8a3365d68a54bc53bec0e1d9330c994f65037c534d7886 **** dT 0.118 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "37623"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.127 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test10.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.129 **** v1 STDOUT EOF **** dT 0.218 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1546002 status=0x0000 (user 0.005600 sys 0.030935) * top TEST ./tests/xkey/test10.vtc FAILED # top TEST ./tests/xkey/test10.vtc FAILED (0.218) exit=2 FAIL tests/xkey/test10.vtc (exit status: 2) FAIL: tests/xkey/test11 ======================= **** dT 0.000 * top TEST ./tests/xkey/test11.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:39439 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545948.385a0964 ** top === varnishtest "Test xkey counter initialization and cleanup" * top VTEST Test xkey counter initialization and cleanup ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41307 **** s1 macro def s1_sock=127.0.0.1:41307 * s1 Listen on 127.0.0.1:41307 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41307 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545948.385a0964/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42207' -P /tmp/vtc.1545948.385a0964/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545948.385a0964/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 42207' -P /tmp/vtc.1545948.385a0964/v1/varnishd.pid *** v1 PID: 1546019 **** v1 macro def v1_pid=1546019 **** v1 macro def v1_name=/tmp/vtc.1545948.385a0964/v1 **** dT 0.037 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.116 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.117 *** v1 CLI RX 107 **** v1 CLI RX|gvgvtukqegrcdrzaqoammdoixtnlxvvp **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth a3d259dde819524bc218e0359d0c34648ec7ea73b0f325760cec1557488b1aa6 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41307"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.126 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test11.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.217 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1546019 status=0x0000 (user 0.003678 sys 0.031712) **** dT 0.218 * top TEST ./tests/xkey/test11.vtc FAILED # top TEST ./tests/xkey/test11.vtc FAILED (0.218) exit=2 FAIL tests/xkey/test11.vtc (exit status: 2) FAIL: tests/xkey/test12 ======================= **** dT 0.000 * top TEST ./tests/xkey/test12.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41941 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545957.10009d00 ** top === varnishtest "Test xkey bytes gauge" * top VTEST Test xkey bytes gauge ** top === feature 64bit ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=40481 **** s1 macro def s1_sock=127.0.0.1:40481 * s1 Listen on 127.0.0.1:40481 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:40481 (1 iterations) **** dT 0.009 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545957.10009d00/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33049' -P /tmp/vtc.1545957.10009d00/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545957.10009d00/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33049' -P /tmp/vtc.1545957.10009d00/v1/varnishd.pid *** v1 PID: 1546026 **** v1 macro def v1_pid=1546026 **** v1 macro def v1_name=/tmp/vtc.1545957.10009d00/v1 **** dT 0.036 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.119 *** v1 CLI RX 107 **** v1 CLI RX|hwgnmwtfqmplujdwmasiuwyerfynauqz **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth bff5905d4da64c87635b98e75540bd13406865e25c70efc930b42bb0f4806b3d *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "40481"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 60s; **** v1 CLI TX|\t\tset beresp.grace = 0s; **** v1 CLI TX|\t\tset beresp.keep = 0s; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.124 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test12.vtc **** dT 0.125 ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.126 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1546026 status=0x0000 (user 0.003728 sys 0.029106) * top TEST ./tests/xkey/test12.vtc FAILED # top TEST ./tests/xkey/test12.vtc FAILED (0.220) exit=2 FAIL tests/xkey/test12.vtc (exit status: 2) FAIL: tests/xkey/test13 ======================= **** dT 0.000 * top TEST ./tests/xkey/test13.vtc starting **** top extmacro def pkg_version=7.2.1 **** top extmacro def pkg_branch=7.2 **** top extmacro def pwd=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def vmod_builddir=/builddir/build/BUILD/varnish-modules-0.21.0/src **** top extmacro def vmod_directors=directors from "/usr/lib64/varnish/vmods/libvmod_directors.so" **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38157 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top macro def testdir=/builddir/build/BUILD/varnish-modules-0.21.0/src/./tests/xkey **** top macro def tmpdir=/tmp/vtc.1545966.1ded6160 ** top === varnishtest "Test that xkey gauges do not underflow when usi... * top VTEST Test that xkey gauges do not underflow when using pools ** top === server s1 -repeat 2 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=41861 **** s1 macro def s1_sock=127.0.0.1:41861 * s1 Listen on 127.0.0.1:41861 ** top === varnish v1 -vcl+backend { ** s1 Started on 127.0.0.1:41861 (2 iterations) **** dT 0.008 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /tmp/vtc.1545966.1ded6160/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43037' -P /tmp/vtc.1545966.1ded6160/v1/varnishd.pid *** v1 CMD: cd /builddir/build/BUILD/varnish-modules-0.21.0/src && exec varnishd -d -n /tmp/vtc.1545966.1ded6160/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 43037' -P /tmp/vtc.1545966.1ded6160/v1/varnishd.pid **** dT 0.009 *** v1 PID: 1546028 **** v1 macro def v1_pid=1546028 **** v1 macro def v1_name=/tmp/vtc.1545966.1ded6160/v1 **** dT 0.036 *** v1 debug|Debug: Version: varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug|Debug: Platform: Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 319 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.118 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|wmpixfbnkupxvraapofqwcydhdgbivvu **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 203fd3a02d281cfb3125c4aa0017048a3b290a18c19417a4e8c6fb02facf9fa8 **** dT 0.119 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,5.4.119-19-0009.11,x86_64,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-7.2.1 revision 399fa7ed46d68f4c4f42a8fd2748339750d99a8b **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "41861"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport xkey from "/builddir/build/BUILD/varnish-modules-0.21.0/src/.libs/libvmod_xkey.so"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.http.xkey-purge) { **** v1 CLI TX|\t\t\tif (xkey.purge(req.http.xkey-purge) != 0) { **** v1 CLI TX|\t\t\t\treturn (synth(200, "Purged")); **** v1 CLI TX|\t\t\t} else { **** v1 CLI TX|\t\t\t\treturn (synth(404, "No key")); **** v1 CLI TX|\t\t\t} **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset resp.http.reason = resp.reason; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.126 *** v1 CLI RX 106 **** v1 CLI RX|Message from C-compiler: **** v1 CLI RX|gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory **** v1 CLI RX|compilation terminated. **** v1 CLI RX|Running C-compiler failed, exited with 1 **** v1 CLI RX|VCL compilation failed ---- v1 FAIL VCL does not compile * top RESETTING after ./tests/xkey/test13.vtc ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 0.127 **** v1 STDOUT EOF **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) ** v1 WAIT4 pid=1546028 status=0x0000 (user 0.006943 sys 0.027179) * top TEST ./tests/xkey/test13.vtc FAILED # top TEST ./tests/xkey/test13.vtc FAILED (0.219) exit=2 FAIL tests/xkey/test13.vtc (exit status: 2) ============================================================================ Testsuite summary for varnish-modules 0.21.0 ============================================================================ # TOTAL: 56 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 56 # XPASS: 0 # ERROR: 0 ============================================================================ See src/test-suite.log ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/varnish-modules-0.21.0/src' RPM build errors: make[3]: *** [Makefile:1063: test-suite.log] Error 1 make[2]: *** [Makefile:1171: check-TESTS] Error 2 make[1]: *** [Makefile:1236: check-am] Error 2 make: *** [Makefile:543: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.CpHYap (%check) Bad exit status from /var/tmp/rpm-tmp.CpHYap (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/varnish-modules.spec