Diff of the two buildlogs: -- --- b1/build.log 2021-08-19 06:40:28.469548255 +0000 +++ b2/build.log 2021-08-19 06:52:19.194856742 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 18 18:28:41 -12 2021 -I: pbuilder-time-stamp: 1629354521 +I: Current time: Thu Aug 19 20:40:58 +14 2021 +I: pbuilder-time-stamp: 1629355258 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -18,8 +18,8 @@ I: copying [./crowdsec_1.0.9-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.qU7M_zyg/trustedkeys.kbx': General error -gpgv: Signature made Mon May 3 00:00:05 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.jFLTiD15/trustedkeys.kbx': General error +gpgv: Signature made Tue May 4 02:00:05 2021 +14 gpgv: using RSA key B60EBF2984453C70D74CF478FF914AF0C2B35520 gpgv: issuer "kibi@debian.org" gpgv: Can't check signature: No public key @@ -41,135 +41,169 @@ dpkg-source: info: applying 0009-Improve-http-bad-user-agent-use-regexp-197.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1435/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='88a6df118b984bd092de9e787ad87100' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1435' - PS1='# ' - PS2='> ' + INVOCATION_ID=43dac7a18e3741fe91465d31ecd1a3d1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=18978 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jv5zEGY7ND/pbuilderrc_CW5r --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jv5zEGY7ND/b1 --logfile b1/build.log crowdsec_1.0.9-2.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jv5zEGY7ND/pbuilderrc_HnZB --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jv5zEGY7ND/b2 --logfile b2/build.log crowdsec_1.0.9-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux jtx1b 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 13 21:35 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/1435/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 19 20:41 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 14 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -658,7 +692,7 @@ Get: 359 http://deb.debian.org/debian bullseye/main armhf golang-github-oschwald-maxminddb-golang-dev all 1.8.0-1 [22.9 kB] Get: 360 http://deb.debian.org/debian bullseye/main armhf golang-github-oschwald-geoip2-golang-dev all 1.4.0-1 [8124 B] Get: 361 http://deb.debian.org/debian bullseye/main armhf golang-github-prometheus-prom2json-dev all 1.3.0+ds1-2 [9996 B] -Fetched 127 MB in 37s (3418 kB/s) +Fetched 127 MB in 20s (6410 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) @@ -2126,7 +2160,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/crowdsec-1.0.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../crowdsec_1.0.9-2_source.changes +hostname: Name or service not known +I: Running cd /build/crowdsec-1.0.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../crowdsec_1.0.9-2_source.changes dpkg-buildpackage: info: source package crowdsec dpkg-buildpackage: info: source version 1.0.9-2 dpkg-buildpackage: info: source distribution unstable @@ -2146,25 +2181,25 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/crowdsec-1.0.9' dh_auto_build -- -ldflags '-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=1.0.9-2 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X github.com/crowdsecurity/crowdsec/pkg/cwversion.GoVersion=1.15.9 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2021-05-03_07:29:06 ' - cd _build && go install -trimpath -v -p 3 -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=1.0.9-2 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X github.com/crowdsecurity/crowdsec/pkg/cwversion.GoVersion=1.15.9 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2021-05-03_07:29:06 " github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=1.0.9-2 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X github.com/crowdsecurity/crowdsec/pkg/cwversion.GoVersion=1.15.9 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2021-05-03_07:29:06 " github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types internal/cpu +internal/unsafeheader runtime/internal/sys internal/race +math/bits runtime/internal/math sync/atomic +unicode/utf8 internal/bytealg -math/bits runtime/internal/atomic math -unicode/utf8 unicode internal/testlog internal/nettrace runtime/cgo +runtime encoding unicode/utf16 -runtime container/list crypto/internal/subtle crypto/subtle @@ -2173,246 +2208,246 @@ golang.org/x/sys/internal/unsafeheader github.com/go-playground/locales/currency github.com/facebook/ent/schema -github.com/facebook/ent/dialect/entsql github.com/facebook/ent/schema/index github.com/lib/pq/oid +github.com/facebook/ent/dialect/entsql github.com/docker/docker/api github.com/docker/docker/api/types/events github.com/docker/docker/api/types/image github.com/shurcooL/sanitized_anchor_name golang.org/x/mod/semver github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime -sync internal/reflectlite +sync +github.com/josharian/intern internal/singleflight math/rand -github.com/josharian/intern sort errors internal/oserror +io strconv syscall +vendor/golang.org/x/net/dns/dnsmessage +strings reflect +bytes +hash +hash/crc32 +regexp/syntax +bufio time -context -internal/fmtsort internal/syscall/unix -io internal/syscall/execenv -vendor/golang.org/x/net/dns/dnsmessage +crypto +crypto/internal/randutil +crypto/hmac crypto/rc4 -strings +vendor/golang.org/x/crypto/hkdf +regexp +vendor/golang.org/x/text/transform +context internal/poll -bytes -encoding/binary +path +html os -bufio -hash -hash/crc32 -regexp/syntax -encoding/base64 +golang.org/x/text/transform +github.com/beorn7/perks/quantile +golang.org/x/text/width +github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg +internal/fmtsort +encoding/binary +github.com/nxadm/tail/ratelimiter +github.com/gin-gonic/gin/internal/bytesconv +github.com/go-playground/locales +github.com/facebook/ent/schema/edge +golang.org/x/crypto/blowfish +github.com/mohae/deepcopy fmt net -regexp +encoding/base64 +crypto/cipher +crypto/sha512 +crypto/aes +crypto/des +crypto/ed25519/internal/edwards25519 +crypto/md5 flag compress/flate encoding/json +math/big compress/gzip -crypto -crypto/cipher +crypto/sha1 +crypto/sha256 github.com/antonmedv/expr/file +encoding/hex github.com/antonmedv/expr/ast github.com/antonmedv/expr/vm github.com/antonmedv/expr/parser/lexer +crypto/elliptic github.com/antonmedv/expr/parser -crypto/aes -crypto/des -math/big +encoding/asn1 +crypto/rand +crypto/ed25519 +crypto/rsa +vendor/golang.org/x/crypto/cryptobyte github.com/antonmedv/expr/conf +crypto/dsa github.com/antonmedv/expr/checker github.com/antonmedv/expr/compiler github.com/antonmedv/expr/optimizer -github.com/antonmedv/expr -crypto/internal/randutil -crypto/elliptic -crypto/sha512 -github.com/coreos/go-systemd/daemon -encoding/asn1 -crypto/ed25519/internal/edwards25519 -crypto/rand -crypto/hmac -crypto/md5 -vendor/golang.org/x/crypto/cryptobyte -crypto/rsa -crypto/ed25519 -crypto/sha1 crypto/ecdsa -crypto/sha256 -crypto/dsa -encoding/hex +crypto/x509/pkix +github.com/antonmedv/expr encoding/pem path/filepath -crypto/x509/pkix net/url -io/ioutil vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 -crypto/x509 -vendor/golang.org/x/crypto/chacha20poly1305 +io/ioutil vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform +vendor/golang.org/x/crypto/chacha20poly1305 log vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/unicode/bidi -crypto/tls -vendor/golang.org/x/text/secure/bidirule -net/textproto vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/idna +vendor/golang.org/x/text/unicode/bidi mime -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/text/secure/bidirule mime/quotedprintable +github.com/coreos/go-systemd/daemon +crypto/x509 +net/textproto net/http/internal -mime/multipart -path -net/http/httptrace +vendor/golang.org/x/net/idna database/sql/driver -html +mime/multipart github.com/mailru/easyjson/jlexer -github.com/asaskevich/govalidator -net/http github.com/mailru/easyjson/buffer +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy github.com/mailru/easyjson/jwriter github.com/mitchellh/mapstructure gopkg.in/mgo.v2/internal/json gopkg.in/yaml.v2 +crypto/tls +github.com/asaskevich/govalidator gopkg.in/mgo.v2/bson github.com/PuerkitoBio/urlesc -golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/text/secure/bidirule -golang.org/x/text/width encoding/xml -github.com/go-openapi/errors -github.com/go-openapi/swag -github.com/go-openapi/strfmt -github.com/go-openapi/jsonpointer -golang.org/x/net/idna github.com/google/go-querystring/query +golang.org/x/net/idna github.com/pkg/errors -github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime -github.com/PuerkitoBio/purell golang.org/x/sys/unix -github.com/go-openapi/jsonreference -net/http/httputil -github.com/go-openapi/spec github.com/buger/jsonparser +net/http/httptrace +net/http +github.com/PuerkitoBio/purell github.com/davecgh/go-spew/spew -github.com/go-openapi/analysis encoding/gob -github.com/sirupsen/logrus -github.com/crowdsecurity/crowdsec/pkg/exprhelpers -github.com/go-openapi/loads -github.com/go-openapi/validate github.com/hashicorp/go-version -github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/logrusorgru/grokky gopkg.in/natefinch/lumberjack.v2 runtime/debug github.com/enescakir/emoji github.com/crowdsecurity/crowdsec/pkg/time/rate -github.com/crowdsecurity/crowdsec/pkg/models +github.com/sirupsen/logrus github.com/goombaio/namegenerator -expvar -github.com/beorn7/perks/quantile -github.com/crowdsecurity/crowdsec/pkg/apiclient -github.com/crowdsecurity/crowdsec/pkg/types -github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/cespare/xxhash github.com/golang/protobuf/proto -github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg -github.com/crowdsecurity/crowdsec/pkg/cwhub -github.com/prometheus/common/model +github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/prometheus/procfs/internal/fs +github.com/prometheus/common/model github.com/prometheus/procfs/internal/util -gopkg.in/tomb.v2 github.com/prometheus/procfs -github.com/nxadm/tail/ratelimiter +gopkg.in/tomb.v2 github.com/nxadm/tail/util github.com/fsnotify/fsnotify gopkg.in/tomb.v1 github.com/nxadm/tail/watch github.com/nxadm/tail -os/exec +github.com/go-openapi/errors +github.com/go-openapi/swag +net/http/httputil +github.com/crowdsecurity/crowdsec/pkg/cwversion +github.com/go-openapi/strfmt +expvar github.com/golang/protobuf/ptypes/any +github.com/go-openapi/jsonpointer github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -github.com/matttproud/golang_protobuf_extensions/pbutil -github.com/golang/protobuf/ptypes +github.com/go-openapi/jsonreference github.com/prometheus/client_model/go -runtime/trace -github.com/gin-contrib/sse -testing -github.com/gin-gonic/gin/internal/bytesconv +github.com/golang/protobuf/ptypes +github.com/go-openapi/spec +github.com/matttproud/golang_protobuf_extensions/pbutil +os/exec github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt +github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime +runtime/trace +testing +github.com/gin-contrib/sse github.com/gin-gonic/gin/internal/json -github.com/go-playground/locales github.com/go-playground/universal-translator +github.com/go-openapi/analysis +github.com/prometheus/client_golang/prometheus github.com/dgrijalva/jwt-go github.com/leodido/go-urn -github.com/prometheus/client_golang/prometheus golang.org/x/crypto/sha3 go/token -github.com/go-playground/validator/v10 text/template/parse -github.com/crowdsecurity/crowdsec/pkg/leakybucket -text/template -github.com/crowdsecurity/crowdsec/pkg/acquisition +github.com/go-openapi/loads +github.com/go-playground/validator/v10 +github.com/go-openapi/validate github.com/mattn/go-isatty database/sql +text/template +github.com/crowdsecurity/crowdsec/pkg/models github.com/google/uuid -html/template -github.com/facebook/ent/dialect github.com/facebook/ent/entql +github.com/facebook/ent/dialect +github.com/crowdsecurity/crowdsec/pkg/apiclient +github.com/crowdsecurity/crowdsec/pkg/types +html/template github.com/facebook/ent/dialect/sql +github.com/crowdsecurity/crowdsec/pkg/csconfig +github.com/crowdsecurity/crowdsec/pkg/cwhub net/rpc github.com/facebook/ent/schema/field +github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/ugorji/go/codec -github.com/facebook/ent/schema/edge github.com/facebook/ent +github.com/crowdsecurity/crowdsec/pkg/database/ent/schema +github.com/crowdsecurity/crowdsec/pkg/acquisition +github.com/go-co-op/gocron +github.com/go-sql-driver/mysql github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/facebook/ent/dialect/sql/sqlgraph github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer -github.com/facebook/ent/dialect/sql/schema github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta -github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate -github.com/crowdsecurity/crowdsec/pkg/database/ent/schema -github.com/go-co-op/gocron -github.com/go-sql-driver/mysql -github.com/crowdsecurity/crowdsec/pkg/database/ent +github.com/facebook/ent/dialect/sql/schema github.com/lib/pq/scram os/user -github.com/gin-gonic/gin/binding -github.com/gin-gonic/gin/render -github.com/gin-gonic/gin -github.com/lib/pq -github.com/appleboy/gin-jwt github.com/mattn/go-sqlite3 -golang.org/x/crypto/blowfish +github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate +github.com/crowdsecurity/crowdsec/pkg/database/ent +github.com/lib/pq golang.org/x/crypto/bcrypt +github.com/gin-gonic/gin/binding +github.com/gin-gonic/gin/render github.com/crowdsecurity/crowdsec/pkg/csprofiles -github.com/mohae/deepcopy +github.com/gin-gonic/gin github.com/oschwald/maxminddb-golang -internal/profile github.com/oschwald/geoip2-golang +internal/profile +github.com/appleboy/gin-jwt text/tabwriter runtime/pprof plugin @@ -2428,129 +2463,129 @@ golang.org/x/term github.com/crowdsecurity/crowdsec/pkg/machineid archive/zip +github.com/dghubble/sling golang.org/x/crypto/ssh/terminal github.com/AlecAivazis/survey -github.com/dghubble/sling github.com/docker/docker/api/types/blkiodev github.com/docker/docker/api/types/mount github.com/docker/docker/api/types/strslice github.com/docker/go-connections/nat github.com/docker/go-units github.com/docker/docker/api/types/versions -github.com/docker/docker/api/types/container github.com/docker/docker/api/types/filters +github.com/docker/docker/api/types/container github.com/docker/docker/api/types/network github.com/opencontainers/go-digest github.com/opencontainers/image-spec/specs-go +google.golang.org/grpc/codes github.com/gogo/protobuf/proto github.com/opencontainers/image-spec/specs-go/v1 -github.com/docker/docker/api/types/registry -google.golang.org/grpc/codes google.golang.org/genproto/googleapis/rpc/status +github.com/docker/docker/api/types/registry google.golang.org/grpc/grpclog +github.com/containerd/containerd/log +github.com/docker/distribution/digestset google.golang.org/grpc/connectivity google.golang.org/grpc/internal google.golang.org/grpc/status +github.com/docker/distribution/reference github.com/containerd/containerd/errdefs -github.com/containerd/containerd/log github.com/containerd/containerd/platforms -github.com/docker/distribution/digestset -github.com/docker/distribution/reference github.com/docker/docker/api/types/time github.com/docker/distribution/registry/api/errcode -github.com/docker/docker/errdefs golang.org/x/net/internal/socks +github.com/docker/docker/errdefs golang.org/x/net/proxy -github.com/crowdsecurity/crowdsec/pkg/database -github.com/docker/go-connections/sockets -github.com/docker/docker/api/types/swarm/runtime github.com/docker/go-connections/tlsconfig -github.com/docker/docker/api/types/swarm +github.com/docker/go-connections/sockets encoding/csv -github.com/docker/docker/api/types github.com/mattn/go-runewidth -github.com/olekukonko/tablewriter -github.com/docker/docker/api/types/volume -github.com/docker/docker/client -github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/prometheus/prom2json +github.com/olekukonko/tablewriter github.com/spf13/pflag -github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 -github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers -github.com/crowdsecurity/crowdsec/pkg/metabase -github.com/spf13/cobra -github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/russross/blackfriday/v2 -github.com/crowdsecurity/crowdsec/cmd/crowdsec +github.com/crowdsecurity/crowdsec/pkg/database +github.com/cpuguy83/go-md2man/v2/md2man github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/hook -github.com/cpuguy83/go-md2man/v2/md2man +github.com/docker/docker/api/types/swarm/runtime +github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 +github.com/spf13/cobra +github.com/docker/docker/api/types/swarm +github.com/docker/docker/api/types +github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 +github.com/docker/docker/api/types/volume +github.com/docker/docker/client github.com/spf13/cobra/doc +github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers +github.com/crowdsecurity/crowdsec/pkg/apiserver +github.com/crowdsecurity/crowdsec/cmd/crowdsec +github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli make[1]: Leaving directory '/build/crowdsec-1.0.9' dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types + cd _build && go test -vet=off -v -p 4 github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types ? github.com/crowdsecurity/crowdsec/cmd/crowdsec [no test files] ? github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli [no test files] === RUN TestConfigLoading -time="2021-08-19T06:38:59Z" level=info msg="loading acquisition file : ./tests/xxx.yaml" -time="2021-08-19T06:38:59Z" level=info msg="loading acquisition file : ./tests/test.log" -time="2021-08-19T06:38:59Z" level=info msg="loading acquisition file : ./tests/acquis_test.yaml" -time="2021-08-19T06:38:59Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:49Z" level=info msg="loading acquisition file : ./tests/xxx.yaml" +time="2021-08-19T06:49:49Z" level=info msg="loading acquisition file : ./tests/test.log" +time="2021-08-19T06:49:49Z" level=info msg="loading acquisition file : ./tests/acquis_test.yaml" +time="2021-08-19T06:49:49Z" level=info msg="[file datasource] opening file './tests/test.log'" --- PASS: TestConfigLoading (0.00s) === RUN TestDataSourceConfigure -time="2021-08-19T06:38:59Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" -time="2021-08-19T06:38:59Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" -time="2021-08-19T06:38:59Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:38:59Z" level=info msg="expected config error ok : configuring file datasource: unknown mode ratata for file acquisition" -time="2021-08-19T06:38:59Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:38:59Z" level=info msg="kill iiittt" -time="2021-08-19T06:38:59Z" level=info msg="reading ./tests/test.log at once" -time="2021-08-19T06:39:00Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:39:00Z" level=info msg="kill iiittt" -time="2021-08-19T06:39:00Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log -time="2021-08-19T06:39:01Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" -time="2021-08-19T06:39:01Z" level=info msg="kill iiittt" -time="2021-08-19T06:39:01Z" level=warning msg="got stderr message : \x1b[0;1;39mNo journal files were found.\x1b[0m" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" ---- PASS: TestDataSourceConfigure (3.00s) +time="2021-08-19T06:49:49Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" +time="2021-08-19T06:49:49Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" +time="2021-08-19T06:49:49Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:49Z" level=info msg="expected config error ok : configuring file datasource: unknown mode ratata for file acquisition" +time="2021-08-19T06:49:49Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:49Z" level=info msg="kill iiittt" +time="2021-08-19T06:49:49Z" level=info msg="reading ./tests/test.log at once" +time="2021-08-19T06:49:50Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:50Z" level=info msg="kill iiittt" +time="2021-08-19T06:49:50Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log +time="2021-08-19T06:49:51Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" +time="2021-08-19T06:49:51Z" level=info msg="kill iiittt" +time="2021-08-19T06:49:51Z" level=warning msg="got stderr message : \x1b[0;1;39mNo journal files were found.\x1b[0m" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +--- PASS: TestDataSourceConfigure (3.02s) === RUN TestAcquisCat -time="2021-08-19T06:39:02Z" level=info msg="expected config error ok : no filename or filenames" -time="2021-08-19T06:39:02Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" -time="2021-08-19T06:39:02Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" -time="2021-08-19T06:39:02Z" level=warning msg="[file datasource] no results for /does/not/exists" -time="2021-08-19T06:39:02Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" -time="2021-08-19T06:39:02Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:39:02Z" level=info msg="reading ./tests/test.log at once" -time="2021-08-19T06:39:03Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" -time="2021-08-19T06:39:03Z" level=info msg="reading ./tests/badlog.gz at once" -time="2021-08-19T06:39:03Z" level=error msg="Failed to read gz file: EOF" file=./tests/badlog.gz -time="2021-08-19T06:39:04Z" level=info msg="expected tomb error ok : " -time="2021-08-19T06:39:04Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" -time="2021-08-19T06:39:04Z" level=info msg="reading ./tests/test.log.gz at once" ---- PASS: TestAcquisCat (3.02s) +time="2021-08-19T06:49:52Z" level=info msg="expected config error ok : no filename or filenames" +time="2021-08-19T06:49:52Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" +time="2021-08-19T06:49:52Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" +time="2021-08-19T06:49:52Z" level=warning msg="[file datasource] no results for /does/not/exists" +time="2021-08-19T06:49:52Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" +time="2021-08-19T06:49:52Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:52Z" level=info msg="reading ./tests/test.log at once" +time="2021-08-19T06:49:53Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" +time="2021-08-19T06:49:53Z" level=info msg="reading ./tests/badlog.gz at once" +time="2021-08-19T06:49:53Z" level=error msg="Failed to read gz file: EOF" file=./tests/badlog.gz +time="2021-08-19T06:49:54Z" level=info msg="expected tomb error ok : " +time="2021-08-19T06:49:54Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" +time="2021-08-19T06:49:54Z" level=info msg="reading ./tests/test.log.gz at once" +--- PASS: TestAcquisCat (3.01s) === RUN TestTailKill -time="2021-08-19T06:39:05Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:39:06Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log +time="2021-08-19T06:49:55Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:56Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log --- PASS: TestTailKill (2.00s) === RUN TestTailKillBis -time="2021-08-19T06:39:07Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:39:08Z" level=warning msg="File reader of ./tests/test.log died" acquisition file=./tests/test.log ---- PASS: TestTailKillBis (2.00s) +time="2021-08-19T06:49:57Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:49:58Z" level=warning msg="File reader of ./tests/test.log died" acquisition file=./tests/test.log +--- PASS: TestTailKillBis (2.01s) === RUN TestTailRuntime -time="2021-08-19T06:39:09Z" level=info msg="[file datasource] opening file './tests/test.log'" ---- PASS: TestTailRuntime (2.00s) +time="2021-08-19T06:49:59Z" level=info msg="[file datasource] opening file './tests/test.log'" +--- PASS: TestTailRuntime (2.01s) === RUN TestAcquisTail -time="2021-08-19T06:39:11Z" level=info msg="expected config error ok : no filename or filenames" -time="2021-08-19T06:39:11Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" -time="2021-08-19T06:39:11Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" -time="2021-08-19T06:39:11Z" level=warning msg="[file datasource] no results for /does/not/exists" -time="2021-08-19T06:39:11Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" -time="2021-08-19T06:39:11Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-08-19T06:39:12Z" level=info msg="expected tomb error ok : " -time="2021-08-19T06:39:12Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" -time="2021-08-19T06:39:13Z" level=info msg="expected tomb error ok : " -time="2021-08-19T06:39:13Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" -time="2021-08-19T06:39:14Z" level=info msg="expected tomb error ok : " +time="2021-08-19T06:50:01Z" level=info msg="expected config error ok : no filename or filenames" +time="2021-08-19T06:50:01Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" +time="2021-08-19T06:50:01Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" +time="2021-08-19T06:50:01Z" level=warning msg="[file datasource] no results for /does/not/exists" +time="2021-08-19T06:50:01Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" +time="2021-08-19T06:50:01Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2021-08-19T06:50:02Z" level=info msg="expected tomb error ok : " +time="2021-08-19T06:50:02Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" +time="2021-08-19T06:50:03Z" level=info msg="expected tomb error ok : " +time="2021-08-19T06:50:03Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" +time="2021-08-19T06:50:04Z" level=info msg="expected tomb error ok : " --- PASS: TestAcquisTail (3.00s) === RUN TestSimJournalctlCat --- PASS: TestSimJournalctlCat (0.00s) @@ -2559,417 +2594,417 @@ === RUN TestSimJournalctlCatOneLine --- PASS: TestSimJournalctlCatOneLine (0.00s) === RUN TestJournaldTail -time="2021-08-19T06:39:14Z" level=info msg="expected config error ok : journalctl_filter shouldn't be empty" -time="2021-08-19T06:39:14Z" level=info msg="expected config error ok : unknown mode 'ratatata' for journald source" -time="2021-08-19T06:39:14Z" level=info msg="[journald datasource] Configured with filters : [--this-is-bad-option --]" -time="2021-08-19T06:39:14Z" level=warning msg="got stderr message : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- -time="2021-08-19T06:39:14Z" level=warning msg="got stderr message : Usage of /tmp/go-build418819372/b339/acquisition.test:" acquisition file=journalctl---this-is-bad-option.-- -time="2021-08-19T06:39:14Z" level=warning msg="journalctl reader error : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- -time="2021-08-19T06:39:16Z" level=info msg="now let's check number of lines & errors" -time="2021-08-19T06:39:16Z" level=info msg="expected tomb error ok : " +time="2021-08-19T06:50:04Z" level=info msg="expected config error ok : journalctl_filter shouldn't be empty" +time="2021-08-19T06:50:04Z" level=info msg="expected config error ok : unknown mode 'ratatata' for journald source" +time="2021-08-19T06:50:04Z" level=info msg="[journald datasource] Configured with filters : [--this-is-bad-option --]" +time="2021-08-19T06:50:04Z" level=warning msg="got stderr message : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- +time="2021-08-19T06:50:04Z" level=warning msg="got stderr message : Usage of /tmp/go-build479078085/b339/acquisition.test:" acquisition file=journalctl---this-is-bad-option.-- +time="2021-08-19T06:50:04Z" level=warning msg="journalctl reader error : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- +time="2021-08-19T06:50:06Z" level=info msg="now let's check number of lines & errors" +time="2021-08-19T06:50:06Z" level=info msg="expected tomb error ok : " --- PASS: TestJournaldTail (2.00s) === RUN TestJournaldSimple -time="2021-08-19T06:39:16Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCat --]" ---- PASS: TestJournaldSimple (1.07s) +time="2021-08-19T06:50:06Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCat --]" +--- PASS: TestJournaldSimple (1.14s) === RUN TestJournalctlKill -time="2021-08-19T06:39:17Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" -time="2021-08-19T06:39:17Z" level=debug msg="cmd path : /tmp/go-build418819372/b339/acquisition.test" -time="2021-08-19T06:39:17Z" level=debug msg="cmd args : [/tmp/go-build418819372/b339/acquisition.test -test.run=TestSimJournalctlCatOneLine --]" -time="2021-08-19T06:39:18Z" level=debug msg="getting one line : this is a single line being produced" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" -time="2021-08-19T06:39:18Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-08-19T06:39:18Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-08-19T06:39:18Z" level=debug msg=timeout acquisition file=./tests/badlog.gz -time="2021-08-19T06:39:18Z" level=debug msg=timeout acquisition file=./tests/test.log.gz -time="2021-08-19T06:39:18Z" level=debug msg="journalctl datasource journalctl--test.run=TestSimJournalctlCatOneLine.-- stopping" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" -time="2021-08-19T06:39:19Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-08-19T06:39:19Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-08-19T06:39:19Z" level=debug msg=timeout acquisition file=./tests/badlog.gz -time="2021-08-19T06:39:19Z" level=debug msg=timeout acquisition file=./tests/test.log.gz ---- PASS: TestJournalctlKill (2.00s) +time="2021-08-19T06:50:07Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" +time="2021-08-19T06:50:07Z" level=debug msg="cmd path : /tmp/go-build479078085/b339/acquisition.test" +time="2021-08-19T06:50:07Z" level=debug msg="cmd args : [/tmp/go-build479078085/b339/acquisition.test -test.run=TestSimJournalctlCatOneLine --]" +time="2021-08-19T06:50:07Z" level=debug msg="getting one line : this is a single line being produced" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +time="2021-08-19T06:50:08Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2021-08-19T06:50:08Z" level=debug msg=timeout acquisition file=./tests/badlog.gz +time="2021-08-19T06:50:08Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2021-08-19T06:50:08Z" level=debug msg=timeout acquisition file=./tests/test.log.gz +time="2021-08-19T06:50:08Z" level=debug msg="journalctl datasource journalctl--test.run=TestSimJournalctlCatOneLine.-- stopping" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +time="2021-08-19T06:50:09Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2021-08-19T06:50:09Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2021-08-19T06:50:09Z" level=debug msg=timeout acquisition file=./tests/badlog.gz +time="2021-08-19T06:50:09Z" level=debug msg=timeout acquisition file=./tests/test.log.gz +--- PASS: TestJournalctlKill (2.01s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition 20.199s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition 20.521s === RUN TestAlertsListAsMachine -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:44397" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44397/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: GET http://127.0.0.1:44397/v1/alerts" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: GET http://127.0.0.1:44397/v1/alerts?ip=1.2.3.4" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" ---- PASS: TestAlertsListAsMachine (0.01s) +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:40403" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:40403/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: GET http://127.0.0.1:40403/v1/alerts" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: GET http://127.0.0.1:40403/v1/alerts?ip=1.2.3.4" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +--- PASS: TestAlertsListAsMachine (0.03s) === RUN TestAlertsGetAsMachine -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:35405" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35405/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: GET http://127.0.0.1:35405/v1/alerts/1" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: GET http://127.0.0.1:35405/v1/alerts/2" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 404" +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:42693" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42693/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: GET http://127.0.0.1:42693/v1/alerts/1" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: GET http://127.0.0.1:42693/v1/alerts/2" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 404" --- PASS: TestAlertsGetAsMachine (0.01s) === RUN TestAlertsCreateAsMachine -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:45731" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45731/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: POST http://127.0.0.1:45731/v1/alerts" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" ---- PASS: TestAlertsCreateAsMachine (0.00s) +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:40665" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:40665/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: POST http://127.0.0.1:40665/v1/alerts" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +--- PASS: TestAlertsCreateAsMachine (0.01s) === RUN TestAlertsDeleteAsMachine -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:41251" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:41251/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:41251/v1/alerts?ip=1.2.3.4" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" ---- PASS: TestAlertsDeleteAsMachine (0.00s) +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:36235" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36235/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:36235/v1/alerts?ip=1.2.3.4" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +--- PASS: TestAlertsDeleteAsMachine (0.01s) === RUN TestWatcherAuth -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:37813" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37813/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-08-19T06:38:59Z" level=info msg="ok cool" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: POST http://127.0.0.1:37813/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-08-19T06:38:59Z" level=info msg="ok cool" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37813/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-08-19T06:38:59Z" level=info msg=badbad -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 403" ---- PASS: TestWatcherAuth (0.00s) +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:43357" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43357/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2021-08-19T06:49:49Z" level=info msg="ok cool" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: POST http://127.0.0.1:43357/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2021-08-19T06:49:49Z" level=info msg="ok cool" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43357/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2021-08-19T06:49:49Z" level=info msg=badbad +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 403" +--- PASS: TestWatcherAuth (0.01s) === RUN TestWatcherRegister -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:44537" -time="2021-08-19T06:38:59Z" level=info msg="->*apiclient.ApiClient" +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:38667" +time="2021-08-19T06:49:49Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherRegister (0.00s) === RUN TestWatcherUnregister -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:46389" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46389/v1/watchers/login" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:38:59Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2021-08-19T06:38:59Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:46389/v1/watchers" -time="2021-08-19T06:38:59Z" level=debug msg="resp-jwt: 200" -time="2021-08-19T06:38:59Z" level=info msg="->*apiclient.ApiClient" +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:36815" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36815/v1/watchers/login" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:49Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2021-08-19T06:49:49Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:36815/v1/watchers" +time="2021-08-19T06:49:49Z" level=debug msg="resp-jwt: 200" +time="2021-08-19T06:49:49Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherUnregister (0.00s) === RUN TestApiAuth -time="2021-08-19T06:38:59Z" level=info msg="URL is http://127.0.0.1:37867" -time="2021-08-19T06:38:59Z" level=debug msg="req-api: GET http://127.0.0.1:37867/v1/decisions?ip=1.2.3.4" -time="2021-08-19T06:38:59Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:37867\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" -time="2021-08-19T06:38:59Z" level=trace msg="auth-api response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:38:59 GMT\r\n\r\nnull" -time="2021-08-19T06:38:59Z" level=debug msg="resp-api: http 200" -time="2021-08-19T06:38:59Z" level=debug msg="req-api: GET http://127.0.0.1:37867/v1/decisions?ip=1.2.3.4" -time="2021-08-19T06:38:59Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:37867\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" -time="2021-08-19T06:38:59Z" level=trace msg="auth-api response: HTTP/1.1 403 Forbidden\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:38:59 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2021-08-19T06:38:59Z" level=debug msg="resp-api: http 403" -time="2021-08-19T06:38:59Z" level=info msg="--> API error: access forbidden" -time="2021-08-19T06:38:59Z" level=info msg="--> Get \"http://127.0.0.1:37867/v1/decisions?ip=1.2.3.4\": APIKey is empty" +time="2021-08-19T06:49:49Z" level=info msg="URL is http://127.0.0.1:39789" +time="2021-08-19T06:49:49Z" level=debug msg="req-api: GET http://127.0.0.1:39789/v1/decisions?ip=1.2.3.4" +time="2021-08-19T06:49:49Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:39789\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" +time="2021-08-19T06:49:49Z" level=trace msg="auth-api response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:49:49 GMT\r\n\r\nnull" +time="2021-08-19T06:49:49Z" level=debug msg="resp-api: http 200" +time="2021-08-19T06:49:49Z" level=debug msg="req-api: GET http://127.0.0.1:39789/v1/decisions?ip=1.2.3.4" +time="2021-08-19T06:49:49Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:39789\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" +time="2021-08-19T06:49:49Z" level=trace msg="auth-api response: HTTP/1.1 403 Forbidden\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:49:49 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2021-08-19T06:49:49Z" level=debug msg="resp-api: http 403" +time="2021-08-19T06:49:49Z" level=info msg="--> API error: access forbidden" +time="2021-08-19T06:49:49Z" level=info msg="--> Get \"http://127.0.0.1:39789/v1/decisions?ip=1.2.3.4\": APIKey is empty" --- PASS: TestApiAuth (0.00s) === RUN TestNewRequestInvalid --- PASS: TestNewRequestInvalid (0.00s) === RUN TestNewRequestTimeout -time="2021-08-19T06:38:59Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:36197\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2021-08-19T06:38:59Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36197/v1/watchers/login" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:39:01Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Thu, 19 Aug 2021 06:39:01 GMT\r\n\r\n" ---- PASS: TestNewRequestTimeout (2.00s) +time="2021-08-19T06:49:49Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:45979\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2021-08-19T06:49:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45979/v1/watchers/login" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:51Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Thu, 19 Aug 2021 06:49:51 GMT\r\n\r\n" +--- PASS: TestNewRequestTimeout (2.01s) === RUN TestNewClientOk -time="2021-08-19T06:39:01Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:33883\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33883/v1/watchers/login" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:39:01Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 65\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:39:01 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2021-08-19T06:39:01Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:39:01Z" level=debug msg="req-jwt: GET http://127.0.0.1:33883/v1/alerts" -time="2021-08-19T06:39:01Z" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:33883\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-\r\n\r\n" -time="2021-08-19T06:39:01Z" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Thu, 19 Aug 2021 06:39:01 GMT\r\nContent-Length: 0\r\n\r\n (err:)" -time="2021-08-19T06:39:01Z" level=debug msg="resp-jwt: 200" ---- PASS: TestNewClientOk (0.00s) +time="2021-08-19T06:49:51Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:46503\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46503/v1/watchers/login" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:51Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 65\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:49:51 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2021-08-19T06:49:51Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:51Z" level=debug msg="req-jwt: GET http://127.0.0.1:46503/v1/alerts" +time="2021-08-19T06:49:51Z" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:46503\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-\r\n\r\n" +time="2021-08-19T06:49:51Z" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Thu, 19 Aug 2021 06:49:51 GMT\r\nContent-Length: 0\r\n\r\n (err:)" +time="2021-08-19T06:49:51Z" level=debug msg="resp-jwt: 200" +--- PASS: TestNewClientOk (0.01s) === RUN TestNewClientKo -time="2021-08-19T06:39:01Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:45837\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45837/v1/watchers/login" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt : http 401" -time="2021-08-19T06:39:01Z" level=trace msg="auth-jwt response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 47\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:39:01 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" -time="2021-08-19T06:39:01Z" level=info msg="err-> performing request: Get \"http://127.0.0.1:45837/v1/alerts\": received response status \"401 Unauthorized\" when fetching http://127.0.0.1:45837/v1/watchers/login" +time="2021-08-19T06:49:51Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:35009\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35009/v1/watchers/login" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt : http 401" +time="2021-08-19T06:49:51Z" level=trace msg="auth-jwt response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 47\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Thu, 19 Aug 2021 06:49:51 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" +time="2021-08-19T06:49:51Z" level=info msg="err-> performing request: Get \"http://127.0.0.1:35009/v1/alerts\": received response status \"401 Unauthorized\" when fetching http://127.0.0.1:35009/v1/watchers/login" --- PASS: TestNewClientKo (0.00s) === RUN TestNewDefaultClient -time="2021-08-19T06:39:01Z" level=info msg="err-> performing request: API error: brr" +time="2021-08-19T06:49:51Z" level=info msg="err-> performing request: API error: brr" --- PASS: TestNewDefaultClient (0.00s) === RUN TestNewClientRegisterKO --- PASS: TestNewClientRegisterKO (0.00s) === RUN TestNewClientRegisterOK -time="2021-08-19T06:39:01Z" level=info msg="->*apiclient.ApiClient" ---- PASS: TestNewClientRegisterOK (0.00s) +time="2021-08-19T06:49:51Z" level=info msg="->*apiclient.ApiClient" +--- PASS: TestNewClientRegisterOK (0.01s) === RUN TestNewClientBadAnswer --- PASS: TestNewClientBadAnswer (0.00s) === RUN TestDecisionsList -time="2021-08-19T06:39:01Z" level=debug msg="req-api: GET http://127.0.0.1:39345/v1/decisions?ip=1.2.3.4" -time="2021-08-19T06:39:01Z" level=debug msg="resp-api: http 200" -time="2021-08-19T06:39:01Z" level=debug msg="req-api: GET http://127.0.0.1:39345/v1/decisions?ip=1.2.3.5" -time="2021-08-19T06:39:01Z" level=debug msg="resp-api: http 200" ---- PASS: TestDecisionsList (0.00s) +time="2021-08-19T06:49:51Z" level=debug msg="req-api: GET http://127.0.0.1:39223/v1/decisions?ip=1.2.3.4" +time="2021-08-19T06:49:51Z" level=debug msg="resp-api: http 200" +time="2021-08-19T06:49:51Z" level=debug msg="req-api: GET http://127.0.0.1:39223/v1/decisions?ip=1.2.3.5" +time="2021-08-19T06:49:51Z" level=debug msg="resp-api: http 200" +--- PASS: TestDecisionsList (0.01s) === RUN TestDecisionsStream -time="2021-08-19T06:39:01Z" level=debug msg="req-api: GET http://127.0.0.1:37797/v1/decisions/stream?startup=true" -time="2021-08-19T06:39:01Z" level=debug msg="resp-api: http 200" -time="2021-08-19T06:39:01Z" level=debug msg="req-api: GET http://127.0.0.1:37797/v1/decisions/stream?startup=false" -time="2021-08-19T06:39:01Z" level=debug msg="resp-api: http 200" -time="2021-08-19T06:39:01Z" level=debug msg="req-api: DELETE http://127.0.0.1:37797/v1/decisions" -time="2021-08-19T06:39:01Z" level=debug msg="resp-api: http 200" +time="2021-08-19T06:49:51Z" level=debug msg="req-api: GET http://127.0.0.1:43611/v1/decisions/stream?startup=true" +time="2021-08-19T06:49:51Z" level=debug msg="resp-api: http 200" +time="2021-08-19T06:49:51Z" level=debug msg="req-api: GET http://127.0.0.1:43611/v1/decisions/stream?startup=false" +time="2021-08-19T06:49:51Z" level=debug msg="resp-api: http 200" +time="2021-08-19T06:49:51Z" level=debug msg="req-api: DELETE http://127.0.0.1:43611/v1/decisions" +time="2021-08-19T06:49:51Z" level=debug msg="resp-api: http 200" --- PASS: TestDecisionsStream (0.00s) === RUN TestDeleteDecisions -time="2021-08-19T06:39:01Z" level=info msg="URL is http://127.0.0.1:35513" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35513/v1/watchers/login" -time="2021-08-19T06:39:01Z" level=debug msg="auth-jwt : http 200" -time="2021-08-19T06:39:01Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-08-19T06:39:01Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:35513/v1/decisions?ip=1.2.3.4" -time="2021-08-19T06:39:01Z" level=debug msg="resp-jwt: 200" ---- PASS: TestDeleteDecisions (0.00s) +time="2021-08-19T06:49:51Z" level=info msg="URL is http://127.0.0.1:45519" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45519/v1/watchers/login" +time="2021-08-19T06:49:51Z" level=debug msg="auth-jwt : http 200" +time="2021-08-19T06:49:51Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2021-08-19T06:49:51Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:45519/v1/decisions?ip=1.2.3.4" +time="2021-08-19T06:49:51Z" level=debug msg="resp-jwt: 200" +--- PASS: TestDeleteDecisions (0.02s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.142s +ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.580s === RUN TestSimulatedAlert -time="2021-08-19T06:39:04Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:05 UTC] "POST /v1/watchers HTTP/1.1 201 182.374834ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:05 UTC] "POST /v1/watchers/login HTTP/1.1 200 166.863737ms "crowdsec-test/" " -time="2021-08-19T06:39:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : (simulated alert)1h ban on Ip 91.121.79.179" -time="2021-08-19T06:39:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" -time="2021-08-19T06:39:05Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:05 UTC] "POST /v1/alerts HTTP/1.1 201 345.224976ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:05 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 3.765521ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:05 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 4.31771ms "crowdsec-test/" " ---- PASS: TestSimulatedAlert (0.88s) +time="2021-08-19T06:50:00Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:00 UTC] "POST /v1/watchers HTTP/1.1 201 503.663646ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:01 UTC] "POST /v1/watchers/login HTTP/1.1 200 552.311298ms "crowdsec-test/" " +time="2021-08-19T06:50:01Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : (simulated alert)1h ban on Ip 91.121.79.179" +time="2021-08-19T06:50:01Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2021-08-19T06:50:01Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:01 UTC] "POST /v1/alerts HTTP/1.1 201 203.461995ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:01 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 17.539073ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:01 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 20.442521ms "crowdsec-test/" " +--- PASS: TestSimulatedAlert (1.42s) === RUN TestCreateAlert -time="2021-08-19T06:39:05Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/watchers HTTP/1.1 201 176.951812ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/watchers/login HTTP/1.1 200 179.104104ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/alerts HTTP/1.1 400 178.229µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/alerts HTTP/1.1 500 314.271µs "crowdsec-test/" " -time="2021-08-19T06:39:06Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:06Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/alerts HTTP/1.1 201 245.050578ms "crowdsec-test/" " ---- PASS: TestCreateAlert (0.90s) +time="2021-08-19T06:50:01Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:01 UTC] "POST /v1/watchers HTTP/1.1 201 452.705811ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:02 UTC] "POST /v1/watchers/login HTTP/1.1 200 308.862278ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:02 UTC] "POST /v1/alerts HTTP/1.1 400 188.282µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:02 UTC] "POST /v1/alerts HTTP/1.1 500 315.69µs "crowdsec-test/" " +time="2021-08-19T06:50:02Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:02Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:02 UTC] "POST /v1/alerts HTTP/1.1 201 130.114662ms "crowdsec-test/" " +--- PASS: TestCreateAlert (1.04s) === RUN TestAlertListFilters -time="2021-08-19T06:39:06Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:06 UTC] "POST /v1/watchers HTTP/1.1 201 180.993427ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 175.029051ms "crowdsec-test/" " -time="2021-08-19T06:39:07Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" -time="2021-08-19T06:39:07Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:07 UTC] "POST /v1/alerts HTTP/1.1 201 148.92717ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 278.021µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts HTTP/1.1 200 3.635001ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?decision_type=ban HTTP/1.1 200 3.648334ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?decision_type=ratata HTTP/1.1 200 862.292µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?scope=Ip HTTP/1.1 200 3.220157ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?scope=rarara HTTP/1.1 200 661.562µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?scenario=crowdsecurity/ssh-bf HTTP/1.1 200 3.133438ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?scenario=crowdsecurity/nope HTTP/1.1 200 653.437µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?ip=91.121.79.195 HTTP/1.1 200 4.011615ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?ip=99.122.77.195 HTTP/1.1 200 927.969µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?ip=gruueq HTTP/1.1 500 195.729µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?range=91.121.79.0/24&contains=false HTTP/1.1 200 4.505834ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?range=99.122.77.0/24&contains=false HTTP/1.1 200 1.217656ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?range=ratata HTTP/1.1 500 240.834µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?since=1h HTTP/1.1 200 4.617866ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?since=1ns HTTP/1.1 200 898.646µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?since=1zuzu HTTP/1.1 500 254.166µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?until=1ns HTTP/1.1 200 4.561095ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?until=1m HTTP/1.1 200 668.49µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?until=1zuzu HTTP/1.1 500 171.146µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 3.120677ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 3.152188ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?has_active_decision=true HTTP/1.1 200 3.934949ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?has_active_decision=false HTTP/1.1 200 768.334µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "GET /v1/alerts?has_active_decision=ratatqata HTTP/1.1 500 191.042µs "crowdsec-test/" " ---- PASS: TestAlertListFilters (0.70s) +time="2021-08-19T06:50:02Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:02 UTC] "POST /v1/watchers HTTP/1.1 201 320.104962ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "POST /v1/watchers/login HTTP/1.1 200 416.710871ms "crowdsec-test/" " +time="2021-08-19T06:50:03Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" +time="2021-08-19T06:50:03Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:03 UTC] "POST /v1/alerts HTTP/1.1 201 107.917726ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 289.992µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts HTTP/1.1 200 7.899038ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?decision_type=ban HTTP/1.1 200 16.315728ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?decision_type=ratata HTTP/1.1 200 864.599µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?scope=Ip HTTP/1.1 200 11.759595ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?scope=rarara HTTP/1.1 200 9.027612ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?scenario=crowdsecurity/ssh-bf HTTP/1.1 200 11.793233ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?scenario=crowdsecurity/nope HTTP/1.1 200 782.867µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?ip=91.121.79.195 HTTP/1.1 200 11.903263ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?ip=99.122.77.195 HTTP/1.1 200 1.181149ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?ip=gruueq HTTP/1.1 500 184.782µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?range=91.121.79.0/24&contains=false HTTP/1.1 200 26.112988ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?range=99.122.77.0/24&contains=false HTTP/1.1 200 1.048842ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?range=ratata HTTP/1.1 500 232.538µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?since=1h HTTP/1.1 200 12.017071ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?since=1ns HTTP/1.1 200 8.874946ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?since=1zuzu HTTP/1.1 500 342.668µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?until=1ns HTTP/1.1 200 12.909127ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?until=1m HTTP/1.1 200 896.836µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?until=1zuzu HTTP/1.1 500 273.234µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 30.268338ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 12.898608ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?has_active_decision=true HTTP/1.1 200 14.674282ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?has_active_decision=false HTTP/1.1 200 1.014124ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:03 UTC] "GET /v1/alerts?has_active_decision=ratatqata HTTP/1.1 500 304.511µs "crowdsec-test/" " +--- PASS: TestAlertListFilters (1.14s) === RUN TestAlertBulkInsert -time="2021-08-19T06:39:07Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:07 UTC] "POST /v1/watchers HTTP/1.1 201 173.890613ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 183.42848ms "crowdsec-test/" " -time="2021-08-19T06:39:07Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" -time="2021-08-19T06:39:07Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.4 (US) : 1h ban on Ip 1.2.3.4" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.6 (US) : 1h ban on Ip 1.2.3.6" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.194 (FR) : 1h ban on Ip 91.121.79.194" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.193 (FR) : 1h ban on Ip 91.121.79.193" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.192 (FR) : 1h ban on Ip 91.121.79.192" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.191 (FR) : 1h ban on Ip 91.121.79.191" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.190 (FR) : 1h ban on Ip 91.121.79.190" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.189 (FR) : 1h ban on Ip 91.121.79.189" -time="2021-08-19T06:39:08Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.188 (FR) : 1h ban on Ip 91.121.79.188" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.187 (FR) : 1h ban on Ip 91.121.79.187" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.186 (FR) : 1h ban on Ip 91.121.79.186" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.185 (FR) : 1h ban on Ip 91.121.79.185" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.184 (FR) : 1h ban on Ip 91.121.79.184" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.183 (FR) : 1h ban on Ip 91.121.79.183" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.182 (FR) : 1h ban on Ip 91.121.79.182" -time="2021-08-19T06:39:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.181 (FR) : 1h ban on Ip 91.121.79.181" -time="2021-08-19T06:39:10Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.180 (FR) : 1h ban on Ip 91.121.79.180" -time="2021-08-19T06:39:10Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" -time="2021-08-19T06:39:10Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" -time="2021-08-19T06:39:11Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:11 UTC] "POST /v1/alerts HTTP/1.1 201 3.397611263s "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:11 UTC] "GET /v1/alerts HTTP/1.1 200 25.87485ms "crowdsec-test/" " ---- PASS: TestAlertBulkInsert (3.92s) +time="2021-08-19T06:50:03Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:03 UTC] "POST /v1/watchers HTTP/1.1 201 225.090684ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:04 UTC] "POST /v1/watchers/login HTTP/1.1 200 187.579207ms "crowdsec-test/" " +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.4 (US) : 1h ban on Ip 1.2.3.4" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.6 (US) : 1h ban on Ip 1.2.3.6" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.194 (FR) : 1h ban on Ip 91.121.79.194" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.193 (FR) : 1h ban on Ip 91.121.79.193" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.192 (FR) : 1h ban on Ip 91.121.79.192" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.191 (FR) : 1h ban on Ip 91.121.79.191" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.190 (FR) : 1h ban on Ip 91.121.79.190" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.189 (FR) : 1h ban on Ip 91.121.79.189" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.188 (FR) : 1h ban on Ip 91.121.79.188" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.187 (FR) : 1h ban on Ip 91.121.79.187" +time="2021-08-19T06:50:04Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.186 (FR) : 1h ban on Ip 91.121.79.186" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.185 (FR) : 1h ban on Ip 91.121.79.185" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.184 (FR) : 1h ban on Ip 91.121.79.184" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.183 (FR) : 1h ban on Ip 91.121.79.183" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.182 (FR) : 1h ban on Ip 91.121.79.182" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.181 (FR) : 1h ban on Ip 91.121.79.181" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.180 (FR) : 1h ban on Ip 91.121.79.180" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2021-08-19T06:50:05Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2021-08-19T06:50:05Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:05 UTC] "POST /v1/alerts HTTP/1.1 201 1.603532888s "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:05 UTC] "GET /v1/alerts HTTP/1.1 200 55.830918ms "crowdsec-test/" " +--- PASS: TestAlertBulkInsert (2.15s) === RUN TestListAlert -time="2021-08-19T06:39:11Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:11 UTC] "POST /v1/watchers HTTP/1.1 201 180.21322ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:11 UTC] "POST /v1/watchers/login HTTP/1.1 200 183.726501ms "crowdsec-test/" " -time="2021-08-19T06:39:11Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:11Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:11 UTC] "POST /v1/alerts HTTP/1.1 201 232.479429ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:11 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 327.187µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:11 UTC] "GET /v1/alerts HTTP/1.1 200 8.625939ms "crowdsec-test/" " ---- PASS: TestListAlert (0.74s) +time="2021-08-19T06:50:05Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:06 UTC] "POST /v1/watchers HTTP/1.1 201 461.394195ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:06 UTC] "POST /v1/watchers/login HTTP/1.1 200 315.318351ms "crowdsec-test/" " +time="2021-08-19T06:50:06Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:06Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:06 UTC] "POST /v1/alerts HTTP/1.1 201 108.350625ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:06 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 282.073µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:06 UTC] "GET /v1/alerts HTTP/1.1 200 8.020427ms "crowdsec-test/" " +--- PASS: TestListAlert (0.98s) === RUN TestCreateAlertErrors -time="2021-08-19T06:39:12Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/watchers HTTP/1.1 201 186.259054ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/watchers/login HTTP/1.1 200 167.048372ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/alerts HTTP/1.1 401 167.708µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/alerts HTTP/1.1 401 428.802µs "crowdsec-test/" " ---- PASS: TestCreateAlertErrors (0.50s) +time="2021-08-19T06:50:06Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:07 UTC] "POST /v1/watchers HTTP/1.1 201 292.045377ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 332.185408ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:07 UTC] "POST /v1/alerts HTTP/1.1 401 72.893µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:07 UTC] "POST /v1/alerts HTTP/1.1 401 141.967µs "crowdsec-test/" " +--- PASS: TestCreateAlertErrors (0.71s) === RUN TestDeleteAlert -time="2021-08-19T06:39:12Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/watchers HTTP/1.1 201 192.196504ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:12 UTC] "POST /v1/watchers/login HTTP/1.1 200 175.520718ms "crowdsec-test/" " -time="2021-08-19T06:39:12Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:13Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:13 UTC] "POST /v1/alerts HTTP/1.1 201 224.13375ms "crowdsec-test/" " -127.0.0.2 - [Thu, 19 Aug 2021 06:39:13 UTC] "DELETE /v1/alerts HTTP/1.1 403 571.511µs "crowdsec-test/" " -127.0.0.1 - [Thu, 19 Aug 2021 06:39:13 UTC] "DELETE /v1/alerts HTTP/1.1 200 215.081456ms "crowdsec-test/" " ---- PASS: TestDeleteAlert (0.94s) +time="2021-08-19T06:50:07Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:07 UTC] "POST /v1/watchers HTTP/1.1 201 302.471038ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:08 UTC] "POST /v1/watchers/login HTTP/1.1 200 408.31658ms "crowdsec-test/" " +time="2021-08-19T06:50:08Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:08Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:08 UTC] "POST /v1/alerts HTTP/1.1 201 140.325964ms "crowdsec-test/" " +127.0.0.2 - [Thu, 19 Aug 2021 06:50:08 UTC] "DELETE /v1/alerts HTTP/1.1 403 234.878µs "crowdsec-test/" " +127.0.0.1 - [Thu, 19 Aug 2021 06:50:08 UTC] "DELETE /v1/alerts HTTP/1.1 200 150.735166ms "crowdsec-test/" " +--- PASS: TestDeleteAlert (1.10s) === RUN TestAPIKey -time="2021-08-19T06:39:13Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:13 UTC] "GET /v1/decisions HTTP/1.1 403 149.635µs "crowdsec-test/" " -time="2021-08-19T06:39:13Z" level=error msg="auth api key error: select bouncer: ent: bouncer not found: unable to query" - - [Thu, 19 Aug 2021 06:39:13 UTC] "GET /v1/decisions HTTP/1.1 403 1.944531ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:13 UTC] "GET /v1/decisions HTTP/1.1 200 59.032723ms "crowdsec-test/" " ---- PASS: TestAPIKey (0.21s) +time="2021-08-19T06:50:08Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:08 UTC] "GET /v1/decisions HTTP/1.1 403 82.313µs "crowdsec-test/" " +time="2021-08-19T06:50:08Z" level=error msg="auth api key error: select bouncer: ent: bouncer not found: unable to query" + - [Thu, 19 Aug 2021 06:50:08 UTC] "GET /v1/decisions HTTP/1.1 403 752.389µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:08 UTC] "GET /v1/decisions HTTP/1.1 200 40.595068ms "crowdsec-test/" " +--- PASS: TestAPIKey (0.17s) === RUN TestWithWrongDBConfig --- PASS: TestWithWrongDBConfig (0.00s) === RUN TestWithWrongFlushConfig ---- PASS: TestWithWrongFlushConfig (0.01s) +--- PASS: TestWithWrongFlushConfig (0.02s) === RUN TestUnknownPath -time="2021-08-19T06:39:13Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:13 UTC] "GET /test HTTP/1.1 404 44.532µs "crowdsec-test/" " +time="2021-08-19T06:50:08Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:08 UTC] "GET /test HTTP/1.1 404 35.817µs "crowdsec-test/" " --- PASS: TestUnknownPath (0.07s) === RUN TestDeleteDecisionRange -time="2021-08-19T06:39:13Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:13 UTC] "POST /v1/watchers HTTP/1.1 201 181.715251ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:14 UTC] "POST /v1/watchers/login HTTP/1.1 200 183.917335ms "crowdsec-test/" " -time="2021-08-19T06:39:14Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" -time="2021-08-19T06:39:14Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" -time="2021-08-19T06:39:14Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:14 UTC] "POST /v1/alerts HTTP/1.1 201 303.668144ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:14 UTC] "DELETE /v1/decisions?range=1.2.3.0/24 HTTP/1.1 200 2.343125ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:14 UTC] "DELETE /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 55.13168ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:14 UTC] "DELETE /v1/decisions?range=91.121.79.0/24 HTTP/1.1 200 1.633438ms "crowdsec-test/" " ---- PASS: TestDeleteDecisionRange (0.89s) +time="2021-08-19T06:50:08Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:09 UTC] "POST /v1/watchers HTTP/1.1 201 222.605357ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:09 UTC] "POST /v1/watchers/login HTTP/1.1 200 172.84317ms "crowdsec-test/" " +time="2021-08-19T06:50:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2021-08-19T06:50:09Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2021-08-19T06:50:09Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:09 UTC] "POST /v1/alerts HTTP/1.1 201 164.315511ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:09 UTC] "DELETE /v1/decisions?range=1.2.3.0/24 HTTP/1.1 200 986.728µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:09 UTC] "DELETE /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 50.640425ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:09 UTC] "DELETE /v1/decisions?range=91.121.79.0/24 HTTP/1.1 200 807.724µs "crowdsec-test/" " +--- PASS: TestDeleteDecisionRange (0.74s) === RUN TestDeleteDecisionFilter -time="2021-08-19T06:39:14Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:14 UTC] "POST /v1/watchers HTTP/1.1 201 194.376088ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:15 UTC] "POST /v1/watchers/login HTTP/1.1 200 177.426187ms "crowdsec-test/" " -time="2021-08-19T06:39:15Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" -time="2021-08-19T06:39:15Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" -time="2021-08-19T06:39:15Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:15 UTC] "POST /v1/alerts HTTP/1.1 201 346.655446ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:15 UTC] "DELETE /v1/decisions?ip=1.2.3.4 HTTP/1.1 200 997.76µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:15 UTC] "DELETE /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 56.883086ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:15 UTC] "DELETE /v1/decisions?scope=Ip&value=91.121.79.178 HTTP/1.1 200 58.117357ms "crowdsec-test/" " ---- PASS: TestDeleteDecisionFilter (1.03s) +time="2021-08-19T06:50:09Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:10 UTC] "POST /v1/watchers HTTP/1.1 201 603.528568ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:10 UTC] "POST /v1/watchers/login HTTP/1.1 200 596.180658ms "crowdsec-test/" " +time="2021-08-19T06:50:10Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2021-08-19T06:50:11Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2021-08-19T06:50:11Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:11 UTC] "POST /v1/alerts HTTP/1.1 201 197.208862ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:11 UTC] "DELETE /v1/decisions?ip=1.2.3.4 HTTP/1.1 200 954.611µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:11 UTC] "DELETE /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 28.136978ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:11 UTC] "DELETE /v1/decisions?scope=Ip&value=91.121.79.178 HTTP/1.1 200 30.859263ms "crowdsec-test/" " +--- PASS: TestDeleteDecisionFilter (1.59s) === RUN TestGetDecisionFilters -time="2021-08-19T06:39:15Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:15 UTC] "POST /v1/watchers HTTP/1.1 201 182.923741ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:16 UTC] "POST /v1/watchers/login HTTP/1.1 200 175.148583ms "crowdsec-test/" " -time="2021-08-19T06:39:16Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" -time="2021-08-19T06:39:16Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" -time="2021-08-19T06:39:17Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:17 UTC] "POST /v1/alerts HTTP/1.1 201 907.423599ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "GET /v1/decisions HTTP/1.1 200 59.129545ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "GET /v1/decisions?type=ban HTTP/1.1 200 2.345625ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "GET /v1/decisions?scope=Ip&value=91.121.79.179 HTTP/1.1 200 2.086927ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "GET /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 2.056823ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "GET /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 2.153074ms "crowdsec-test/" " ---- PASS: TestGetDecisionFilters (1.52s) +time="2021-08-19T06:50:11Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:11 UTC] "POST /v1/watchers HTTP/1.1 201 360.079948ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "POST /v1/watchers/login HTTP/1.1 200 441.418191ms "crowdsec-test/" " +time="2021-08-19T06:50:12Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2021-08-19T06:50:12Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2021-08-19T06:50:12Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:12 UTC] "POST /v1/alerts HTTP/1.1 201 158.35765ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "GET /v1/decisions HTTP/1.1 200 32.922009ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "GET /v1/decisions?type=ban HTTP/1.1 200 18.627931ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "GET /v1/decisions?scope=Ip&value=91.121.79.179 HTTP/1.1 200 2.726684ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "GET /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 18.819713ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:12 UTC] "GET /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 19.142502ms "crowdsec-test/" " +--- PASS: TestGetDecisionFilters (1.23s) === RUN TestGetDecision -time="2021-08-19T06:39:17Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:17 UTC] "POST /v1/watchers HTTP/1.1 201 177.264104ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:17 UTC] "POST /v1/watchers/login HTTP/1.1 200 191.771815ms "crowdsec-test/" " -time="2021-08-19T06:39:17Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:17Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:17 UTC] "POST /v1/alerts HTTP/1.1 201 274.716575ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:18 UTC] "GET /v1/decisions?test=test HTTP/1.1 500 50.130532ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:18 UTC] "GET /v1/decisions HTTP/1.1 200 2.341979ms "crowdsec-test/" " ---- PASS: TestGetDecision (0.89s) +time="2021-08-19T06:50:12Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:12 UTC] "POST /v1/watchers HTTP/1.1 201 404.733735ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:13 UTC] "POST /v1/watchers/login HTTP/1.1 200 336.012848ms "crowdsec-test/" " +time="2021-08-19T06:50:13Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:13Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:13 UTC] "POST /v1/alerts HTTP/1.1 201 139.392212ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:13 UTC] "GET /v1/decisions?test=test HTTP/1.1 500 32.125863ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:13 UTC] "GET /v1/decisions HTTP/1.1 200 2.702507ms "crowdsec-test/" " +--- PASS: TestGetDecision (1.09s) === RUN TestDeleteDecisionByID -time="2021-08-19T06:39:18Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:18 UTC] "POST /v1/watchers HTTP/1.1 201 193.211399ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:18 UTC] "POST /v1/watchers/login HTTP/1.1 200 175.256031ms "crowdsec-test/" " -time="2021-08-19T06:39:18Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:18Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:18 UTC] "POST /v1/alerts HTTP/1.1 201 257.845581ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:18 UTC] "DELETE /v1/decisions/test HTTP/1.1 400 222.865µs "crowdsec-test/" " -time="2021-08-19T06:39:18Z" level=warning msg="SoftDeleteDecisionByID : (nb soft deleted: 0)" - - [Thu, 19 Aug 2021 06:39:18 UTC] "DELETE /v1/decisions/100 HTTP/1.1 500 642.552µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:18 UTC] "DELETE /v1/decisions/1 HTTP/1.1 200 41.400896ms "crowdsec-test/" " ---- PASS: TestDeleteDecisionByID (0.84s) +time="2021-08-19T06:50:13Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:14 UTC] "POST /v1/watchers HTTP/1.1 201 532.0622ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:14 UTC] "POST /v1/watchers/login HTTP/1.1 200 278.201757ms "crowdsec-test/" " +time="2021-08-19T06:50:14Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:14Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:14 UTC] "POST /v1/alerts HTTP/1.1 201 126.374013ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:14 UTC] "DELETE /v1/decisions/test HTTP/1.1 400 267.035µs "crowdsec-test/" " +time="2021-08-19T06:50:14Z" level=warning msg="SoftDeleteDecisionByID : (nb soft deleted: 0)" + - [Thu, 19 Aug 2021 06:50:14 UTC] "DELETE /v1/decisions/100 HTTP/1.1 500 672.177µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:14 UTC] "DELETE /v1/decisions/1 HTTP/1.1 200 38.921885ms "crowdsec-test/" " +--- PASS: TestDeleteDecisionByID (1.06s) === RUN TestDeleteDecision -time="2021-08-19T06:39:18Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:19 UTC] "POST /v1/watchers HTTP/1.1 201 180.781657ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:19 UTC] "POST /v1/watchers/login HTTP/1.1 200 175.125614ms "crowdsec-test/" " -time="2021-08-19T06:39:19Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:19Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:19 UTC] "POST /v1/alerts HTTP/1.1 201 199.680463ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:19 UTC] "DELETE /v1/decisions?test=test HTTP/1.1 500 295.99µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:19 UTC] "DELETE /v1/decisions HTTP/1.1 200 65.83064ms "crowdsec-test/" " ---- PASS: TestDeleteDecision (0.77s) +time="2021-08-19T06:50:14Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:15 UTC] "POST /v1/watchers HTTP/1.1 201 415.65069ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:15 UTC] "POST /v1/watchers/login HTTP/1.1 200 267.555496ms "crowdsec-test/" " +time="2021-08-19T06:50:15Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:15Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:15 UTC] "POST /v1/alerts HTTP/1.1 201 129.763136ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:15 UTC] "DELETE /v1/decisions?test=test HTTP/1.1 500 266.115µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:15 UTC] "DELETE /v1/decisions HTTP/1.1 200 30.765311ms "crowdsec-test/" " +--- PASS: TestDeleteDecision (0.95s) === RUN TestStreamDecision -time="2021-08-19T06:39:19Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:19 UTC] "POST /v1/watchers HTTP/1.1 201 172.423842ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers/login HTTP/1.1 200 183.320043ms "crowdsec-test/" " -time="2021-08-19T06:39:20Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-08-19T06:39:20Z" level=warning msg="Cannot send alert to Central API channel" - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/alerts HTTP/1.1 201 274.63496ms "" " -time="2021-08-19T06:39:20Z" level=warning msg="bad user agent '' from ''" - - [Thu, 19 Aug 2021 06:39:20 UTC] "GET /v1/decisions/stream HTTP/1.1 200 133.364146ms "" " -time="2021-08-19T06:39:20Z" level=warning msg="bad user agent '' from ''" - - [Thu, 19 Aug 2021 06:39:20 UTC] "GET /v1/decisions/stream?startup=true HTTP/1.1 200 66.303506ms "" " ---- PASS: TestStreamDecision (1.08s) +time="2021-08-19T06:50:15Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:15 UTC] "POST /v1/watchers HTTP/1.1 201 315.636901ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers/login HTTP/1.1 200 348.206464ms "crowdsec-test/" " +time="2021-08-19T06:50:16Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2021-08-19T06:50:16Z" level=warning msg="Cannot send alert to Central API channel" + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/alerts HTTP/1.1 201 131.563106ms "" " +time="2021-08-19T06:50:16Z" level=warning msg="bad user agent '' from ''" + - [Thu, 19 Aug 2021 06:50:16 UTC] "GET /v1/decisions/stream HTTP/1.1 200 53.290177ms "" " +time="2021-08-19T06:50:16Z" level=warning msg="bad user agent '' from ''" + - [Thu, 19 Aug 2021 06:50:16 UTC] "GET /v1/decisions/stream?startup=true HTTP/1.1 200 42.625998ms "" " +--- PASS: TestStreamDecision (1.04s) === RUN TestLogin -time="2021-08-19T06:39:20Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers HTTP/1.1 201 172.87577ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers/login HTTP/1.1 401 699.428µs "crowdsec-test/" " -time="2021-08-19T06:39:20Z" level=info msg="Error machine login for test1 : ent: machine not found " - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers/login HTTP/1.1 401 460.364µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers/login HTTP/1.1 401 51.666µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:20 UTC] "POST /v1/watchers/login HTTP/1.1 401 51.198µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers/login HTTP/1.1 401 124.511383ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers/login HTTP/1.1 200 183.824209ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers/login HTTP/1.1 200 184.315564ms "crowdsec-test/" " ---- PASS: TestLogin (0.83s) +time="2021-08-19T06:50:16Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers HTTP/1.1 201 337.06495ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers/login HTTP/1.1 401 749.75µs "crowdsec-test/" " +time="2021-08-19T06:50:16Z" level=info msg="Error machine login for test1 : ent: machine not found " + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers/login HTTP/1.1 401 477.795µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers/login HTTP/1.1 401 54.155µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:16 UTC] "POST /v1/watchers/login HTTP/1.1 401 58.294µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:17 UTC] "POST /v1/watchers/login HTTP/1.1 401 189.173377ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:17 UTC] "POST /v1/watchers/login HTTP/1.1 200 163.487069ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:17 UTC] "POST /v1/watchers/login HTTP/1.1 200 204.394627ms "crowdsec-test/" " +--- PASS: TestLogin (0.98s) === RUN TestCreateMachine -time="2021-08-19T06:39:21Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers HTTP/1.1 400 65µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers HTTP/1.1 500 82.188µs "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:21 UTC] "POST /v1/watchers HTTP/1.1 201 180.058376ms "crowdsec-test/" " ---- PASS: TestCreateMachine (0.29s) +time="2021-08-19T06:50:17Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:17 UTC] "POST /v1/watchers HTTP/1.1 400 73.933µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:17 UTC] "POST /v1/watchers HTTP/1.1 500 78.193µs "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:18 UTC] "POST /v1/watchers HTTP/1.1 201 431.152614ms "crowdsec-test/" " +--- PASS: TestCreateMachine (0.50s) === RUN TestCreateMachineWithForwardedFor -time="2021-08-19T06:39:21Z" level=info msg="Creating new API server" -1.1.1.1 - [Thu, 19 Aug 2021 06:39:22 UTC] "POST /v1/watchers HTTP/1.1 201 291.150068ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithForwardedFor (0.37s) +time="2021-08-19T06:50:18Z" level=info msg="Creating new API server" +1.1.1.1 - [Thu, 19 Aug 2021 06:50:18 UTC] "POST /v1/watchers HTTP/1.1 201 357.867836ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithForwardedFor (0.45s) === RUN TestCreateMachineWithForwardedForNoConfig -time="2021-08-19T06:39:22Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:23 UTC] "POST /v1/watchers HTTP/1.1 201 331.578151ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithForwardedForNoConfig (0.95s) +time="2021-08-19T06:50:18Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:18 UTC] "POST /v1/watchers HTTP/1.1 201 351.593545ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithForwardedForNoConfig (0.43s) === RUN TestCreateMachineWithoutForwardedFor -time="2021-08-19T06:39:23Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:23 UTC] "POST /v1/watchers HTTP/1.1 201 180.368688ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithoutForwardedFor (0.27s) +time="2021-08-19T06:50:18Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:19 UTC] "POST /v1/watchers HTTP/1.1 201 355.491219ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithoutForwardedFor (0.42s) === RUN TestCreateMachineAlreadyExist -time="2021-08-19T06:39:23Z" level=info msg="Creating new API server" - - [Thu, 19 Aug 2021 06:39:23 UTC] "POST /v1/watchers HTTP/1.1 201 182.348116ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:23 UTC] "POST /v1/watchers HTTP/1.1 403 129.595812ms "crowdsec-test/" " - - [Thu, 19 Aug 2021 06:39:23 UTC] "POST /v1/watchers HTTP/1.1 403 121.354559ms "crowdsec-test/" " ---- PASS: TestCreateMachineAlreadyExist (0.50s) +time="2021-08-19T06:50:19Z" level=info msg="Creating new API server" + - [Thu, 19 Aug 2021 06:50:19 UTC] "POST /v1/watchers HTTP/1.1 201 462.83926ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:20 UTC] "POST /v1/watchers HTTP/1.1 403 309.782172ms "crowdsec-test/" " + - [Thu, 19 Aug 2021 06:50:20 UTC] "POST /v1/watchers HTTP/1.1 403 142.575833ms "crowdsec-test/" " +--- PASS: TestCreateMachineAlreadyExist (0.96s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiserver 19.204s +ok github.com/crowdsecurity/crowdsec/pkg/apiserver 20.634s ? github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers [no test files] ? github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 [no test files] ? github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 [no test files] @@ -3022,209 +3057,209 @@ hub_dir: /etc/crowdsec/hub --- PASS: TestDefaultConfig (0.00s) === RUN TestNormalLoad -time="2021-08-19T06:39:03Z" level=info msg="push and pull to crowdsec API disabled" ---- PASS: TestNormalLoad (0.00s) +time="2021-08-19T06:49:51Z" level=info msg="push and pull to crowdsec API disabled" +--- PASS: TestNormalLoad (0.01s) === RUN TestCleanupPaths --- PASS: TestCleanupPaths (0.00s) === RUN TestSimulationLoading --- PASS: TestSimulationLoading (0.00s) === RUN TestNewCrowdSecConfig -time="2021-08-19T06:39:03Z" level=info msg="test 'new configuration: basic' : OK" +time="2021-08-19T06:49:51Z" level=info msg="test 'new configuration: basic' : OK" --- PASS: TestNewCrowdSecConfig (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.079s +ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.405s ? github.com/crowdsecurity/crowdsec/pkg/csprofiles [no test files] === RUN TestItemStatus -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="Loaded 2 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" ---- PASS: TestItemStatus (0.00s) +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="Loaded 2 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" +--- PASS: TestItemStatus (0.01s) === RUN TestGetters -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" ---- PASS: TestGetters (0.00s) +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +--- PASS: TestGetters (0.01s) === RUN TestIndexDownload -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" ---- PASS: TestIndexDownload (0.00s) +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +--- PASS: TestIndexDownload (0.01s) === RUN TestInstallParser -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar_parser : OK" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" ---- PASS: TestInstallParser (0.01s) +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar_parser : OK" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +--- PASS: TestInstallParser (0.04s) === RUN TestInstallCollection -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-08-19T06:39:03Z" level=debug msg="4 item types in hub index" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar_parser : OK" -time="2021-08-19T06:39:03Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2021-08-19T06:39:03Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar_subparser : OK" -time="2021-08-19T06:39:03Z" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar_subcollection : OK" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2021-08-19T06:39:03Z" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" -time="2021-08-19T06:39:03Z" level=info msg="crowdsecurity/foobar : OK" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml already exists." -time="2021-08-19T06:39:03Z" level=info msg="Enabled collections : crowdsecurity/foobar" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_scenario : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" -time="2021-08-19T06:39:03Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2021-08-19T06:39:03Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_subparser : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" -time="2021-08-19T06:39:03Z" level=warning msg="crowdsecurity/foobar : overwrite" -time="2021-08-19T06:39:03Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar_subparser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_subparser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar_subcollection] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed symlink [crowdsecurity/foobar] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar_scenario] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar_subparser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar_subcollection] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-08-19T06:39:03Z" level=info msg="Removed source file [crowdsecurity/foobar] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-08-19T06:39:03Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-08-19T06:39:03Z" level=info msg="[]" ---- PASS: TestInstallCollection (0.03s) +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="4 item types in hub index" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar_parser : OK" +time="2021-08-19T06:49:51Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2021-08-19T06:49:51Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar_subparser : OK" +time="2021-08-19T06:49:51Z" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar_subcollection : OK" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2021-08-19T06:49:51Z" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" +time="2021-08-19T06:49:51Z" level=info msg="crowdsecurity/foobar : OK" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml already exists." +time="2021-08-19T06:49:51Z" level=info msg="Enabled collections : crowdsecurity/foobar" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" +time="2021-08-19T06:49:51Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2021-08-19T06:49:51Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_subparser : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" +time="2021-08-19T06:49:51Z" level=warning msg="crowdsecurity/foobar : overwrite" +time="2021-08-19T06:49:51Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar_subparser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_subparser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar_subcollection] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed symlink [crowdsecurity/foobar] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar_scenario] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar_subparser] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar_subcollection] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2021-08-19T06:49:51Z" level=info msg="Removed source file [crowdsecurity/foobar] : /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2021-08-19T06:49:51Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2021-08-19T06:49:51Z" level=info msg="[]" +--- PASS: TestInstallCollection (0.17s) === RUN TestDownloadHubIdx -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://baddomain/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-08-19T06:39:03Z" level=error msg="unexpected error while opening hub index file: open : no such file or directory" -time="2021-08-19T06:39:03Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-08-19T06:39:03Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://baddomain/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2021-08-19T06:49:51Z" level=error msg="unexpected error while opening hub index file: open : no such file or directory" +time="2021-08-19T06:49:51Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2021-08-19T06:49:51Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" ->[]--- PASS: TestDownloadHubIdx (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.230s +ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.508s ? github.com/crowdsecurity/crowdsec/pkg/cwversion [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent [no test files] @@ -3241,1140 +3276,1138 @@ ? github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/schema [no test files] === RUN TestVisitor -time="2021-08-19T06:39:06Z" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" -time="2021-08-19T06:39:06Z" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test -time="2021-08-19T06:39:06Z" level=debug msg="eval variables:" type=test -time="2021-08-19T06:39:06Z" level=debug msg=" static_one = 'crowdse'" type=test -time="2021-08-19T06:39:06Z" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test -time="2021-08-19T06:39:06Z" level=debug msg="eval variables:" type=test -time="2021-08-19T06:39:06Z" level=debug msg=" static_one.foo = 'bar'" type=test -time="2021-08-19T06:39:06Z" level=debug msg=" static_one.foo = 'bar'" type=test -time="2021-08-19T06:39:06Z" level=debug msg="unable to create expr debugger with empty filter" +time="2021-08-19T06:49:57Z" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" +time="2021-08-19T06:49:57Z" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test +time="2021-08-19T06:49:57Z" level=debug msg="eval variables:" type=test +time="2021-08-19T06:49:57Z" level=debug msg=" static_one = 'crowdse'" type=test +time="2021-08-19T06:49:57Z" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test +time="2021-08-19T06:49:57Z" level=debug msg="eval variables:" type=test +time="2021-08-19T06:49:57Z" level=debug msg=" static_one.foo = 'bar'" type=test +time="2021-08-19T06:49:57Z" level=debug msg=" static_one.foo = 'bar'" type=test +time="2021-08-19T06:49:57Z" level=debug msg="unable to create expr debugger with empty filter" --- PASS: TestVisitor (0.00s) === RUN TestRegexpInFile -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" --- PASS: TestRegexpInFile (0.00s) === RUN TestFileInit -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2021-08-19T06:39:06Z" level=info msg="test 'file with type:string' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" -time="2021-08-19T06:39:06Z" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -time="2021-08-19T06:39:06Z" level=info msg="test 'file with type:re' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" -time="2021-08-19T06:39:06Z" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" -time="2021-08-19T06:39:06Z" level=info msg="test 'file without type' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2021-08-19T06:49:57Z" level=info msg="test 'file with type:string' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" +time="2021-08-19T06:49:57Z" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2021-08-19T06:49:57Z" level=info msg="test 'file with type:re' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" +time="2021-08-19T06:49:57Z" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" +time="2021-08-19T06:49:57Z" level=info msg="test 'file without type' : OK" --- PASS: TestFileInit (0.00s) === RUN TestFile -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2021-08-19T06:39:06Z" level=info msg="test 'File() test: word in file' : OK" -time="2021-08-19T06:39:06Z" level=info msg="test 'File() test: word in file but different case' : OK" -time="2021-08-19T06:39:06Z" level=info msg="test 'File() test: word not in file' : OK" -time="2021-08-19T06:39:06Z" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" -time="2021-08-19T06:39:06Z" level=error msg="expr library : (map[string][]string) (len=1) {\n (string) (len=13) \"test_data.txt\": ([]string) (len=3 cap=4) {\n (string) (len=8) \"Crowdsec\",\n (string) (len=13) \"Crowdsecurity\",\n (string) (len=8) \"CrowdSec\"\n }\n}\n" -time="2021-08-19T06:39:06Z" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" ---- PASS: TestFile (0.00s) +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2021-08-19T06:49:57Z" level=info msg="test 'File() test: word in file' : OK" +time="2021-08-19T06:49:57Z" level=info msg="test 'File() test: word in file but different case' : OK" +time="2021-08-19T06:49:57Z" level=info msg="test 'File() test: word not in file' : OK" +time="2021-08-19T06:49:57Z" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" +time="2021-08-19T06:49:57Z" level=error msg="expr library : (map[string][]string) (len=1) {\n (string) (len=13) \"test_data.txt\": ([]string) (len=3 cap=4) {\n (string) (len=8) \"Crowdsec\",\n (string) (len=13) \"Crowdsecurity\",\n (string) (len=8) \"CrowdSec\"\n }\n}\n" +time="2021-08-19T06:49:57Z" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" +--- PASS: TestFile (0.01s) === RUN TestIpInRange -time="2021-08-19T06:39:06Z" level=info msg="test 'IpInRange() test: basic test' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="'192.168.0' is not a valid IP" -time="2021-08-19T06:39:06Z" level=info msg="test 'IpInRange() test: malformed IP' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="'192.168.0.0/255' is not a valid IP" -time="2021-08-19T06:39:06Z" level=info msg="test 'IpInRange() test: malformed IP range' : OK" +time="2021-08-19T06:49:57Z" level=info msg="test 'IpInRange() test: basic test' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="'192.168.0' is not a valid IP" +time="2021-08-19T06:49:57Z" level=info msg="test 'IpInRange() test: malformed IP' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="'192.168.0.0/255' is not a valid IP" +time="2021-08-19T06:49:57Z" level=info msg="test 'IpInRange() test: malformed IP range' : OK" --- PASS: TestIpInRange (0.00s) === RUN TestAtof -time="2021-08-19T06:39:06Z" level=debug msg="debug atof 1.5" -time="2021-08-19T06:39:06Z" level=info msg="test 'Atof()' : OK" -time="2021-08-19T06:39:06Z" level=debug msg="debug atof 1aaa.5" -time="2021-08-19T06:39:06Z" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" -time="2021-08-19T06:39:06Z" level=info msg="test 'Atof()' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="debug atof 1.5" +time="2021-08-19T06:49:57Z" level=info msg="test 'Atof()' : OK" +time="2021-08-19T06:49:57Z" level=debug msg="debug atof 1aaa.5" +time="2021-08-19T06:49:57Z" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" +time="2021-08-19T06:49:57Z" level=info msg="test 'Atof()' : OK" --- PASS: TestAtof (0.00s) === RUN TestUpper -time="2021-08-19T06:39:06Z" level=info msg="test 'Upper()' : OK" +time="2021-08-19T06:49:57Z" level=info msg="test 'Upper()' : OK" --- PASS: TestUpper (0.00s) === RUN TestJsonExtract -time="2021-08-19T06:39:06Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2021/08/19 06:39:06 test 'basic json extract' : OK -time="2021-08-19T06:39:06Z" level=error msg="jsonExtractLib : [non_existing_field] : Key path not found" -2021/08/19 06:39:06 test 'basic json extract with non existing field' : OK +time="2021-08-19T06:49:57Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2021/08/19 06:49:57 test 'basic json extract' : OK +time="2021-08-19T06:49:57Z" level=error msg="jsonExtractLib : [non_existing_field] : Key path not found" +2021/08/19 06:49:57 test 'basic json extract with non existing field' : OK --- PASS: TestJsonExtract (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.014s +ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.095s === RUN TestBucket -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/leaky-fixedqueue" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/overflow-with-meta" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/overflow-with-meta-and-information" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-counter" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-counter-bh" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-counter-timeout" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-blackhole" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-overflow" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-underflow" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-uniq" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-trigger" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-trigger-external-data" -time="2021-08-19T06:39:09Z" level=info msg="Running test on ./tests/simple-trigger-reprocess" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/leaky-fixedqueue" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/overflow-with-meta" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/overflow-with-meta-and-information" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-counter" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-counter-bh" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-counter-timeout" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-blackhole" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-overflow" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-underflow" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-uniq" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-trigger" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-trigger-external-data" +time="2021-08-19T06:50:03Z" level=info msg="Running test on ./tests/simple-trigger-reprocess" --- PASS: TestBucket (0.00s) === RUN TestBadBucketsConfig -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name= -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name= +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test --- PASS: TestBadBucketsConfig (0.00s) === RUN TestLeakyBucketsConfig -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-timeout/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg=delicate-morning file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=error msg="Error creating overflow_filter : unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=error msg="Error creating overflow_filter : unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test --- PASS: TestLeakyBucketsConfig (0.00s) === RUN TestBlackholeConfig -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test --- PASS: TestBlackholeConfig (0.00s) === RUN TestTriggerBucketsConfig -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg= file= name=test --- PASS: TestTriggerBucketsConfig (0.00s) === RUN TestCounterBucketsConfig -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg= file= name=test -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-overflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg= file= name=test --- PASS: TestCounterBucketsConfig (0.00s) === RUN TestGCandDump -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:09Z" level=info msg="Pouring to bucket" -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2021-08-19T06:39:09Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=billowing-meadow capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:09Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=long-resonance capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:09Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=lingering-dawn capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-overflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/filter-discard (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger-external-data/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/filter-ok (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 2 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta-and-information/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-blackhole/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-bh/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg=polished-feather file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq-w-buckets_state/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger-reprocess (tests/simple-trigger-reprocess/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-underflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding counter bucket" cfg=cool-forest file=tests/simple-counter/bucket.yaml name=test/simple-counter -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Adding leaky bucket" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=error msg="scenario test/simple-postoverflow-scenario (tests/simple-trigger-reprocess/reprocess.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 1 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Adding trigger bucket" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=warning msg="Loaded 2 scenarios" -time="2021-08-19T06:39:09Z" level=info msg="Restored 1 buckets from dump" -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=withered-waterfall capacity=5 cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=withered-waterfall capacity=5 cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=young-tree capacity=1 cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=young-tree capacity=1 cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=19) \"AAAABBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"1\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\",\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=green-snowflake capacity=0 cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=young-dawn capacity=1 cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=young-dawn capacity=1 cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=bitter-lake capacity=0 cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Bucket overflow" bucket_id=bitter-lake capacity=0 cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Bucket overflow" bucket_id=green-snowflake capacity=0 cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=floral-resonance capacity=1 cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"1\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=floral-resonance capacity=1 cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wispy-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=wispy-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Uniq(aaa) : ok" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=cool-dawn capacity=0 cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=info msg="Bucket overflow" bucket_id=cool-dawn capacity=0 cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=cool-glade capacity=2 cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:09Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=cool-glade capacity=2 cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:06+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg="Creating bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="Creating TimeMachine bucket" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=withered-dust capacity=0 cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-08-19T06:39:09Z" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:09Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:09Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=still-shadow capacity=0 cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2021-08-19T06:39:09Z" level=debug msg="Uniq(baa) : ok" bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:09Z" level=info msg="Bucket overflow" bucket_id=withered-dust capacity=0 cfg=late-firefly file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-08-19T06:39:09Z" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:09Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=info msg="Bucket overflow" bucket_id=still-shadow capacity=0 cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2021-08-19T06:39:09Z" level=debug msg="eval variables:" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Overflow.Alert = '%!s(*models.Alert=)'" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=error msg="unable to print debug expression for 'evt.Overflow.Alert.Scenario': cannot fetch Scenario from *models.Alert (1:20)\n | evt.Overflow.Alert.Scenario\n | ...................^" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s()'" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:09Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:09Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=young-tree capacity=1 cfg=solitary-firefly file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=18) \"ZZZBBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=floral-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=warning msg="Event wasn't poured" -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=bitter-lake capacity=0 cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Creating TimeMachine bucket" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=summer-butterfly capacity=0 cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=info msg="Bucket overflow" bucket_id=summer-butterfly capacity=0 cfg=late-pond file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"2\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:04+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"2\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=young-dawn capacity=1 cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=floral-resonance capacity=1 cfg=damp-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=young-dawn capacity=1 cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 UTC" bucket_id=wispy-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=young-dawn capacity=1 cfg=holy-hill file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 UTC)" bucket_id=wispy-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=cool-dawn capacity=0 cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Creating TimeMachine bucket" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=icy-rain capacity=0 cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=info msg="Bucket overflow" bucket_id=icy-rain capacity=0 cfg=twilight-sea file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar2\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:07+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"3\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=wispy-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Creating TimeMachine bucket" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:02+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 UTC" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Uniq(aab) : ok" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 UTC" bucket_id=wild-bush capacity=1 cfg=white-rain file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar0\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:08+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"bab\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Uniq(bab) : ok" bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 UTC" bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"4\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 UTC" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar1\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"5\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=hidden-star capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Creating TimeMachine bucket" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=old-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 UTC" bucket_id=old-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=6) \"foobar\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=withered-waterfall capacity=5 cfg=winter-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-08-19T06:39:10Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"6\"\n }\n}\n" -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-08-19T06:39:10Z" level=warning msg="Done pouring !" -time="2021-08-19T06:39:10Z" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 UTC" bucket_id=old-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=old-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 UTC)" bucket_id=old-frog capacity=1 cfg=cool-cherry file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:10Z" level=error msg="unable to collect sources from bucket: while extracting scope from bucket test_counter_fast: scope is Ip but Meta[source_ip] doesn't exist" -time="2021-08-19T06:39:10Z" level=debug msg="Adding overflow to blackhole (2021-08-19 06:39:09.882287905 +0000 UTC m=+0.074395383)" bucket_id=billowing-meadow capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-08-19T06:39:10Z" level=info msg="Timed Overflow" bucket_id=billowing-meadow capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-08-19T06:39:10Z" level=warning msg="no more results" -time="2021-08-19T06:39:10Z" level=warning msg="no more results" -time="2021-08-19T06:39:10Z" level=warning msg="got one result" -time="2021-08-19T06:39:10Z" level=warning msg="no more results" -time="2021-08-19T06:39:10Z" level=warning msg="got one result" -time="2021-08-19T06:39:10Z" level=error msg="Overflow being reprocessed." -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Line.Labels.type = ''" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:10Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=holy-bird file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-08-19T06:39:10Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg="eval variables:" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Overflow.Alert = '&{%!s(*int32=0x1e58ae0) [] [%!s(*models.Event=&{[0x1e00370] 0x1df8c44})] %!s(*int32=0x1e58ae4) %!s(int64=0) [] %!s(*string=0x1f367a8) %!s(*string=0x1f367c0) [] %!s(bool=false) %!s(*string=0x1e98c60) %!s(*string=0x1e98d54) %!s(*string=0x1e98d5c) %!s(*bool=0x1e98cd5) %!s(*models.Source=&{ 1.2.3.4 0 0 0x1e98d40 0x1e2ba58}) %!s(*string=0x1f367b0) %!s(*string=0x1f367b8)}'" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s(*string=0x1e98c60)'" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg="Creating bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg="Creating Live bucket" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=polished-voice capacity=0 cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2021-08-19T06:39:10Z" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-08-19T06:39:10Z" level=warning msg="no more results" -time="2021-08-19T06:39:10Z" level=info msg="Bucket overflow" bucket_id=polished-voice capacity=0 cfg=old-sun file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=delicate-rain capacity=-1 cfg=polished-feather file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-08-19T06:39:11Z" level=info msg="Timed Overflow" bucket_id=delicate-rain capacity=-1 cfg=polished-feather file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=info msg="Timed Overflow" bucket_id=dry-star capacity=-1 cfg=cool-forest file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=debug msg="bucket underflow, destroy" bucket_id=cool-glade capacity=2 cfg=snowy-cherry file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:11Z" level=info msg="Bucket GC" -time="2021-08-19T06:39:11Z" level=debug msg="overflowed at 2021-08-19 06:39:10.3825312 +0000 UTC m=+0.574639146." bucket_id=billowing-meadow capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-08-19T06:39:11Z" level=debug msg="Bucket externally killed, return" bucket_id=long-resonance capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-08-19T06:39:11Z" level=debug msg="UNDERFLOW : first_ts:2021-08-19 06:39:09.88230603 +0000 UTC m=+0.074413508 tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=long-resonance capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-08-19T06:39:11Z" level=info msg="Cleaned 2 buckets" -time="2021-08-19T06:39:11Z" level=debug msg="Bucket externally killed, return" bucket_id=lingering-dawn capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-08-19T06:39:11Z" level=info msg="Dumping buckets state" -time="2021-08-19T06:39:11Z" level=info msg="Dumping buckets state at 2021-08-19 06:39:11.884000301 +0000 UTC m=+2.076108351" -time="2021-08-19T06:39:11Z" level=debug msg="(2021-08-19 06:39:09.882226343 +0000 UTC m=+0.074333820) not dead, count:4.000000 capacity:5.000000" bucket_id=lingering-dawn capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-08-19T06:39:11Z" level=info msg="Serialized 1 live buckets (+0 expired) in 1639 bytes to /tmp/crowdsec-buckets-dump-292745668" ---- PASS: TestGCandDump (2.01s) +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:03Z" level=info msg="Pouring to bucket" +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq-w-buckets_state/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=icy-water capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Restored 1 buckets from dump" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/filter-discard (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger-reprocess (tests/simple-trigger-reprocess/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger-external-data/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-underflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-bh/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg=white-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-postoverflow-scenario (tests/simple-trigger-reprocess/reprocess.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 2 scenarios" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-timeout/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg=withered-rain file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/filter-ok (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 2 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding counter bucket" cfg=late-flower file=tests/simple-counter/bucket.yaml name=test/simple-counter +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:03Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=hidden-shadow capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:03Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=lively-bird capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta-and-information/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding trigger bucket" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-blackhole/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2021-08-19T06:50:03Z" level=info msg="Adding leaky bucket" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Loaded 1 scenarios" +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=nameless-night capacity=5 cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=nameless-night capacity=5 cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=black-snowflake capacity=1 cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=black-snowflake capacity=1 cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:06+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Uniq(baa) : ok" bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=white-fire capacity=0 cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=white-fire capacity=0 cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=black-hill capacity=0 cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=black-hill capacity=0 cfg=shy-frog file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=divine-brook capacity=2 cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=divine-brook capacity=2 cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Uniq(aaa) : ok" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=19) \"AAAABBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=dark-brook capacity=0 cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=dark-brook capacity=0 cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=young-surf capacity=0 cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Overflow.Alert = '%!s(*models.Alert=)'" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=error msg="unable to print debug expression for 'evt.Overflow.Alert.Scenario': cannot fetch Scenario from *models.Alert (1:20)\n | evt.Overflow.Alert.Scenario\n | ...................^" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s()'" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:03Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=young-surf capacity=0 cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"1\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\",\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=hidden-firefly capacity=1 cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"1\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=hidden-firefly capacity=1 cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=morning-dew capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=morning-dew capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=autumn-grass capacity=1 cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:03Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=autumn-grass capacity=1 cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=wild-firefly capacity=0 cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=wild-firefly capacity=0 cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:03Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=black-snowflake capacity=1 cfg=icy-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:07+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:03Z" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:03Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:03Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="eval variables:" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=white-fire capacity=0 cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Creating TimeMachine bucket" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=divine-sun capacity=0 cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:03Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:03Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:03Z" level=info msg="Bucket overflow" bucket_id=divine-sun capacity=0 cfg=snowy-brook file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=18) \"ZZZBBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=icy-snow file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=warning msg="Event wasn't poured" +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:04+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=5) \"entry\": (string) (len=1) \"2\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 UTC" bucket_id=morning-dew capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"2\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 UTC)" bucket_id=morning-dew capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=autumn-grass capacity=1 cfg=silent-wave file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=wild-firefly capacity=0 cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:04Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="Creating TimeMachine bucket" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=aged-moon capacity=0 cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=info msg="Bucket overflow" bucket_id=aged-moon capacity=0 cfg=fragrant-wildflower file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=hidden-firefly capacity=1 cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2021-08-19T06:50:04Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=hidden-firefly capacity=1 cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2021-08-19T06:50:04Z" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=hidden-firefly capacity=1 cfg=rough-pond file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar2\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:08+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"bab\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Uniq(bab) : ok" bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 UTC" bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:02+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Uniq(aab) : ok" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 UTC" bucket_id=withered-leaf capacity=1 cfg=green-shape file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"3\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=morning-dew capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 UTC" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar0\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 UTC" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar1\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"5\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=blue-darkness capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=snowy-haze capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 UTC" bucket_id=snowy-haze capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=6) \"foobar\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=nameless-night capacity=5 cfg=cold-wood file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2021-08-19T06:50:04Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=5) \"entry\": (string) (len=1) \"6\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2021-08-19T06:50:04Z" level=warning msg="Done pouring !" +time="2021-08-19T06:50:04Z" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 UTC" bucket_id=snowy-haze capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=snowy-haze capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 UTC)" bucket_id=snowy-haze capacity=1 cfg=winter-haze file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:04Z" level=error msg="unable to collect sources from bucket: while extracting scope from bucket test_counter_fast: scope is Ip but Meta[source_ip] doesn't exist" +time="2021-08-19T06:50:04Z" level=debug msg="Adding overflow to blackhole (2021-08-19 06:50:03.895512841 +0000 UTC m=+0.255764644)" bucket_id=icy-water capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2021-08-19T06:50:04Z" level=info msg="Timed Overflow" bucket_id=icy-water capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2021-08-19T06:50:04Z" level=warning msg="no more results" +time="2021-08-19T06:50:04Z" level=warning msg="got one result" +time="2021-08-19T06:50:04Z" level=warning msg="no more results" +time="2021-08-19T06:50:04Z" level=warning msg="got one result" +time="2021-08-19T06:50:04Z" level=error msg="Overflow being reprocessed." +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Line.Labels.type = ''" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:04Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=crimson-fog file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2021-08-19T06:50:04Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg="eval variables:" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Overflow.Alert = '&{%!s(*int32=0x1bdff48) [] [%!s(*models.Event=&{[0x1ac9ef0] 0x1c1d694})] %!s(*int32=0x1bdff4c) %!s(int64=0) [] %!s(*string=0x1bad658) %!s(*string=0x1bad670) [] %!s(bool=false) %!s(*string=0x1acab40) %!s(*string=0x1acac34) %!s(*string=0x1acac3c) %!s(*bool=0x1acabb5) %!s(*models.Source=&{ 1.2.3.4 0 0 0x1acac20 0x1d98dd8}) %!s(*string=0x1bad660) %!s(*string=0x1bad668)}'" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s(*string=0x1acab40)'" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg="Creating bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg="Creating Live bucket" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=holy-glade capacity=0 cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2021-08-19T06:50:04Z" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2021-08-19T06:50:04Z" level=warning msg="no more results" +time="2021-08-19T06:50:04Z" level=info msg="Bucket overflow" bucket_id=holy-glade capacity=0 cfg=hidden-haze file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2021-08-19T06:50:04Z" level=warning msg="got one result" +time="2021-08-19T06:50:04Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=damp-snow capacity=-1 cfg=white-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2021-08-19T06:50:05Z" level=info msg="Timed Overflow" bucket_id=damp-snow capacity=-1 cfg=white-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=info msg="Timed Overflow" bucket_id=restless-dew capacity=-1 cfg=late-flower file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=debug msg="bucket underflow, destroy" bucket_id=divine-brook capacity=2 cfg=young-paper file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:05Z" level=info msg="Bucket GC" +time="2021-08-19T06:50:05Z" level=debug msg="overflowed at 2021-08-19 06:50:04.395625101 +0000 UTC m=+0.755877024." bucket_id=icy-water capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2021-08-19T06:50:05Z" level=debug msg="UNDERFLOW : first_ts:2021-08-19 06:50:03.920315932 +0000 UTC m=+0.280567715 tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=hidden-shadow capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2021-08-19T06:50:05Z" level=info msg="Cleaned 2 buckets" +time="2021-08-19T06:50:05Z" level=info msg="Dumping buckets state" +time="2021-08-19T06:50:05Z" level=info msg="Dumping buckets state at 2021-08-19 06:50:05.923062835 +0000 UTC m=+2.283314658" +time="2021-08-19T06:50:05Z" level=debug msg="(2021-08-19 06:50:03.920280376 +0000 UTC m=+0.280532139) not dead, count:4.000000 capacity:5.000000" bucket_id=lively-bird capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2021-08-19T06:50:05Z" level=info msg="Serialized 1 live buckets (+0 expired) in 1636 bytes to /tmp/crowdsec-buckets-dump-009989682" +--- PASS: TestGCandDump (2.03s) === RUN TestShutdownBuckets -time="2021-08-19T06:39:11Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:11Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:11Z" level=info msg="Pouring to bucket" -time="2021-08-19T06:39:11Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:11Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:11Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:11Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=floral-dust capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-08-19T06:39:11Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2021-08-19T06:39:11Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:11Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:11Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:11Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=throbbing-field capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-08-19T06:39:11Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:11Z" level=warning msg="got one result" -time="2021-08-19T06:39:11Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="got one result" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="got one result" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=debug msg="Bucket externally killed, return" bucket_id=throbbing-field capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-08-19T06:39:12Z" level=debug msg="Bucket externally killed, return" bucket_id=floral-dust capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-08-19T06:39:12Z" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" -time="2021-08-19T06:39:12Z" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:12Z" level=warning msg="Got 0 overflows from run" -time="2021-08-19T06:39:12Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:12Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:12Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:12Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:12Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:12Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eca7a0)((len=2) \"Ip\"),\n Value: (*string)(0x1c92518)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1f37500)((len=2) \"Ip\"),\n Value: (*string)(0x1f37508)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:12Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:12Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:12Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:12Z" level=warning msg="no more results" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eb11c0)((len=2) \"Ip\"),\n Value: (*string)(0x1dba658)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e617f0)((len=2) \"Ip\"),\n Value: (*string)(0x1e617f8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eb1520)((len=2) \"Ip\"),\n Value: (*string)(0x1edccd8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e61f68)((len=2) \"Ip\"),\n Value: (*string)(0x1e61f70)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="no more results" -time="2021-08-19T06:39:13Z" level=warning msg="Got 2 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="2 results to check against 2 expected results" -time="2021-08-19T06:39:13Z" level=warning msg="Got 2 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="2 results to check against 2 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="Here ?" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/filter-ok == test/filter-ok" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eb1880)((len=2) \"Ip\"),\n Value: (*string)(0x1e2b3d8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1f363b0)((len=2) \"Ip\"),\n Value: (*string)(0x1f363b8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eb1d00)((len=2) \"Ip\"),\n Value: (*string)(0x1c927d8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ebec58)((len=2) \"Ip\"),\n Value: (*string)(0x1ebec60)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eac320)((len=2) \"Ip\"),\n Value: (*string)(0x1dbad18)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1f363d8)((len=2) \"Ip\"),\n Value: (*string)(0x1f363e0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="no more results" -time="2021-08-19T06:39:13Z" level=warning msg="Got 2 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="2 results to check against 2 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eca440)((len=2) \"Ip\"),\n Value: (*string)(0x1dba018)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efb308)((len=2) \"Ip\"),\n Value: (*string)(0x1efb310)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ecac20)((len=2) \"Ip\"),\n Value: (*string)(0x1c92f58)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efb328)((len=2) \"Ip\"),\n Value: (*string)(0x1efb330)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ead9a0)((len=2) \"Ip\"),\n Value: (*string)(0x1cf8358)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ebf288)((len=2) \"Ip\"),\n Value: (*string)(0x1ebf290)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 4 == 4" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ec1400)((len=2) \"Ip\"),\n Value: (*string)(0x1dbbf18)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1db7af0)((len=2) \"Ip\"),\n Value: (*string)(0x1db7b00)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 UTC" -time="2021-08-19T06:39:13Z" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 UTC." bucket_id=fragrant-dust capacity=3 cfg=ancient-snowflake file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-08-19T06:39:13Z" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-651365459" -time="2021-08-19T06:39:13Z" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-651365459" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 6 == 6" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=24) \"2a00:1450:4007:816::200e\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=24) \"2a00:1450:4007:816::200e\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ec1760)((len=2) \"Ip\"),\n Value: (*string)(0x1cf8918)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=24) \"2a00:1450:4007:816::200e\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=24) \"2a00:1450:4007:816::200e\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e16ed0)((len=2) \"Ip\"),\n Value: (*string)(0x1e16ed8)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 3 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="3 results to check against 3 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eca0e0)((len=2) \"Ip\"),\n Value: (*string)(0x1dbb898)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efadc8)((len=2) \"Ip\"),\n Value: (*string)(0x1efadd0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1eac8c0)((len=2) \"Ip\"),\n Value: (*string)(0x1d29498)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efade8)((len=2) \"Ip\"),\n Value: (*string)(0x1efadf0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:13Z" level=warning msg="Got 2 overflows from run" -time="2021-08-19T06:39:13Z" level=warning msg="2 results to check against 2 expected results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e98d40)((len=2) \"Ip\"),\n Value: (*string)(0x1e2ba58)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efb728)((len=2) \"Ip\"),\n Value: (*string)(0x1efb730)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" -time="2021-08-19T06:39:13Z" level=info msg="(EventsCount) 1 == 1" -time="2021-08-19T06:39:13Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e98d40)((len=2) \"Ip\"),\n Value: (*string)(0x1e2ba58)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1efb748)((len=2) \"Ip\"),\n Value: (*string)(0x1efb750)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:13Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:13Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:13Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:14Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:14Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:14Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:14Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:14Z" level=warning msg="Test is successfull" -time="2021-08-19T06:39:14Z" level=warning msg="Got 1 overflows from run" -time="2021-08-19T06:39:14Z" level=warning msg="1 results to check against 1 expected results" -time="2021-08-19T06:39:14Z" level=info msg="(scenario) test/simple-counter == test/simple-counter" -time="2021-08-19T06:39:14Z" level=info msg="(EventsCount) 2 == 2" -time="2021-08-19T06:39:14Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1e989e0)((len=2) \"Ip\"),\n Value: (*string)(0x1c934d8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1f372a0)((len=2) \"Ip\"),\n Value: (*string)(0x1f372a8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-08-19T06:39:14Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-08-19T06:39:14Z" level=warning msg="entry valid at end of loop" -time="2021-08-19T06:39:14Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:05Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:05Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:05Z" level=info msg="Pouring to bucket" +time="2021-08-19T06:50:05Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:05Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:05Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:05Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=weathered-wood capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2021-08-19T06:50:05Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2021-08-19T06:50:05Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:05Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:05Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:05Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=polished-pond capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2021-08-19T06:50:05Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2021-08-19T06:50:05Z" level=debug msg="Bucket externally killed, return" bucket_id=hidden-shadow capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2021-08-19T06:50:05Z" level=debug msg="Bucket externally killed, return" bucket_id=lively-bird capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="got one result" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:05Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" +time="2021-08-19T06:50:06Z" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" +time="2021-08-19T06:50:06Z" level=debug msg="Bucket externally killed, return" bucket_id=polished-pond capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2021-08-19T06:50:06Z" level=debug msg="Bucket externally killed, return" bucket_id=weathered-wood capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:06Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:06Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:06Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:06Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ac6440)((len=2) \"Ip\"),\n Value: (*string)(0x1a33718)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a8f010)((len=2) \"Ip\"),\n Value: (*string)(0x1a8f018)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:06Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:06Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:06Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:06Z" level=warning msg="no more results" +time="2021-08-19T06:50:06Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:06Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:06Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:06Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:06Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1aabe20)((len=2) \"Ip\"),\n Value: (*string)(0x1a32598)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2f248)((len=2) \"Ip\"),\n Value: (*string)(0x1a2f250)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:06Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:06Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:06Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 2 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="2 results to check against 2 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1aca200)((len=2) \"Ip\"),\n Value: (*string)(0x1af1658)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2f788)((len=2) \"Ip\"),\n Value: (*string)(0x1a2f790)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ac6b00)((len=2) \"Ip\"),\n Value: (*string)(0x1a33118)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2f7a8)((len=2) \"Ip\"),\n Value: (*string)(0x1a2f7b0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1aca8c0)((len=2) \"Ip\"),\n Value: (*string)(0x1d98458)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad7838)((len=2) \"Ip\"),\n Value: (*string)(0x1ad7840)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 2 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="2 results to check against 2 expected results" +time="2021-08-19T06:50:07Z" level=info msg="Here ?" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/filter-ok == test/filter-ok" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad48c0)((len=2) \"Ip\"),\n Value: (*string)(0x1bbfb98)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2fe68)((len=2) \"Ip\"),\n Value: (*string)(0x1a2fe70)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 2 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="2 results to check against 2 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad4c20)((len=2) \"Ip\"),\n Value: (*string)(0x1a5d198)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2fd10)((len=2) \"Ip\"),\n Value: (*string)(0x1a2fd18)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad5760)((len=2) \"Ip\"),\n Value: (*string)(0x185c218)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) (len=9) \"random AS\",\n AsNumber: (string) (len=4) \"1234\",\n Cn: (string) (len=2) \"FR\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2fd48)((len=2) \"Ip\"),\n Value: (*string)(0x1a2fd50)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 0 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-counter == test/simple-counter" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad4f80)((len=2) \"Ip\"),\n Value: (*string)(0x185d118)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2fdd0)((len=2) \"Ip\"),\n Value: (*string)(0x1a2fdd8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 4 == 4" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1aa5be0)((len=2) \"Ip\"),\n Value: (*string)(0x1a33bd8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ad6bc8)((len=2) \"Ip\"),\n Value: (*string)(0x1ad6bd0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 UTC" +time="2021-08-19T06:50:07Z" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 UTC." bucket_id=restless-sun capacity=3 cfg=aged-flower file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2021-08-19T06:50:07Z" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-270932457" +time="2021-08-19T06:50:07Z" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-270932457" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1aca560)((len=2) \"Ip\"),\n Value: (*string)(0x1a5d798)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1b32af8)((len=2) \"Ip\"),\n Value: (*string)(0x1b32b00)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 6 == 6" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=24) \"2a00:1450:4007:816::200e\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=24) \"2a00:1450:4007:816::200e\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1ac60e0)((len=2) \"Ip\"),\n Value: (*string)(0x1ce8658)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=24) \"2a00:1450:4007:816::200e\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=24) \"2a00:1450:4007:816::200e\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a2eca8)((len=2) \"Ip\"),\n Value: (*string)(0x1a2ecb0)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 3 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="3 results to check against 3 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a9a560)((len=2) \"Ip\"),\n Value: (*string)(0x1d99718)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1b33ba0)((len=2) \"Ip\"),\n Value: (*string)(0x1b33ba8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 2 == 2" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a9a8c0)((len=2) \"Ip\"),\n Value: (*string)(0x185ce98)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1b33bc0)((len=2) \"Ip\"),\n Value: (*string)(0x1b33bc8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 1 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="1 results to check against 1 expected results" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" +time="2021-08-19T06:50:07Z" level=warning msg="Got 2 overflows from run" +time="2021-08-19T06:50:07Z" level=warning msg="2 results to check against 2 expected results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1acac20)((len=2) \"Ip\"),\n Value: (*string)(0x1d98dd8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a8fc88)((len=2) \"Ip\"),\n Value: (*string)(0x1a8fc90)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" +time="2021-08-19T06:50:07Z" level=info msg="(EventsCount) 1 == 1" +time="2021-08-19T06:50:07Z" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1acac20)((len=2) \"Ip\"),\n Value: (*string)(0x1d98dd8)((len=7) \"1.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x1a8fca8)((len=2) \"Ip\"),\n Value: (*string)(0x1a8fcb0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2021-08-19T06:50:07Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2021-08-19T06:50:07Z" level=warning msg="entry valid at end of loop" +time="2021-08-19T06:50:07Z" level=warning msg="Test is successfull" --- PASS: TestShutdownBuckets (3.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.099s +ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.311s ? github.com/crowdsecurity/crowdsec/pkg/machineid [no test files] ? github.com/crowdsecurity/crowdsec/pkg/metabase [no test files] ? github.com/crowdsecurity/crowdsec/pkg/models [no test files] === RUN TestParserConfigs -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=billowing-frost -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=red-hill -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=broken-water -time="2021-08-19T06:39:19Z" level=info msg="Node is empty: (*parser.Node)(0x12745a0)({\n FormatVersion: (string) \"\",\n Debug: (bool) true,\n Profiling: (bool) false,\n Name: (string) \"\",\n Author: (string) \"\",\n Description: (string) \"\",\n Rerferences: ([]string) ,\n Logger: (*logrus.Entry)(0x123bf40)({\n Logger: (*logrus.Logger)(0x123be40)({\n Out: (*os.File)(0x109e0d0)({\n file: (*os.file)(0x10920c0)({\n pfd: (poll.FD) {\n fdmu: (poll.fdMutex) {\n state: (uint64) 0,\n rsema: (uint32) 0,\n wsema: (uint32) 0\n },\n Sysfd: (int) 2,\n pd: (poll.pollDesc) {\n runtimeCtx: (uintptr) \n },\n iovecs: (*[]syscall.Iovec)(),\n csema: (uint32) 0,\n isBlocking: (uint32) 1,\n IsStream: (bool) true,\n ZeroReadIsEOF: (bool) true,\n isFile: (bool) true\n },\n name: (string) (len=11) \"/dev/stderr\",\n dirinfo: (*os.dirInfo)(),\n nonblock: (bool) false,\n stdoutOrErr: (bool) true,\n appendMode: (bool) false\n })\n }),\n Hooks: (logrus.LevelHooks) {\n },\n Formatter: (*logrus.TextFormatter)(0x123be00)({\n ForceColors: (bool) false,\n DisableColors: (bool) false,\n ForceQuote: (bool) false,\n DisableQuote: (bool) false,\n EnvironmentOverrideColors: (bool) false,\n DisableTimestamp: (bool) false,\n FullTimestamp: (bool) false,\n TimestampFormat: (string) \"\",\n DisableSorting: (bool) false,\n SortingFunc: (func([]string)) ,\n DisableLevelTruncation: (bool) false,\n PadLevelText: (bool) false,\n QuoteEmptyFields: (bool) false,\n isTerminal: (bool) false,\n FieldMap: (logrus.FieldMap) ,\n CallerPrettyfier: (func(*runtime.Frame) (string, string)) ,\n terminalInitOnce: (sync.Once) {\n done: (uint32) 1,\n m: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n }\n },\n levelTextMaxLength: (int) 7\n }),\n ReportCaller: (bool) false,\n Level: (logrus.Level) debug,\n mu: (logrus.MutexWrap) {\n lock: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n },\n disabled: (bool) false\n },\n entryPool: (sync.Pool) {\n noCopy: (sync.noCopy) {\n },\n local: (unsafe.Pointer) 0x14d6e00,\n localSize: (uintptr) 0x4,\n victim: (unsafe.Pointer) ,\n victimSize: (uintptr) ,\n New: (func() interface {}) \n },\n ExitFunc: (logrus.exitFunc) 0x28316c\n }),\n Data: (logrus.Fields) (len=3) {\n (string) (len=2) \"id\": (string) (len=12) \"broken-water\",\n (string) (len=5) \"stage\": (string) (len=3) \"s00\",\n (string) (len=4) \"name\": (string) \"\"\n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Level: (logrus.Level) panic,\n Caller: (*runtime.Frame)(),\n Message: (string) \"\",\n Buffer: (*bytes.Buffer)(),\n Context: (context.Context) ,\n err: (string) \"\"\n }),\n Stage: (string) (len=3) \"s00\",\n OnSuccess: (string) \"\",\n rn: (string) (len=12) \"broken-water\",\n Filter: (string) (len=4) \"true\",\n RunTimeFilter: (*vm.Program)(0x100d3e0)({\n Source: (*file.Source)(0x100d340)({\n contents: ([]int32) (len=4 cap=4) {\n (int32) 116,\n (int32) 114,\n (int32) 117,\n (int32) 101\n },\n lineOffsets: ([]int32) (len=1 cap=1) {\n (int32) 5\n }\n }),\n Locations: (map[int]file.Location) (len=1) {\n (int) 0: (file.Location) {\n Line: (int) 1,\n Column: (int) 0\n }\n },\n Constants: ([]interface {}) ,\n Bytecode: ([]uint8) (len=1 cap=8) {\n 00000000 05 |.|\n }\n }),\n ExprDebugger: (*exprhelpers.ExprDebugger)(0x100d420)({\n filter: (string) (len=4) \"true\",\n expression: ([]*exprhelpers.expression) \n }),\n LeavesNodes: ([]parser.Node) ,\n EnrichFunctions: ([]parser.EnricherCtx) {\n },\n SubGroks: (map[string]string) ,\n Grok: (types.GrokPattern) {\n TargetField: (string) \"\",\n RegexpName: (string) \"\",\n RegexpValue: (string) \"\",\n RunTimeRegexp: (*grokky.Pattern)(),\n Statics: ([]types.ExtraField) \n },\n Statics: ([]types.ExtraField) ,\n Whitelist: (types.Whitelist) {\n Reason: (string) \"\",\n Ips: ([]string) ,\n B_Ips: ([]net.IP) ,\n Cidrs: ([]string) ,\n B_Cidrs: ([]*net.IPNet) ,\n Exprs: ([]string) ,\n B_Exprs: ([]*types.ExprWhitelist) \n },\n Data: ([]*types.DataSource) \n})\n" id=broken-water name= stage=s00 -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=falling-waterfall -time="2021-08-19T06:39:19Z" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=falling-waterfall name= stage=s00 -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=small-butterfly -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=spring-dust -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=frosty-butterfly -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=withered-cherry -time="2021-08-19T06:39:19Z" level=info msg=" has debug enabled" id=shy-bird ---- PASS: TestParserConfigs (1.09s) +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=divine-dream +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=ancient-wind +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=proud-bush +time="2021-08-19T06:50:11Z" level=info msg="Node is empty: (*parser.Node)(0x19ca360)({\n FormatVersion: (string) \"\",\n Debug: (bool) true,\n Profiling: (bool) false,\n Name: (string) \"\",\n Author: (string) \"\",\n Description: (string) \"\",\n Rerferences: ([]string) ,\n Logger: (*logrus.Entry)(0x1d7bf00)({\n Logger: (*logrus.Logger)(0x1d7be00)({\n Out: (*os.File)(0x18100e0)({\n file: (*os.file)(0x185c0c0)({\n pfd: (poll.FD) {\n fdmu: (poll.fdMutex) {\n state: (uint64) 0,\n rsema: (uint32) 0,\n wsema: (uint32) 0\n },\n Sysfd: (int) 2,\n pd: (poll.pollDesc) {\n runtimeCtx: (uintptr) \n },\n iovecs: (*[]syscall.Iovec)(),\n csema: (uint32) 0,\n isBlocking: (uint32) 1,\n IsStream: (bool) true,\n ZeroReadIsEOF: (bool) true,\n isFile: (bool) true\n },\n name: (string) (len=11) \"/dev/stderr\",\n dirinfo: (*os.dirInfo)(),\n nonblock: (bool) false,\n stdoutOrErr: (bool) true,\n appendMode: (bool) false\n })\n }),\n Hooks: (logrus.LevelHooks) {\n },\n Formatter: (*logrus.TextFormatter)(0x1d7bdc0)({\n ForceColors: (bool) false,\n DisableColors: (bool) false,\n ForceQuote: (bool) false,\n DisableQuote: (bool) false,\n EnvironmentOverrideColors: (bool) false,\n DisableTimestamp: (bool) false,\n FullTimestamp: (bool) false,\n TimestampFormat: (string) \"\",\n DisableSorting: (bool) false,\n SortingFunc: (func([]string)) ,\n DisableLevelTruncation: (bool) false,\n PadLevelText: (bool) false,\n QuoteEmptyFields: (bool) false,\n isTerminal: (bool) false,\n FieldMap: (logrus.FieldMap) ,\n CallerPrettyfier: (func(*runtime.Frame) (string, string)) ,\n terminalInitOnce: (sync.Once) {\n done: (uint32) 1,\n m: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n }\n },\n levelTextMaxLength: (int) 7\n }),\n ReportCaller: (bool) false,\n Level: (logrus.Level) debug,\n mu: (logrus.MutexWrap) {\n lock: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n },\n disabled: (bool) false\n },\n entryPool: (sync.Pool) {\n noCopy: (sync.noCopy) {\n },\n local: (unsafe.Pointer) 0x1a4cc00,\n localSize: (uintptr) 0x4,\n victim: (unsafe.Pointer) ,\n victimSize: (uintptr) ,\n New: (func() interface {}) \n },\n ExitFunc: (logrus.exitFunc) 0x28316c\n }),\n Data: (logrus.Fields) (len=3) {\n (string) (len=2) \"id\": (string) (len=10) \"proud-bush\",\n (string) (len=5) \"stage\": (string) (len=3) \"s00\",\n (string) (len=4) \"name\": (string) \"\"\n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Level: (logrus.Level) panic,\n Caller: (*runtime.Frame)(),\n Message: (string) \"\",\n Buffer: (*bytes.Buffer)(),\n Context: (context.Context) ,\n err: (string) \"\"\n }),\n Stage: (string) (len=3) \"s00\",\n OnSuccess: (string) \"\",\n rn: (string) (len=10) \"proud-bush\",\n Filter: (string) (len=4) \"true\",\n RunTimeFilter: (*vm.Program)(0x1a45380)({\n Source: (*file.Source)(0x1a452e0)({\n contents: ([]int32) (len=4 cap=4) {\n (int32) 116,\n (int32) 114,\n (int32) 117,\n (int32) 101\n },\n lineOffsets: ([]int32) (len=1 cap=1) {\n (int32) 5\n }\n }),\n Locations: (map[int]file.Location) (len=1) {\n (int) 0: (file.Location) {\n Line: (int) 1,\n Column: (int) 0\n }\n },\n Constants: ([]interface {}) ,\n Bytecode: ([]uint8) (len=1 cap=8) {\n 00000000 05 |.|\n }\n }),\n ExprDebugger: (*exprhelpers.ExprDebugger)(0x1a453c0)({\n filter: (string) (len=4) \"true\",\n expression: ([]*exprhelpers.expression) \n }),\n LeavesNodes: ([]parser.Node) ,\n EnrichFunctions: ([]parser.EnricherCtx) {\n },\n SubGroks: (map[string]string) ,\n Grok: (types.GrokPattern) {\n TargetField: (string) \"\",\n RegexpName: (string) \"\",\n RegexpValue: (string) \"\",\n RunTimeRegexp: (*grokky.Pattern)(),\n Statics: ([]types.ExtraField) \n },\n Statics: ([]types.ExtraField) ,\n Whitelist: (types.Whitelist) {\n Reason: (string) \"\",\n Ips: ([]string) ,\n B_Ips: ([]net.IP) ,\n Cidrs: ([]string) ,\n B_Cidrs: ([]*net.IPNet) ,\n Exprs: ([]string) ,\n B_Exprs: ([]*types.ExprWhitelist) \n },\n Data: ([]*types.DataSource) \n})\n" id=proud-bush name= stage=s00 +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=cold-thunder +time="2021-08-19T06:50:11Z" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=cold-thunder name= stage=s00 +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=withered-sound +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=proud-smoke +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=still-pond +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=still-moon +time="2021-08-19T06:50:11Z" level=info msg=" has debug enabled" id=blue-waterfall +--- PASS: TestParserConfigs (4.00s) === RUN TestParser -time="2021-08-19T06:39:19Z" level=info msg="Loaded -> [{Funcs:map[GeoIpASN:0x69d814 GeoIpCity:0x69dc7c IpToRange:0x69d44c ParseDate:0x69d0e0 reverse_dns:0x69d26c] Init:0x69e244 Plugin: Name:./test_data/ Path:./test_data/ RuntimeCtx:{dbc:0x109ecc0 dba:0x109ecf0 dbraw:0x14ebb00} initiated:true}]" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-grok" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-grok" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=misty-flower -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok has debug enabled" id=ancient-glitter -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=ancient-glitter name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=misty-flower name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-grok-external-data" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-grok-external-data" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=cold-snowflake -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok has debug enabled" id=lively-rain -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[is_it_in_file] = 'true'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=lively-rain name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[is_it_in_file] = 'false'" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=cold-snowflake name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] true == true" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] false == false" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-grok-import" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-grok-import" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=twilight-pond -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok has debug enabled" id=frosty-leaf -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['facility'] = '123'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['priority'] = '120'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['facility'] = '123'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['priority'] = '121'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ko" id=frosty-leaf name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ko" id=twilight-pond name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 3 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 3 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/3 matches result 0/3" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 120 == 120/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 121 == 121/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-grok-no-subnode" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-grok-no-subnode" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=frosty-dust -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=frosty-dust name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-json-extract" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-json-extract" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-json-extract has debug enabled" id=dark-glade -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=shy-pine -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok has debug enabled" id=weathered-star -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 2 nodes, 2 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 5 statics" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[other_field] = 'some stuff'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[program] = 'my_test_prog'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="move Event from stage s00-raw to s01-parse" id=dark-glade name=tests/base-json-extract stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-star name=child-tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=weathered-star name=child-tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=weathered-star name=child-tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s01-parse" id=shy-pine name=tests/base-grok stage=s01-parse -time="2021-08-19T06:39:20Z" level=info msg="parsed 1 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 1 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Parsed[message] xxheader VALUE1 trailing stuff == xxheader VALUE1 trailing stuff/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[extracted_array_field] foo == foo/ok Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Parsed[extracted_arrayfield_from_object] bar == bar/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/base-tree" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/base-tree" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok-root has debug enabled" id=purple-sound -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok-leafs has debug enabled" id=billowing-surf -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=wandering-wave -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=crimson-wave -time="2021-08-19T06:39:20Z" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 2 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[state] = 'root-done'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Meta.state = 'root-done'" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[final_state] = 'leaf1'" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[state] = 'root-done'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=purple-sound name=tests/base-grok-root stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Meta.state = 'root-done'" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ko (failed filter)" id=wandering-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[final_state] = 'leaf2'" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=crimson-wave name=child-tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s00-raw" id=billowing-surf name=tests/base-grok-leafs stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[final_state] leaf1 == leaf1/ok Meta[state_sub] VALUE1 == VALUE1" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[final_state] leaf2 == leaf2/ok Meta[state_sub] VALUE2 == VALUE2" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/dateparser-enrich" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/dateparser-enrich" -time="2021-08-19T06:39:20Z" level=info msg="test/dateparse has debug enabled" id=winter-resonance -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.StrTime = '2012/11/01'" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=winter-resonance name=test/dateparse stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format1 == format1/ok Enriched[MarshaledTime] 2012-11-01T00:00:00Z == 2012-11-01T00:00:00Z" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format2 == format2/ok Enriched[MarshaledTime] 2012-11-02T13:37:05Z == 2012-11-02T13:37:05Z" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/geoip-enrich" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/geoip-enrich" -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 8.8.8.8 == 8.8.8.8/mismatch Enriched[IsoCode] US != " -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 192.168.0.1 == 192.168.0.1/ok Enriched[IsInEU] false == false/ok Enriched[IsoCode] == /ok Enriched[ASNOrg] == " -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/multi-stage-grok" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/multi-stage-grok" -time="2021-08-19T06:39:20Z" level=info msg="tests/base-grok has debug enabled" id=old-pine -time="2021-08-19T06:39:20Z" level=info msg="child-tests/base-grok has debug enabled" id=twilight-violet -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml -time="2021-08-19T06:39:20Z" level=info msg="tests/second-stage-grok has debug enabled" id=bold-dawn -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 2 nodes, 2 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 2 statics" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[did_second_stage] = 'yes'" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="node reached the last stage : s01-raw" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=twilight-violet name=child-tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=old-pine name=tests/base-grok stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ko (failed filter)" id=bold-dawn name=tests/second-stage-grok stage=s01-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process true == true/ok whitelist false == false/ok Parsed[test_bis] lolilol == lolilol/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process false == false/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/reverse-dns-enrich" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/reverse-dns-enrich" -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=info msg="parsed 2 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 2 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/mismatch Meta[did_dns_succeeded] yes != no" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Meta[did_dns_succeeded] no == no/ok Enriched[IpToResolve] 1.2.3.4 == 1.2.3.4" -time="2021-08-19T06:39:20Z" level=info msg="Running test on ./tests/whitelist-base" -time="2021-08-19T06:39:20Z" level=warning msg="testing ./tests/whitelist-base" -time="2021-08-19T06:39:20Z" level=info msg="test/whitelists has debug enabled" id=blue-grass -time="2021-08-19T06:39:20Z" level=debug msg="adding ip 8.8.8.8 to whitelists" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml -time="2021-08-19T06:39:20Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-08-19T06:39:20Z" level=warning msg="Going to process one test set" -time="2021-08-19T06:39:20Z" level=debug msg="Event from [8.8.8.8] is whitelisted by Ips !" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[statics] = 'success'" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event from [1.2.3.4] is whitelisted by Cidrs !" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[statics] = 'success'" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="eval variables:" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="Event is whitelisted by Expr !" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="+ Processing 1 statics" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg=".Meta[statics] = 'success'" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=debug msg="Event leaving node : ok" id=blue-grass name=test/whitelists stage=s00-raw -time="2021-08-19T06:39:20Z" level=info msg="parsed 5 lines" -time="2021-08-19T06:39:20Z" level=info msg="got 5 results" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/5 matches result 0/5" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/4 matches result 0/4" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/3 matches result 0/3" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[statics] toto == toto/ok Meta[test] test4 == test4" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" -time="2021-08-19T06:39:20Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-08-19T06:39:20Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test2 == test2/ok Meta[statics] success == success" ---- PASS: TestParser (1.28s) +time="2021-08-19T06:50:11Z" level=info msg="Loaded -> [{Funcs:map[GeoIpASN:0x69d814 GeoIpCity:0x69dc7c IpToRange:0x69d44c ParseDate:0x69d0e0 reverse_dns:0x69d26c] Init:0x69e244 Plugin: Name:./test_data/ Path:./test_data/ RuntimeCtx:{dbc:0x19d4420 dba:0x19d4450 dbraw:0x1d1c1e0} initiated:true}]" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-grok" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-grok" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=autumn-sun +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok has debug enabled" id=little-leaf +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=little-leaf name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=autumn-sun name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-grok-external-data" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-grok-external-data" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=wispy-river +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok has debug enabled" id=spring-cherry +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[is_it_in_file] = 'true'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=spring-cherry name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[is_it_in_file] = 'false'" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=wispy-river name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] true == true" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] false == false" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-grok-import" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-grok-import" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=twilight-star +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok has debug enabled" id=blue-wind +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['facility'] = '123'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['priority'] = '120'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['facility'] = '123'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['priority'] = '121'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ko" id=blue-wind name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ko" id=twilight-star name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 3 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 3 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/3 matches result 0/3" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 120 == 120/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 121 == 121/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-grok-no-subnode" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-grok-no-subnode" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=wandering-resonance +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=wandering-resonance name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-json-extract" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-json-extract" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-json-extract has debug enabled" id=delicate-tree +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=autumn-water +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok has debug enabled" id=floral-feather +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 2 nodes, 2 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 5 statics" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[other_field] = 'some stuff'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[program] = 'my_test_prog'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="move Event from stage s00-raw to s01-parse" id=delicate-tree name=tests/base-json-extract stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=floral-feather name=child-tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=floral-feather name=child-tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=floral-feather name=child-tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s01-parse" id=autumn-water name=tests/base-grok stage=s01-parse +time="2021-08-19T06:50:15Z" level=info msg="parsed 1 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 1 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[extracted_array_field] foo == foo/ok Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Parsed[extracted_arrayfield_from_object] bar == bar/ok Parsed[message] xxheader VALUE1 trailing stuff == xxheader VALUE1 trailing stuff/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/base-tree" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/base-tree" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok-root has debug enabled" id=red-silence +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok-leafs has debug enabled" id=floral-leaf +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=summer-wildflower +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=proud-surf +time="2021-08-19T06:50:15Z" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 2 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[state] = 'root-done'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Meta.state = 'root-done'" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[final_state] = 'leaf1'" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[state] = 'root-done'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=red-silence name=tests/base-grok-root stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Meta.state = 'root-done'" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ko (failed filter)" id=summer-wildflower name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[final_state] = 'leaf2'" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=proud-surf name=child-tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s00-raw" id=floral-leaf name=tests/base-grok-leafs stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[final_state] leaf1 == leaf1/ok Meta[state_sub] VALUE1 == VALUE1" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[state_sub] VALUE2 == VALUE2/ok Meta[final_state] leaf2 == leaf2" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/dateparser-enrich" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/dateparser-enrich" +time="2021-08-19T06:50:15Z" level=info msg="test/dateparse has debug enabled" id=green-breeze +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.StrTime = '2012/11/01'" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=green-breeze name=test/dateparse stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format1 == format1/ok Enriched[MarshaledTime] 2012-11-01T00:00:00Z == 2012-11-01T00:00:00Z" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format2 == format2/ok Enriched[MarshaledTime] 2012-11-02T13:37:05Z == 2012-11-02T13:37:05Z" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/geoip-enrich" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/geoip-enrich" +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 8.8.8.8 == 8.8.8.8/mismatch Enriched[IsoCode] US != " +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 192.168.0.1 == 192.168.0.1/ok Enriched[IsInEU] false == false/ok Enriched[IsoCode] == /ok Enriched[ASNOrg] == " +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/multi-stage-grok" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/multi-stage-grok" +time="2021-08-19T06:50:15Z" level=info msg="tests/base-grok has debug enabled" id=cold-hill +time="2021-08-19T06:50:15Z" level=info msg="child-tests/base-grok has debug enabled" id=cool-voice +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml +time="2021-08-19T06:50:15Z" level=info msg="tests/second-stage-grok has debug enabled" id=white-pine +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 2 nodes, 2 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 2 statics" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[did_second_stage] = 'yes'" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="node reached the last stage : s01-raw" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=cool-voice name=child-tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=cold-hill name=tests/base-grok stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ko (failed filter)" id=white-pine name=tests/second-stage-grok stage=s01-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[test_bis] lolilol == lolilol/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process false == false/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/reverse-dns-enrich" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/reverse-dns-enrich" +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=info msg="parsed 2 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 2 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/mismatch Meta[did_dns_succeeded] yes != no" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Meta[did_dns_succeeded] no == no/ok Enriched[IpToResolve] 1.2.3.4 == 1.2.3.4" +time="2021-08-19T06:50:15Z" level=info msg="Running test on ./tests/whitelist-base" +time="2021-08-19T06:50:15Z" level=warning msg="testing ./tests/whitelist-base" +time="2021-08-19T06:50:15Z" level=info msg="test/whitelists has debug enabled" id=misty-dawn +time="2021-08-19T06:50:15Z" level=debug msg="adding ip 8.8.8.8 to whitelists" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml +time="2021-08-19T06:50:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2021-08-19T06:50:15Z" level=warning msg="Going to process one test set" +time="2021-08-19T06:50:15Z" level=debug msg="Event from [8.8.8.8] is whitelisted by Ips !" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[statics] = 'success'" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event from [1.2.3.4] is whitelisted by Cidrs !" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[statics] = 'success'" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="eval variables:" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="Event is whitelisted by Expr !" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="+ Processing 1 statics" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg=".Meta[statics] = 'success'" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=debug msg="Event leaving node : ok" id=misty-dawn name=test/whitelists stage=s00-raw +time="2021-08-19T06:50:15Z" level=info msg="parsed 5 lines" +time="2021-08-19T06:50:15Z" level=info msg="got 5 results" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/5 matches result 0/5" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/4 matches result 0/4" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/3 matches result 0/3" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" +time="2021-08-19T06:50:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2021-08-19T06:50:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test2 == test2/ok Meta[statics] success == success" +--- PASS: TestParser (4.11s) === RUN TestGeneratePatternsDoc --- PASS: TestGeneratePatternsDoc (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/parser 2.441s +ok github.com/crowdsecurity/crowdsec/pkg/parser 8.571s === RUN TestLimit --- PASS: TestLimit (0.00s) === RUN TestEvery @@ -4422,14 +4455,14 @@ === RUN TestWaitSimple --- PASS: TestWaitSimple (0.20s) === RUN TestWaitCancel - rate_test.go:438: tokens:2.0073616999999997 last:2021-08-19 06:39:26.083355821 +0000 UTC m=+5.310068437 lastEvent:2021-08-19 06:39:26.182620172 +0000 UTC m=+5.409332267 + rate_test.go:438: tokens:2.0376315600000003 last:2021-08-19 06:50:17.394372999 +0000 UTC m=+5.311810202 lastEvent:2021-08-19 06:50:17.490609863 +0000 UTC m=+5.408047046 --- PASS: TestWaitCancel (0.10s) === RUN TestWaitTimeout --- PASS: TestWaitTimeout (0.00s) === RUN TestWaitInf --- PASS: TestWaitInf (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/time/rate 5.322s +ok github.com/crowdsecurity/crowdsec/pkg/time/rate 5.360s === RUN TestIP2Int --- PASS: TestIP2Int (0.00s) === RUN TestRange2Int @@ -4437,7 +4470,7 @@ === RUN TestAdd2Int --- PASS: TestAdd2Int (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/types 0.090s +ok github.com/crowdsecurity/crowdsec/pkg/types 0.362s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -4494,12 +4527,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18978/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1435 and its subdirectories -I: Current time: Wed Aug 18 18:40:24 -12 2021 -I: pbuilder-time-stamp: 1629355224 +I: removing directory /srv/workspace/pbuilder/18978 and its subdirectories +I: Current time: Thu Aug 19 20:52:14 +14 2021 +I: pbuilder-time-stamp: 1629355934