Diff of the two buildlogs: -- --- b1/build.log 2021-05-23 04:44:01.713774262 +0000 +++ b2/build.log 2021-05-23 04:45:54.017362795 +0000 @@ -1,8 +1,6 @@ -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Sat May 22 16:24:27 -12 2021 -I: pbuilder-time-stamp: 1621743867 +I: pbuilder: network access will be disabled during build +I: Current time: Sun Jun 26 01:07:03 +14 2022 +I: pbuilder-time-stamp: 1656155223 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -21,8 +19,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.QhBZw5kN/trustedkeys.kbx': General error -gpgv: Signature made Mon May 3 00:00:05 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig._QsL8569/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 @@ -44,137 +42,171 @@ 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/28004/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/488/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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/488/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/488/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5c897331e2af4442a6ea9716d3e22c4f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='28004' - PS1='# ' - PS2='> ' + INVOCATION_ID=d19e558f19f7478ca6f32bacc5c7b32e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=488 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.eCcwnHkhzn/pbuilderrc_79fQ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.eCcwnHkhzn/b1 --logfile b1/build.log crowdsec_1.0.9-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + 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.eCcwnHkhzn/pbuilderrc_sEeG --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.eCcwnHkhzn/b2 --logfile b2/build.log --extrapackages usrmerge crowdsec_1.0.9-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin - total 5792 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 01:23 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 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 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 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 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 May 21 02:22 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 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/28004/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 26 01:07 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 25 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/488/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -663,7 +695,7 @@ Get: 359 http://deb.debian.org/debian bullseye/main i386 golang-github-oschwald-maxminddb-golang-dev all 1.8.0-1 [22.9 kB] Get: 360 http://deb.debian.org/debian bullseye/main i386 golang-github-oschwald-geoip2-golang-dev all 1.4.0-1 [8124 B] Get: 361 http://deb.debian.org/debian bullseye/main i386 golang-github-prometheus-prom2json-dev all 1.3.0+ds1-2 [9996 B] -Fetched 133 MB in 45s (2969 kB/s) +Fetched 133 MB in 7s (19.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:i386. (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 ... 19674 files and directories currently installed.) @@ -2133,8 +2165,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (5166 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 66397 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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 +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 dpkg-buildpackage: info: source package crowdsec dpkg-buildpackage: info: source version 1.0.9-2 dpkg-buildpackage: info: source distribution unstable @@ -2154,333 +2222,333 @@ 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 10 -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 -unicode/utf8 -internal/nettrace -unicode + cd _build && go install -trimpath -v -p 18 -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 -internal/race +crypto/subtle math/bits -sync/atomic -internal/cpu +vendor/golang.org/x/crypto/internal/subtle +container/list +internal/race +internal/nettrace +unicode/utf16 runtime/internal/atomic -runtime/internal/sys -runtime/cgo encoding -unicode/utf16 +runtime/internal/sys crypto/internal/subtle -container/list -internal/testlog -crypto/subtle -runtime/internal/math -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/bytealg golang.org/x/sys/internal/unsafeheader +vendor/golang.org/x/crypto/cryptobyte/asn1 +unicode +sync/atomic github.com/go-playground/locales/currency -github.com/facebook/ent/schema -vendor/golang.org/x/crypto/internal/subtle github.com/facebook/ent/schema/index +unicode/utf8 github.com/lib/pq/oid +internal/cpu +github.com/facebook/ent/schema +runtime/cgo github.com/docker/docker/api github.com/docker/docker/api/types/events -math -github.com/shurcooL/sanitized_anchor_name -github.com/facebook/ent/dialect/entsql -golang.org/x/mod/semver github.com/docker/docker/api/types/image +golang.org/x/mod/semver github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime +github.com/facebook/ent/dialect/entsql +internal/testlog +runtime/internal/math +internal/bytealg +math +github.com/shurcooL/sanitized_anchor_name runtime internal/reflectlite sync internal/singleflight -math/rand github.com/josharian/intern -sort +math/rand errors +sort internal/oserror -strconv -vendor/golang.org/x/net/dns/dnsmessage io -github.com/beorn7/perks/quantile +vendor/golang.org/x/net/dns/dnsmessage +strconv syscall +github.com/beorn7/perks/quantile hash strings crypto/internal/randutil text/tabwriter bytes -hash/crc32 crypto/hmac -crypto/rc4 -crypto -reflect +hash/crc32 vendor/golang.org/x/crypto/hkdf +crypto +crypto/rc4 golang.org/x/crypto/blowfish -golang.org/x/text/transform +reflect vendor/golang.org/x/text/transform -html +golang.org/x/text/transform bufio path -golang.org/x/text/width -regexp/syntax github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg -github.com/kballard/go-shellquote github.com/docker/docker/api/types/versions -internal/syscall/unix -time +github.com/kballard/go-shellquote +regexp/syntax +html +golang.org/x/text/width internal/syscall/execenv +internal/syscall/unix plugin +time regexp -internal/poll -github.com/nxadm/tail/ratelimiter -context github.com/go-playground/locales +context +github.com/nxadm/tail/ratelimiter +internal/poll internal/fmtsort +github.com/gin-gonic/gin/internal/bytesconv encoding/binary github.com/facebook/ent/schema/edge -github.com/gin-gonic/gin/internal/bytesconv github.com/mohae/deepcopy os +crypto/sha512 +crypto/md5 crypto/sha1 encoding/base64 -crypto/sha512 +crypto/cipher +golang.org/x/crypto/sha3 crypto/ed25519/internal/edwards25519 -crypto/md5 crypto/sha256 +github.com/cespare/xxhash vendor/golang.org/x/crypto/poly1305 -crypto/cipher golang.org/x/sys/unix encoding/pem -github.com/cespare/xxhash -crypto/des -golang.org/x/crypto/sha3 -crypto/aes -vendor/golang.org/x/crypto/chacha20 fmt path/filepath -net +runtime/debug os/signal github.com/docker/docker/api/types/mount -vendor/golang.org/x/crypto/chacha20poly1305 -runtime/debug github.com/mattn/go-runewidth -os/exec +crypto/aes +crypto/des +vendor/golang.org/x/crypto/chacha20 +net io/ioutil -github.com/crowdsecurity/crowdsec/pkg/machineid +os/exec +vendor/golang.org/x/crypto/chacha20poly1305 github.com/prometheus/procfs/internal/util +github.com/crowdsecurity/crowdsec/pkg/machineid encoding/hex -encoding/json -net/url flag +net/url +mime/quotedprintable +net/http/internal log +database/sql/driver +vendor/golang.org/x/net/http2/hpack +mime vendor/golang.org/x/crypto/curve25519 compress/flate +encoding/json +gopkg.in/yaml.v2 vendor/golang.org/x/text/unicode/norm math/big -vendor/golang.org/x/text/unicode/bidi -mime -vendor/golang.org/x/net/http2/hpack -mime/quotedprintable -compress/gzip -net/http/internal -database/sql/driver -github.com/antonmedv/expr/file -github.com/mailru/easyjson/jlexer -github.com/antonmedv/expr/ast gopkg.in/mgo.v2/internal/json -github.com/antonmedv/expr/parser/lexer -github.com/antonmedv/expr/vm -gopkg.in/yaml.v2 -vendor/golang.org/x/text/secure/bidirule -github.com/PuerkitoBio/urlesc -golang.org/x/text/unicode/bidi -vendor/golang.org/x/net/idna golang.org/x/text/unicode/norm -github.com/antonmedv/expr/parser encoding/xml -crypto/elliptic -encoding/asn1 -crypto/dsa -crypto/rand -golang.org/x/text/secure/bidirule -github.com/google/go-querystring/query github.com/pkg/errors -github.com/antonmedv/expr/conf -crypto/ed25519 -crypto/rsa -gopkg.in/mgo.v2/bson -github.com/sirupsen/logrus -golang.org/x/net/idna -github.com/antonmedv/expr/compiler -github.com/antonmedv/expr/checker -github.com/antonmedv/expr/optimizer +vendor/golang.org/x/text/unicode/bidi github.com/buger/jsonparser -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix +golang.org/x/text/unicode/bidi github.com/davecgh/go-spew/spew +github.com/PuerkitoBio/urlesc +github.com/google/go-querystring/query encoding/gob github.com/hashicorp/go-version -github.com/antonmedv/expr github.com/logrusorgru/grokky -crypto/ecdsa -github.com/PuerkitoBio/purell -gopkg.in/natefinch/lumberjack.v2 -github.com/crowdsecurity/crowdsec/pkg/time/rate +compress/gzip github.com/enescakir/emoji +github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/goombaio/namegenerator github.com/prometheus/procfs/internal/fs gopkg.in/tomb.v2 -github.com/golang/protobuf/proto -github.com/prometheus/common/model +vendor/golang.org/x/text/secure/bidirule +gopkg.in/natefinch/lumberjack.v2 +golang.org/x/text/secure/bidirule github.com/nxadm/tail/util -github.com/gin-gonic/gin/internal/json github.com/fsnotify/fsnotify gopkg.in/tomb.v1 -github.com/leodido/go-urn runtime/trace -github.com/go-playground/universal-translator go/token text/template/parse -github.com/coreos/go-systemd/daemon -vendor/golang.org/x/net/http/httpproxy -crypto/x509 -net/textproto -github.com/mailru/easyjson/buffer -github.com/mitchellh/mapstructure -github.com/crowdsecurity/crowdsec/pkg/exprhelpers +github.com/mattn/go-isatty +database/sql +vendor/golang.org/x/net/idna +github.com/mailru/easyjson/jlexer +github.com/antonmedv/expr/file github.com/nxadm/tail/watch -github.com/prometheus/procfs -github.com/mailru/easyjson/jwriter +github.com/prometheus/common/model +github.com/sirupsen/logrus testing -vendor/golang.org/x/net/http/httpguts -github.com/go-playground/validator/v10 -mime/multipart +github.com/gin-gonic/gin/internal/json +github.com/golang/protobuf/proto +github.com/go-playground/universal-translator +github.com/leodido/go-urn +golang.org/x/net/idna +github.com/antonmedv/expr/ast +github.com/antonmedv/expr/vm +github.com/antonmedv/expr/parser/lexer +crypto/elliptic +encoding/asn1 +crypto/rand +crypto/dsa github.com/nxadm/tail -github.com/mattn/go-isatty -database/sql -text/template -crypto/tls -github.com/asaskevich/govalidator -github.com/dgrijalva/jwt-go -github.com/google/uuid github.com/facebook/ent/entql +github.com/antonmedv/expr/parser github.com/go-co-op/gocron -github.com/facebook/ent/dialect +crypto/ed25519 +crypto/rsa +gopkg.in/mgo.v2/bson github.com/lib/pq/scram -golang.org/x/crypto/bcrypt os/user -github.com/oschwald/maxminddb-golang -internal/profile -github.com/facebook/ent/dialect/sql +golang.org/x/crypto/bcrypt +text/template +github.com/PuerkitoBio/purell github.com/facebook/ent/schema/field -github.com/golang/protobuf/ptypes/any github.com/mattn/go-sqlite3 -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/prometheus/client_model/go -html/template -github.com/oschwald/geoip2-golang -net/http/httptrace +internal/profile +vendor/golang.org/x/crypto/cryptobyte runtime/pprof -github.com/prometheus/client_golang/prometheus/internal -github.com/go-sql-driver/mysql -github.com/facebook/ent +crypto/x509/pkix github.com/mattn/go-colorable github.com/AlecAivazis/survey/terminal -github.com/mgutz/ansi golang.org/x/term -net/http -archive/zip +github.com/mgutz/ansi github.com/docker/docker/api/types/blkiodev +archive/zip github.com/docker/docker/api/types/strslice -github.com/AlecAivazis/survey/core -github.com/docker/go-connections/nat -golang.org/x/crypto/ssh/terminal -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/crowdsecurity/crowdsec/pkg/database/ent/schema -github.com/AlecAivazis/survey -github.com/facebook/ent/dialect/sql/schema github.com/docker/go-units -github.com/opencontainers/image-spec/specs-go github.com/docker/docker/api/types/filters github.com/opencontainers/go-digest +github.com/opencontainers/image-spec/specs-go +golang.org/x/crypto/ssh/terminal google.golang.org/grpc/codes -github.com/docker/docker/api/types/container -github.com/crowdsecurity/crowdsec/pkg/database/ent/alert -github.com/gogo/protobuf/proto -github.com/crowdsecurity/crowdsec/pkg/database/ent/event -github.com/crowdsecurity/crowdsec/pkg/database/ent/decision -github.com/crowdsecurity/crowdsec/pkg/database/ent/machine -github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/docker/docker/api/types/network -github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate -github.com/opencontainers/image-spec/specs-go/v1 -github.com/docker/docker/api/types/registry -google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/grpclog github.com/containerd/containerd/log -github.com/docker/distribution/digestset +crypto/ecdsa +github.com/gogo/protobuf/proto github.com/docker/docker/api/types/time -github.com/docker/go-connections/tlsconfig -github.com/docker/distribution/reference +encoding/csv +github.com/opencontainers/image-spec/specs-go/v1 +github.com/docker/distribution/digestset +github.com/russross/blackfriday/v2 +github.com/antonmedv/expr/conf google.golang.org/grpc/connectivity -github.com/lib/pq -golang.org/x/net/internal/socks -github.com/crowdsecurity/crowdsec/pkg/database/ent +github.com/facebook/ent +github.com/AlecAivazis/survey/core +github.com/docker/distribution/reference +html/template google.golang.org/grpc/internal -encoding/csv +github.com/antonmedv/expr/checker +github.com/antonmedv/expr/compiler +github.com/antonmedv/expr/optimizer +github.com/olekukonko/tablewriter +github.com/crowdsecurity/crowdsec/pkg/database/ent/schema +github.com/AlecAivazis/survey +github.com/antonmedv/expr +github.com/golang/protobuf/ptypes/any +github.com/golang/protobuf/ptypes/duration +github.com/golang/protobuf/ptypes/timestamp +github.com/matttproud/golang_protobuf_extensions/pbutil +github.com/prometheus/client_model/go +github.com/cpuguy83/go-md2man/v2/md2man +google.golang.org/genproto/googleapis/rpc/status +github.com/golang/protobuf/ptypes google.golang.org/grpc/status -github.com/russross/blackfriday/v2 -golang.org/x/net/proxy +github.com/prometheus/client_golang/prometheus/internal github.com/containerd/containerd/errdefs -github.com/olekukonko/tablewriter -github.com/go-openapi/errors -github.com/go-openapi/swag +github.com/containerd/containerd/platforms +github.com/coreos/go-systemd/daemon +github.com/mailru/easyjson/buffer +vendor/golang.org/x/net/http/httpproxy +github.com/mitchellh/mapstructure +net/textproto +crypto/x509 +github.com/docker/docker/api/types/registry +github.com/crowdsecurity/crowdsec/pkg/exprhelpers +github.com/docker/go-connections/nat +github.com/google/uuid +golang.org/x/net/internal/socks +github.com/go-playground/validator/v10 +github.com/oschwald/maxminddb-golang +github.com/prometheus/procfs github.com/spf13/pflag -net/http/httputil +github.com/mailru/easyjson/jwriter +github.com/docker/docker/api/types/container +github.com/facebook/ent/dialect +golang.org/x/net/proxy +vendor/golang.org/x/net/http/httpguts +mime/multipart +github.com/facebook/ent/dialect/sql +github.com/oschwald/geoip2-golang +github.com/asaskevich/govalidator +crypto/tls +github.com/dgrijalva/jwt-go +github.com/spf13/cobra +github.com/docker/docker/api/types/swarm/runtime +github.com/docker/docker/api/types/swarm +github.com/docker/docker/api/types +github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate +github.com/facebook/ent/dialect/sql/sqlgraph +github.com/facebook/ent/dialect/sql/schema +github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer +github.com/docker/docker/api/types/volume +github.com/spf13/cobra/doc +github.com/crowdsecurity/crowdsec/pkg/database/ent/event +github.com/crowdsecurity/crowdsec/pkg/database/ent/meta +github.com/crowdsecurity/crowdsec/pkg/database/ent/machine +github.com/crowdsecurity/crowdsec/pkg/database/ent/decision +github.com/crowdsecurity/crowdsec/pkg/database/ent/alert +net/http/httptrace +github.com/docker/go-connections/tlsconfig +github.com/go-sql-driver/mysql +github.com/lib/pq +github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate +net/http +github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/cwversion -github.com/go-openapi/strfmt expvar +github.com/go-openapi/errors +net/http/httputil +github.com/go-openapi/swag +github.com/docker/distribution/registry/api/errcode github.com/prometheus/common/expfmt github.com/gin-contrib/sse -github.com/go-openapi/jsonpointer -net/http/pprof net/rpc -github.com/go-openapi/jsonreference +github.com/docker/go-connections/sockets +net/http/pprof github.com/dghubble/sling -github.com/docker/docker/api/types/swarm/runtime -github.com/go-openapi/spec -github.com/containerd/containerd/platforms -github.com/docker/docker/api/types/swarm -github.com/docker/distribution/registry/api/errcode -github.com/ugorji/go/codec -github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime -github.com/prometheus/client_golang/prometheus +github.com/go-openapi/strfmt github.com/docker/docker/errdefs -github.com/docker/go-connections/sockets -github.com/prometheus/prom2json -github.com/docker/docker/api/types -github.com/spf13/cobra -github.com/cpuguy83/go-md2man/v2/md2man -github.com/docker/docker/api/types/volume -github.com/go-openapi/analysis +github.com/ugorji/go/codec github.com/docker/docker/client -github.com/spf13/cobra/doc +github.com/go-openapi/jsonpointer +github.com/prometheus/prom2json +github.com/prometheus/client_golang/prometheus +github.com/go-openapi/jsonreference +github.com/go-openapi/spec +github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime +github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest +github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/prometheus/client_golang/prometheus/promhttp +github.com/go-openapi/analysis github.com/go-openapi/loads github.com/go-openapi/validate github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/types -github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest -github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles -github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/cwhub +github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/leakybucket @@ -2497,69 +2565,68 @@ github.com/crowdsecurity/crowdsec/cmd/crowdsec 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 10 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 18 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-05-23T04:41:51Z" level=info msg="loading acquisition file : ./tests/xxx.yaml" -time="2021-05-23T04:41:51Z" level=info msg="loading acquisition file : ./tests/test.log" -time="2021-05-23T04:41:51Z" level=info msg="loading acquisition file : ./tests/acquis_test.yaml" -time="2021-05-23T04:41:51Z" level=info msg="[file datasource] opening file './tests/test.log'" ---- PASS: TestConfigLoading (0.02s) +time="2022-06-25T11:08:14Z" level=info msg="loading acquisition file : ./tests/xxx.yaml" +time="2022-06-25T11:08:14Z" level=info msg="loading acquisition file : ./tests/test.log" +time="2022-06-25T11:08:14Z" level=info msg="loading acquisition file : ./tests/acquis_test.yaml" +time="2022-06-25T11:08:14Z" level=info msg="[file datasource] opening file './tests/test.log'" +--- PASS: TestConfigLoading (0.00s) === RUN TestDataSourceConfigure -time="2021-05-23T04:41:51Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" -time="2021-05-23T04:41:51Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" -time="2021-05-23T04:41:51Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:41:51Z" level=info msg="expected config error ok : configuring file datasource: unknown mode ratata for file acquisition" -time="2021-05-23T04:41:51Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:41:51Z" level=info msg="kill iiittt" -time="2021-05-23T04:41:51Z" level=info msg="reading ./tests/test.log at once" -time="2021-05-23T04:41:52Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:41:52Z" level=info msg="kill iiittt" -time="2021-05-23T04:41:52Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log -time="2021-05-23T04:41:53Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" -time="2021-05-23T04:41:53Z" level=info msg="kill iiittt" -time="2021-05-23T04:41:53Z" level=warning msg="got stderr message : \x1b[0;1;39mNo journal files were found.\x1b[0m" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +time="2022-06-25T11:08:14Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" +time="2022-06-25T11:08:14Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" +time="2022-06-25T11:08:14Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:14Z" level=info msg="expected config error ok : configuring file datasource: unknown mode ratata for file acquisition" +time="2022-06-25T11:08:14Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:14Z" level=info msg="kill iiittt" +time="2022-06-25T11:08:14Z" level=info msg="reading ./tests/test.log at once" +time="2022-06-25T11:08:15Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:15Z" level=info msg="kill iiittt" +time="2022-06-25T11:08:15Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log +time="2022-06-25T11:08:16Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" +time="2022-06-25T11:08:16Z" level=info msg="kill iiittt" +time="2022-06-25T11:08:16Z" 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) === RUN TestAcquisCat -time="2021-05-23T04:41:54Z" level=info msg="expected config error ok : no filename or filenames" -time="2021-05-23T04:41:54Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" -time="2021-05-23T04:41:54Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" -time="2021-05-23T04:41:54Z" level=warning msg="[file datasource] no results for /does/not/exists" -time="2021-05-23T04:41:54Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" -time="2021-05-23T04:41:54Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:41:54Z" level=info msg="reading ./tests/test.log at once" -time="2021-05-23T04:41:55Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" -time="2021-05-23T04:41:55Z" level=info msg="reading ./tests/badlog.gz at once" -time="2021-05-23T04:41:55Z" level=error msg="Failed to read gz file: EOF" file=./tests/badlog.gz -time="2021-05-23T04:41:56Z" level=info msg="expected tomb error ok : " -time="2021-05-23T04:41:56Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" -time="2021-05-23T04:41:56Z" level=info msg="reading ./tests/test.log.gz at once" ---- PASS: TestAcquisCat (3.01s) +time="2022-06-25T11:08:17Z" level=info msg="expected config error ok : no filename or filenames" +time="2022-06-25T11:08:17Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" +time="2022-06-25T11:08:17Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" +time="2022-06-25T11:08:17Z" level=warning msg="[file datasource] no results for /does/not/exists" +time="2022-06-25T11:08:17Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" +time="2022-06-25T11:08:17Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:17Z" level=info msg="reading ./tests/test.log at once" +time="2022-06-25T11:08:18Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" +time="2022-06-25T11:08:18Z" level=info msg="reading ./tests/badlog.gz at once" +time="2022-06-25T11:08:18Z" level=error msg="Failed to read gz file: EOF" file=./tests/badlog.gz +time="2022-06-25T11:08:19Z" level=info msg="expected tomb error ok : " +time="2022-06-25T11:08:19Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" +time="2022-06-25T11:08:19Z" level=info msg="reading ./tests/test.log.gz at once" +--- PASS: TestAcquisCat (3.00s) === RUN TestTailKill -time="2021-05-23T04:41:57Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:41:58Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log +time="2022-06-25T11:08:20Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:21Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log --- PASS: TestTailKill (2.00s) === RUN TestTailKillBis -time="2021-05-23T04:41:59Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:42:00Z" level=warning msg="File reader of ./tests/test.log died" acquisition file=./tests/test.log +time="2022-06-25T11:08:22Z" level=info msg="[file datasource] opening file './tests/test.log'" --- PASS: TestTailKillBis (2.00s) === RUN TestTailRuntime -time="2021-05-23T04:42:01Z" level=info msg="[file datasource] opening file './tests/test.log'" ---- PASS: TestTailRuntime (2.25s) +time="2022-06-25T11:08:24Z" level=info msg="[file datasource] opening file './tests/test.log'" +--- PASS: TestTailRuntime (2.00s) === RUN TestAcquisTail -time="2021-05-23T04:42:03Z" level=info msg="expected config error ok : no filename or filenames" -time="2021-05-23T04:42:03Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" -time="2021-05-23T04:42:03Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" -time="2021-05-23T04:42:03Z" level=warning msg="[file datasource] no results for /does/not/exists" -time="2021-05-23T04:42:03Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" -time="2021-05-23T04:42:03Z" level=info msg="[file datasource] opening file './tests/test.log'" -time="2021-05-23T04:42:04Z" level=info msg="expected tomb error ok : " -time="2021-05-23T04:42:04Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" -time="2021-05-23T04:42:05Z" level=info msg="expected tomb error ok : " -time="2021-05-23T04:42:05Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" -time="2021-05-23T04:42:06Z" level=info msg="expected tomb error ok : " ---- PASS: TestAcquisTail (3.06s) +time="2022-06-25T11:08:26Z" level=info msg="expected config error ok : no filename or filenames" +time="2022-06-25T11:08:26Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" +time="2022-06-25T11:08:26Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" +time="2022-06-25T11:08:26Z" level=warning msg="[file datasource] no results for /does/not/exists" +time="2022-06-25T11:08:26Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" +time="2022-06-25T11:08:26Z" level=info msg="[file datasource] opening file './tests/test.log'" +time="2022-06-25T11:08:27Z" level=info msg="expected tomb error ok : " +time="2022-06-25T11:08:27Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" +time="2022-06-25T11:08:28Z" level=info msg="expected tomb error ok : " +time="2022-06-25T11:08:28Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" +time="2022-06-25T11:08:29Z" level=info msg="expected tomb error ok : " +--- PASS: TestAcquisTail (3.00s) === RUN TestSimJournalctlCat --- PASS: TestSimJournalctlCat (0.00s) === RUN TestSimJournalctlCatError @@ -2567,417 +2634,417 @@ === RUN TestSimJournalctlCatOneLine --- PASS: TestSimJournalctlCatOneLine (0.00s) === RUN TestJournaldTail -time="2021-05-23T04:42:06Z" level=info msg="expected config error ok : journalctl_filter shouldn't be empty" -time="2021-05-23T04:42:06Z" level=info msg="expected config error ok : unknown mode 'ratatata' for journald source" -time="2021-05-23T04:42:06Z" level=info msg="[journald datasource] Configured with filters : [--this-is-bad-option --]" -time="2021-05-23T04:42:06Z" level=warning msg="got stderr message : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- -time="2021-05-23T04:42:06Z" level=warning msg="got stderr message : Usage of /tmp/go-build566019723/b339/acquisition.test:" acquisition file=journalctl---this-is-bad-option.-- -time="2021-05-23T04:42:06Z" level=warning msg="journalctl reader error : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- -time="2021-05-23T04:42:08Z" level=info msg="now let's check number of lines & errors" -time="2021-05-23T04:42:08Z" level=info msg="expected tomb error ok : " +time="2022-06-25T11:08:29Z" level=info msg="expected config error ok : journalctl_filter shouldn't be empty" +time="2022-06-25T11:08:29Z" level=info msg="expected config error ok : unknown mode 'ratatata' for journald source" +time="2022-06-25T11:08:29Z" level=info msg="[journald datasource] Configured with filters : [--this-is-bad-option --]" +time="2022-06-25T11:08:29Z" level=warning msg="got stderr message : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- +time="2022-06-25T11:08:29Z" level=warning msg="got stderr message : Usage of /tmp/go-build794746153/b339/acquisition.test:" acquisition file=journalctl---this-is-bad-option.-- +time="2022-06-25T11:08:29Z" level=warning msg="journalctl reader error : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- +time="2022-06-25T11:08:31Z" level=info msg="now let's check number of lines & errors" +time="2022-06-25T11:08:31Z" level=info msg="expected tomb error ok : " --- PASS: TestJournaldTail (2.00s) === RUN TestJournaldSimple -time="2021-05-23T04:42:08Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCat --]" ---- PASS: TestJournaldSimple (1.05s) +time="2022-06-25T11:08:31Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCat --]" +--- PASS: TestJournaldSimple (1.03s) === RUN TestJournalctlKill -time="2021-05-23T04:42:09Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" -time="2021-05-23T04:42:09Z" level=debug msg="cmd path : /tmp/go-build566019723/b339/acquisition.test" -time="2021-05-23T04:42:09Z" level=debug msg="cmd args : [/tmp/go-build566019723/b339/acquisition.test -test.run=TestSimJournalctlCatOneLine --]" -time="2021-05-23T04:42:09Z" level=debug msg="getting one line : this is a single line being produced" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" -time="2021-05-23T04:42:10Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-05-23T04:42:10Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-05-23T04:42:10Z" level=debug msg=timeout acquisition file=./tests/badlog.gz -time="2021-05-23T04:42:10Z" level=debug msg=timeout acquisition file=./tests/test.log.gz -time="2021-05-23T04:42:10Z" level=debug msg="journalctl datasource journalctl--test.run=TestSimJournalctlCatOneLine.-- stopping" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" -time="2021-05-23T04:42:11Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-05-23T04:42:11Z" level=debug msg=timeout acquisition file=./tests/test.log -time="2021-05-23T04:42:11Z" level=debug msg=timeout acquisition file=./tests/badlog.gz -time="2021-05-23T04:42:11Z" level=debug msg=timeout acquisition file=./tests/test.log.gz +time="2022-06-25T11:08:32Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" +time="2022-06-25T11:08:32Z" level=debug msg="cmd path : /tmp/go-build794746153/b339/acquisition.test" +time="2022-06-25T11:08:32Z" level=debug msg="cmd args : [/tmp/go-build794746153/b339/acquisition.test -test.run=TestSimJournalctlCatOneLine --]" +time="2022-06-25T11:08:32Z" level=debug msg="getting one line : this is a single line being produced" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +time="2022-06-25T11:08:33Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2022-06-25T11:08:33Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2022-06-25T11:08:33Z" level=debug msg=timeout acquisition file=./tests/badlog.gz +time="2022-06-25T11:08:33Z" level=debug msg=timeout acquisition file=./tests/test.log.gz +time="2022-06-25T11:08:33Z" level=debug msg="journalctl datasource journalctl--test.run=TestSimJournalctlCatOneLine.-- stopping" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" +time="2022-06-25T11:08:34Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2022-06-25T11:08:34Z" level=debug msg=timeout acquisition file=./tests/test.log +time="2022-06-25T11:08:34Z" level=debug msg=timeout acquisition file=./tests/badlog.gz +time="2022-06-25T11:08:34Z" level=debug msg=timeout acquisition file=./tests/test.log.gz --- PASS: TestJournalctlKill (2.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition 20.451s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition 20.085s === RUN TestAlertsListAsMachine -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:33795" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33795/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: GET http://127.0.0.1:33795/v1/alerts" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: GET http://127.0.0.1:33795/v1/alerts?ip=1.2.3.4" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:38237" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38237/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: GET http://127.0.0.1:38237/v1/alerts" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: GET http://127.0.0.1:38237/v1/alerts?ip=1.2.3.4" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsListAsMachine (0.00s) === RUN TestAlertsGetAsMachine -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:44103" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44103/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: GET http://127.0.0.1:44103/v1/alerts/1" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: GET http://127.0.0.1:44103/v1/alerts/2" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 404" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:38965" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38965/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: GET http://127.0.0.1:38965/v1/alerts/1" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: GET http://127.0.0.1:38965/v1/alerts/2" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 404" --- PASS: TestAlertsGetAsMachine (0.00s) === RUN TestAlertsCreateAsMachine -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:46519" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46519/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: POST http://127.0.0.1:46519/v1/alerts" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:38811" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38811/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: POST http://127.0.0.1:38811/v1/alerts" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsCreateAsMachine (0.00s) === RUN TestAlertsDeleteAsMachine -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:43639" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43639/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:43639/v1/alerts?ip=1.2.3.4" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:39963" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39963/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:39963/v1/alerts?ip=1.2.3.4" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsDeleteAsMachine (0.00s) === RUN TestWatcherAuth -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:35643" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35643/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-05-23T04:41:47Z" level=info msg="ok cool" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: POST http://127.0.0.1:35643/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-05-23T04:41:47Z" level=info msg="ok cool" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35643/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2021-05-23T04:41:47Z" level=info msg=badbad -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 403" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:46119" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46119/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2022-06-25T11:08:13Z" level=info msg="ok cool" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: POST http://127.0.0.1:46119/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2022-06-25T11:08:13Z" level=info msg="ok cool" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46119/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2022-06-25T11:08:13Z" level=info msg=badbad +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 403" --- PASS: TestWatcherAuth (0.00s) === RUN TestWatcherRegister -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:43327" -time="2021-05-23T04:41:47Z" level=info msg="->*apiclient.ApiClient" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:46131" +time="2022-06-25T11:08:13Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherRegister (0.00s) === RUN TestWatcherUnregister -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:42159" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42159/v1/watchers/login" -time="2021-05-23T04:41:47Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:47Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2021-05-23T04:41:47Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:42159/v1/watchers" -time="2021-05-23T04:41:47Z" level=debug msg="resp-jwt: 200" -time="2021-05-23T04:41:47Z" level=info msg="->*apiclient.ApiClient" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:35391" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35391/v1/watchers/login" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:13Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2022-06-25T11:08:13Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:35391/v1/watchers" +time="2022-06-25T11:08:13Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:13Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherUnregister (0.00s) === RUN TestApiAuth -time="2021-05-23T04:41:47Z" level=info msg="URL is http://127.0.0.1:38423" -time="2021-05-23T04:41:47Z" level=debug msg="req-api: GET http://127.0.0.1:38423/v1/decisions?ip=1.2.3.4" -time="2021-05-23T04:41:47Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38423\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" -time="2021-05-23T04:41:47Z" 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: Sun, 23 May 2021 04:41:47 GMT\r\n\r\nnull" -time="2021-05-23T04:41:47Z" level=debug msg="resp-api: http 200" -time="2021-05-23T04:41:47Z" level=debug msg="req-api: GET http://127.0.0.1:38423/v1/decisions?ip=1.2.3.4" -time="2021-05-23T04:41:47Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38423\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" -time="2021-05-23T04:41:47Z" 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: Sun, 23 May 2021 04:41:47 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2021-05-23T04:41:47Z" level=debug msg="resp-api: http 403" -time="2021-05-23T04:41:47Z" level=info msg="--> API error: access forbidden" -time="2021-05-23T04:41:47Z" level=info msg="--> Get \"http://127.0.0.1:38423/v1/decisions?ip=1.2.3.4\": APIKey is empty" +time="2022-06-25T11:08:13Z" level=info msg="URL is http://127.0.0.1:42643" +time="2022-06-25T11:08:13Z" level=debug msg="req-api: GET http://127.0.0.1:42643/v1/decisions?ip=1.2.3.4" +time="2022-06-25T11:08:13Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:42643\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" +time="2022-06-25T11:08:13Z" 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: Sat, 25 Jun 2022 11:08:13 GMT\r\n\r\nnull" +time="2022-06-25T11:08:13Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:13Z" level=debug msg="req-api: GET http://127.0.0.1:42643/v1/decisions?ip=1.2.3.4" +time="2022-06-25T11:08:13Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:42643\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" +time="2022-06-25T11:08:13Z" 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: Sat, 25 Jun 2022 11:08:13 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2022-06-25T11:08:13Z" level=debug msg="resp-api: http 403" +time="2022-06-25T11:08:13Z" level=info msg="--> API error: access forbidden" +time="2022-06-25T11:08:13Z" level=info msg="--> Get \"http://127.0.0.1:42643/v1/decisions?ip=1.2.3.4\": APIKey is empty" --- PASS: TestApiAuth (0.00s) === RUN TestNewRequestInvalid --- PASS: TestNewRequestInvalid (0.00s) === RUN TestNewRequestTimeout -time="2021-05-23T04:41:47Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:46221\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-05-23T04:41:47Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46221/v1/watchers/login" -time="2021-05-23T04:41:49Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:49Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sun, 23 May 2021 04:41:49 GMT\r\n\r\n" +time="2022-06-25T11:08:13Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:33669\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2022-06-25T11:08:13Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33669/v1/watchers/login" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:15Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sat, 25 Jun 2022 11:08:15 GMT\r\n\r\n" --- PASS: TestNewRequestTimeout (2.00s) === RUN TestNewClientOk -time="2021-05-23T04:41:49Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:33849\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-05-23T04:41:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33849/v1/watchers/login" -time="2021-05-23T04:41:49Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:49Z" 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: Sun, 23 May 2021 04:41:49 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2021-05-23T04:41:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:49Z" level=debug msg="req-jwt: GET http://127.0.0.1:33849/v1/alerts" -time="2021-05-23T04:41:49Z" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:33849\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-\r\n\r\n" -time="2021-05-23T04:41:49Z" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Sun, 23 May 2021 04:41:49 GMT\r\nContent-Length: 0\r\n\r\n (err:)" -time="2021-05-23T04:41:49Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:15Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:37625\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37625/v1/watchers/login" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:15Z" 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: Sat, 25 Jun 2022 11:08:15 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2022-06-25T11:08:15Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:15Z" level=debug msg="req-jwt: GET http://127.0.0.1:37625/v1/alerts" +time="2022-06-25T11:08:15Z" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:37625\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-\r\n\r\n" +time="2022-06-25T11:08:15Z" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Sat, 25 Jun 2022 11:08:15 GMT\r\nContent-Length: 0\r\n\r\n (err:)" +time="2022-06-25T11:08:15Z" level=debug msg="resp-jwt: 200" --- PASS: TestNewClientOk (0.00s) === RUN TestNewClientKo -time="2021-05-23T04:41:49Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:34399\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-05-23T04:41:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:34399/v1/watchers/login" -time="2021-05-23T04:41:49Z" level=debug msg="auth-jwt : http 401" -time="2021-05-23T04:41:49Z" 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: Sun, 23 May 2021 04:41:49 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" -time="2021-05-23T04:41:49Z" level=info msg="err-> performing request: Get \"http://127.0.0.1:34399/v1/alerts\": received response status \"401 Unauthorized\" when fetching http://127.0.0.1:34399/v1/watchers/login" +time="2022-06-25T11:08:15Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:44691\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44691/v1/watchers/login" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt : http 401" +time="2022-06-25T11:08:15Z" 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: Sat, 25 Jun 2022 11:08:15 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" +time="2022-06-25T11:08:15Z" level=info msg="err-> performing request: Get \"http://127.0.0.1:44691/v1/alerts\": received response status \"401 Unauthorized\" when fetching http://127.0.0.1:44691/v1/watchers/login" --- PASS: TestNewClientKo (0.00s) === RUN TestNewDefaultClient -time="2021-05-23T04:41:49Z" level=info msg="err-> performing request: API error: brr" +time="2022-06-25T11:08:15Z" level=info msg="err-> performing request: API error: brr" --- PASS: TestNewDefaultClient (0.00s) === RUN TestNewClientRegisterKO --- PASS: TestNewClientRegisterKO (0.00s) === RUN TestNewClientRegisterOK -time="2021-05-23T04:41:49Z" level=info msg="->*apiclient.ApiClient" +time="2022-06-25T11:08:15Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestNewClientRegisterOK (0.00s) === RUN TestNewClientBadAnswer --- PASS: TestNewClientBadAnswer (0.00s) === RUN TestDecisionsList -time="2021-05-23T04:41:49Z" level=debug msg="req-api: GET http://127.0.0.1:39319/v1/decisions?ip=1.2.3.4" -time="2021-05-23T04:41:49Z" level=debug msg="resp-api: http 200" -time="2021-05-23T04:41:49Z" level=debug msg="req-api: GET http://127.0.0.1:39319/v1/decisions?ip=1.2.3.5" -time="2021-05-23T04:41:49Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:15Z" level=debug msg="req-api: GET http://127.0.0.1:44669/v1/decisions?ip=1.2.3.4" +time="2022-06-25T11:08:15Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:15Z" level=debug msg="req-api: GET http://127.0.0.1:44669/v1/decisions?ip=1.2.3.5" +time="2022-06-25T11:08:15Z" level=debug msg="resp-api: http 200" --- PASS: TestDecisionsList (0.00s) === RUN TestDecisionsStream -time="2021-05-23T04:41:49Z" level=debug msg="req-api: GET http://127.0.0.1:42461/v1/decisions/stream?startup=true" -time="2021-05-23T04:41:49Z" level=debug msg="resp-api: http 200" -time="2021-05-23T04:41:49Z" level=debug msg="req-api: GET http://127.0.0.1:42461/v1/decisions/stream?startup=false" -time="2021-05-23T04:41:49Z" level=debug msg="resp-api: http 200" -time="2021-05-23T04:41:49Z" level=debug msg="req-api: DELETE http://127.0.0.1:42461/v1/decisions" -time="2021-05-23T04:41:49Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:15Z" level=debug msg="req-api: GET http://127.0.0.1:33779/v1/decisions/stream?startup=true" +time="2022-06-25T11:08:15Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:15Z" level=debug msg="req-api: GET http://127.0.0.1:33779/v1/decisions/stream?startup=false" +time="2022-06-25T11:08:15Z" level=debug msg="resp-api: http 200" +time="2022-06-25T11:08:15Z" level=debug msg="req-api: DELETE http://127.0.0.1:33779/v1/decisions" +time="2022-06-25T11:08:15Z" level=debug msg="resp-api: http 200" --- PASS: TestDecisionsStream (0.00s) === RUN TestDeleteDecisions -time="2021-05-23T04:41:49Z" level=info msg="URL is http://127.0.0.1:35859" -time="2021-05-23T04:41:49Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35859/v1/watchers/login" -time="2021-05-23T04:41:49Z" level=debug msg="auth-jwt : http 200" -time="2021-05-23T04:41:49Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2021-05-23T04:41:49Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:35859/v1/decisions?ip=1.2.3.4" -time="2021-05-23T04:41:49Z" level=debug msg="resp-jwt: 200" +time="2022-06-25T11:08:15Z" level=info msg="URL is http://127.0.0.1:36557" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36557/v1/watchers/login" +time="2022-06-25T11:08:15Z" level=debug msg="auth-jwt : http 200" +time="2022-06-25T11:08:15Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2022-06-25T11:08:15Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:36557/v1/decisions?ip=1.2.3.4" +time="2022-06-25T11:08:15Z" level=debug msg="resp-jwt: 200" --- PASS: TestDeleteDecisions (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.112s +ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.046s === RUN TestSimulatedAlert -time="2021-05-23T04:41:58Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:41:58 UTC] "POST /v1/watchers HTTP/1.1 201 118.36879ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/watchers/login HTTP/1.1 200 114.933704ms "crowdsec-test/" " -time="2021-05-23T04:41:59Z" 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-05-23T04:41:59Z" 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-05-23T04:41:59Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/alerts HTTP/1.1 201 40.005457ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 2.242465ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 2.493031ms "crowdsec-test/" " ---- PASS: TestSimulatedAlert (0.85s) +time="2022-06-25T11:08:16Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/watchers HTTP/1.1 201 136.257337ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/watchers/login HTTP/1.1 200 139.397541ms "crowdsec-test/" " +time="2022-06-25T11:08:16Z" 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="2022-06-25T11:08: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="2022-06-25T11:08:16Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/alerts HTTP/1.1 201 59.705359ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 1.203817ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 1.837992ms "crowdsec-test/" " +--- PASS: TestSimulatedAlert (0.38s) === RUN TestCreateAlert -time="2021-05-23T04:41:59Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/watchers HTTP/1.1 201 118.44759ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/watchers/login HTTP/1.1 200 118.653753ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/alerts HTTP/1.1 400 83.352µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/alerts HTTP/1.1 500 277.898µs "crowdsec-test/" " -time="2021-05-23T04:41:59Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:41:59Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/alerts HTTP/1.1 201 39.118652ms "crowdsec-test/" " ---- PASS: TestCreateAlert (0.31s) +time="2022-06-25T11:08:16Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/watchers HTTP/1.1 201 135.852181ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/watchers/login HTTP/1.1 200 135.595115ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/alerts HTTP/1.1 400 73.892µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/alerts HTTP/1.1 500 101.289µs "crowdsec-test/" " +time="2022-06-25T11:08:16Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:16Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:16 UTC] "POST /v1/alerts HTTP/1.1 201 28.683804ms "crowdsec-test/" " +--- PASS: TestCreateAlert (0.33s) === RUN TestAlertListFilters -time="2021-05-23T04:41:59Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/watchers HTTP/1.1 201 157.003896ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:41:59 UTC] "POST /v1/watchers/login HTTP/1.1 200 162.470205ms "crowdsec-test/" " -time="2021-05-23T04:41:59Z" 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-05-23T04:42:00Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:00 UTC] "POST /v1/alerts HTTP/1.1 201 171.231301ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 196.924µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts HTTP/1.1 200 3.011207ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?decision_type=ban HTTP/1.1 200 2.876143ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?decision_type=ratata HTTP/1.1 200 574.975µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?scope=Ip HTTP/1.1 200 2.600482ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?scope=rarara HTTP/1.1 200 490.848µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?scenario=crowdsecurity/ssh-bf HTTP/1.1 200 2.692446ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?scenario=crowdsecurity/nope HTTP/1.1 200 601.442µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?ip=91.121.79.195 HTTP/1.1 200 2.919012ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?ip=99.122.77.195 HTTP/1.1 200 608.012µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?ip=gruueq HTTP/1.1 500 102.322µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?range=91.121.79.0/24&contains=false HTTP/1.1 200 5.770353ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?range=99.122.77.0/24&contains=false HTTP/1.1 200 771.224µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?range=ratata HTTP/1.1 500 183.029µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?since=1h HTTP/1.1 200 3.958215ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?since=1ns HTTP/1.1 200 428.946µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?since=1zuzu HTTP/1.1 500 153.548µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?until=1ns HTTP/1.1 200 2.20894ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?until=1m HTTP/1.1 200 370.384µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?until=1zuzu HTTP/1.1 500 149.957µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 2.101266ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 2.224709ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?has_active_decision=true HTTP/1.1 200 2.465732ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?has_active_decision=false HTTP/1.1 200 1.99369ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "GET /v1/alerts?has_active_decision=ratatqata HTTP/1.1 500 152.76µs "crowdsec-test/" " ---- PASS: TestAlertListFilters (0.59s) +time="2022-06-25T11:08:16Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/watchers HTTP/1.1 201 130.512487ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/watchers/login HTTP/1.1 200 139.558116ms "crowdsec-test/" " +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" +time="2022-06-25T11:08:17Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/alerts HTTP/1.1 201 22.705298ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 104.307µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts HTTP/1.1 200 1.22366ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?decision_type=ban HTTP/1.1 200 1.328906ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?decision_type=ratata HTTP/1.1 200 314.176µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?scope=Ip HTTP/1.1 200 1.160592ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?scope=rarara HTTP/1.1 200 231.873µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?scenario=crowdsecurity/ssh-bf HTTP/1.1 200 1.137205ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?scenario=crowdsecurity/nope HTTP/1.1 200 233.294µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?ip=91.121.79.195 HTTP/1.1 200 1.544787ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?ip=99.122.77.195 HTTP/1.1 200 426.939µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?ip=gruueq HTTP/1.1 500 88.156µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?range=91.121.79.0/24&contains=false HTTP/1.1 200 1.565112ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?range=99.122.77.0/24&contains=false HTTP/1.1 200 356.072µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?range=ratata HTTP/1.1 500 72.928µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?since=1h HTTP/1.1 200 1.135784ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?since=1ns HTTP/1.1 200 246.399µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?since=1zuzu HTTP/1.1 500 67.296µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?until=1ns HTTP/1.1 200 1.112529ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?until=1m HTTP/1.1 200 249.775µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?until=1zuzu HTTP/1.1 500 70.055µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 1.944649ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 1.107677ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?has_active_decision=true HTTP/1.1 200 1.25203ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?has_active_decision=false HTTP/1.1 200 313.65µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts?has_active_decision=ratatqata HTTP/1.1 500 76.674µs "crowdsec-test/" " +--- PASS: TestAlertListFilters (0.33s) === RUN TestAlertBulkInsert -time="2021-05-23T04:42:00Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:00 UTC] "POST /v1/watchers HTTP/1.1 201 161.154808ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:00 UTC] "POST /v1/watchers/login HTTP/1.1 200 141.768327ms "crowdsec-test/" " -time="2021-05-23T04:42:00Z" 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-05-23T04:42:00Z" 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-05-23T04:42:00Z" 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-05-23T04:42:00Z" 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-05-23T04:42:00Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:01Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" 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-05-23T04:42:02Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:02 UTC] "POST /v1/alerts HTTP/1.1 201 2.022619517s "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:02 UTC] "GET /v1/alerts HTTP/1.1 200 10.921029ms "crowdsec-test/" " ---- PASS: TestAlertBulkInsert (2.41s) +time="2022-06-25T11:08:17Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/watchers HTTP/1.1 201 135.4598ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/watchers/login HTTP/1.1 200 136.158333ms "crowdsec-test/" " +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.4 (US) : 1h ban on Ip 1.2.3.4" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.6 (US) : 1h ban on Ip 1.2.3.6" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.194 (FR) : 1h ban on Ip 91.121.79.194" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.193 (FR) : 1h ban on Ip 91.121.79.193" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.192 (FR) : 1h ban on Ip 91.121.79.192" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.191 (FR) : 1h ban on Ip 91.121.79.191" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.190 (FR) : 1h ban on Ip 91.121.79.190" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.189 (FR) : 1h ban on Ip 91.121.79.189" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.188 (FR) : 1h ban on Ip 91.121.79.188" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.187 (FR) : 1h ban on Ip 91.121.79.187" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.186 (FR) : 1h ban on Ip 91.121.79.186" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.185 (FR) : 1h ban on Ip 91.121.79.185" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.184 (FR) : 1h ban on Ip 91.121.79.184" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.183 (FR) : 1h ban on Ip 91.121.79.183" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.182 (FR) : 1h ban on Ip 91.121.79.182" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.181 (FR) : 1h ban on Ip 91.121.79.181" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.180 (FR) : 1h ban on Ip 91.121.79.180" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2022-06-25T11:08:17Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2022-06-25T11:08:17Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:17 UTC] "POST /v1/alerts HTTP/1.1 201 349.082341ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:17 UTC] "GET /v1/alerts HTTP/1.1 200 7.357983ms "crowdsec-test/" " +--- PASS: TestAlertBulkInsert (0.65s) === RUN TestListAlert -time="2021-05-23T04:42:02Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:02 UTC] "POST /v1/watchers HTTP/1.1 201 166.462129ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:02 UTC] "POST /v1/watchers/login HTTP/1.1 200 155.213497ms "crowdsec-test/" " -time="2021-05-23T04:42:02Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:02Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:02 UTC] "POST /v1/alerts HTTP/1.1 201 46.278722ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:02 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 184.237µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:02 UTC] "GET /v1/alerts HTTP/1.1 200 2.633186ms "crowdsec-test/" " ---- PASS: TestListAlert (0.42s) +time="2022-06-25T11:08:17Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers HTTP/1.1 201 136.761875ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers/login HTTP/1.1 200 136.592637ms "crowdsec-test/" " +time="2022-06-25T11:08:18Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:18Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/alerts HTTP/1.1 201 25.513488ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 70.155µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /v1/alerts HTTP/1.1 200 1.138964ms "crowdsec-test/" " +--- PASS: TestListAlert (0.32s) === RUN TestCreateAlertErrors -time="2021-05-23T04:42:02Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/watchers HTTP/1.1 201 160.131345ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/watchers/login HTTP/1.1 200 155.238126ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/alerts HTTP/1.1 401 30.827µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/alerts HTTP/1.1 401 87.827µs "crowdsec-test/" " ---- PASS: TestCreateAlertErrors (0.34s) +time="2022-06-25T11:08:18Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers HTTP/1.1 201 134.506338ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers/login HTTP/1.1 200 135.930904ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/alerts HTTP/1.1 401 20.255µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/alerts HTTP/1.1 401 40.075µs "crowdsec-test/" " +--- PASS: TestCreateAlertErrors (0.29s) === RUN TestDeleteAlert -time="2021-05-23T04:42:03Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/watchers HTTP/1.1 201 287.383445ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/watchers/login HTTP/1.1 200 155.671981ms "crowdsec-test/" " -time="2021-05-23T04:42:03Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:03Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:03 UTC] "POST /v1/alerts HTTP/1.1 201 228.849499ms "crowdsec-test/" " -127.0.0.2 - [Sun, 23 May 2021 04:42:03 UTC] "DELETE /v1/alerts HTTP/1.1 403 182.952µs "crowdsec-test/" " -127.0.0.1 - [Sun, 23 May 2021 04:42:04 UTC] "DELETE /v1/alerts HTTP/1.1 200 79.030899ms "crowdsec-test/" " ---- PASS: TestDeleteAlert (0.79s) +time="2022-06-25T11:08:18Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers HTTP/1.1 201 132.472834ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/watchers/login HTTP/1.1 200 138.683279ms "crowdsec-test/" " +time="2022-06-25T11:08:18Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:18Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:18 UTC] "POST /v1/alerts HTTP/1.1 201 31.407688ms "crowdsec-test/" " +127.0.0.2 - [Sat, 25 Jun 2022 11:08:18 UTC] "DELETE /v1/alerts HTTP/1.1 403 49.998µs "crowdsec-test/" " +127.0.0.1 - [Sat, 25 Jun 2022 11:08:18 UTC] "DELETE /v1/alerts HTTP/1.1 200 34.916056ms "crowdsec-test/" " +--- PASS: TestDeleteAlert (0.36s) === RUN TestAPIKey -time="2021-05-23T04:42:04Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:04 UTC] "GET /v1/decisions HTTP/1.1 403 56.217µs "crowdsec-test/" " -time="2021-05-23T04:42:04Z" level=error msg="auth api key error: select bouncer: ent: bouncer not found: unable to query" - - [Sun, 23 May 2021 04:42:04 UTC] "GET /v1/decisions HTTP/1.1 403 485.91µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:04 UTC] "GET /v1/decisions HTTP/1.1 200 71.97743ms "crowdsec-test/" " ---- PASS: TestAPIKey (0.24s) +time="2022-06-25T11:08:18Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /v1/decisions HTTP/1.1 403 19.578µs "crowdsec-test/" " +time="2022-06-25T11:08:18Z" level=error msg="auth api key error: select bouncer: ent: bouncer not found: unable to query" + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /v1/decisions HTTP/1.1 403 211.206µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /v1/decisions HTTP/1.1 200 6.713768ms "crowdsec-test/" " +--- PASS: TestAPIKey (0.03s) === RUN TestWithWrongDBConfig --- PASS: TestWithWrongDBConfig (0.00s) === RUN TestWithWrongFlushConfig ---- PASS: TestWithWrongFlushConfig (0.01s) +--- PASS: TestWithWrongFlushConfig (0.00s) === RUN TestUnknownPath -time="2021-05-23T04:42:04Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:04 UTC] "GET /test HTTP/1.1 404 24.672µs "crowdsec-test/" " ---- PASS: TestUnknownPath (0.11s) +time="2022-06-25T11:08:18Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:18 UTC] "GET /test HTTP/1.1 404 6.07µs "crowdsec-test/" " +--- PASS: TestUnknownPath (0.01s) === RUN TestDeleteDecisionRange -time="2021-05-23T04:42:04Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:04 UTC] "POST /v1/watchers HTTP/1.1 201 245.583505ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:04 UTC] "POST /v1/watchers/login HTTP/1.1 200 120.211829ms "crowdsec-test/" " -time="2021-05-23T04:42:04Z" 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-05-23T04:42:04Z" 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-05-23T04:42:05Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/alerts HTTP/1.1 201 93.898173ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?range=1.2.3.0/24 HTTP/1.1 200 459.694µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 7.436324ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?range=91.121.79.0/24 HTTP/1.1 200 340.441µs "crowdsec-test/" " ---- PASS: TestDeleteDecisionRange (0.66s) +time="2022-06-25T11:08:18Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers HTTP/1.1 201 141.98533ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers/login HTTP/1.1 200 137.271814ms "crowdsec-test/" " +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2022-06-25T11:08:19Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/alerts HTTP/1.1 201 51.055318ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?range=1.2.3.0/24 HTTP/1.1 200 230.49µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 13.191451ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?range=91.121.79.0/24 HTTP/1.1 200 193.141µs "crowdsec-test/" " +--- PASS: TestDeleteDecisionRange (0.37s) === RUN TestDeleteDecisionFilter -time="2021-05-23T04:42:05Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/watchers HTTP/1.1 201 149.774459ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/watchers/login HTTP/1.1 200 130.001351ms "crowdsec-test/" " -time="2021-05-23T04:42: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-05-23T04:42: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-05-23T04:42:05Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/alerts HTTP/1.1 201 193.372923ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?ip=1.2.3.4 HTTP/1.1 200 587.986µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 5.874581ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "DELETE /v1/decisions?scope=Ip&value=91.121.79.178 HTTP/1.1 200 3.722843ms "crowdsec-test/" " ---- PASS: TestDeleteDecisionFilter (0.51s) +time="2022-06-25T11:08:19Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers HTTP/1.1 201 136.844823ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers/login HTTP/1.1 200 135.538966ms "crowdsec-test/" " +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2022-06-25T11:08:19Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/alerts HTTP/1.1 201 51.138622ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?ip=1.2.3.4 HTTP/1.1 200 235.757µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 11.028818ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "DELETE /v1/decisions?scope=Ip&value=91.121.79.178 HTTP/1.1 200 11.259887ms "crowdsec-test/" " +--- PASS: TestDeleteDecisionFilter (0.38s) === RUN TestGetDecisionFilters -time="2021-05-23T04:42:05Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/watchers HTTP/1.1 201 136.901898ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/watchers/login HTTP/1.1 200 124.81236ms "crowdsec-test/" " -time="2021-05-23T04:42: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-05-23T04:42: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-05-23T04:42:05Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:05 UTC] "POST /v1/alerts HTTP/1.1 201 128.417018ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions HTTP/1.1 200 7.155763ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions?type=ban HTTP/1.1 200 1.710467ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions?scope=Ip&value=91.121.79.179 HTTP/1.1 200 1.275088ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 1.123226ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 1.15285ms "crowdsec-test/" " ---- PASS: TestGetDecisionFilters (0.45s) +time="2022-06-25T11:08:19Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers HTTP/1.1 201 132.895428ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/watchers/login HTTP/1.1 200 134.801969ms "crowdsec-test/" " +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" +time="2022-06-25T11:08:19Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" +time="2022-06-25T11:08:19Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:19 UTC] "POST /v1/alerts HTTP/1.1 201 46.375421ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions HTTP/1.1 200 9.828403ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions?type=ban HTTP/1.1 200 1.089711ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions?scope=Ip&value=91.121.79.179 HTTP/1.1 200 1.05131ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 1.087275ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 1.099459ms "crowdsec-test/" " +--- PASS: TestGetDecisionFilters (0.37s) === RUN TestGetDecision -time="2021-05-23T04:42:06Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:06 UTC] "POST /v1/watchers HTTP/1.1 201 132.952132ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "POST /v1/watchers/login HTTP/1.1 200 154.612626ms "crowdsec-test/" " -time="2021-05-23T04:42:06Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:06Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:06 UTC] "POST /v1/alerts HTTP/1.1 201 144.306029ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions?test=test HTTP/1.1 500 7.782621ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:06 UTC] "GET /v1/decisions HTTP/1.1 200 1.493149ms "crowdsec-test/" " ---- PASS: TestGetDecision (0.48s) +time="2022-06-25T11:08:20Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/watchers HTTP/1.1 201 133.196006ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/watchers/login HTTP/1.1 200 131.977721ms "crowdsec-test/" " +time="2022-06-25T11:08:20Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:20Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/alerts HTTP/1.1 201 36.910804ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions?test=test HTTP/1.1 500 8.777203ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "GET /v1/decisions HTTP/1.1 200 1.088891ms "crowdsec-test/" " +--- PASS: TestGetDecision (0.35s) === RUN TestDeleteDecisionByID -time="2021-05-23T04:42:06Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:06 UTC] "POST /v1/watchers HTTP/1.1 201 257.530398ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 226.997838ms "crowdsec-test/" " -time="2021-05-23T04:42:07Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:07Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/alerts HTTP/1.1 201 228.231341ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "DELETE /v1/decisions/test HTTP/1.1 400 171.161µs "crowdsec-test/" " -time="2021-05-23T04:42:07Z" level=warning msg="SoftDeleteDecisionByID : (nb soft deleted: 0)" - - [Sun, 23 May 2021 04:42:07 UTC] "DELETE /v1/decisions/100 HTTP/1.1 500 435.036µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "DELETE /v1/decisions/1 HTTP/1.1 200 5.554821ms "crowdsec-test/" " ---- PASS: TestDeleteDecisionByID (0.76s) +time="2022-06-25T11:08:20Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/watchers HTTP/1.1 201 136.761695ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/watchers/login HTTP/1.1 200 135.23282ms "crowdsec-test/" " +time="2022-06-25T11:08:20Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:20Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/alerts HTTP/1.1 201 35.748103ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "DELETE /v1/decisions/test HTTP/1.1 400 52.832µs "crowdsec-test/" " +time="2022-06-25T11:08:20Z" level=warning msg="SoftDeleteDecisionByID : (nb soft deleted: 0)" + - [Sat, 25 Jun 2022 11:08:20 UTC] "DELETE /v1/decisions/100 HTTP/1.1 500 193.987µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:20 UTC] "DELETE /v1/decisions/1 HTTP/1.1 200 8.295214ms "crowdsec-test/" " +--- PASS: TestDeleteDecisionByID (0.34s) === RUN TestDeleteDecision -time="2021-05-23T04:42:07Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/watchers HTTP/1.1 201 146.546349ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 138.310479ms "crowdsec-test/" " -time="2021-05-23T04:42:07Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:07Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/alerts HTTP/1.1 201 21.639117ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "DELETE /v1/decisions?test=test HTTP/1.1 500 164.468µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "DELETE /v1/decisions HTTP/1.1 200 5.260761ms "crowdsec-test/" " ---- PASS: TestDeleteDecision (0.34s) +time="2022-06-25T11:08:20Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:20 UTC] "POST /v1/watchers HTTP/1.1 201 137.667296ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 200 134.345883ms "crowdsec-test/" " +time="2022-06-25T11:08:21Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:21Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/alerts HTTP/1.1 201 396.639042ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "DELETE /v1/decisions?test=test HTTP/1.1 500 113.497µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "DELETE /v1/decisions HTTP/1.1 200 10.136961ms "crowdsec-test/" " +--- PASS: TestDeleteDecision (0.75s) === RUN TestStreamDecision -time="2021-05-23T04:42:07Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/watchers HTTP/1.1 201 141.990111ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/watchers/login HTTP/1.1 200 135.103045ms "crowdsec-test/" " -time="2021-05-23T04:42:07Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" -time="2021-05-23T04:42:07Z" level=warning msg="Cannot send alert to Central API channel" - - [Sun, 23 May 2021 04:42:07 UTC] "POST /v1/alerts HTTP/1.1 201 60.454292ms "" " -time="2021-05-23T04:42:07Z" level=warning msg="bad user agent '' from ''" - - [Sun, 23 May 2021 04:42:07 UTC] "GET /v1/decisions/stream HTTP/1.1 200 11.616674ms "" " -time="2021-05-23T04:42:07Z" level=warning msg="bad user agent '' from ''" - - [Sun, 23 May 2021 04:42:07 UTC] "GET /v1/decisions/stream?startup=true HTTP/1.1 200 8.288002ms "" " ---- PASS: TestStreamDecision (0.40s) +time="2022-06-25T11:08:21Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers HTTP/1.1 201 136.343499ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 200 134.862535ms "crowdsec-test/" " +time="2022-06-25T11:08:21Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" +time="2022-06-25T11:08:21Z" level=warning msg="Cannot send alert to Central API channel" + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/alerts HTTP/1.1 201 37.722944ms "" " +time="2022-06-25T11:08:21Z" level=warning msg="bad user agent '' from ''" + - [Sat, 25 Jun 2022 11:08:21 UTC] "GET /v1/decisions/stream HTTP/1.1 200 17.79302ms "" " +time="2022-06-25T11:08:21Z" level=warning msg="bad user agent '' from ''" + - [Sat, 25 Jun 2022 11:08:21 UTC] "GET /v1/decisions/stream?startup=true HTTP/1.1 200 9.52805ms "" " +--- PASS: TestStreamDecision (0.39s) === RUN TestLogin -time="2021-05-23T04:42:08Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers HTTP/1.1 201 128.797196ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 401 341.302µs "crowdsec-test/" " -time="2021-05-23T04:42:08Z" level=info msg="Error machine login for test1 : ent: machine not found " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 401 229.71µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 401 16.803µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 401 20.242µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 401 134.795083ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 200 126.433701ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers/login HTTP/1.1 200 132.788501ms "crowdsec-test/" " ---- PASS: TestLogin (0.54s) +time="2022-06-25T11:08:21Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers HTTP/1.1 201 138.225245ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 401 211.567µs "crowdsec-test/" " +time="2022-06-25T11:08:21Z" level=info msg="Error machine login for test1 : ent: machine not found " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 401 160.431µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 401 13.709µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:21 UTC] "POST /v1/watchers/login HTTP/1.1 401 14.955µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers/login HTTP/1.1 401 126.790728ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers/login HTTP/1.1 200 138.028895ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers/login HTTP/1.1 200 140.544501ms "crowdsec-test/" " +--- PASS: TestLogin (0.57s) === RUN TestCreateMachine -time="2021-05-23T04:42:08Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers HTTP/1.1 400 37.109µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers HTTP/1.1 500 42.939µs "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers HTTP/1.1 201 144.808371ms "crowdsec-test/" " +time="2022-06-25T11:08:22Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers HTTP/1.1 400 21.914µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers HTTP/1.1 500 30.73µs "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers HTTP/1.1 201 137.433075ms "crowdsec-test/" " --- PASS: TestCreateMachine (0.15s) === RUN TestCreateMachineWithForwardedFor -time="2021-05-23T04:42:08Z" level=info msg="Creating new API server" -1.1.1.1 - [Sun, 23 May 2021 04:42:08 UTC] "POST /v1/watchers HTTP/1.1 201 241.043886ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithForwardedFor (0.27s) +time="2022-06-25T11:08:22Z" level=info msg="Creating new API server" +1.1.1.1 - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers HTTP/1.1 201 134.676443ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithForwardedFor (0.15s) === RUN TestCreateMachineWithForwardedForNoConfig -time="2021-05-23T04:42:08Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:09 UTC] "POST /v1/watchers HTTP/1.1 201 228.579177ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithForwardedForNoConfig (0.25s) +time="2022-06-25T11:08:22Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:22 UTC] "POST /v1/watchers HTTP/1.1 201 138.110853ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithForwardedForNoConfig (0.16s) === RUN TestCreateMachineWithoutForwardedFor -time="2021-05-23T04:42:09Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:09 UTC] "POST /v1/watchers HTTP/1.1 201 182.083493ms "crowdsec-test/" " ---- PASS: TestCreateMachineWithoutForwardedFor (0.20s) +time="2022-06-25T11:08:22Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:23 UTC] "POST /v1/watchers HTTP/1.1 201 139.90733ms "crowdsec-test/" " +--- PASS: TestCreateMachineWithoutForwardedFor (0.16s) === RUN TestCreateMachineAlreadyExist -time="2021-05-23T04:42:09Z" level=info msg="Creating new API server" - - [Sun, 23 May 2021 04:42:09 UTC] "POST /v1/watchers HTTP/1.1 201 114.128156ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:09 UTC] "POST /v1/watchers HTTP/1.1 403 101.767121ms "crowdsec-test/" " - - [Sun, 23 May 2021 04:42:09 UTC] "POST /v1/watchers HTTP/1.1 403 102.79155ms "crowdsec-test/" " ---- PASS: TestCreateMachineAlreadyExist (0.33s) +time="2022-06-25T11:08:23Z" level=info msg="Creating new API server" + - [Sat, 25 Jun 2022 11:08:23 UTC] "POST /v1/watchers HTTP/1.1 201 139.056416ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:23 UTC] "POST /v1/watchers HTTP/1.1 403 128.840499ms "crowdsec-test/" " + - [Sat, 25 Jun 2022 11:08:23 UTC] "POST /v1/watchers HTTP/1.1 403 124.534244ms "crowdsec-test/" " +--- PASS: TestCreateMachineAlreadyExist (0.41s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiserver 11.501s +ok github.com/crowdsecurity/crowdsec/pkg/apiserver 7.280s ? 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] @@ -3030,168 +3097,209 @@ hub_dir: /etc/crowdsec/hub --- PASS: TestDefaultConfig (0.00s) === RUN TestNormalLoad -time="2021-05-23T04:41:48Z" level=info msg="push and pull to crowdsec API disabled" +time="2022-06-25T11:08:13Z" level=info msg="push and pull to crowdsec API disabled" --- PASS: TestNormalLoad (0.00s) === RUN TestCleanupPaths --- PASS: TestCleanupPaths (0.00s) === RUN TestSimulationLoading --- PASS: TestSimulationLoading (0.00s) === RUN TestNewCrowdSecConfig -time="2021-05-23T04:41:48Z" level=info msg="test 'new configuration: basic' : OK" +time="2022-06-25T11:08:13Z" level=info msg="test 'new configuration: basic' : OK" --- PASS: TestNewCrowdSecConfig (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.078s +ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.041s ? github.com/crowdsecurity/crowdsec/pkg/csprofiles [no test files] === RUN TestItemStatus -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=info msg="Loaded 2 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=info msg="Loaded 2 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" --- PASS: TestItemStatus (0.00s) === RUN TestGetters -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestGetters (0.00s) === RUN TestIndexDownload -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestIndexDownload (0.00s) === RUN TestInstallParser -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="crowdsecurity/foobar_parser : OK" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2021-05-23T04:41:48Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar_parser : OK" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestInstallParser (0.00s) === RUN TestInstallCollection -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="loading hub idx hubdir/.index.json" -time="2021-05-23T04:41:48Z" level=debug msg="4 item types in hub index" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2021-05-23T04:41:48Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="crowdsecurity/foobar_subparser : OK" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="crowdsecurity/foobar_subcollection : OK" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2021-05-23T04:41:48Z" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2021-05-23T04:41:48Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2021-05-23T04:41:48Z" level=warning msg="crowdsecurity/foobar_subparser : overwrite" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2021-05-23T04:41:48Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" 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-05-23T04:41:48Z" 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-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" -time="2021-05-23T04:41:48Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" -time="2021-05-23T04:41:48Z" level=info msg="[]" ---- PASS: TestInstallCollection (0.02s) +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="loading hub idx hubdir/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="4 item types in hub index" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar_parser : OK" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2022-06-25T11:08:14Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2022-06-25T11:08:14Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2022-06-25T11:08:14Z" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar_subparser : OK" +time="2022-06-25T11:08:14Z" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=debug msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar_subcollection : OK" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2022-06-25T11:08:14Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2022-06-25T11:08:14Z" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" +time="2022-06-25T11:08:14Z" level=info msg="crowdsecurity/foobar : OK" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=info msg="/build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml already exists." +time="2022-06-25T11:08:14Z" level=info msg="Enabled collections : crowdsecurity/foobar" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2022-06-25T11:08:14Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" +time="2022-06-25T11:08:14Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2022-06-25T11:08:14Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_subparser : overwrite" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2022-06-25T11:08:14Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2022-06-25T11:08:14Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" +time="2022-06-25T11:08:14Z" level=warning msg="crowdsecurity/foobar : overwrite" +time="2022-06-25T11:08:14Z" level=debug msg="target: /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" +time="2022-06-25T11:08:14Z" level=debug msg="scanning /build/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" +time="2022-06-25T11:08:14Z" level=info msg="[]" +--- PASS: TestInstallCollection (0.01s) === RUN TestDownloadHubIdx -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://baddomain/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" -time="2021-05-23T04:41:48Z" level=error msg="unexpected error while opening hub index file: open : no such file or directory" -time="2021-05-23T04:41:48Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" -time="2021-05-23T04:41:48Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://baddomain/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" +time="2022-06-25T11:08:14Z" level=error msg="unexpected error while opening hub index file: open : no such file or directory" +time="2022-06-25T11:08:14Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" +time="2022-06-25T11:08:14Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" ->[]--- PASS: TestDownloadHubIdx (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.098s +ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.061s ? 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] @@ -3208,1140 +3316,1140 @@ ? 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-05-23T04:41:47Z" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" -time="2021-05-23T04:41:47Z" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test -time="2021-05-23T04:41:47Z" level=debug msg="eval variables:" type=test -time="2021-05-23T04:41:47Z" level=debug msg=" static_one = 'crowdse'" type=test -time="2021-05-23T04:41:47Z" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test -time="2021-05-23T04:41:47Z" level=debug msg="eval variables:" type=test -time="2021-05-23T04:41:47Z" level=debug msg=" static_one.foo = 'bar'" type=test -time="2021-05-23T04:41:47Z" level=debug msg=" static_one.foo = 'bar'" type=test -time="2021-05-23T04:41:47Z" level=debug msg="unable to create expr debugger with empty filter" ---- PASS: TestVisitor (0.01s) +time="2022-06-25T11:08:12Z" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" +time="2022-06-25T11:08:12Z" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test +time="2022-06-25T11:08:12Z" level=debug msg="eval variables:" type=test +time="2022-06-25T11:08:12Z" level=debug msg=" static_one = 'crowdse'" type=test +time="2022-06-25T11:08:12Z" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test +time="2022-06-25T11:08:12Z" level=debug msg="eval variables:" type=test +time="2022-06-25T11:08:12Z" level=debug msg=" static_one.foo = 'bar'" type=test +time="2022-06-25T11:08:12Z" level=debug msg=" static_one.foo = 'bar'" type=test +time="2022-06-25T11:08:12Z" level=debug msg="unable to create expr debugger with empty filter" +--- PASS: TestVisitor (0.00s) === RUN TestRegexpInFile -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" ---- PASS: TestRegexpInFile (0.01s) +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +--- PASS: TestRegexpInFile (0.00s) === RUN TestFileInit -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2021-05-23T04:41:47Z" level=info msg="test 'file with type:string' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" -time="2021-05-23T04:41:47Z" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -time="2021-05-23T04:41:47Z" level=info msg="test 'file with type:re' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" -time="2021-05-23T04:41:47Z" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" -time="2021-05-23T04:41:47Z" level=info msg="test 'file without type' : OK" ---- PASS: TestFileInit (0.01s) +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2022-06-25T11:08:12Z" level=info msg="test 'file with type:string' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" +time="2022-06-25T11:08:12Z" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2022-06-25T11:08:12Z" level=info msg="test 'file with type:re' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" +time="2022-06-25T11:08:12Z" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" +time="2022-06-25T11:08:12Z" level=info msg="test 'file without type' : OK" +--- PASS: TestFileInit (0.00s) === RUN TestFile -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2021-05-23T04:41:47Z" level=info msg="test 'File() test: word in file' : OK" -time="2021-05-23T04:41:47Z" level=info msg="test 'File() test: word in file but different case' : OK" -time="2021-05-23T04:41:47Z" level=info msg="test 'File() test: word not in file' : OK" -time="2021-05-23T04:41:47Z" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" -time="2021-05-23T04:41:47Z" 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-05-23T04:41:47Z" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2022-06-25T11:08:12Z" level=info msg="test 'File() test: word in file' : OK" +time="2022-06-25T11:08:12Z" level=info msg="test 'File() test: word in file but different case' : OK" +time="2022-06-25T11:08:12Z" level=info msg="test 'File() test: word not in file' : OK" +time="2022-06-25T11:08:12Z" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" +time="2022-06-25T11:08:12Z" 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="2022-06-25T11:08:12Z" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" --- PASS: TestFile (0.00s) === RUN TestIpInRange -time="2021-05-23T04:41:47Z" level=info msg="test 'IpInRange() test: basic test' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="'192.168.0' is not a valid IP" -time="2021-05-23T04:41:47Z" level=info msg="test 'IpInRange() test: malformed IP' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="'192.168.0.0/255' is not a valid IP" -time="2021-05-23T04:41:47Z" level=info msg="test 'IpInRange() test: malformed IP range' : OK" +time="2022-06-25T11:08:12Z" level=info msg="test 'IpInRange() test: basic test' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="'192.168.0' is not a valid IP" +time="2022-06-25T11:08:12Z" level=info msg="test 'IpInRange() test: malformed IP' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="'192.168.0.0/255' is not a valid IP" +time="2022-06-25T11:08:12Z" level=info msg="test 'IpInRange() test: malformed IP range' : OK" --- PASS: TestIpInRange (0.00s) === RUN TestAtof -time="2021-05-23T04:41:47Z" level=debug msg="debug atof 1.5" -time="2021-05-23T04:41:47Z" level=info msg="test 'Atof()' : OK" -time="2021-05-23T04:41:47Z" level=debug msg="debug atof 1aaa.5" -time="2021-05-23T04:41:47Z" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" -time="2021-05-23T04:41:47Z" level=info msg="test 'Atof()' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="debug atof 1.5" +time="2022-06-25T11:08:12Z" level=info msg="test 'Atof()' : OK" +time="2022-06-25T11:08:12Z" level=debug msg="debug atof 1aaa.5" +time="2022-06-25T11:08:12Z" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" +time="2022-06-25T11:08:12Z" level=info msg="test 'Atof()' : OK" --- PASS: TestAtof (0.00s) === RUN TestUpper -time="2021-05-23T04:41:47Z" level=info msg="test 'Upper()' : OK" +time="2022-06-25T11:08:12Z" level=info msg="test 'Upper()' : OK" --- PASS: TestUpper (0.00s) === RUN TestJsonExtract -time="2021-05-23T04:41:47Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2021/05/23 04:41:47 test 'basic json extract' : OK -time="2021-05-23T04:41:47Z" level=error msg="jsonExtractLib : [non_existing_field] : Key path not found" -2021/05/23 04:41:47 test 'basic json extract with non existing field' : OK +time="2022-06-25T11:08:12Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2022/06/25 11:08:12 test 'basic json extract' : OK +time="2022-06-25T11:08:12Z" level=error msg="jsonExtractLib : [non_existing_field] : Key path not found" +2022/06/25 11:08:12 test 'basic json extract with non existing field' : OK --- PASS: TestJsonExtract (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.121s +ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.009s === RUN TestBucket -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/leaky-fixedqueue" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/overflow-with-meta" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/overflow-with-meta-and-information" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-counter" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-counter-bh" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-counter-timeout" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-blackhole" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-overflow" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-underflow" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-uniq" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-trigger" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-trigger-external-data" -time="2021-05-23T04:41:55Z" level=info msg="Running test on ./tests/simple-trigger-reprocess" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/leaky-fixedqueue" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/overflow-with-meta" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/overflow-with-meta-and-information" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-counter" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-counter-bh" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-counter-timeout" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-blackhole" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-overflow" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-underflow" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-uniq" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-trigger" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-trigger-external-data" +time="2022-06-25T11:08:14Z" level=info msg="Running test on ./tests/simple-trigger-reprocess" --- PASS: TestBucket (0.00s) === RUN TestBadBucketsConfig -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name= -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name= +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test --- PASS: TestBadBucketsConfig (0.00s) === RUN TestLeakyBucketsConfig -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-05-23T04:41:55Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=error msg="Error creating overflow_filter : unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2022-06-25T11:08:14Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test --- PASS: TestBlackholeConfig (0.00s) === RUN TestTriggerBucketsConfig -time="2021-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg= file= name=test --- PASS: TestTriggerBucketsConfig (0.00s) === RUN TestCounterBucketsConfig -time="2021-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg= file= name=test -time="2021-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg= file= name=test +time="2022-06-25T11:08:14Z" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2022-06-25T11:08:14Z" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg=long-wood file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg= file= name=test --- PASS: TestCounterBucketsConfig (0.00s) === RUN TestGCandDump -time="2021-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast -time="2021-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:55Z" level=info msg="Pouring to bucket" -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2021-05-23T04:41:55Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=lively-pine capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:55Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=holy-bush capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:55Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=floral-snowflake capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg=restless-glitter file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg=fragrant-rain file=tests/simple-counter/bucket.yaml name=test/simple-counter -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding trigger bucket" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 2 scenarios" -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=info msg="Restored 1 buckets from dump" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 2 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding counter bucket" cfg=cold-grass file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=info msg="Adding leaky bucket" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Loaded 1 scenarios" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=hidden-flower capacity=0 cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=hidden-flower capacity=0 cfg=shy-moon file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=hidden-snow capacity=0 cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=hidden-snow capacity=0 cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=long-wildflower capacity=0 cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=long-wildflower capacity=0 cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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=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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=withered-voice capacity=2 cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=withered-voice capacity=2 cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=proud-cherry capacity=0 cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=proud-cherry capacity=0 cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=ancient-hill capacity=1 cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=ancient-hill capacity=1 cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=shy-resonance capacity=5 cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=shy-resonance capacity=5 cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=delicate-fog capacity=0 cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:55Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Overflow.Alert = '%!s(*models.Alert=)'" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=delicate-fog capacity=0 cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(baa) : ok" bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s()'" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(aaa) : ok" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=weathered-lake capacity=1 cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=weathered-lake capacity=1 cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=dark-sun capacity=1 cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=dark-sun capacity=1 cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=throbbing-waterfall capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=throbbing-waterfall capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=hidden-snow capacity=0 cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=long-glade capacity=0 cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=long-glade capacity=0 cfg=dry-dust file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=spring-wildflower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=warning msg="Event wasn't poured" -time="2021-05-23T04:41:55Z" 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=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\",\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\"\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=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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=proud-cherry capacity=0 cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=holy-feather capacity=0 cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=info msg="Bucket overflow" bucket_id=holy-feather capacity=0 cfg=polished-field file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=ancient-hill capacity=1 cfg=morning-shape file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2021-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=dark-sun capacity=1 cfg=throbbing-glitter file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=weathered-lake capacity=1 cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-05-23T04:41:55Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=weathered-lake capacity=1 cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-05-23T04:41:55Z" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=weathered-lake capacity=1 cfg=still-fog file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 UTC" bucket_id=throbbing-waterfall capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 UTC)" bucket_id=throbbing-waterfall capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(bab) : ok" bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 UTC" bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Uniq(aab) : ok" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 UTC" bucket_id=ancient-rain capacity=1 cfg=twilight-sea file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=throbbing-waterfall capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 UTC" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 UTC" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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=6) \"ratata\": (string) (len=7) \"foobar1\",\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" -time="2021-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=hidden-leaf capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Creating TimeMachine bucket" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=delicate-frog capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 UTC" bucket_id=delicate-frog capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=shy-resonance capacity=5 cfg=late-night file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="eval variables:" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2021-05-23T04:41:55Z" level=warning msg="Done pouring !" -time="2021-05-23T04:41:55Z" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 UTC" bucket_id=delicate-frog capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=delicate-frog capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 UTC)" bucket_id=delicate-frog capacity=1 cfg=divine-voice file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:55Z" 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-05-23T04:41:55Z" level=debug msg="Adding overflow to blackhole (2021-05-23 04:41:55.263116582 +0000 UTC m=+0.050132718)" bucket_id=lively-pine capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-05-23T04:41:55Z" level=info msg="Timed Overflow" bucket_id=lively-pine capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=error msg="Overflow being reprocessed." -time="2021-05-23T04:41:56Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:56Z" level=debug msg="eval variables:" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:56Z" level=debug msg=" evt.Line.Labels.type = ''" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:56Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=sparkling-night file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2021-05-23T04:41:56Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg="eval variables:" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg=" evt.Overflow.Alert = '&{%!s(*int32=0x9f2d4d4) [] [%!s(*models.Event=&{[0x9e1a450] 0xa162fb4})] %!s(*int32=0x9f2d4d8) %!s(int64=0) [] %!s(*string=0xa1a0820) %!s(*string=0xa1a0838) [] %!s(bool=false) %!s(*string=0x9e3cd80) %!s(*string=0x9e3ce74) %!s(*string=0x9e3ce7c) %!s(*bool=0x9e3cdf5) %!s(*models.Source=&{ 1.2.3.4 0 0 0x9e3ce60 0xa19d798}) %!s(*string=0xa1a0828) %!s(*string=0xa1a0830)}'" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s(*string=0x9e3cd80)'" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg="Creating bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg="Creating Live bucket" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=blue-flower capacity=0 cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2021-05-23T04:41:56Z" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=info msg="Bucket overflow" bucket_id=blue-flower capacity=0 cfg=silent-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=info msg="Timed Overflow" bucket_id=black-surf capacity=-1 cfg=fragrant-rain file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=frosty-brook capacity=-1 cfg=cold-grass file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-05-23T04:41:56Z" level=info msg="Timed Overflow" bucket_id=frosty-brook capacity=-1 cfg=cold-grass file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="got one result" -time="2021-05-23T04:41:56Z" level=warning msg="no more results" -time="2021-05-23T04:41:56Z" level=debug msg="bucket underflow, destroy" bucket_id=withered-voice capacity=2 cfg=snowy-breeze file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:57Z" level=info msg="Bucket GC" -time="2021-05-23T04:41:57Z" level=debug msg="overflowed at 2021-05-23 04:41:55.763298045 +0000 UTC m=+0.550314723." bucket_id=lively-pine capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2021-05-23T04:41:57Z" level=debug msg="UNDERFLOW : first_ts:2021-05-23 04:41:55.264168095 +0000 UTC m=+0.051184876 tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=holy-bush capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-05-23T04:41:57Z" level=info msg="Cleaned 2 buckets" -time="2021-05-23T04:41:57Z" level=info msg="Dumping buckets state" -time="2021-05-23T04:41:57Z" level=info msg="Dumping buckets state at 2021-05-23 04:41:57.264667479 +0000 UTC m=+2.051684189" -time="2021-05-23T04:41:57Z" level=debug msg="(2021-05-23 04:41:55.262059631 +0000 UTC m=+0.049075578) not dead, count:4.000000 capacity:5.000000" bucket_id=floral-snowflake capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-05-23T04:41:57Z" level=info msg="Serialized 1 live buckets (+0 expired) in 1639 bytes to /tmp/crowdsec-buckets-dump-587616522" +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg=withered-sea file=tests/simple-counter/bucket.yaml name=test/simple-counter +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:14Z" level=info msg="Pouring to bucket" +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast +time="2022-06-25T11:08:14Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=info msg="Adding counter bucket" cfg=cool-frog file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=still-fog capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:14Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=wild-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:14Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=bold-pine capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 2 scenarios" +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=info msg="Restored 1 buckets from dump" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=info msg="Adding leaky bucket" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 1 scenarios" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=info msg="Adding trigger bucket" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=warning msg="Loaded 2 scenarios" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Uniq(aaa) : ok" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=blue-bush capacity=1 cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=frosty-cherry capacity=0 cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=frosty-cherry capacity=0 cfg=blue-rain file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=blue-bush capacity=1 cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=sparkling-glade capacity=0 cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=sparkling-glade capacity=0 cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=purple-moon capacity=5 cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=purple-moon capacity=5 cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=rough-frog capacity=0 cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=rough-frog capacity=0 cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=holy-field capacity=1 cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=holy-field capacity=1 cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=autumn-darkness capacity=0 cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=autumn-darkness capacity=0 cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=dry-pond capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=dry-pond capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=proud-mountain capacity=2 cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=long-grass capacity=1 cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=debug msg="Uniq(baa) : ok" bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=proud-mountain capacity=2 cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=long-grass capacity=1 cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=bold-waterfall capacity=0 cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Overflow.Alert = '%!s(*models.Alert=)'" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" 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=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s()'" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=bold-waterfall capacity=0 cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=blue-bush capacity=1 cfg=shy-dawn file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=sparkling-glade capacity=0 cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=nameless-meadow capacity=0 cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=nameless-meadow capacity=0 cfg=red-sun file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=rough-frog capacity=0 cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Creating TimeMachine bucket" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=late-feather capacity=0 cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=green-flower file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2022-06-25T11:08:14Z" level=warning msg="Event wasn't poured" +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=info msg="Bucket overflow" bucket_id=late-feather capacity=0 cfg=winter-bird file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:14Z" 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="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 UTC" bucket_id=dry-pond capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2022-06-25T11:08:14Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="eval variables:" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2022-06-25T11:08:14Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:14Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 UTC)" bucket_id=dry-pond capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:14Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=long-grass capacity=1 cfg=morning-haze file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2022-06-25T11:08:14Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=holy-field capacity=1 cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2022-06-25T11:08:14Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=holy-field capacity=1 cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2022-06-25T11:08:14Z" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=holy-field capacity=1 cfg=hidden-paper file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:15Z" level=debug msg="Uniq(aab) : ok" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 UTC" bucket_id=damp-forest capacity=1 cfg=morning-tree file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" 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=5) \"entry\": (string) (len=1) \"3\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=dry-pond capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:15Z" level=debug msg="Creating TimeMachine bucket" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Uniq(bab) : ok" bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 UTC" bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 UTC" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 UTC" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=green-resonance capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Creating TimeMachine bucket" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=lively-cherry capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 UTC" bucket_id=lively-cherry capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:15Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=purple-moon capacity=5 cfg=fragrant-silence file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2022-06-25T11:08:15Z" level=warning msg="Done pouring !" +time="2022-06-25T11:08:15Z" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 UTC" bucket_id=lively-cherry capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=lively-cherry capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 UTC)" bucket_id=lively-cherry capacity=1 cfg=purple-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=debug msg="Adding overflow to blackhole (2022-06-25 11:08:14.876163815 +0000 UTC m=+0.027557411)" bucket_id=still-fog capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2022-06-25T11:08:15Z" level=info msg="Timed Overflow" bucket_id=still-fog capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=error msg="Overflow being reprocessed." +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = ''" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=broken-wildflower file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Overflow.Alert = '&{%!s(*int32=0x9f96798) [] [%!s(*models.Event=&{[0x9b04b50] 0x9e28fb4})] %!s(*int32=0x9f9679c) %!s(int64=0) [] %!s(*string=0x9ab1428) %!s(*string=0x9ab1440) [] %!s(bool=false) %!s(*string=0x9ad3b00) %!s(*string=0x9ad3bf4) %!s(*string=0x9ad3bfc) %!s(*bool=0x9ad3b75) %!s(*models.Source=&{ 1.2.3.4 0 0 0x9ad3be0 0x9890198}) %!s(*string=0x9ab1430) %!s(*string=0x9ab1438)}'" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s(*string=0x9ad3b00)'" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg="Creating bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg="Creating Live bucket" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=long-glitter capacity=0 cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2022-06-25T11:08:15Z" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=info msg="Bucket overflow" bucket_id=long-glitter capacity=0 cfg=fragrant-butterfly file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=info msg="Timed Overflow" bucket_id=empty-feather capacity=-1 cfg=withered-sea file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=cool-haze capacity=-1 cfg=long-wood file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2022-06-25T11:08:15Z" level=info msg="Timed Overflow" bucket_id=cool-haze capacity=-1 cfg=long-wood file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="got one result" +time="2022-06-25T11:08:15Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=debug msg="bucket underflow, destroy" bucket_id=proud-mountain capacity=2 cfg=young-shadow file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:16Z" level=info msg="Bucket GC" +time="2022-06-25T11:08:16Z" level=debug msg="overflowed at 2022-06-25 11:08:15.376305772 +0000 UTC m=+0.527699396." bucket_id=still-fog capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2022-06-25T11:08:16Z" level=debug msg="Bucket externally killed, return" bucket_id=bold-pine capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2022-06-25T11:08:16Z" level=debug msg="UNDERFLOW : first_ts:2022-06-25 11:08:14.876373732 +0000 UTC m=+0.027767374 tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=wild-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2022-06-25T11:08:16Z" level=info msg="Cleaned 2 buckets" +time="2022-06-25T11:08:16Z" level=debug msg="Bucket externally killed, return" bucket_id=wild-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2022-06-25T11:08:16Z" level=info msg="Dumping buckets state" +time="2022-06-25T11:08:16Z" level=info msg="Dumping buckets state at 2022-06-25 11:08:16.876857888 +0000 UTC m=+2.028251484" +time="2022-06-25T11:08:16Z" level=debug msg="(2022-06-25 11:08:14.876518016 +0000 UTC m=+0.027911612) not dead, count:4.000000 capacity:5.000000" bucket_id=bold-pine capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2022-06-25T11:08:16Z" level=info msg="Serialized 1 live buckets (+0 expired) in 1634 bytes to /tmp/crowdsec-buckets-dump-911209242" --- PASS: TestGCandDump (2.00s) === RUN TestShutdownBuckets -time="2021-05-23T04:41:57Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:57Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:57Z" level=info msg="Pouring to bucket" -time="2021-05-23T04:41:57Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:57Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:57Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:57Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=nameless-cloud capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-05-23T04:41:57Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2021-05-23T04:41:57Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:57Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:57Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:57Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=ancient-dust capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-05-23T04:41:57Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2021-05-23T04:41:57Z" level=debug msg="Bucket externally killed, return" bucket_id=holy-bush capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-05-23T04:41:57Z" level=debug msg="Bucket externally killed, return" bucket_id=floral-snowflake capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="got one result" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="got one result" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="got one result" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="got one result" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:57Z" level=warning msg="no more results" -time="2021-05-23T04:41:58Z" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" -time="2021-05-23T04:41:58Z" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" -time="2021-05-23T04:41:58Z" level=debug msg="Bucket externally killed, return" bucket_id=ancient-dust capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2021-05-23T04:41:58Z" level=debug msg="Bucket externally killed, return" bucket_id=nameless-cloud capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e371c0)((len=2) \"Ip\"),\n Value: (*string)(0xa090698)((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)(0x9efc500)((len=2) \"Ip\"),\n Value: (*string)(0x9efc508)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="no more results" -time="2021-05-23T04:41:58Z" level=warning msg="no more results" -time="2021-05-23T04:41:58Z" level=warning msg="Got 2 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="2 results to check against 2 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e3c7a0)((len=2) \"Ip\"),\n Value: (*string)(0x9d43318)((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)(0x9de0a68)((len=2) \"Ip\"),\n Value: (*string)(0x9de0a70)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e3d520)((len=2) \"Ip\"),\n Value: (*string)(0xa1214d8)((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)(0x9de0a90)((len=2) \"Ip\"),\n Value: (*string)(0x9de0a98)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 0 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 2 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="2 results to check against 2 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e37880)((len=2) \"Ip\"),\n Value: (*string)(0x9d098d8)((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)(0x9de00d0)((len=2) \"Ip\"),\n Value: (*string)(0x9de00d8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e3d880)((len=2) \"Ip\"),\n Value: (*string)(0xa121d98)((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)(0x9de00f0)((len=2) \"Ip\"),\n Value: (*string)(0x9de00f8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:58Z" 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)(0x9e19880)((len=2) \"Ip\"),\n Value: (*string)(0x9d09218)((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)(0x9d0aad0)((len=2) \"Ip\"),\n Value: (*string)(0x9d0aad8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:58Z" 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)(0x9e37be0)((len=2) \"Ip\"),\n Value: (*string)(0xa091e18)((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)(0xa1a0660)((len=2) \"Ip\"),\n Value: (*string)(0xa1a0668)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="no more results" -time="2021-05-23T04:41:58Z" level=warning msg="Got 2 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="2 results to check against 2 expected results" -time="2021-05-23T04:41:58Z" level=info msg="Here ?" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/filter-ok == test/filter-ok" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:58Z" 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)(0x9e32560)((len=2) \"Ip\"),\n Value: (*string)(0x9c68918)((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)(0x9e84c70)((len=2) \"Ip\"),\n Value: (*string)(0x9e84c78)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="no more results" -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 4 == 4" -time="2021-05-23T04:41:58Z" 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)(0x9e29400)((len=2) \"Ip\"),\n Value: (*string)(0x9c69118)((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)(0x9e2add0)((len=2) \"Ip\"),\n Value: (*string)(0x9e2add8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 UTC" -time="2021-05-23T04:41:58Z" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 UTC." bucket_id=divine-sunset capacity=3 cfg=cold-dust file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2021-05-23T04:41:58Z" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-747434209" -time="2021-05-23T04:41:58Z" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-747434209" -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:58Z" 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)(0x9e3d1c0)((len=2) \"Ip\"),\n Value: (*string)(0x9c69598)((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)(0x9e2b3f0)((len=2) \"Ip\"),\n Value: (*string)(0x9e2b3f8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 6 == 6" -time="2021-05-23T04:41:58Z" 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)(0x9e3cb00)((len=2) \"Ip\"),\n Value: (*string)(0x9d82618)((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)(0x9fbae50)((len=2) \"Ip\"),\n Value: (*string)(0x9fbae58)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:58Z" level=warning msg="Got 3 overflows from run" -time="2021-05-23T04:41:58Z" level=warning msg="3 results to check against 3 expected results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:58Z" 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)(0x9e328c0)((len=2) \"Ip\"),\n Value: (*string)(0x9d485d8)((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)(0x9de1608)((len=2) \"Ip\"),\n Value: (*string)(0x9de1618)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2021-05-23T04:41:58Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:58Z" 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)(0xa14a320)((len=2) \"Ip\"),\n Value: (*string)(0x9d82a18)((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)(0x9de1630)((len=2) \"Ip\"),\n Value: (*string)(0x9de1638)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:58Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:58Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:59Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:59Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:59Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:59Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:59Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:59Z" level=warning msg="Got 2 overflows from run" -time="2021-05-23T04:41:59Z" level=warning msg="2 results to check against 2 expected results" -time="2021-05-23T04:41:59Z" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" -time="2021-05-23T04:41:59Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:59Z" 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)(0x9e3ce60)((len=2) \"Ip\"),\n Value: (*string)(0xa19d798)((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)(0x9de0f10)((len=2) \"Ip\"),\n Value: (*string)(0x9de0f18)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:59Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:59Z" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" -time="2021-05-23T04:41:59Z" level=info msg="(EventsCount) 1 == 1" -time="2021-05-23T04:41:59Z" 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)(0x9e3ce60)((len=2) \"Ip\"),\n Value: (*string)(0xa19d798)((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)(0x9de0f30)((len=2) \"Ip\"),\n Value: (*string)(0x9de0f38)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:59Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:59Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:59Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:59Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:59Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:59Z" level=info msg="(scenario) test/simple-counter == test/simple-counter" -time="2021-05-23T04:41:59Z" level=info msg="(EventsCount) 2 == 2" -time="2021-05-23T04:41:59Z" 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)(0x9e19f40)((len=2) \"Ip\"),\n Value: (*string)(0x9ce6b18)((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)(0x9e2a618)((len=2) \"Ip\"),\n Value: (*string)(0x9e2a620)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2021-05-23T04:41:59Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:59Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:59Z" level=warning msg="Test is successfull" -time="2021-05-23T04:41:59Z" level=warning msg="Got 1 overflows from run" -time="2021-05-23T04:41:59Z" level=warning msg="1 results to check against 1 expected results" -time="2021-05-23T04:41:59Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2021-05-23T04:41:59Z" level=warning msg="entry valid at end of loop" -time="2021-05-23T04:41:59Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:16Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:16Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:16Z" level=info msg="Pouring to bucket" +time="2022-06-25T11:08:16Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:16Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:16Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:16Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=nameless-wildflower capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2022-06-25T11:08:16Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2022-06-25T11:08:16Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:16Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:16Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:16Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=autumn-darkness capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2022-06-25T11:08:16Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="got one result" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:16Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" +time="2022-06-25T11:08:17Z" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" +time="2022-06-25T11:08:17Z" level=debug msg="Bucket externally killed, return" bucket_id=autumn-darkness capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2022-06-25T11:08:17Z" level=debug msg="Bucket externally killed, return" bucket_id=nameless-wildflower capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2022-06-25T11:08:17Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9af7640)((len=2) \"Ip\"),\n Value: (*string)(0x9d7fb58)((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)(0x9c86450)((len=2) \"Ip\"),\n Value: (*string)(0x9c86458)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="no more results" +time="2022-06-25T11:08:17Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:17Z" 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)(0x9ac8320)((len=2) \"Ip\"),\n Value: (*string)(0x9e0e258)((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)(0x9a66840)((len=2) \"Ip\"),\n Value: (*string)(0x9a66848)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="Got 2 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="2 results to check against 2 expected results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9ac2440)((len=2) \"Ip\"),\n Value: (*string)(0x9991fd8)((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)(0x9bdc9c8)((len=2) \"Ip\"),\n Value: (*string)(0x9bdc9d0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9ad19a0)((len=2) \"Ip\"),\n Value: (*string)(0x9f81098)((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)(0x9bdc9f0)((len=2) \"Ip\"),\n Value: (*string)(0x9bdc9f8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="Got 0 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9ad0320)((len=2) \"Ip\"),\n Value: (*string)(0x9d7fe18)((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)(0x9b46910)((len=2) \"Ip\"),\n Value: (*string)(0x9b46918)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="Got 2 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="2 results to check against 2 expected results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9ac30a0)((len=2) \"Ip\"),\n Value: (*string)(0x9ca5b58)((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)(0x9b463a8)((len=2) \"Ip\"),\n Value: (*string)(0x9b463b0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:17Z" 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)(0x9ad3f40)((len=2) \"Ip\"),\n Value: (*string)(0x9890d98)((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)(0x9b463c8)((len=2) \"Ip\"),\n Value: (*string)(0x9b463d0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:17Z" level=warning msg="Got 2 overflows from run" +time="2022-06-25T11:08:17Z" level=warning msg="2 results to check against 2 expected results" +time="2022-06-25T11:08:17Z" level=info msg="Here ?" +time="2022-06-25T11:08:17Z" level=info msg="(scenario) test/filter-ok == test/filter-ok" +time="2022-06-25T11:08:17Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:17Z" 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)(0x9ad3880)((len=2) \"Ip\"),\n Value: (*string)(0x98914d8)((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)(0x9b46f58)((len=2) \"Ip\"),\n Value: (*string)(0x9b46f60)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:17Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:17Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:18Z" 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)(0x9ac20e0)((len=2) \"Ip\"),\n Value: (*string)(0x9890158)((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)(0x9811be8)((len=2) \"Ip\"),\n Value: (*string)(0x9811bf0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 4 == 4" +time="2022-06-25T11:08:18Z" 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)(0x9ab8b00)((len=2) \"Ip\"),\n Value: (*string)(0x98917d8)((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)(0x9a67280)((len=2) \"Ip\"),\n Value: (*string)(0x9a67288)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 UTC" +time="2022-06-25T11:08:18Z" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 UTC." bucket_id=wispy-glade capacity=3 cfg=young-feather file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2022-06-25T11:08:18Z" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-071100849" +time="2022-06-25T11:08:18Z" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-071100849" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 6 == 6" +time="2022-06-25T11:08:18Z" 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)(0x9ac9ac0)((len=2) \"Ip\"),\n Value: (*string)(0x9a7e318)((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)(0x9ab0580)((len=2) \"Ip\"),\n Value: (*string)(0x9ab0588)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 3 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="3 results to check against 3 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:18Z" 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)(0x9ad92e0)((len=2) \"Ip\"),\n Value: (*string)(0x9982098)((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)(0x9b46e80)((len=2) \"Ip\"),\n Value: (*string)(0x9b46e88)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:18Z" 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)(0x9ae4320)((len=2) \"Ip\"),\n Value: (*string)(0x9a7ea18)((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)(0x9b46ea0)((len=2) \"Ip\"),\n Value: (*string)(0x9b46ea8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 2 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="2 results to check against 2 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:18Z" 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)(0x9ad3be0)((len=2) \"Ip\"),\n Value: (*string)(0x9890198)((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)(0x9ab0b60)((len=2) \"Ip\"),\n Value: (*string)(0x9ab0b68)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 1 == 1" +time="2022-06-25T11:08:18Z" 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)(0x9ad3be0)((len=2) \"Ip\"),\n Value: (*string)(0x9890198)((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)(0x9ab0b80)((len=2) \"Ip\"),\n Value: (*string)(0x9ab0b88)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=info msg="(scenario) test/simple-counter == test/simple-counter" +time="2022-06-25T11:08:18Z" level=info msg="(EventsCount) 2 == 2" +time="2022-06-25T11:08:18Z" level=warning msg="Got 1 overflows from run" +time="2022-06-25T11:08:18Z" level=warning msg="1 results to check against 1 expected results" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" +time="2022-06-25T11:08:18Z" 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)(0x9af72e0)((len=2) \"Ip\"),\n Value: (*string)(0x9a7ecd8)((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)(0x9a66a68)((len=2) \"Ip\"),\n Value: (*string)(0x9a66a70)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2022-06-25T11:08:18Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2022-06-25T11:08:18Z" level=warning msg="entry valid at end of loop" +time="2022-06-25T11:08:18Z" level=warning msg="Test is successfull" --- PASS: TestShutdownBuckets (3.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.065s +ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.034s ? 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-05-23T04:41:56Z" level=info msg=" has debug enabled" id=nameless-dew -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=spring-voice -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=floral-wind -time="2021-05-23T04:41:56Z" level=info msg="Node is empty: (*parser.Node)(0x9624480)({\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)(0x970dc00)({\n Logger: (*logrus.Logger)(0x970db00)({\n Out: (*os.File)(0x94980d0)({\n file: (*os.file)(0x94a4080)({\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)(0x970dac0)({\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) 0x9712000,\n localSize: (uintptr) 0xa,\n victim: (unsafe.Pointer) ,\n victimSize: (uintptr) ,\n New: (func() interface {}) \n },\n ExitFunc: (logrus.exitFunc) 0x82b6bb0\n }),\n Data: (logrus.Fields) (len=3) {\n (string) (len=2) \"id\": (string) (len=11) \"floral-wind\",\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=11) \"floral-wind\",\n Filter: (string) (len=4) \"true\",\n RunTimeFilter: (*vm.Program)(0x98a2b60)({\n Source: (*file.Source)(0x98a2ac0)({\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)(0x98a2bc0)({\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=floral-wind name= stage=s00 -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=muddy-star -time="2021-05-23T04:41:56Z" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=muddy-star name= stage=s00 -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=cool-snowflake -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=winter-glitter -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=little-smoke -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=muddy-snow -time="2021-05-23T04:41:56Z" level=info msg=" has debug enabled" id=solitary-frost ---- PASS: TestParserConfigs (0.89s) +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=dry-frost +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=lingering-forest +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=young-leaf +time="2022-06-25T11:08:15Z" level=info msg="Node is empty: (*parser.Node)(0x8e7c360)({\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)(0x901f8c0)({\n Logger: (*logrus.Logger)(0x901f7c0)({\n Out: (*os.File)(0x8c100e0)({\n file: (*os.file)(0x8c700c0)({\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)(0x901f780)({\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) 0x9052d00,\n localSize: (uintptr) 0x12,\n victim: (unsafe.Pointer) ,\n victimSize: (uintptr) ,\n New: (func() interface {}) \n },\n ExitFunc: (logrus.exitFunc) 0x82b6bb0\n }),\n Data: (logrus.Fields) (len=3) {\n (string) (len=4) \"name\": (string) \"\",\n (string) (len=2) \"id\": (string) (len=10) \"young-leaf\",\n (string) (len=5) \"stage\": (string) (len=3) \"s00\"\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) \"young-leaf\",\n Filter: (string) (len=4) \"true\",\n RunTimeFilter: (*vm.Program)(0x8f14900)({\n Source: (*file.Source)(0x8f14860)({\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)(0x8f14940)({\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=young-leaf name= stage=s00 +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=empty-star +time="2022-06-25T11:08:15Z" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=empty-star name= stage=s00 +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=fragrant-sun +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=hidden-feather +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=late-paper +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=snowy-wood +time="2022-06-25T11:08:15Z" level=info msg=" has debug enabled" id=black-waterfall +--- PASS: TestParserConfigs (0.37s) === RUN TestParser -time="2021-05-23T04:41:56Z" level=info msg="Loaded -> [{Funcs:map[GeoIpASN:0x86b80a0 GeoIpCity:0x86b8520 IpToRange:0x86b7cb0 ParseDate:0x86b7970 reverse_dns:0x86b7b00] Init:0x86b8b10 Plugin: Name:./test_data/ Path:./test_data/ RuntimeCtx:{dbc:0x9619208 dba:0x96192a0 dbraw:0x9965800} initiated:true}]" -time="2021-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-grok" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-grok" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=proud-glitter -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok has debug enabled" id=damp-field -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=damp-field name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=proud-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-grok-external-data" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-grok-external-data" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=late-glitter -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok has debug enabled" id=small-hill -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[is_it_in_file] = 'true'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=small-hill name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[is_it_in_file] = 'false'" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=late-glitter name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-grok-import" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-grok-import" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=dark-sun -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok has debug enabled" id=divine-bush -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['facility'] = '123'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['priority'] = '120'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['facility'] = '123'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['priority'] = '121'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ko" id=divine-bush name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ko" id=dark-sun name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 3 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 3 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/3 matches result 0/3" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-grok-no-subnode" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-grok-no-subnode" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=young-smoke -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=young-smoke name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-json-extract" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-json-extract" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-json-extract has debug enabled" id=snowy-hill -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=purple-river -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok has debug enabled" id=polished-wind -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 2 nodes, 2 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 5 statics" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[other_field] = 'some stuff'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[program] = 'my_test_prog'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="move Event from stage s00-raw to s01-parse" id=snowy-hill name=tests/base-json-extract stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=polished-wind name=child-tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=polished-wind name=child-tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=polished-wind name=child-tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s01-parse" id=purple-river name=tests/base-grok stage=s01-parse -time="2021-05-23T04:41:57Z" level=info msg="parsed 1 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 1 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/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 Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[program] my_test_prog == my_test_prog/ok Meta[other_field] some stuff == some stuff" -time="2021-05-23T04:41:57Z" level=info msg="Running test on ./tests/base-tree" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/base-tree" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok-root has debug enabled" id=crimson-wildflower -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok-leafs has debug enabled" id=aged-moon -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=shy-violet -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=black-breeze -time="2021-05-23T04:41:57Z" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 2 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[state] = 'root-done'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Meta.state = 'root-done'" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[final_state] = 'leaf1'" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[state] = 'root-done'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=crimson-wildflower name=tests/base-grok-root stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Meta.state = 'root-done'" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ko (failed filter)" id=shy-violet name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[final_state] = 'leaf2'" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=black-breeze name=child-tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s00-raw" id=aged-moon name=tests/base-grok-leafs stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/dateparser-enrich" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/dateparser-enrich" -time="2021-05-23T04:41:57Z" level=info msg="test/dateparse has debug enabled" id=polished-wildflower -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.StrTime = '2012/11/01'" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=polished-wildflower name=test/dateparse stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/geoip-enrich" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/geoip-enrich" -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 8.8.8.8 == 8.8.8.8/ok Enriched[IsInEU] false == false/mismatch Enriched[ASNOrg] Google LLC != " -time="2021-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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[IsoCode] == /ok Enriched[ASNOrg] == /ok Enriched[IsInEU] false == false" -time="2021-05-23T04:41:57Z" level=info msg="Running test on ./tests/multi-stage-grok" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/multi-stage-grok" -time="2021-05-23T04:41:57Z" level=info msg="tests/base-grok has debug enabled" id=young-violet -time="2021-05-23T04:41:57Z" level=info msg="child-tests/base-grok has debug enabled" id=dawn-leaf -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml -time="2021-05-23T04:41:57Z" level=info msg="tests/second-stage-grok has debug enabled" id=divine-cherry -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 2 nodes, 2 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 2 statics" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[did_second_stage] = 'yes'" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="node reached the last stage : s01-raw" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=dawn-leaf name=child-tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=young-violet name=tests/base-grok stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ko (failed filter)" id=divine-cherry name=tests/second-stage-grok stage=s01-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/reverse-dns-enrich" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/reverse-dns-enrich" -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=info msg="parsed 2 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 2 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Meta[did_dns_succeeded] yes == yes/ok Enriched[reverse_dns] dns.google. == dns.google./ok Enriched[IpToResolve] 8.8.8.8 == 8.8.8.8" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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-05-23T04:41:57Z" level=info msg="Running test on ./tests/whitelist-base" -time="2021-05-23T04:41:57Z" level=warning msg="testing ./tests/whitelist-base" -time="2021-05-23T04:41:57Z" level=info msg="test/whitelists has debug enabled" id=withered-grass -time="2021-05-23T04:41:57Z" level=debug msg="adding ip 8.8.8.8 to whitelists" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml -time="2021-05-23T04:41:57Z" level=info msg="Loaded 1 nodes, 1 stages" -time="2021-05-23T04:41:57Z" level=warning msg="Going to process one test set" -time="2021-05-23T04:41:57Z" level=debug msg="Event from [8.8.8.8] is whitelisted by Ips !" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Enriched.test_token = ''" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[statics] = 'success'" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event from [1.2.3.4] is whitelisted by Cidrs !" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Enriched.test_token = ''" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[statics] = 'success'" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Enriched.test_token = ''" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Enriched.test_token = ''" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="eval variables:" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="Event is whitelisted by Expr !" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="+ Processing 1 statics" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg=".Meta[statics] = 'success'" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=debug msg="Event leaving node : ok" id=withered-grass name=test/whitelists stage=s00-raw -time="2021-05-23T04:41:57Z" level=info msg="parsed 5 lines" -time="2021-05-23T04:41:57Z" level=info msg="got 5 results" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/5 matches result 0/5" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/4 matches result 0/4" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[statics] success == success/ok Meta[test] test5 == test5" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/3 matches result 0/3" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/2 matches result 0/2" -time="2021-05-23T04:41:57Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" -time="2021-05-23T04:41:57Z" level=info msg="expected 0/1 matches result 0/1" -time="2021-05-23T04:41:57Z" 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.27s) +time="2022-06-25T11:08:15Z" level=info msg="Loaded -> [{Funcs:map[GeoIpASN:0x86b80a0 GeoIpCity:0x86b8520 IpToRange:0x86b7cb0 ParseDate:0x86b7970 reverse_dns:0x86b7b00] Init:0x86b8b10 Plugin: Name:./test_data/ Path:./test_data/ RuntimeCtx:{dbc:0x90cfcf0 dba:0x90cfeb0 dbraw:0x8ceb860} initiated:true}]" +time="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-grok" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-grok" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=snowy-meadow +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok has debug enabled" id=frosty-wood +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=frosty-wood name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=snowy-meadow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-grok-external-data" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-grok-external-data" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=falling-feather +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok has debug enabled" id=floral-river +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[is_it_in_file] = 'true'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=floral-river name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[is_it_in_file] = 'false'" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=falling-feather name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-grok-import" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-grok-import" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=cold-snow +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok has debug enabled" id=shy-water +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['facility'] = '123'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['priority'] = '120'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['facility'] = '123'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['priority'] = '121'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ko" id=shy-water name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ko" id=cold-snow name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 3 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 3 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/3 matches result 0/3" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08:15Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-grok-no-subnode" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-grok-no-subnode" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=sparkling-silence +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=sparkling-silence name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-json-extract" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-json-extract" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-json-extract has debug enabled" id=rough-pine +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=bitter-feather +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok has debug enabled" id=weathered-moon +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 2 nodes, 2 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 5 statics" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[other_field] = 'some stuff'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[program] = 'my_test_prog'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="move Event from stage s00-raw to s01-parse" id=rough-pine name=tests/base-json-extract stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-moon name=child-tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=weathered-moon name=child-tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=weathered-moon name=child-tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s01-parse" id=bitter-feather name=tests/base-grok stage=s01-parse +time="2022-06-25T11:08:15Z" level=info msg="parsed 1 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 1 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08:15Z" 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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/base-tree" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/base-tree" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok-root has debug enabled" id=blue-glade +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok-leafs has debug enabled" id=crimson-dream +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=muddy-glade +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=spring-breeze +time="2022-06-25T11:08:15Z" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 2 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[state] = 'root-done'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Meta.state = 'root-done'" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[final_state] = 'leaf1'" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[state] = 'root-done'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-glade name=tests/base-grok-root stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Meta.state = 'root-done'" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ko (failed filter)" id=muddy-glade name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[final_state] = 'leaf2'" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=spring-breeze name=child-tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s00-raw" id=crimson-dream name=tests/base-grok-leafs stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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[final_state] leaf2 == leaf2/ok Meta[state_sub] VALUE2 == VALUE2" +time="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/dateparser-enrich" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/dateparser-enrich" +time="2022-06-25T11:08:15Z" level=info msg="test/dateparse has debug enabled" id=still-dream +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.StrTime = '2012/11/01'" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=still-dream name=test/dateparse stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/geoip-enrich" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/geoip-enrich" +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/multi-stage-grok" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/multi-stage-grok" +time="2022-06-25T11:08:15Z" level=info msg="tests/base-grok has debug enabled" id=late-forest +time="2022-06-25T11:08:15Z" level=info msg="child-tests/base-grok has debug enabled" id=wispy-sky +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml +time="2022-06-25T11:08:15Z" level=info msg="tests/second-stage-grok has debug enabled" id=white-snow +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 2 nodes, 2 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 2 statics" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[did_second_stage] = 'yes'" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="node reached the last stage : s01-raw" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=wispy-sky name=child-tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=late-forest name=tests/base-grok stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ko (failed filter)" id=white-snow name=tests/second-stage-grok stage=s01-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/reverse-dns-enrich" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/reverse-dns-enrich" +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=info msg="parsed 2 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 2 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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="2022-06-25T11:08:15Z" level=info msg="Running test on ./tests/whitelist-base" +time="2022-06-25T11:08:15Z" level=warning msg="testing ./tests/whitelist-base" +time="2022-06-25T11:08:15Z" level=info msg="test/whitelists has debug enabled" id=blue-voice +time="2022-06-25T11:08:15Z" level=debug msg="adding ip 8.8.8.8 to whitelists" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml +time="2022-06-25T11:08:15Z" level=info msg="Loaded 1 nodes, 1 stages" +time="2022-06-25T11:08:15Z" level=warning msg="Going to process one test set" +time="2022-06-25T11:08:15Z" level=debug msg="Event from [8.8.8.8] is whitelisted by Ips !" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[statics] = 'success'" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event from [1.2.3.4] is whitelisted by Cidrs !" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[statics] = 'success'" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Enriched.test_token = ''" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="eval variables:" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="Event is whitelisted by Expr !" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="+ Processing 1 statics" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg=".Meta[statics] = 'success'" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=debug msg="Event leaving node : ok" id=blue-voice name=test/whitelists stage=s00-raw +time="2022-06-25T11:08:15Z" level=info msg="parsed 5 lines" +time="2022-06-25T11:08:15Z" level=info msg="got 5 results" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/5 matches result 0/5" +time="2022-06-25T11:08:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/4 matches result 0/4" +time="2022-06-25T11:08:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/3 matches result 0/3" +time="2022-06-25T11:08:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/2 matches result 0/2" +time="2022-06-25T11:08:15Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" +time="2022-06-25T11:08:15Z" level=info msg="expected 0/1 matches result 0/1" +time="2022-06-25T11:08: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 (0.40s) === RUN TestGeneratePatternsDoc --- PASS: TestGeneratePatternsDoc (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/parser 2.240s +ok github.com/crowdsecurity/crowdsec/pkg/parser 0.805s === RUN TestLimit --- PASS: TestLimit (0.00s) === RUN TestEvery @@ -4389,14 +4497,14 @@ === RUN TestWaitSimple --- PASS: TestWaitSimple (0.20s) === RUN TestWaitCancel - rate_test.go:438: tokens:2.0580862399999997 last:2021-05-23 04:41:39.185080513 +0000 UTC m=+5.310328669 lastEvent:2021-05-23 04:41:39.279272023 +0000 UTC m=+5.404520045 ---- PASS: TestWaitCancel (0.13s) + rate_test.go:438: tokens:2.0200566 last:2022-06-25 11:08:13.800972528 +0000 UTC m=+5.306842279 lastEvent:2022-06-25 11:08:13.898966952 +0000 UTC m=+5.404836619 +--- 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.393s +ok github.com/crowdsecurity/crowdsec/pkg/time/rate 5.317s === RUN TestIP2Int --- PASS: TestIP2Int (0.00s) === RUN TestRange2Int @@ -4404,7 +4512,7 @@ === RUN TestAdd2Int --- PASS: TestAdd2Int (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/types 0.063s +ok github.com/crowdsecurity/crowdsec/pkg/types 0.043s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -4459,12 +4567,15 @@ dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) +I: copying local configuration +I: user script /srv/workspace/pbuilder/488/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/488/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/28004 and its subdirectories -I: Current time: Sat May 22 16:44:00 -12 2021 -I: pbuilder-time-stamp: 1621745040 +I: removing directory /srv/workspace/pbuilder/488 and its subdirectories +I: Current time: Sun Jun 26 01:08:52 +14 2022 +I: pbuilder-time-stamp: 1656155332