Diff of the two buildlogs: -- --- b1/build.log 2024-03-26 01:00:01.250827745 +0000 +++ b2/build.log 2024-03-26 01:12:07.287862467 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Mar 25 12:30:25 -12 2024 -I: pbuilder-time-stamp: 1711413025 +I: Current time: Tue Mar 26 15:00:52 +14 2024 +I: pbuilder-time-stamp: 1711414852 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -46,52 +46,84 @@ dpkg-source: info: applying 0019-disable-unreliable-test-TestStreaming.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/31338/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 26 01:01 /bin/sh -> /bin/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/23076/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='6044c41c49b44cd5b9c306730710e17f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='31338' - PS1='# ' - PS2='> ' + INVOCATION_ID=18de22d3b03e41e0a16276d22fd0fc81 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=23076 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/r-b-build.s0EgkhxJ/pbuilderrc_pNDA --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s0EgkhxJ/b1 --logfile b1/build.log crowdsec_1.4.6-7.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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/r-b-build.s0EgkhxJ/pbuilderrc_OlhY --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s0EgkhxJ/b2 --logfile b2/build.log crowdsec_1.4.6-7.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 25 15:31 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/31338/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 25 16:02 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -715,7 +747,7 @@ Get: 456 http://deb.debian.org/debian unstable/main armhf golang-github-toorop-go-dkim-dev all 0.0~git20240103.90b7d14-1 [19.8 kB] Get: 457 http://deb.debian.org/debian unstable/main armhf golang-github-xhit-go-simple-mail-dev all 2.16.0-1 [28.2 kB] Get: 458 http://deb.debian.org/debian unstable/main armhf golang-gopkg-natefinch-lumberjack.v2-dev all 2.1-2 [13.1 kB] -Fetched 200 MB in 6s (33.0 MB/s) +Fetched 200 MB in 5s (38.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19414 files and directories currently installed.) @@ -2206,8 +2238,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Mar 26 00:35:21 UTC 2024. -Universal Time is now: Tue Mar 26 00:35:21 UTC 2024. +Local time is now: Tue Mar 26 01:03:27 UTC 2024. +Universal Time is now: Tue Mar 26 01:03:27 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-coreos-go-semver-dev (0.3.0-1) ... @@ -2582,7 +2614,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/crowdsec-1.4.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../crowdsec_1.4.6-7_source.changes +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/crowdsec-1.4.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../crowdsec_1.4.6-7_source.changes dpkg-buildpackage: info: source package crowdsec dpkg-buildpackage: info: source version 1.4.6-7 dpkg-buildpackage: info: source distribution unstable @@ -2602,36 +2638,37 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/crowdsec-1.4.6' dh_auto_build -- -ldflags '-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.4.6-7 -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.BuildDate=2024-03-14_04:08:07 ' - cd _build && go install -trimpath -v -p 5 -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.4.6-7 -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.BuildDate=2024-03-14_04:08:07 " github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog 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/csplugin github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cstest 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/hubtest github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/protobufs github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types github.com/crowdsecurity/crowdsec/pkg/yamlpatch github.com/crowdsecurity/crowdsec/plugins/notifications/dummy github.com/crowdsecurity/crowdsec/plugins/notifications/email github.com/crowdsecurity/crowdsec/plugins/notifications/http github.com/crowdsecurity/crowdsec/plugins/notifications/slack github.com/crowdsecurity/crowdsec/plugins/notifications/splunk -internal/coverage/rtcov + cd _build && go install -trimpath -v -p 4 -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.4.6-7 -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.BuildDate=2024-03-14_04:08:07 " github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog 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/csplugin github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cstest 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/hubtest github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/protobufs github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types github.com/crowdsecurity/crowdsec/pkg/yamlpatch github.com/crowdsecurity/crowdsec/plugins/notifications/dummy github.com/crowdsecurity/crowdsec/plugins/notifications/email github.com/crowdsecurity/crowdsec/plugins/notifications/http github.com/crowdsecurity/crowdsec/plugins/notifications/slack github.com/crowdsecurity/crowdsec/plugins/notifications/splunk internal/unsafeheader -internal/godebugs +internal/coverage/rtcov internal/goarch -internal/goexperiment internal/cpu +internal/godebugs internal/abi internal/chacha8rand +internal/goexperiment internal/goos runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race sync/atomic -internal/bytealg -runtime/internal/atomic internal/itoa encoding math/bits unicode/utf8 unicode cmp -math unicode/utf16 +math slices log/internal internal/nettrace container/list crypto/internal/alias +runtime crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -2639,8 +2676,9 @@ go.mongodb.org/mongo-driver/bson/bsonoptions go.mongodb.org/mongo-driver/bson/bsontype entgo.io/ent/schema -github.com/agext/levenshtein entgo.io/ent/schema/index +github.com/agext/levenshtein +github.com/aws/aws-sdk-go/internal/sdkmath github.com/google/go-cmp/cmp/internal/flags entgo.io/ent/dialect/entsql github.com/lib/pq/oid @@ -2651,33 +2689,26 @@ github.com/docker/docker/api/types/image github.com/gin-gonic/gin/internal/bytesconv github.com/go-playground/locales/currency -runtime github.com/pelletier/go-toml/v2/internal/characters google.golang.org/grpc/serviceconfig github.com/vmihailenco/msgpack/codes -github.com/aws/aws-sdk-go/internal/sdkmath github.com/vmihailenco/tagparser/internal -github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/rivo/uniseg +github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/slack-go/slack/internal/errorsx crypto/subtle -sync internal/reflectlite runtime/metrics +sync internal/testlog -internal/singleflight internal/bisect +internal/singleflight github.com/aws/aws-sdk-go/internal/sync/singleflight +runtime/cgo github.com/josharian/intern -google.golang.org/protobuf/internal/pragma -google.golang.org/grpc/internal/buffer -google.golang.org/grpc/internal/grpcsync internal/godebug -internal/intern -math/rand errors sort -runtime/cgo internal/oserror strconv syscall @@ -2687,416 +2718,429 @@ strings reflect bytes -vendor/golang.org/x/net/dns/dnsmessage bufio -net/netip time internal/syscall/unix internal/syscall/execenv +math/rand +vendor/golang.org/x/net/dns/dnsmessage +internal/intern +net/netip +context +internal/poll +io/fs +internal/fmtsort +encoding/binary regexp/syntax github.com/aws/aws-sdk-go/internal/sdkio hash hash/crc32 crypto +os crypto/internal/randutil crypto/internal/nistec/fiat -context -internal/poll -io/fs -regexp -internal/fmtsort -encoding/binary -crypto/rc4 -vendor/golang.org/x/text/transform -net/http/internal/ascii -os -github.com/aws/aws-sdk-go/internal/sdkrand -github.com/aws/aws-sdk-go/internal/strings -github.com/aws/aws-sdk-go/internal/sdkuri -html -internal/saferio -golang.org/x/text/transform encoding/base64 -crypto/cipher golang.org/x/sys/unix -crypto/internal/edwards25519/field -crypto/internal/boring -crypto/aes -crypto/des -crypto/sha512 -crypto/internal/edwards25519 +regexp fmt io/ioutil path/filepath -internal/sysinfo -net -crypto/internal/nistec os/exec flag encoding/json github.com/pkg/errors log runtime/debug +internal/sysinfo runtime/trace -encoding/hex +net testing +encoding/hex github.com/aws/aws-sdk-go/aws/awserr github.com/aws/aws-sdk-go/internal/ini os/user github.com/sirupsen/logrus -github.com/aws/aws-sdk-go/aws/endpoints github.com/confluentinc/bincover -compress/flate +github.com/aws/aws-sdk-go/aws/endpoints github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration -math/big +compress/flate compress/gzip -crypto/ecdh -crypto/hmac -crypto/md5 -crypto/sha1 -crypto/sha256 -encoding/pem +crypto/cipher +crypto/internal/boring +math/big github.com/aws/aws-sdk-go/internal/shareddefaults github.com/aws/aws-sdk-go/aws/credentials -net/url -vendor/golang.org/x/crypto/chacha20 +crypto/aes +crypto/des +crypto/internal/edwards25519/field +crypto/internal/nistec crypto/rand +crypto/ecdh crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig +crypto/sha512 encoding/asn1 +crypto/internal/edwards25519 +vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 +crypto/hmac +crypto/md5 +crypto/ecdsa +crypto/rc4 crypto/rsa +crypto/sha1 +crypto/sha256 crypto/dsa -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -vendor/golang.org/x/crypto/chacha20poly1305 +encoding/pem +net/url +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +github.com/coreos/go-systemd/daemon +crypto/x509 +vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -crypto/ecdsa vendor/golang.org/x/text/secure/bidirule +net/textproto vendor/golang.org/x/net/http2/hpack mime -mime/quotedprintable -net/http/internal -github.com/coreos/go-systemd/daemon -crypto/x509 vendor/golang.org/x/net/idna -net/textproto -github.com/jmespath/go-jmespath +crypto/tls +mime/quotedprintable mime/multipart -github.com/aws/aws-sdk-go/aws/awsutil +net/http/internal vendor/golang.org/x/net/http/httpguts +net/http/internal/ascii vendor/golang.org/x/net/http/httpproxy +github.com/jmespath/go-jmespath +github.com/aws/aws-sdk-go/internal/sdkrand github.com/aws/aws-sdk-go/aws/credentials/processcreds +github.com/aws/aws-sdk-go/internal/strings encoding/xml +github.com/aws/aws-sdk-go/aws/awsutil +github.com/aws/aws-sdk-go/internal/sdkuri github.com/antonmedv/expr/file -database/sql/driver github.com/antonmedv/expr/ast github.com/antonmedv/expr/vm github.com/antonmedv/expr/parser/lexer -crypto/tls github.com/antonmedv/expr/parser +database/sql/driver +net/http/httptrace +html +net/http github.com/asaskevich/govalidator -github.com/mitchellh/mapstructure -github.com/oklog/ulid -go.mongodb.org/mongo-driver/bson/primitive github.com/antonmedv/expr/conf -net/mail github.com/antonmedv/expr/checker github.com/antonmedv/expr/compiler github.com/antonmedv/expr/optimizer -go.mongodb.org/mongo-driver/x/bsonx/bsoncore -github.com/mailru/easyjson/jlexer +github.com/mitchellh/mapstructure github.com/antonmedv/expr +github.com/oklog/ulid +go.mongodb.org/mongo-driver/bson/primitive +net/mail +github.com/mailru/easyjson/jlexer github.com/mailru/easyjson/buffer +go.mongodb.org/mongo-driver/x/bsonx/bsoncore +gopkg.in/yaml.v3 github.com/mailru/easyjson/jwriter github.com/go-openapi/analysis/internal/debug -gopkg.in/yaml.v3 +internal/saferio encoding/gob go.mongodb.org/mongo-driver/bson/bsonrw -net/http/httptrace -net/http github.com/PuerkitoBio/urlesc +golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm go.mongodb.org/mongo-driver/bson/bsoncodec -golang.org/x/text/width golang.org/x/text/secure/bidirule +golang.org/x/text/width +golang.org/x/net/idna gopkg.in/yaml.v2 +github.com/PuerkitoBio/purell github.com/hashicorp/go-version github.com/crowdsecurity/grokky -gopkg.in/natefinch/lumberjack.v2 -github.com/google/go-querystring/query -golang.org/x/net/idna -gopkg.in/tomb.v2 -github.com/enescakir/emoji go.mongodb.org/mongo-driver/bson -github.com/PuerkitoBio/purell -golang.org/x/mod/semver -github.com/crowdsecurity/crowdsec/pkg/yamlpatch -github.com/beevik/etree -github.com/buger/jsonparser -github.com/c-robinson/iplib -database/sql -github.com/google/uuid -entgo.io/ent/schema/edge -entgo.io/ent/entql -text/template/parse -github.com/go-openapi/inflect -entgo.io/ent/dialect -entgo.io/ent/dialect/sql -entgo.io/ent/schema/field -ariga.io/atlas/sql/schema -text/template -entgo.io/ent -github.com/apparentlymart/go-textseg/textseg -github.com/mitchellh/go-wordwrap -github.com/zclconf/go-cty/cty/set -hash/crc64 -github.com/zclconf/go-cty/cty +gopkg.in/natefinch/lumberjack.v2 github.com/aws/aws-sdk-go/aws net/http/httputil github.com/go-openapi/errors +github.com/go-openapi/swag github.com/aws/aws-sdk-go/aws/request github.com/aws/aws-sdk-go/aws/auth/bearer github.com/go-openapi/strfmt -github.com/go-openapi/swag +github.com/go-openapi/loads/vendor/github.com/go-openapi/swag github.com/aws/aws-sdk-go/aws/client github.com/aws/aws-sdk-go/aws/corehandlers github.com/aws/aws-sdk-go/private/protocol github.com/aws/aws-sdk-go/aws/csm github.com/aws/aws-sdk-go/aws/ec2metadata -github.com/go-openapi/jsonpointer -github.com/go-openapi/loads/vendor/github.com/go-openapi/swag -github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/aws/aws-sdk-go/private/protocol/rest github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/aws/aws-sdk-go/private/protocol/query/queryutil github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds +github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/aws/aws-sdk-go/aws/signer/v4 github.com/aws/aws-sdk-go/private/protocol/jsonrpc -github.com/aws/aws-sdk-go/aws/credentials/endpointcreds +github.com/aws/aws-sdk-go/aws/defaults github.com/aws/aws-sdk-go/private/protocol/query github.com/aws/aws-sdk-go/private/protocol/restjson -github.com/aws/aws-sdk-go/aws/defaults github.com/aws/aws-sdk-go/service/sts github.com/aws/aws-sdk-go/service/cloudwatchlogs -github.com/go-openapi/jsonreference +github.com/go-openapi/jsonpointer github.com/aws/aws-sdk-go/service/sso github.com/aws/aws-sdk-go/service/ssooidc -github.com/go-openapi/spec github.com/aws/aws-sdk-go/service/sso/ssoiface github.com/aws/aws-sdk-go/service/sts/stsiface -entgo.io/ent/dialect/sql/sqlgraph +github.com/go-openapi/jsonreference github.com/aws/aws-sdk-go/aws/credentials/ssocreds github.com/aws/aws-sdk-go/aws/credentials/stscreds -github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate -github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer +github.com/go-openapi/spec +github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/aws/aws-sdk-go/aws/session +github.com/google/go-querystring/query +gopkg.in/tomb.v2 +github.com/crowdsecurity/crowdsec/pkg/yamlpatch +github.com/enescakir/emoji +golang.org/x/mod/semver +github.com/beevik/etree github.com/go-openapi/analysis/internal/flatten/normalize github.com/go-openapi/analysis/internal/flatten/operations github.com/go-openapi/analysis/internal/flatten/replace github.com/go-openapi/analysis/internal/flatten/schutils github.com/go-openapi/analysis/internal/flatten/sortref -github.com/crowdsecurity/crowdsec/pkg/database/ent/alert -github.com/crowdsecurity/crowdsec/pkg/database/ent/decision -github.com/crowdsecurity/crowdsec/pkg/database/ent/event +github.com/buger/jsonparser +github.com/c-robinson/iplib github.com/go-openapi/analysis -github.com/crowdsecurity/crowdsec/pkg/database/ent/machine +database/sql +github.com/google/uuid +entgo.io/ent/schema/edge +entgo.io/ent/entql +text/template/parse github.com/go-openapi/loads -github.com/crowdsecurity/crowdsec/pkg/database/ent/meta +entgo.io/ent/dialect github.com/go-openapi/validate +entgo.io/ent/dialect/sql +entgo.io/ent/schema/field +ariga.io/atlas/sql/schema +text/template +entgo.io/ent +github.com/crowdsecurity/crowdsec/pkg/models +github.com/go-openapi/inflect +github.com/crowdsecurity/crowdsec/pkg/types ariga.io/atlas/sql/migrate -github.com/zclconf/go-cty/cty/convert -github.com/zclconf/go-cty/cty/function +github.com/crowdsecurity/crowdsec/pkg/apiclient +github.com/apparentlymart/go-textseg/textseg +entgo.io/ent/dialect/sql/sqlgraph +github.com/crowdsecurity/crowdsec/pkg/csconfig +github.com/crowdsecurity/crowdsec/pkg/cwhub +github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate +github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer +github.com/mitchellh/go-wordwrap +github.com/crowdsecurity/crowdsec/pkg/database/ent/decision +github.com/crowdsecurity/crowdsec/pkg/database/ent/alert +github.com/crowdsecurity/crowdsec/pkg/database/ent/event +github.com/crowdsecurity/crowdsec/pkg/database/ent/machine +github.com/crowdsecurity/crowdsec/pkg/database/ent/meta +github.com/zclconf/go-cty/cty/set +hash/crc64 github.com/google/go-cmp/cmp/internal/diff +github.com/zclconf/go-cty/cty github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value encoding/csv -hash/fnv github.com/google/go-cmp/cmp +hash/fnv embed ariga.io/atlas/sql/internal/sqlx -github.com/hashicorp/hcl/v2 -github.com/zclconf/go-cty/cty/gocty -github.com/crowdsecurity/crowdsec/pkg/models -github.com/zclconf/go-cty/cty/json ariga.io/atlas/sql/mysql/internal/mysqlversion -github.com/hashicorp/hcl/v2/ext/customdecode ariga.io/atlas/sql/sqltool -github.com/crowdsecurity/crowdsec/pkg/types -github.com/robfig/cron -github.com/davecgh/go-spew/spew -github.com/zclconf/go-cty/cty/function/stdlib -github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/database/ent/schema +github.com/davecgh/go-spew/spew +github.com/robfig/cron golang.org/x/sync/semaphore golang.org/x/sync/singleflight github.com/go-sql-driver/mysql -github.com/go-co-op/gocron github.com/jackc/chunkreader/v2 -github.com/crowdsecurity/crowdsec/pkg/csconfig +github.com/zclconf/go-cty/cty/convert +github.com/zclconf/go-cty/cty/function +github.com/go-co-op/gocron github.com/jackc/pgconn/internal/ctxwatch github.com/jackc/pgio github.com/jackc/pgpassfile github.com/jackc/pgproto3/v2 -github.com/crowdsecurity/crowdsec/pkg/cwhub +github.com/hashicorp/hcl/v2 +github.com/zclconf/go-cty/cty/gocty +github.com/zclconf/go-cty/cty/json github.com/jackc/pgservicefile golang.org/x/crypto/pbkdf2 golang.org/x/text/internal/tag -golang.org/x/text/internal/language +github.com/hashicorp/hcl/v2/ext/customdecode golang.org/x/text/runes +golang.org/x/text/internal/language github.com/jackc/pgtype github.com/jackc/pgx/v4/internal/sanitize -github.com/hashicorp/hcl/v2/hclsyntax +github.com/zclconf/go-cty/cty/function/stdlib github.com/lib/pq/scram github.com/lib/pq -github.com/mattn/go-sqlite3 golang.org/x/text/internal/language/compact golang.org/x/text/language golang.org/x/text/internal +github.com/hashicorp/hcl/v2/hclsyntax golang.org/x/text/cases +github.com/mattn/go-sqlite3 +golang.org/x/text/secure/precis +github.com/jackc/pgconn +github.com/jackc/pgconn/stmtcache golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt github.com/crowdsecurity/crowdsec/pkg/time/rate +github.com/hashicorp/hcl/v2/hclwrite +github.com/hashicorp/hcl/v2/json +github.com/hashicorp/hcl/v2/hclparse github.com/goombaio/namegenerator -golang.org/x/text/secure/precis github.com/mohae/deepcopy +github.com/hashicorp/hcl/v2/gohcl expvar github.com/beorn7/perks/quantile github.com/cespare/xxhash -github.com/hashicorp/hcl/v2/hclwrite -github.com/hashicorp/hcl/v2/json -github.com/jackc/pgconn -github.com/hashicorp/hcl/v2/hclparse +ariga.io/atlas/schemahcl google.golang.org/protobuf/internal/detrand -github.com/hashicorp/hcl/v2/gohcl google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire +google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect -github.com/jackc/pgconn/stmtcache -ariga.io/atlas/schemahcl -go/token -google.golang.org/protobuf/internal/version -github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg -github.com/prometheus/procfs/internal/fs -github.com/prometheus/procfs/internal/util +github.com/jackc/pgx/v4 +ariga.io/atlas/sql/sqlspec +ariga.io/atlas/sql/internal/specutil +ariga.io/atlas/sql/sqlclient +github.com/jackc/pgx/v4/stdlib google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts +go/token +google.golang.org/protobuf/internal/encoding/messageset +ariga.io/atlas/sql/mysql +ariga.io/atlas/sql/postgres +ariga.io/atlas/sql/sqlite google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/internal/order +entgo.io/ent/dialect/sql/schema google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -ariga.io/atlas/sql/sqlspec -ariga.io/atlas/sql/sqlclient -ariga.io/atlas/sql/internal/specutil +google.golang.org/protobuf/internal/version +github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg +github.com/prometheus/procfs/internal/fs +github.com/prometheus/procfs/internal/util google.golang.org/protobuf/proto github.com/prometheus/procfs -github.com/jackc/pgx/v4 -ariga.io/atlas/sql/mysql -ariga.io/atlas/sql/postgres -ariga.io/atlas/sql/sqlite -github.com/jackc/pgx/v4/stdlib google.golang.org/protobuf/internal/filedesc +github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate +github.com/crowdsecurity/crowdsec/pkg/database/ent google.golang.org/protobuf/encoding/prototext -entgo.io/ent/dialect/sql/schema +google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/impl github.com/oschwald/maxminddb-golang +github.com/oschwald/geoip2-golang internal/lazyregexp internal/profile -github.com/oschwald/geoip2-golang text/tabwriter runtime/pprof -google.golang.org/protobuf/internal/encoding/tag +net/http/pprof github.com/crowdsecurity/dlog github.com/docker/docker/api/types/blkiodev github.com/docker/docker/api/types/mount github.com/docker/docker/api/types/strslice github.com/docker/go-connections/nat -google.golang.org/protobuf/internal/impl -net/http/pprof github.com/docker/go-units -github.com/docker/docker/api/types/container github.com/docker/docker/api/types/versions -github.com/opencontainers/go-digest github.com/docker/docker/api/types/filters +github.com/docker/docker/api/types/container github.com/docker/docker/api/types/network +github.com/opencontainers/go-digest github.com/opencontainers/image-spec/specs-go -github.com/opencontainers/image-spec/specs-go/v1 -github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/gogo/protobuf/proto +github.com/opencontainers/image-spec/specs-go/v1 github.com/docker/docker/api/types/registry github.com/docker/distribution/digestset github.com/docker/distribution/reference -github.com/crowdsecurity/crowdsec/pkg/database/ent +google.golang.org/protobuf/internal/filetype github.com/docker/docker/api/types/time github.com/docker/docker/errdefs +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/known/timestamppb golang.org/x/net/internal/socks +github.com/prometheus/client_model/go golang.org/x/net/proxy github.com/docker/go-connections/sockets +github.com/prometheus/common/model github.com/docker/go-connections/tlsconfig github.com/fsnotify/fsnotify github.com/nxadm/tail/ratelimiter +github.com/prometheus/client_golang/prometheus/internal +github.com/prometheus/common/expfmt github.com/nxadm/tail/util gopkg.in/tomb.v1 github.com/nxadm/tail/watch github.com/nxadm/tail github.com/aws/aws-sdk-go/aws/arn +github.com/prometheus/client_golang/prometheus github.com/aws/aws-sdk-go/private/protocol/eventstream +github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi +github.com/aws/aws-sdk-go/service/kinesis +github.com/crowdsecurity/crowdsec/pkg/database +github.com/docker/docker/api/types/swarm/runtime +github.com/docker/docker/api/types/swarm github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 -github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 +github.com/docker/docker/api/types github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog +github.com/docker/docker/api/types/volume +github.com/docker/docker/client github.com/alexliesenfeld/health -github.com/aws/aws-sdk-go/service/kinesis -google.golang.org/protobuf/internal/filetype github.com/gin-contrib/sse -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/timestamppb github.com/gin-gonic/gin/internal/json github.com/go-playground/locales github.com/go-playground/universal-translator -github.com/prometheus/client_model/go github.com/leodido/go-urn -github.com/prometheus/common/model golang.org/x/crypto/sha3 -github.com/go-playground/validator/v10 -github.com/docker/docker/api/types/swarm/runtime -github.com/prometheus/client_golang/prometheus/internal -github.com/prometheus/common/expfmt -github.com/docker/docker/api/types/swarm -github.com/docker/docker/api/types -github.com/docker/docker/api/types/volume github.com/pelletier/go-toml/v2/internal/danger github.com/pelletier/go-toml/v2/unstable -github.com/docker/docker/client -github.com/prometheus/client_golang/prometheus -html/template +github.com/go-playground/validator/v10 +github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/pelletier/go-toml/v2/internal/tracker github.com/pelletier/go-toml/v2 -net/rpc +html/template +github.com/crowdsecurity/crowdsec/pkg/leakybucket +github.com/crowdsecurity/crowdsec/pkg/parser github.com/mattn/go-isatty -github.com/ugorji/go/codec +net/rpc golang.org/x/net/http/httpguts +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog +github.com/ugorji/go/codec golang.org/x/net/http2/hpack github.com/golang-jwt/jwt -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog golang.org/x/net/http2 +github.com/crowdsecurity/crowdsec/pkg/acquisition golang.org/x/crypto/ocsp encoding/base32 github.com/Masterminds/goutils github.com/Masterminds/semver github.com/huandu/xstrings -github.com/crowdsecurity/crowdsec/pkg/database github.com/imdario/mergo github.com/mitchellh/reflectwalk github.com/mitchellh/copystructure @@ -3104,135 +3148,127 @@ github.com/spf13/cast golang.org/x/crypto/scrypt hash/adler32 -github.com/Masterminds/sprig github.com/golang/protobuf/proto -github.com/crowdsecurity/crowdsec/pkg/exprhelpers +github.com/Masterminds/sprig golang.org/x/net/http2/h2c github.com/mattn/go-colorable github.com/fatih/color golang.org/x/net/internal/timeseries github.com/hashicorp/go-hclog -github.com/crowdsecurity/crowdsec/pkg/leakybucket -github.com/crowdsecurity/crowdsec/pkg/parser golang.org/x/net/trace -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis -github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpclog -google.golang.org/grpc/grpclog google.golang.org/grpc/attributes google.golang.org/grpc/metadata +google.golang.org/grpc/grpclog google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/encoding google.golang.org/grpc/internal/backoff -github.com/crowdsecurity/crowdsec/pkg/acquisition -google.golang.org/grpc/encoding/proto -google.golang.org/grpc/internal/balancerload -github.com/golang/protobuf/ptypes/any google.golang.org/grpc/connectivity google.golang.org/grpc/internal google.golang.org/grpc/internal/credentials +google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/internal/buffer +google.golang.org/grpc/internal/envconfig +google.golang.org/grpc/internal/grpcsync +google.golang.org/grpc/internal/syscall +google.golang.org/grpc/keepalive +google.golang.org/grpc/stats +google.golang.org/grpc/tap +github.com/hashicorp/yamux +github.com/mitchellh/go-testing-interface +os/signal +github.com/oklog/run +google.golang.org/grpc/credentials +google.golang.org/grpc/encoding/proto +github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp +google.golang.org/grpc/resolver google.golang.org/genproto/googleapis/rpc/status +google.golang.org/grpc/balancer github.com/golang/protobuf/ptypes -google.golang.org/grpc/credentials google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/status -google.golang.org/grpc/internal/envconfig +google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/status -google.golang.org/grpc/internal/syscall -google.golang.org/grpc/resolver google.golang.org/grpc/internal/channelz -google.golang.org/grpc/balancer -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/resolver/passthrough -google.golang.org/grpc/keepalive google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/peer -google.golang.org/grpc/stats -google.golang.org/grpc/tap -github.com/hashicorp/yamux -github.com/mitchellh/go-testing-interface -os/signal golang.org/x/net/context -google.golang.org/grpc/internal/transport github.com/crowdsecurity/crowdsec/pkg/csprofiles -github.com/oklog/run github.com/prometheus/client_golang/prometheus/promhttp +google.golang.org/grpc/internal/transport github.com/sirupsen/logrus/hooks/writer archive/zip github.com/mgutz/ansi github.com/AlecAivazis/survey/core github.com/AlecAivazis/survey/terminal -github.com/gin-gonic/gin/binding -github.com/gin-gonic/gin/render github.com/kballard/go-shellquote golang.org/x/term google.golang.org/grpc github.com/mattn/go-runewidth -github.com/blackfireio/osinfo -github.com/gin-gonic/gin +github.com/gin-gonic/gin/binding +github.com/gin-gonic/gin/render github.com/AlecAivazis/survey -github.com/vmihailenco/tagparser/internal/parser github.com/aquasecurity/table -github.com/vmihailenco/tagparser -github.com/vmihailenco/msgpack +github.com/gin-gonic/gin +github.com/blackfireio/osinfo +github.com/vmihailenco/tagparser/internal/parser github.com/dghubble/sling +github.com/vmihailenco/tagparser github.com/crowdsecurity/crowdsec/pkg/metabase +github.com/vmihailenco/msgpack github.com/crowdsecurity/machineid github.com/spf13/pflag -github.com/jszwec/csvutil -github.com/appleboy/gin-jwt github.com/hashicorp/go-plugin/internal/plugin -github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 +github.com/appleboy/gin-jwt google.golang.org/grpc/health/grpc_health_v1 github.com/r3labs/diff/v3 +github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 google.golang.org/grpc/health -github.com/pbnjay/memory github.com/hashicorp/go-plugin +github.com/crowdsecurity/crowdsec/pkg/hubtest +github.com/jszwec/csvutil +github.com/spf13/cobra +github.com/crowdsecurity/crowdsec/pkg/protobufs +github.com/pbnjay/memory github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/prom2json github.com/russross/blackfriday/v2 +github.com/crowdsecurity/crowdsec/pkg/csplugin github.com/texttheater/golang-levenshtein/levenshtein +github.com/ivanpirog/coloredcobra github.com/pmezard/go-difflib/difflib -github.com/crowdsecurity/crowdsec/pkg/hubtest -github.com/spf13/cobra net/http/internal/testcert -net/http/httptest -github.com/crowdsecurity/crowdsec/pkg/protobufs -github.com/stretchr/testify/assert github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest -github.com/crowdsecurity/crowdsec/pkg/csplugin +net/http/httptest +github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/database/ent/hook -github.com/cpuguy83/go-md2man/v2/md2man +github.com/stretchr/testify/assert github.com/crowdsecurity/crowdsec/plugins/notifications/dummy -github.com/ivanpirog/coloredcobra +github.com/cpuguy83/go-md2man/v2/md2man github.com/spf13/cobra/doc +github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers +github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli +github.com/crowdsecurity/crowdsec/pkg/apiserver +github.com/stretchr/testify/require +github.com/crowdsecurity/crowdsec/pkg/cstest github.com/toorop/go-dkim github.com/crowdsecurity/crowdsec/plugins/notifications/http -github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 -github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli +github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/xhit/go-simple-mail -github.com/stretchr/testify/require -github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/plugins/notifications/email -github.com/crowdsecurity/crowdsec/pkg/apiserver -github.com/crowdsecurity/crowdsec/pkg/cstest github.com/gorilla/websocket/vendor/golang.org/x/net/internal/socks github.com/gorilla/websocket/vendor/golang.org/x/net/proxy github.com/gorilla/websocket -github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/slack-go/slack/internal/backoff github.com/slack-go/slack/internal/timex github.com/slack-go/slack/slackutilsx @@ -3241,12 +3277,12 @@ github.com/crowdsecurity/crowdsec/plugins/notifications/slack make[1]: Leaving directory '/build/reproducible-path/crowdsec-1.4.6' dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 5 github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog 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/csplugin github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cstest 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/hubtest github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/protobufs github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types github.com/crowdsecurity/crowdsec/pkg/yamlpatch github.com/crowdsecurity/crowdsec/plugins/notifications/dummy github.com/crowdsecurity/crowdsec/plugins/notifications/email github.com/crowdsecurity/crowdsec/plugins/notifications/http github.com/crowdsecurity/crowdsec/plugins/notifications/slack github.com/crowdsecurity/crowdsec/plugins/notifications/splunk + cd _build && go test -vet=off -v -p 4 github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog 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/csplugin github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cstest 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/hubtest github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/protobufs github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types github.com/crowdsecurity/crowdsec/pkg/yamlpatch github.com/crowdsecurity/crowdsec/plugins/notifications/dummy github.com/crowdsecurity/crowdsec/plugins/notifications/email github.com/crowdsecurity/crowdsec/plugins/notifications/http github.com/crowdsecurity/crowdsec/plugins/notifications/slack github.com/crowdsecurity/crowdsec/plugins/notifications/splunk ? github.com/crowdsecurity/crowdsec/cmd/crowdsec [no test files] ? github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli [no test files] ? github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration [no test files] -? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch [no test files] ? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker [no test files] +? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch [no test files] === RUN TestDataSourceConfigure === RUN TestDataSourceConfigure/basic_valid_config === RUN TestDataSourceConfigure/basic_debug_config @@ -3255,7 +3291,7 @@ === RUN TestDataSourceConfigure/bad_type_config === RUN TestDataSourceConfigure/mismatch_config === RUN TestDataSourceConfigure/cant_run_error ---- PASS: TestDataSourceConfigure (0.01s) +--- PASS: TestDataSourceConfigure (0.00s) --- PASS: TestDataSourceConfigure/basic_valid_config (0.00s) --- PASS: TestDataSourceConfigure/basic_debug_config (0.00s) --- PASS: TestDataSourceConfigure/basic_tailmode_config (0.00s) @@ -3265,22 +3301,22 @@ --- PASS: TestDataSourceConfigure/cant_run_error (0.00s) === RUN TestLoadAcquisitionFromFile === RUN TestLoadAcquisitionFromFile/non_existent_file -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : does_not_exist" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : does_not_exist" === RUN TestLoadAcquisitionFromFile/invalid_yaml_file -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/badyaml.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/badyaml.yaml" === RUN TestLoadAcquisitionFromFile/invalid_empty_yaml -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/emptyitem.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/emptyitem.yaml" === RUN TestLoadAcquisitionFromFile/basic_valid -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/basic_filemode.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/basic_filemode.yaml" === RUN TestLoadAcquisitionFromFile/missing_labels -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/missing_labels.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/missing_labels.yaml" === RUN TestLoadAcquisitionFromFile/backward_compat -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/backward_compat.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/backward_compat.yaml" === RUN TestLoadAcquisitionFromFile/bad_type -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/bad_source.yaml" +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/bad_source.yaml" === RUN TestLoadAcquisitionFromFile/invalid_filetype_config -time="2024-03-25T12:52:18-12:00" level=info msg="loading acquisition file : test_files/bad_filetype.yaml" ---- PASS: TestLoadAcquisitionFromFile (0.02s) +time="2024-03-26T15:08:48+14:00" level=info msg="loading acquisition file : test_files/bad_filetype.yaml" +--- PASS: TestLoadAcquisitionFromFile (0.01s) --- PASS: TestLoadAcquisitionFromFile/non_existent_file (0.00s) --- PASS: TestLoadAcquisitionFromFile/invalid_yaml_file (0.00s) --- PASS: TestLoadAcquisitionFromFile/invalid_empty_yaml (0.00s) @@ -3306,11 +3342,7 @@ --- PASS: TestConfigureByDSN/mockdsn://test_expect (0.00s) --- PASS: TestConfigureByDSN/mockdsn://bad (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition 5.246s -? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis [no test files] -? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils [no test files] -? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server [no test files] -? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog [no test files] +ok github.com/crowdsecurity/crowdsec/pkg/acquisition 5.106s === RUN TestBadConfiguration === RUN TestBadConfiguration/extra_configuration_key === RUN TestBadConfiguration/missing_filenames @@ -3340,7 +3372,7 @@ === RUN TestOneShot/test.log.gz === RUN TestOneShot/unexpected_end_of_gzip_stream === RUN TestOneShot/deleted_file ---- PASS: TestOneShot (0.02s) +--- PASS: TestOneShot (0.01s) --- PASS: TestOneShot/permission_denied (0.00s) --- PASS: TestOneShot/ignored_directory (0.00s) --- PASS: TestOneShot/glob_syntax_error (0.00s) @@ -3357,7 +3389,7 @@ === RUN TestLiveAcquisition/GlobInotify === RUN TestLiveAcquisition/GlobInotifyChmod === RUN TestLiveAcquisition/InotifyMkDir ---- PASS: TestLiveAcquisition (5.02s) +--- PASS: TestLiveAcquisition (5.01s) --- PASS: TestLiveAcquisition/PermissionDenied (0.00s) --- PASS: TestLiveAcquisition/Directory (0.00s) --- PASS: TestLiveAcquisition/badPattern (0.00s) @@ -3368,55 +3400,66 @@ === RUN TestExclusion --- PASS: TestExclusion (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file 5.181s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file 5.094s +? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis [no test files] === RUN TestBadConfiguration --- PASS: TestBadConfiguration (0.00s) === RUN TestConfigureDSN --- PASS: TestConfigureDSN (0.00s) === RUN TestOneShot ---- PASS: TestOneShot (0.64s) +--- PASS: TestOneShot (0.23s) === RUN TestStreaming journalctl_test.go:181: unreliable test: https://github.com/crowdsecurity/crowdsec/issues/2352 --- SKIP: TestStreaming (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl 0.763s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl 0.294s +? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils [no test files] +? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server [no test files] +? github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog [no test files] === RUN TestConfigure -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog --- PASS: TestConfigure (0.00s) === RUN TestStreamingAcquisition === RUN TestStreamingAcquisition/invalid_msgs -time="2024-03-25T12:52:35-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:35-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-03-25T12:52:35-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-03-25T12:52:35-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-03-25T12:52:37-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-03-25T12:52:37-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-03-25T12:52:37-12:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog -time="2024-03-25T12:52:37-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-03-26T15:09:01+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:01+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-03-26T15:09:01+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-03-26T15:09:01+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-03-26T15:09:03+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-03-26T15:09:03+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-03-26T15:09:03+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/RFC5424 -time="2024-03-25T12:52:37-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:39-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-03-25T12:52:39-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-03-25T12:52:39-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-03-26T15:09:03+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:05+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-03-26T15:09:05+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-03-26T15:09:05+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/RFC3164 -time="2024-03-25T12:52:39-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-03-25T12:52:39-12:00" level=error msg="could not parse message: version must be 1" client=127.0.0.1 type=syslog -time="2024-03-25T12:52:41-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-03-25T12:52:41-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-03-25T12:52:42-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-03-26T15:09:05+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-03-26T15:09:05+14:00" level=error msg="could not parse message: version must be 1" client=127.0.0.1 type=syslog +time="2024-03-26T15:09:07+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-03-26T15:09:07+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-03-26T15:09:07+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/privileged_port -time="2024-03-25T12:52:42-12:00" level=info msg="Starting syslog datasource configuration" type=syslog ---- PASS: TestStreamingAcquisition (6.11s) - --- PASS: TestStreamingAcquisition/invalid_msgs (2.05s) +time="2024-03-26T15:09:07+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +--- PASS: TestStreamingAcquisition (6.09s) + --- PASS: TestStreamingAcquisition/invalid_msgs (2.04s) --- PASS: TestStreamingAcquisition/RFC5424 (2.02s) - --- PASS: TestStreamingAcquisition/RFC3164 (2.04s) + --- PASS: TestStreamingAcquisition/RFC3164 (2.03s) --- PASS: TestStreamingAcquisition/privileged_port (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog 6.249s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog 6.147s === RUN TestPri === RUN TestPri/<0> === RUN TestPri/<19> @@ -3542,7 +3585,7 @@ --- PASS: TestParse/<46>Jun__2_06:55:39_localhost_haproxy[27213]:_Connect_from_100.100.100.99:52611_to_100.100.100.99:443_(https_shared-merged/HTTP)\\n_10.0.0.1} (0.00s) --- PASS: TestParse/<46>Jun__2_06:55:39_2022_localhost_haproxy[27213]:_Connect_from_100.100.100.99:52611_to_100.100.100.99:443_(https_shared-merged/HTTP)\\n_10.0.0.1} (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 0.034s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 0.027s === RUN TestPri === RUN TestPri/<0> === RUN TestPri/<19> @@ -3604,7 +3647,7 @@ === RUN TestParse/valid_complex_msg === RUN TestParse/partial_message === RUN TestParse/partial_message#01 ---- PASS: TestParse (0.01s) +--- PASS: TestParse (0.00s) --- PASS: TestParse/valid_msg (0.00s) --- PASS: TestParse/valid_msg_with_msgid (0.00s) --- PASS: TestParse/valid_msg_with_repeating_SD (0.00s) @@ -3618,246 +3661,246 @@ --- PASS: TestParse/partial_message (0.00s) --- PASS: TestParse/partial_message#01 (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 0.036s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 0.016s === RUN TestAlertsListAsMachine -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:45389" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45389/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:45389/v1/alerts" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [1414]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 1414\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n[\n\t\t\t{\"capacity\":5,\"created_at\":\"2020-11-28T10:20:47+01:00\",\n\t\t\t \"decisions\":[\n\t\t\t\t {\"duration\":\"59m49.264032632s\",\n\t\t\t\t \"id\":1,\n\t\t\t\t \"origin\":\"crowdsec\",\n\t\t\t\t \"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t \"scope\":\"Ip\",\n\t\t\t\t \"simulated\":false,\n\t\t\t\t \"type\":\"ban\",\n\t\t\t\t \"value\":\"1.1.1.172\"}\n\t\t\t\t ],\n\t\t\t \"events\":[\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t],\n\t\t\t\t\t\"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"},\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t ],\n\t\t\t\t\t \"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"}\n\t\t\t\t],\n\t\t\t\t\"events_count\":6,\n\t\t\t\t\"id\":1,\n\t\t\t\t\"labels\":null,\n\t\t\t\t\"leakspeed\":\"10s\",\n\t\t\t\t\"machine_id\":\"test\",\n\t\t\t\t\"message\":\"Ip 1.1.1.172 performed 'crowdsecurity/ssh-bf' (6 events over 2.920062ms) at 2020-11-28 10:20:46.845619968 +0100 CET m=+5.903899761\",\n\t\t\t\t\"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t\"scenario_hash\":\"4441dcff07020f6690d998b7101e642359ba405c2abb83565bbbdcee36de280f\",\n\t\t\t\t\"scenario_version\":\"0.1\",\n\t\t\t\t\"simulated\":false,\n\t\t\t\t\"source\":{\n\t\t\t\t\t\"as_name\":\"Cloudflare Inc\",\n\t\t\t\t\t\"cn\":\"AU\",\n\t\t\t\t\t\"ip\":\"1.1.1.172\",\n\t\t\t\t\t\"latitude\":-37.7,\n\t\t\t\t\t\"longitude\":145.1833,\n\t\t\t\t\t\"range\":\"1.1.1.0/24\",\n\t\t\t\t\t\"scope\":\"Ip\",\n\t\t\t\t\t\"value\":\"1.1.1.172\"\n\t\t\t\t\t},\n\t\t\t\t\"start_at\":\"2020-11-28 10:20:46.842701127 +0100 +0100\",\n\t\t\t\t\"stop_at\":\"2020-11-28 10:20:46.845621385 +0100 +0100\"\n\t\t\t}\n\t\t]" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:45389/v1/alerts?ip=1.2.3.4" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\nnull" ---- PASS: TestAlertsListAsMachine (0.02s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:32813" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:32813/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:32813/v1/alerts" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [1414]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 1414\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n[\n\t\t\t{\"capacity\":5,\"created_at\":\"2020-11-28T10:20:47+01:00\",\n\t\t\t \"decisions\":[\n\t\t\t\t {\"duration\":\"59m49.264032632s\",\n\t\t\t\t \"id\":1,\n\t\t\t\t \"origin\":\"crowdsec\",\n\t\t\t\t \"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t \"scope\":\"Ip\",\n\t\t\t\t \"simulated\":false,\n\t\t\t\t \"type\":\"ban\",\n\t\t\t\t \"value\":\"1.1.1.172\"}\n\t\t\t\t ],\n\t\t\t \"events\":[\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t],\n\t\t\t\t\t\"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"},\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t ],\n\t\t\t\t\t \"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"}\n\t\t\t\t],\n\t\t\t\t\"events_count\":6,\n\t\t\t\t\"id\":1,\n\t\t\t\t\"labels\":null,\n\t\t\t\t\"leakspeed\":\"10s\",\n\t\t\t\t\"machine_id\":\"test\",\n\t\t\t\t\"message\":\"Ip 1.1.1.172 performed 'crowdsecurity/ssh-bf' (6 events over 2.920062ms) at 2020-11-28 10:20:46.845619968 +0100 CET m=+5.903899761\",\n\t\t\t\t\"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t\"scenario_hash\":\"4441dcff07020f6690d998b7101e642359ba405c2abb83565bbbdcee36de280f\",\n\t\t\t\t\"scenario_version\":\"0.1\",\n\t\t\t\t\"simulated\":false,\n\t\t\t\t\"source\":{\n\t\t\t\t\t\"as_name\":\"Cloudflare Inc\",\n\t\t\t\t\t\"cn\":\"AU\",\n\t\t\t\t\t\"ip\":\"1.1.1.172\",\n\t\t\t\t\t\"latitude\":-37.7,\n\t\t\t\t\t\"longitude\":145.1833,\n\t\t\t\t\t\"range\":\"1.1.1.0/24\",\n\t\t\t\t\t\"scope\":\"Ip\",\n\t\t\t\t\t\"value\":\"1.1.1.172\"\n\t\t\t\t\t},\n\t\t\t\t\"start_at\":\"2020-11-28 10:20:46.842701127 +0100 +0100\",\n\t\t\t\t\"stop_at\":\"2020-11-28 10:20:46.845621385 +0100 +0100\"\n\t\t\t}\n\t\t]" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:32813/v1/alerts?ip=1.2.3.4" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\nnull" +--- PASS: TestAlertsListAsMachine (0.01s) === RUN TestAlertsGetAsMachine -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:37565" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37565/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:37565/v1/alerts/1" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [1457]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 1457\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"capacity\":5,\"created_at\":\"2020-11-28T10:20:47+01:00\",\n\t\t\t \"decisions\":[\n\t\t\t\t {\"duration\":\"59m49.264032632s\",\n\t\t\t\t \"end_ip\":16843180,\n\t\t\t\t \"id\":1,\n\t\t\t\t \"origin\":\"crowdsec\",\n\t\t\t\t \"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t \"scope\":\"Ip\",\n\t\t\t\t \"simulated\":false,\n\t\t\t\t \"start_ip\":16843180,\n\t\t\t\t \"type\":\"ban\",\n\t\t\t\t \"value\":\"1.1.1.172\"}\n\t\t\t\t ],\n\t\t\t \"events\":[\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t],\n\t\t\t\t\t\"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"},\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t ],\n\t\t\t\t\t \"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"}\n\t\t\t\t],\n\t\t\t\t\"events_count\":6,\n\t\t\t\t\"id\":1,\n\t\t\t\t\"labels\":null,\n\t\t\t\t\"leakspeed\":\"10s\",\n\t\t\t\t\"machine_id\":\"test\",\n\t\t\t\t\"message\":\"Ip 1.1.1.172 performed 'crowdsecurity/ssh-bf' (6 events over 2.920062ms) at 2020-11-28 10:20:46.845619968 +0100 CET m=+5.903899761\",\n\t\t\t\t\"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t\"scenario_hash\":\"4441dcff07020f6690d998b7101e642359ba405c2abb83565bbbdcee36de280f\",\n\t\t\t\t\"scenario_version\":\"0.1\",\n\t\t\t\t\"simulated\":false,\n\t\t\t\t\"source\":{\n\t\t\t\t\t\"as_name\":\"Cloudflare Inc\",\n\t\t\t\t\t\"cn\":\"AU\",\n\t\t\t\t\t\"ip\":\"1.1.1.172\",\n\t\t\t\t\t\"latitude\":-37.7,\n\t\t\t\t\t\"longitude\":145.1833,\n\t\t\t\t\t\"range\":\"1.1.1.0/24\",\n\t\t\t\t\t\"scope\":\"Ip\",\n\t\t\t\t\t\"value\":\"1.1.1.172\"\n\t\t\t\t\t},\n\t\t\t\t\"start_at\":\"2020-11-28 10:20:46.842701127 +0100 +0100\",\n\t\t\t\t\"stop_at\":\"2020-11-28 10:20:46.845621385 +0100 +0100\"\n\t\t\t}" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:37565/v1/alerts/2" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 404" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 404 Not Found\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"message\":\"object not found\"}" ---- PASS: TestAlertsGetAsMachine (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:39021" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39021/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:39021/v1/alerts/1" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [1457]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 1457\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"capacity\":5,\"created_at\":\"2020-11-28T10:20:47+01:00\",\n\t\t\t \"decisions\":[\n\t\t\t\t {\"duration\":\"59m49.264032632s\",\n\t\t\t\t \"end_ip\":16843180,\n\t\t\t\t \"id\":1,\n\t\t\t\t \"origin\":\"crowdsec\",\n\t\t\t\t \"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t \"scope\":\"Ip\",\n\t\t\t\t \"simulated\":false,\n\t\t\t\t \"start_ip\":16843180,\n\t\t\t\t \"type\":\"ban\",\n\t\t\t\t \"value\":\"1.1.1.172\"}\n\t\t\t\t ],\n\t\t\t \"events\":[\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t],\n\t\t\t\t\t\"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"},\n\t\t\t\t {\"meta\":[\n\t\t\t\t\t {\"key\":\"target_user\",\"value\":\"netflix\"},\n\t\t\t\t\t {\"key\":\"service\",\"value\":\"ssh\"}\n\t\t\t\t\t ],\n\t\t\t\t\t \"timestamp\":\"2020-11-28 10:20:46 +0000 UTC\"}\n\t\t\t\t],\n\t\t\t\t\"events_count\":6,\n\t\t\t\t\"id\":1,\n\t\t\t\t\"labels\":null,\n\t\t\t\t\"leakspeed\":\"10s\",\n\t\t\t\t\"machine_id\":\"test\",\n\t\t\t\t\"message\":\"Ip 1.1.1.172 performed 'crowdsecurity/ssh-bf' (6 events over 2.920062ms) at 2020-11-28 10:20:46.845619968 +0100 CET m=+5.903899761\",\n\t\t\t\t\"scenario\":\"crowdsecurity/ssh-bf\",\n\t\t\t\t\"scenario_hash\":\"4441dcff07020f6690d998b7101e642359ba405c2abb83565bbbdcee36de280f\",\n\t\t\t\t\"scenario_version\":\"0.1\",\n\t\t\t\t\"simulated\":false,\n\t\t\t\t\"source\":{\n\t\t\t\t\t\"as_name\":\"Cloudflare Inc\",\n\t\t\t\t\t\"cn\":\"AU\",\n\t\t\t\t\t\"ip\":\"1.1.1.172\",\n\t\t\t\t\t\"latitude\":-37.7,\n\t\t\t\t\t\"longitude\":145.1833,\n\t\t\t\t\t\"range\":\"1.1.1.0/24\",\n\t\t\t\t\t\"scope\":\"Ip\",\n\t\t\t\t\t\"value\":\"1.1.1.172\"\n\t\t\t\t\t},\n\t\t\t\t\"start_at\":\"2020-11-28 10:20:46.842701127 +0100 +0100\",\n\t\t\t\t\"stop_at\":\"2020-11-28 10:20:46.845621385 +0100 +0100\"\n\t\t\t}" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:39021/v1/alerts/2" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 404" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 404 Not Found\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"message\":\"object not found\"}" +--- PASS: TestAlertsGetAsMachine (0.00s) === RUN TestAlertsCreateAsMachine -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:36127" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36127/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:36127/v1/alerts" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [5]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 5\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n[\"3\"]" ---- PASS: TestAlertsCreateAsMachine (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:42403" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42403/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:42403/v1/alerts" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [5]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 5\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n[\"3\"]" +--- PASS: TestAlertsCreateAsMachine (0.00s) === RUN TestAlertsDeleteAsMachine -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:38163" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38163/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:38163/v1/alerts?ip=1.2.3.4" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"message\":\"0 deleted alerts\"}" ---- PASS: TestAlertsDeleteAsMachine (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:34401" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:34401/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:34401/v1/alerts?ip=1.2.3.4" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"message\":\"0 deleted alerts\"}" +--- PASS: TestAlertsDeleteAsMachine (0.00s) === RUN TestWatcherAuth -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:35693" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35693/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-03-25T12:52:43-12:00" level=info msg="ok cool" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:35693/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-03-25T12:52:43-12:00" level=info msg="ok cool" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [64]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 64\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"code\":200,\"expire\":\"2029-11-30T14:14:24+01:00\",\"token\":\"toto\"}" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35693/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-03-25T12:52:43-12:00" level=info msg=badbad -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 403" -time="2024-03-25T12:52:43-12:00" level=debug msg="received response status \"403 Forbidden\" when fetching http://127.0.0.1:35693/v1/watchers/login" ---- PASS: TestWatcherAuth (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:43921" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43921/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-03-26T15:09:03+14:00" level=info msg="ok cool" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:43921/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-03-26T15:09:03+14:00" level=info msg="ok cool" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [64]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 64\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"code\":200,\"expire\":\"2029-11-30T14:14:24+01:00\",\"token\":\"toto\"}" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43921/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-03-26T15:09:03+14:00" level=info msg=badbad +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 403" +time="2024-03-26T15:09:03+14:00" level=debug msg="received response status \"403 Forbidden\" when fetching http://127.0.0.1:43921/v1/watchers/login" +--- PASS: TestWatcherAuth (0.00s) === RUN TestWatcherRegister -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:41389" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n" -time="2024-03-25T12:52:43-12:00" level=info msg="->*apiclient.ApiClient" +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:34061" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n" +time="2024-03-26T15:09:03+14:00" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherRegister (0.00s) === RUN TestWatcherUnregister -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:33899" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33899/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:33899/v1/watchers" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\nContent-Length: 0\r\n\r\n" -time="2024-03-25T12:52:43-12:00" level=info msg="->*apiclient.ApiClient" ---- PASS: TestWatcherUnregister (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:45397" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45397/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:45397/v1/watchers" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\nContent-Length: 0\r\n\r\n" +time="2024-03-26T15:09:03+14:00" level=info msg="->*apiclient.ApiClient" +--- PASS: TestWatcherUnregister (0.00s) === RUN TestWatcherEnroll -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:34955" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:34955/v1/watchers/login" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:34955/v1/watchers/enroll" -time="2024-03-25T12:52:43-12:00" level=debug msg="body -> {\"attachment_key\":\"goodkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" -time="2024-03-25T12:52:43-12:00" level=info msg="good key" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [36]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 36\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"statusCode\": 200, \"message\": \"OK\"}" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:34955/v1/watchers/enroll" -time="2024-03-25T12:52:43-12:00" level=debug msg="body -> {\"attachment_key\":\"badkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" -time="2024-03-25T12:52:43-12:00" level=info msg="bad key" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [54]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 403 Forbidden\r\nContent-Length: 54\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"message\":\"the attachment key provided is not valid\"}" ---- PASS: TestWatcherEnroll (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:39187" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39187/v1/watchers/login" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:39187/v1/watchers/enroll" +time="2024-03-26T15:09:03+14:00" level=debug msg="body -> {\"attachment_key\":\"goodkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" +time="2024-03-26T15:09:03+14:00" level=info msg="good key" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [36]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 36\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"statusCode\": 200, \"message\": \"OK\"}" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:39187/v1/watchers/enroll" +time="2024-03-26T15:09:03+14:00" level=debug msg="body -> {\"attachment_key\":\"badkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" +time="2024-03-26T15:09:03+14:00" level=info msg="bad key" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [54]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 403 Forbidden\r\nContent-Length: 54\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"message\":\"the attachment key provided is not valid\"}" +--- PASS: TestWatcherEnroll (0.00s) === RUN TestApiAuth -time="2024-03-25T12:52:43-12:00" level=info msg="URL is http://127.0.0.1:38831" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-api: GET http://127.0.0.1:38831/v1/decisions?ip=1.2.3.4" -time="2024-03-25T12:52:43-12:00" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38831\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" -time="2024-03-25T12:52:43-12:00" 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: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\nnull" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\nnull" -time="2024-03-25T12:52:43-12:00" level=debug msg="req-api: GET http://127.0.0.1:38831/v1/decisions?ip=1.2.3.4" -time="2024-03-25T12:52:43-12:00" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38831\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" -time="2024-03-25T12:52:43-12:00" 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: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2024-03-25T12:52:43-12:00" level=debug msg="resp-api: http 403" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:43 GMT]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-03-25T12:52:43-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:43-12:00" level=debug msg="Response: HTTP/1.1 403 Forbidden\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:43 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2024-03-25T12:52:43-12:00" level=info msg="--> API error: access forbidden" -time="2024-03-25T12:52:43-12:00" level=info msg="--> Get \"http://127.0.0.1:38831/v1/decisions?ip=1.2.3.4\": APIKey is empty" ---- PASS: TestApiAuth (0.01s) +time="2024-03-26T15:09:03+14:00" level=info msg="URL is http://127.0.0.1:44631" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:44631/v1/decisions?ip=1.2.3.4" +time="2024-03-26T15:09:03+14:00" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:44631\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" +time="2024-03-26T15:09:03+14:00" 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: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\nnull" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\nnull" +time="2024-03-26T15:09:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:44631/v1/decisions?ip=1.2.3.4" +time="2024-03-26T15:09:03+14:00" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:44631\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" +time="2024-03-26T15:09:03+14:00" 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: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2024-03-26T15:09:03+14:00" level=debug msg="resp-api: http 403" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:03 GMT]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-03-26T15:09:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:03+14:00" level=debug msg="Response: HTTP/1.1 403 Forbidden\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:03 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2024-03-26T15:09:03+14:00" level=info msg="--> API error: access forbidden" +time="2024-03-26T15:09:03+14:00" level=info msg="--> Get \"http://127.0.0.1:44631/v1/decisions?ip=1.2.3.4\": APIKey is empty" +--- PASS: TestApiAuth (0.00s) === RUN TestNewRequestInvalid --- PASS: TestNewRequestInvalid (0.00s) === RUN TestNewRequestTimeout -time="2024-03-25T12:52:43-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:45045\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2024-03-25T12:52:43-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45045/v1/watchers/login" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:45-12:00" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n" ---- PASS: TestNewRequestTimeout (2.01s) +time="2024-03-26T15:09:03+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:41867\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2024-03-26T15:09:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:41867/v1/watchers/login" +time="2024-03-26T15:09:05+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:05+14:00" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Tue, 26 Mar 2024 01:09:05 GMT\r\n\r\n" +--- PASS: TestNewRequestTimeout (2.00s) === RUN TestNewClientOk -time="2024-03-25T12:52:45-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:35845\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35845/v1/watchers/login" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:45-12:00" 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: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2024-03-25T12:52:45-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:45-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:35845/v1/alerts" -time="2024-03-25T12:52:45-12:00" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:35845\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-linux-\r\n\r\n" -time="2024-03-25T12:52:45-12:00" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\nContent-Length: 0\r\n\r\n (err:)" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\nContent-Length: 0\r\n\r\n" ---- PASS: TestNewClientOk (0.01s) +time="2024-03-26T15:09:05+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:44077\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2024-03-26T15:09:05+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44077/v1/watchers/login" +time="2024-03-26T15:09:05+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:05+14:00" 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: Tue, 26 Mar 2024 01:09:05 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2024-03-26T15:09:05+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:05+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:44077/v1/alerts" +time="2024-03-26T15:09:05+14:00" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:44077\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-linux-\r\n\r\n" +time="2024-03-26T15:09:05+14:00" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 01:09:05 GMT\r\nContent-Length: 0\r\n\r\n (err:)" +time="2024-03-26T15:09:05+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:05+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:05 GMT]" +time="2024-03-26T15:09:05+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-03-26T15:09:05+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 01:09:05 GMT\r\nContent-Length: 0\r\n\r\n" +--- PASS: TestNewClientOk (0.00s) === RUN TestNewClientKo -time="2024-03-25T12:52:45-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:46023\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:46023/v1/watchers/login" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt : http 401" -time="2024-03-25T12:52:45-12:00" 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: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" -time="2024-03-25T12:52:45-12:00" level=debug msg="received response status \"401 Unauthorized\" when fetching http://127.0.0.1:46023/v1/watchers/login" -time="2024-03-25T12:52:45-12:00" level=info msg="err-> performing request: Get \"http://127.0.0.1:46023/v1/alerts\": API error: bad login/password" ---- PASS: TestNewClientKo (0.01s) +time="2024-03-26T15:09:05+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:39341\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-linux-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" +time="2024-03-26T15:09:05+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39341/v1/watchers/login" +time="2024-03-26T15:09:05+14:00" level=debug msg="auth-jwt : http 401" +time="2024-03-26T15:09:05+14:00" 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: Tue, 26 Mar 2024 01:09:05 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" +time="2024-03-26T15:09:05+14:00" level=debug msg="received response status \"401 Unauthorized\" when fetching http://127.0.0.1:39341/v1/watchers/login" +time="2024-03-26T15:09:05+14:00" level=info msg="err-> performing request: Get \"http://127.0.0.1:39341/v1/alerts\": API error: bad login/password" +--- PASS: TestNewClientKo (0.00s) === RUN TestNewDefaultClient -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [32]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 32\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"code\": 401, \"message\" : \"brr\"}" -time="2024-03-25T12:52:45-12:00" level=info msg="err-> performing request: API error: brr" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [32]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 32\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n{\"code\": 401, \"message\" : \"brr\"}" +time="2024-03-26T15:09:06+14:00" level=info msg="err-> performing request: API error: brr" --- PASS: TestNewDefaultClient (0.00s) === RUN TestNewClientRegisterKO --- PASS: TestNewClientRegisterKO (0.00s) === RUN TestNewClientRegisterOK -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [65]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 65\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2024-03-25T12:52:45-12:00" level=info msg="->*apiclient.ApiClient" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [65]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 65\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2024-03-26T15:09:06+14:00" level=info msg="->*apiclient.ApiClient" --- PASS: TestNewClientRegisterOK (0.00s) === RUN TestNewClientBadAnswer -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [3]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\nbad" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [3]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\nbad" --- PASS: TestNewClientBadAnswer (0.00s) === RUN TestDecisionsList -time="2024-03-25T12:52:45-12:00" level=debug msg="req-api: GET http://127.0.0.1:44701/v1/decisions?ip=1.2.3.4" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [185]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 185\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n[{\"duration\":\"3h59m55.756182786s\",\"id\":4,\"origin\":\"cscli\",\"scenario\":\"manual 'ban' from '82929df7ee394b73b81252fe3b4e50203yaT2u6nXiaN7Ix9'\",\"scope\":\"Ip\",\"type\":\"ban\",\"value\":\"1.2.3.4\"}]" -time="2024-03-25T12:52:45-12:00" level=debug msg="req-api: GET http://127.0.0.1:44701/v1/decisions?ip=1.2.3.5" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\nnull" ---- PASS: TestDecisionsList (0.01s) +time="2024-03-26T15:09:06+14:00" level=debug msg="req-api: GET http://127.0.0.1:37335/v1/decisions?ip=1.2.3.4" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [185]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 185\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n[{\"duration\":\"3h59m55.756182786s\",\"id\":4,\"origin\":\"cscli\",\"scenario\":\"manual 'ban' from '82929df7ee394b73b81252fe3b4e50203yaT2u6nXiaN7Ix9'\",\"scope\":\"Ip\",\"type\":\"ban\",\"value\":\"1.2.3.4\"}]" +time="2024-03-26T15:09:06+14:00" level=debug msg="req-api: GET http://127.0.0.1:37335/v1/decisions?ip=1.2.3.5" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\nnull" +--- PASS: TestDecisionsList (0.00s) === RUN TestDecisionsStream -time="2024-03-25T12:52:45-12:00" level=debug msg="req-api: GET http://127.0.0.1:37841/v1/decisions/stream?startup=true" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [208]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 208\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"deleted\":null,\"new\":[{\"duration\":\"3h59m55.756182786s\",\"id\":4,\"origin\":\"cscli\",\"scenario\":\"manual 'ban' from '82929df7ee394b73b81252fe3b4e50203yaT2u6nXiaN7Ix9'\",\"scope\":\"Ip\",\"type\":\"ban\",\"value\":\"1.2.3.4\"}]}" -time="2024-03-25T12:52:45-12:00" level=debug msg="req-api: GET http://127.0.0.1:37841/v1/decisions/stream?" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [27]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 27\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"deleted\":null,\"new\":null}" -time="2024-03-25T12:52:45-12:00" level=debug msg="req-api: DELETE http://127.0.0.1:37841/v1/decisions" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-api: http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\nContent-Length: 0\r\n\r\n" ---- PASS: TestDecisionsStream (0.02s) +time="2024-03-26T15:09:06+14:00" level=debug msg="req-api: GET http://127.0.0.1:44195/v1/decisions/stream?startup=true" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [208]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 208\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n{\"deleted\":null,\"new\":[{\"duration\":\"3h59m55.756182786s\",\"id\":4,\"origin\":\"cscli\",\"scenario\":\"manual 'ban' from '82929df7ee394b73b81252fe3b4e50203yaT2u6nXiaN7Ix9'\",\"scope\":\"Ip\",\"type\":\"ban\",\"value\":\"1.2.3.4\"}]}" +time="2024-03-26T15:09:06+14:00" level=debug msg="req-api: GET http://127.0.0.1:44195/v1/decisions/stream?" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [27]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 27\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n{\"deleted\":null,\"new\":null}" +time="2024-03-26T15:09:06+14:00" level=debug msg="req-api: DELETE http://127.0.0.1:44195/v1/decisions" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-api: http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\nContent-Length: 0\r\n\r\n" +--- PASS: TestDecisionsStream (0.00s) === RUN TestDeleteDecisions -time="2024-03-25T12:52:45-12:00" level=info msg="URL is http://127.0.0.1:36487" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36487/v1/watchers/login" -time="2024-03-25T12:52:45-12:00" level=debug msg="auth-jwt : http 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-03-25T12:52:45-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:36487/v1/decisions?ip=1.2.3.4" -time="2024-03-25T12:52:45-12:00" level=debug msg="resp-jwt: 200" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 00:52:45 GMT]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Length : [17]" -time="2024-03-25T12:52:45-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-03-25T12:52:45-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 17\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 00:52:45 GMT\r\n\r\n{\"nbDeleted\":\"1\"}" ---- PASS: TestDeleteDecisions (0.01s) +time="2024-03-26T15:09:06+14:00" level=info msg="URL is http://127.0.0.1:41905" +time="2024-03-26T15:09:06+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:41905/v1/watchers/login" +time="2024-03-26T15:09:06+14:00" level=debug msg="auth-jwt : http 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-03-26T15:09:06+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:41905/v1/decisions?ip=1.2.3.4" +time="2024-03-26T15:09:06+14:00" level=debug msg="resp-jwt: 200" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Date : [Tue, 26 Mar 2024 01:09:06 GMT]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Length : [17]" +time="2024-03-26T15:09:06+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-03-26T15:09:06+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 17\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 26 Mar 2024 01:09:06 GMT\r\n\r\n{\"nbDeleted\":\"1\"}" +--- PASS: TestDeleteDecisions (0.00s) === RUN TestDecisionsStreamOpts_addQueryParamsToURL === RUN TestDecisionsStreamOpts_addQueryParamsToURL/no_filter === RUN TestDecisionsStreamOpts_addQueryParamsToURL/startup=true @@ -3867,90 +3910,73 @@ --- PASS: TestDecisionsStreamOpts_addQueryParamsToURL/startup=true (0.00s) --- PASS: TestDecisionsStreamOpts_addQueryParamsToURL/set_all_params (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.234s +ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.081s ? 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] -? github.com/crowdsecurity/crowdsec/pkg/cstest [no test files] -? 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] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/alert [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/decision [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/event [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/hook [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/meta [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/machine [no test files] -? github.com/crowdsecurity/crowdsec/pkg/database/ent/schema [no test files] -? github.com/crowdsecurity/crowdsec/pkg/metabase [no test files] -? github.com/crowdsecurity/crowdsec/pkg/models [no test files] +? github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 [no test files] === RUN TestSimulatedAlert -time="2024-03-25T12:52:59-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:52:59-12:00" level=info msg="Creating new API server" ---- PASS: TestSimulatedAlert (1.87s) +time="2024-03-26T15:09:09+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:09+14:00" level=info msg="Creating new API server" +--- PASS: TestSimulatedAlert (0.70s) === RUN TestCreateAlert -time="2024-03-25T12:53:01-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:01-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlert (1.93s) +time="2024-03-26T15:09:09+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:09+14:00" level=info msg="Creating new API server" +--- PASS: TestCreateAlert (0.58s) === RUN TestCreateAlertChannels -time="2024-03-25T12:53:03-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:03-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlertChannels (1.46s) +time="2024-03-26T15:09:10+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:10+14:00" level=info msg="Creating new API server" +time="2024-03-26T15:09:10+14:00" level=warning msg="Cannot send alert to Plugin channel (try: 0)" +--- PASS: TestCreateAlertChannels (0.46s) === RUN TestAlertListFilters -time="2024-03-25T12:53:04-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:04-12:00" level=info msg="Creating new API server" ---- PASS: TestAlertListFilters (1.81s) +time="2024-03-26T15:09:10+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:10+14:00" level=info msg="Creating new API server" +--- PASS: TestAlertListFilters (0.53s) === RUN TestAlertBulkInsert -time="2024-03-25T12:53:06-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:06-12:00" level=info msg="Creating new API server" ---- PASS: TestAlertBulkInsert (3.21s) +time="2024-03-26T15:09:11+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:11+14:00" level=info msg="Creating new API server" +--- PASS: TestAlertBulkInsert (1.36s) === RUN TestListAlert -time="2024-03-25T12:53:09-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:09-12:00" level=info msg="Creating new API server" ---- PASS: TestListAlert (1.89s) +time="2024-03-26T15:09:12+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:12+14:00" level=info msg="Creating new API server" +--- PASS: TestListAlert (0.45s) === RUN TestCreateAlertErrors -time="2024-03-25T12:53:11-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:11-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlertErrors (1.76s) +time="2024-03-26T15:09:13+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:13+14:00" level=info msg="Creating new API server" +--- PASS: TestCreateAlertErrors (0.41s) === RUN TestDeleteAlert -time="2024-03-25T12:53:13-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:13-12:00" level=info msg="Creating new API server" ---- PASS: TestDeleteAlert (1.42s) +time="2024-03-26T15:09:13+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:13+14:00" level=info msg="Creating new API server" +--- PASS: TestDeleteAlert (0.52s) === RUN TestDeleteAlertByID -time="2024-03-25T12:53:14-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:14-12:00" level=info msg="Creating new API server" ---- PASS: TestDeleteAlertByID (2.10s) +time="2024-03-26T15:09:14+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:14+14:00" level=info msg="Creating new API server" +--- PASS: TestDeleteAlertByID (0.55s) === RUN TestDeleteAlertTrustedIPS -time="2024-03-25T12:53:16-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestDeleteAlertTrustedIPS (1.84s) +time="2024-03-26T15:09:14+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestDeleteAlertTrustedIPS (0.77s) === RUN TestAPIKey -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:18-12:00" level=info msg="Creating new API server" -time="2024-03-25T12:53:18-12:00" level=error msg="API key not found" ip= -time="2024-03-25T12:53:18-12:00" level=error msg="while fetching bouncer info: select bouncer: ent: bouncer not found: unable to query" ip= ---- PASS: TestAPIKey (0.13s) +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:15+14:00" level=info msg="Creating new API server" +time="2024-03-26T15:09:15+14:00" level=error msg="API key not found" ip= +time="2024-03-26T15:09:15+14:00" level=error msg="while fetching bouncer info: select bouncer: ent: bouncer not found: unable to query" ip= +--- PASS: TestAPIKey (0.08s) === RUN TestAPICCAPIPullIsOld apic_test.go:98: --- SKIP: TestAPICCAPIPullIsOld (0.00s) === RUN TestAPICFetchScenariosListFromDB === RUN TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICFetchScenariosListFromDB/Multi_machine_with_custom+hub_scenarios -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestAPICFetchScenariosListFromDB (0.20s) - --- PASS: TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios (0.08s) - --- PASS: TestAPICFetchScenariosListFromDB/Multi_machine_with_custom+hub_scenarios (0.12s) +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestAPICFetchScenariosListFromDB (0.14s) + --- PASS: TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios (0.07s) + --- PASS: TestAPICFetchScenariosListFromDB/Multi_machine_with_custom+hub_scenarios (0.07s) === RUN TestNewAPIC -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestNewAPIC/simple === RUN TestNewAPIC/error_in_parsing_URL ---- PASS: TestNewAPIC (0.11s) +--- PASS: TestNewAPIC (0.05s) --- PASS: TestNewAPIC/simple (0.00s) --- PASS: TestNewAPIC/error_in_parsing_URL (0.00s) === RUN TestAPICHandleDeletedDecisions @@ -3958,9 +3984,9 @@ --- SKIP: TestAPICHandleDeletedDecisions (0.00s) === RUN TestAPICGetMetrics === RUN TestAPICGetMetrics/simple -time="2024-03-25T12:53:18-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestAPICGetMetrics (0.20s) - --- PASS: TestAPICGetMetrics/simple (0.20s) +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestAPICGetMetrics (0.16s) + --- PASS: TestAPICGetMetrics/simple (0.16s) === RUN TestCreateAlertsForDecision === RUN TestCreateAlertsForDecision/2_decisions_CAPI_List_Decisions_should_create_2_alerts === RUN TestCreateAlertsForDecision/2_decisions_CAPI_List_same_scenario_decisions_should_create_1_alert @@ -3980,37 +4006,37 @@ --- SKIP: TestAPICPullTop (0.00s) === RUN TestAPICPush === RUN TestAPICPush/simple_single_alert -time="2024-03-25T12:53:19-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:19-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-03-25T12:53:19-12:00" level=info msg="Signal push: 1 signals to push" -time="2024-03-25T12:53:20-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +time="2024-03-26T15:09:15+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:15+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-03-26T15:09:16+14:00" level=info msg="Signal push: 1 signals to push" +time="2024-03-26T15:09:17+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" === RUN TestAPICPush/simulated_alert_is_not_pushed -time="2024-03-25T12:53:20-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:20-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-03-25T12:53:21-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +time="2024-03-26T15:09:17+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:17+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-03-26T15:09:18+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" === RUN TestAPICPush/1_request_per_50_alerts -time="2024-03-25T12:53:21-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:21-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-03-25T12:53:21-12:00" level=info msg="Signal push: 100 signals to push" -time="2024-03-25T12:53:22-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" ---- PASS: TestAPICPush (3.15s) - --- PASS: TestAPICPush/simple_single_alert (1.05s) - --- PASS: TestAPICPush/simulated_alert_is_not_pushed (1.05s) - --- PASS: TestAPICPush/1_request_per_50_alerts (1.04s) +time="2024-03-26T15:09:18+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:18+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-03-26T15:09:18+14:00" level=info msg="Signal push: 100 signals to push" +time="2024-03-26T15:09:19+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +--- PASS: TestAPICPush (3.08s) + --- PASS: TestAPICPush/simple_single_alert (1.02s) + --- PASS: TestAPICPush/simulated_alert_is_not_pushed (1.03s) + --- PASS: TestAPICPush/1_request_per_50_alerts (1.03s) === RUN TestAPICSendMetrics apic_test.go:705: --- SKIP: TestAPICSendMetrics (0.00s) === RUN TestAPICPull -time="2024-03-25T12:53:22-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:19+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICPull/test_pull_if_no_scenarios_are_present -time="2024-03-25T12:53:22-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:19+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICPull/test_pull -time="2024-03-25T12:53:22-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:19+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." --- PASS: TestAPICPull (1.12s) - --- PASS: TestAPICPull/test_pull_if_no_scenarios_are_present (0.53s) - --- PASS: TestAPICPull/test_pull (0.55s) + --- PASS: TestAPICPull/test_pull_if_no_scenarios_are_present (0.54s) + --- PASS: TestAPICPull/test_pull (0.54s) === RUN TestShouldShareAlert === RUN TestShouldShareAlert/custom_alert_should_be_shared_if_config_enables_it === RUN TestShouldShareAlert/custom_alert_should_not_be_shared_if_config_disables_it @@ -4018,10 +4044,7 @@ === RUN TestShouldShareAlert/manual_alert_should_not_be_shared_if_config_disables_it === RUN TestShouldShareAlert/manual_alert_should_be_shared_if_config_enables_it#01 === RUN TestShouldShareAlert/manual_alert_should_not_be_shared_if_config_disables_it#01 -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." ---- PASS: TestShouldShareAlert (0.01s) +--- PASS: TestShouldShareAlert (0.00s) --- PASS: TestShouldShareAlert/custom_alert_should_be_shared_if_config_enables_it (0.00s) --- PASS: TestShouldShareAlert/custom_alert_should_not_be_shared_if_config_disables_it (0.00s) --- PASS: TestShouldShareAlert/manual_alert_should_be_shared_if_config_enables_it (0.00s) @@ -4029,140 +4052,109 @@ --- PASS: TestShouldShareAlert/manual_alert_should_be_shared_if_config_enables_it#01 (0.00s) --- PASS: TestShouldShareAlert/manual_alert_should_not_be_shared_if_config_disables_it#01 (0.00s) === RUN TestWithWrongDBConfig -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." ---- PASS: TestWithWrongDBConfig (0.01s) +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +--- PASS: TestWithWrongDBConfig (0.00s) === RUN TestWithWrongFlushConfig -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." ---- PASS: TestWithWrongFlushConfig (0.09s) +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +--- PASS: TestWithWrongFlushConfig (0.03s) === RUN TestUnknownPath -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." -time="2024-03-25T12:53:23-12:00" level=info msg="Creating new API server" -time="2024-03-25T12:53:23-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." ---- PASS: TestUnknownPath (0.05s) +time="2024-03-26T15:09:20+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-03-26T15:09:20+14:00" level=info msg="Creating new API server" +time="2024-03-26T15:09:20+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +--- PASS: TestUnknownPath (0.03s) === RUN TestLoggingDebugToFileConfig ---- PASS: TestLoggingDebugToFileConfig (0.55s) +--- PASS: TestLoggingDebugToFileConfig (0.54s) === RUN TestLoggingErrorToFileConfig ---- PASS: TestLoggingErrorToFileConfig (0.55s) +--- PASS: TestLoggingErrorToFileConfig (0.54s) === RUN TestDeleteDecisionRange ---- PASS: TestDeleteDecisionRange (1.97s) +--- PASS: TestDeleteDecisionRange (0.58s) === RUN TestDeleteDecisionFilter ---- PASS: TestDeleteDecisionFilter (2.38s) +--- PASS: TestDeleteDecisionFilter (0.57s) === RUN TestDeleteDecisionFilterByScenario ---- PASS: TestDeleteDecisionFilterByScenario (2.47s) +--- PASS: TestDeleteDecisionFilterByScenario (0.51s) === RUN TestGetDecisionFilters ---- PASS: TestGetDecisionFilters (3.43s) +--- PASS: TestGetDecisionFilters (0.68s) === RUN TestGetDecision ---- PASS: TestGetDecision (2.22s) +--- PASS: TestGetDecision (0.57s) === RUN TestDeleteDecisionByID ---- PASS: TestDeleteDecisionByID (2.35s) +--- PASS: TestDeleteDecisionByID (0.68s) === RUN TestDeleteDecision ---- PASS: TestDeleteDecision (3.17s) +--- PASS: TestDeleteDecision (0.48s) === RUN TestStreamStartDecisionDedup ---- PASS: TestStreamStartDecisionDedup (2.91s) +--- PASS: TestStreamStartDecisionDedup (0.69s) === RUN TestHeartBeat ---- PASS: TestHeartBeat (1.84s) +--- PASS: TestHeartBeat (0.47s) === RUN TestLogin ---- PASS: TestLogin (3.79s) +--- PASS: TestLogin (0.72s) === RUN TestCreateMachine ---- PASS: TestCreateMachine (0.99s) +--- PASS: TestCreateMachine (0.22s) === RUN TestCreateMachineWithForwardedFor ---- PASS: TestCreateMachineWithForwardedFor (1.06s) +--- PASS: TestCreateMachineWithForwardedFor (0.19s) === RUN TestCreateMachineWithForwardedForNoConfig ---- PASS: TestCreateMachineWithForwardedForNoConfig (0.86s) +--- PASS: TestCreateMachineWithForwardedForNoConfig (0.19s) === RUN TestCreateMachineWithoutForwardedFor ---- PASS: TestCreateMachineWithoutForwardedFor (1.29s) +--- PASS: TestCreateMachineWithoutForwardedFor (0.19s) === RUN TestCreateMachineAlreadyExist ---- PASS: TestCreateMachineAlreadyExist (2.18s) +--- PASS: TestCreateMachineAlreadyExist (0.44s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiserver 58.632s +ok github.com/crowdsecurity/crowdsec/pkg/apiserver 19.398s === RUN TestLoadLocalApiClientCfg TEST 'basic valid configuration' TEST 'invalid configuration' TEST 'invalid configuration filepath' TEST 'valid configuration with insecure skip verify' ---- PASS: TestLoadLocalApiClientCfg (0.01s) +--- PASS: TestLoadLocalApiClientCfg (0.00s) === RUN TestLoadOnlineApiClientCfg TEST 'basic valid configuration': OK TEST 'invalid configuration': OK -time="2024-03-25T12:53:05-12:00" level=warning msg="can't load CAPI credentials from './tests/bad_online-api-secrets.yaml' (missing field)" +time="2024-03-26T15:09:11+14:00" level=warning msg="can't load CAPI credentials from './tests/bad_online-api-secrets.yaml' (missing field)" TEST 'missing field configuration': OK TEST 'invalid configuration filepath': OK --- PASS: TestLoadOnlineApiClientCfg (0.00s) === RUN TestLoadAPIServer -time="2024-03-25T12:53:05-12:00" level=warning msg="You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db_config.use_wal to true. Set explicitly to false to disable this warning." +time="2024-03-26T15:09:11+14:00" level=warning msg="You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db_config.use_wal to true. Set explicitly to false to disable this warning." TEST 'basic valid configuration': OK TEST 'basic invalid configuration': OK ---- PASS: TestLoadAPIServer (0.02s) +--- PASS: TestLoadAPIServer (0.00s) === RUN TestLoadCommon TEST 'basic valid configuration': OK TEST 'empty working dir': OK TEST 'no common': OK --- PASS: TestLoadCommon (0.00s) === RUN TestNormalLoad ---- PASS: TestNormalLoad (0.01s) +--- PASS: TestNormalLoad (0.00s) === RUN TestNewCrowdSecConfig === RUN TestNewCrowdSecConfig/new_configuration:_basic --- PASS: TestNewCrowdSecConfig (0.00s) @@ -4227,14 +4219,14 @@ TEST 'basic valid configuration with acquisition dir' === RUN TestLoadCrowdsec/no_acquisition_file_and_dir TEST 'no acquisition file and dir' -time="2024-03-25T12:53:05-12:00" level=warning msg="no acquisition_path or acquisition_dir specified" -time="2024-03-25T12:53:05-12:00" level=warning msg="no acquisition file found" +time="2024-03-26T15:09:11+14:00" level=warning msg="no acquisition_path or acquisition_dir specified" +time="2024-03-26T15:09:11+14:00" level=warning msg="no acquisition file found" === RUN TestLoadCrowdsec/non_existing_acquisition_file TEST 'non existing acquisition file' === RUN TestLoadCrowdsec/agent_disabled TEST 'agent disabled' -time="2024-03-25T12:53:05-12:00" level=warning msg="crowdsec agent is disabled" ---- PASS: TestLoadCrowdsec (0.01s) +time="2024-03-26T15:09:11+14:00" level=warning msg="crowdsec agent is disabled" +--- PASS: TestLoadCrowdsec (0.00s) --- PASS: TestLoadCrowdsec/basic_valid_configuration (0.00s) --- PASS: TestLoadCrowdsec/basic_valid_configuration_with_acquisition_dir (0.00s) --- PASS: TestLoadCrowdsec/no_acquisition_file_and_dir (0.00s) @@ -4245,7 +4237,7 @@ TEST 'no configuration path': OK --- PASS: TestLoadCSCLI (0.00s) === RUN TestLoadDBConfig -time="2024-03-25T12:53:05-12:00" level=warning msg="You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db_config.use_wal to true. Set explicitly to false to disable this warning." +time="2024-03-26T15:09:11+14:00" level=warning msg="You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db_config.use_wal to true. Set explicitly to false to disable this warning." TEST 'basic valid configuration': OK TEST 'no configuration path': OK --- PASS: TestLoadDBConfig (0.00s) @@ -4263,12 +4255,12 @@ === RUN TestSimulationLoading/basic_bad_file_name === RUN TestSimulationLoading/basic_bad_file_content === RUN TestSimulationLoading/basic_bad_file_content#01 ---- PASS: TestSimulationLoading (0.02s) +--- PASS: TestSimulationLoading (0.01s) --- PASS: TestSimulationLoading/basic_valid_simulation (0.00s) --- PASS: TestSimulationLoading/basic_nil_config (0.00s) --- PASS: TestSimulationLoading/basic_bad_file_name (0.00s) - --- PASS: TestSimulationLoading/basic_bad_file_content (0.01s) - --- PASS: TestSimulationLoading/basic_bad_file_content#01 (0.01s) + --- PASS: TestSimulationLoading/basic_bad_file_content (0.00s) + --- PASS: TestSimulationLoading/basic_bad_file_content#01 (0.00s) === RUN TestIsSimulated === RUN TestIsSimulated/No_simulation_except_(in_exclusion) === RUN TestIsSimulated/All_simulation_(not_in_exclusion) @@ -4278,7 +4270,25 @@ --- PASS: TestIsSimulated/All_simulation_(not_in_exclusion) (0.00s) --- PASS: TestIsSimulated/All_simulation_(in_exclusion) (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.152s +ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.046s +? github.com/crowdsecurity/crowdsec/pkg/cstest [no test files] +? 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] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/alert [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/decision [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/event [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/hook [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/meta [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/schema [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime [no test files] +? github.com/crowdsecurity/crowdsec/pkg/database/ent/machine [no test files] +? github.com/crowdsecurity/crowdsec/pkg/metabase [no test files] +? github.com/crowdsecurity/crowdsec/pkg/models [no test files] ? github.com/crowdsecurity/crowdsec/pkg/protobufs [no test files] ? github.com/crowdsecurity/crowdsec/plugins/notifications/dummy [no test files] ? github.com/crowdsecurity/crowdsec/plugins/notifications/email [no test files] @@ -4301,13 +4311,13 @@ --- PASS: TestListFilesAtPath/invalid_directory (0.00s) === RUN TestBrokerInit === RUN TestBrokerInit/valid_config -time="2024-03-25T12:53:27-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3284464343/notification-dummy]" path=tests/cs_plugin_test3284464343/notification-dummy -time="2024-03-25T12:53:27-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test3284464343/notification-dummy pid=31348 -time="2024-03-25T12:53:27-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3284464343/notification-dummy -time="2024-03-25T12:53:27-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:53:27-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:53:27-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3284464343/notification-dummy pid=31348 -time="2024-03-25T12:53:27-12:00" level=debug msg="plugin exited" +time="2024-03-26T15:09:16+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1828402083/notification-dummy]" path=tests/cs_plugin_test1828402083/notification-dummy +time="2024-03-26T15:09:16+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test1828402083/notification-dummy pid=6264 +time="2024-03-26T15:09:16+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1828402083/notification-dummy +time="2024-03-26T15:09:16+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:16+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:09:16+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1828402083/notification-dummy pid=6264 +time="2024-03-26T15:09:16+14:00" level=debug msg="plugin exited" === RUN TestBrokerInit/group_writable_binary === RUN TestBrokerInit/group_writable_binary#01 === RUN TestBrokerInit/no_plugin_dir @@ -4315,97 +4325,97 @@ === RUN TestBrokerInit/only_specify_user === RUN TestBrokerInit/only_specify_group === RUN TestBrokerInit/Fails_to_run_as_root -time="2024-03-25T12:54:40-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1758416252/notification-dummy]" path=tests/cs_plugin_test1758416252/notification-dummy +time="2024-03-26T15:09:35+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1482870072/notification-dummy]" path=tests/cs_plugin_test1482870072/notification-dummy === RUN TestBrokerInit/Invalid_user_and_group === RUN TestBrokerInit/Valid_user_and_invalid_group ---- PASS: TestBrokerInit (97.61s) - --- PASS: TestBrokerInit/valid_config (10.19s) - --- PASS: TestBrokerInit/group_writable_binary (12.06s) - --- PASS: TestBrokerInit/group_writable_binary#01 (13.27s) - --- PASS: TestBrokerInit/no_plugin_dir (9.91s) - --- PASS: TestBrokerInit/no_plugin_binary (11.05s) - --- PASS: TestBrokerInit/only_specify_user (10.41s) - --- PASS: TestBrokerInit/only_specify_group (9.42s) - --- PASS: TestBrokerInit/Fails_to_run_as_root (7.54s) - --- PASS: TestBrokerInit/Invalid_user_and_group (7.40s) - --- PASS: TestBrokerInit/Valid_user_and_invalid_group (6.36s) +--- PASS: TestBrokerInit (28.84s) + --- PASS: TestBrokerInit/valid_config (2.79s) + --- PASS: TestBrokerInit/group_writable_binary (2.36s) + --- PASS: TestBrokerInit/group_writable_binary#01 (2.45s) + --- PASS: TestBrokerInit/no_plugin_dir (2.64s) + --- PASS: TestBrokerInit/no_plugin_binary (2.65s) + --- PASS: TestBrokerInit/only_specify_user (2.75s) + --- PASS: TestBrokerInit/only_specify_group (2.74s) + --- PASS: TestBrokerInit/Fails_to_run_as_root (2.83s) + --- PASS: TestBrokerInit/Invalid_user_and_group (4.30s) + --- PASS: TestBrokerInit/Valid_user_and_invalid_group (3.33s) === RUN TestBrokerNoThreshold -time="2024-03-25T12:55:01-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3605246194/notification-dummy]" path=tests/cs_plugin_test3605246194/notification-dummy -time="2024-03-25T12:55:02-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test3605246194/notification-dummy pid=452 -time="2024-03-25T12:55:02-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3605246194/notification-dummy -time="2024-03-25T12:55:02-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:02-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:02-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:02-12:00" level=info msg="second send" -time="2024-03-25T12:55:02-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:02-12:00" level=info msg="content-> [{\"capacity\":null,\"decisions\":null,\"events\":null,\"events_count\":null,\"labels\":null,\"leakspeed\":null,\"message\":null,\"scenario\":null,\"scenario_hash\":null,\"scenario_version\":null,\"simulated\":null,\"source\":null,\"start_at\":null,\"stop_at\":null}]\n\n" -time="2024-03-25T12:55:02-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3605246194/notification-dummy pid=452 -time="2024-03-25T12:55:02-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerNoThreshold (7.83s) +time="2024-03-26T15:09:45+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2317991793/notification-dummy]" path=tests/cs_plugin_test2317991793/notification-dummy +time="2024-03-26T15:09:45+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test2317991793/notification-dummy pid=7099 +time="2024-03-26T15:09:45+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2317991793/notification-dummy +time="2024-03-26T15:09:45+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:45+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:09:45+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:09:45+14:00" level=info msg="second send" +time="2024-03-26T15:09:45+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:09:45+14:00" level=info msg="content-> [{\"capacity\":null,\"decisions\":null,\"events\":null,\"events_count\":null,\"labels\":null,\"leakspeed\":null,\"message\":null,\"scenario\":null,\"scenario_hash\":null,\"scenario_version\":null,\"simulated\":null,\"source\":null,\"start_at\":null,\"stop_at\":null}]\n\n" +time="2024-03-26T15:09:45+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2317991793/notification-dummy pid=7099 +time="2024-03-26T15:09:45+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerNoThreshold (3.17s) === RUN TestBrokerRunGroupAndTimeThreshold_TimeFirst -time="2024-03-25T12:55:08-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2481878626/notification-dummy]" path=tests/cs_plugin_test2481878626/notification-dummy -time="2024-03-25T12:55:08-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test2481878626/notification-dummy pid=565 -time="2024-03-25T12:55:08-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2481878626/notification-dummy -time="2024-03-25T12:55:08-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:08-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:09-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:10-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2481878626/notification-dummy pid=565 -time="2024-03-25T12:55:10-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupAndTimeThreshold_TimeFirst (7.89s) +time="2024-03-26T15:09:48+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test619763341/notification-dummy]" path=tests/cs_plugin_test619763341/notification-dummy +time="2024-03-26T15:09:48+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test619763341/notification-dummy pid=7207 +time="2024-03-26T15:09:48+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test619763341/notification-dummy +time="2024-03-26T15:09:48+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:48+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:09:49+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:09:50+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test619763341/notification-dummy pid=7207 +time="2024-03-26T15:09:50+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupAndTimeThreshold_TimeFirst (4.38s) === RUN TestBrokerRunGroupAndTimeThreshold_CountFirst -time="2024-03-25T12:55:17-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3827594655/notification-dummy]" path=tests/cs_plugin_test3827594655/notification-dummy -time="2024-03-25T12:55:17-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test3827594655/notification-dummy pid=745 -time="2024-03-25T12:55:17-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3827594655/notification-dummy -time="2024-03-25T12:55:17-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:17-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:17-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:17-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3827594655/notification-dummy pid=745 -time="2024-03-25T12:55:17-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupAndTimeThreshold_CountFirst (6.95s) +time="2024-03-26T15:09:53+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test210843770/notification-dummy]" path=tests/cs_plugin_test210843770/notification-dummy +time="2024-03-26T15:09:53+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test210843770/notification-dummy pid=7373 +time="2024-03-26T15:09:53+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test210843770/notification-dummy +time="2024-03-26T15:09:53+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:53+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:09:53+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:09:53+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test210843770/notification-dummy pid=7373 +time="2024-03-26T15:09:53+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupAndTimeThreshold_CountFirst (3.51s) === RUN TestBrokerRunGroupThreshold -time="2024-03-25T12:55:23-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test879209051/notification-dummy]" path=tests/cs_plugin_test879209051/notification-dummy -time="2024-03-25T12:55:24-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test879209051/notification-dummy pid=894 -time="2024-03-25T12:55:24-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test879209051/notification-dummy -time="2024-03-25T12:55:24-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:24-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:24-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:24-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test879209051/notification-dummy pid=894 -time="2024-03-25T12:55:24-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupThreshold (6.94s) +time="2024-03-26T15:09:56+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3546926888/notification-dummy]" path=tests/cs_plugin_test3546926888/notification-dummy +time="2024-03-26T15:09:56+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test3546926888/notification-dummy pid=7444 +time="2024-03-26T15:09:56+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3546926888/notification-dummy +time="2024-03-26T15:09:56+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:57+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:09:57+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:09:57+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3546926888/notification-dummy pid=7444 +time="2024-03-26T15:09:57+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupThreshold (3.42s) === RUN TestBrokerRunTimeThreshold -time="2024-03-25T12:55:30-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1420374722/notification-dummy]" path=tests/cs_plugin_test1420374722/notification-dummy -time="2024-03-25T12:55:30-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test1420374722/notification-dummy pid=985 -time="2024-03-25T12:55:30-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1420374722/notification-dummy -time="2024-03-25T12:55:30-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:30-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:31-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:31-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1420374722/notification-dummy pid=985 -time="2024-03-25T12:55:31-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunTimeThreshold (7.72s) +time="2024-03-26T15:09:59+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2627597637/notification-dummy]" path=tests/cs_plugin_test2627597637/notification-dummy +time="2024-03-26T15:09:59+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test2627597637/notification-dummy pid=7511 +time="2024-03-26T15:09:59+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2627597637/notification-dummy +time="2024-03-26T15:09:59+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:09:59+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:10:00+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:10:00+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2627597637/notification-dummy pid=7511 +time="2024-03-26T15:10:00+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunTimeThreshold (3.63s) === RUN TestBrokerRunSimple -time="2024-03-25T12:55:38-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1848037158/notification-dummy]" path=tests/cs_plugin_test1848037158/notification-dummy -time="2024-03-25T12:55:38-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test1848037158/notification-dummy pid=1081 -time="2024-03-25T12:55:38-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1848037158/notification-dummy -time="2024-03-25T12:55:38-12:00" level=debug msg="using plugin" version=1 -time="2024-03-25T12:55:38-12:00" level=info msg="registered plugin dummy_default" -time="2024-03-25T12:55:38-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-03-25T12:55:38-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1848037158/notification-dummy pid=1081 -time="2024-03-25T12:55:38-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunSimple (6.45s) +time="2024-03-26T15:10:03+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1209628181/notification-dummy]" path=tests/cs_plugin_test1209628181/notification-dummy +time="2024-03-26T15:10:03+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test1209628181/notification-dummy pid=7582 +time="2024-03-26T15:10:03+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1209628181/notification-dummy +time="2024-03-26T15:10:03+14:00" level=debug msg="using plugin" version=1 +time="2024-03-26T15:10:03+14:00" level=info msg="registered plugin dummy_default" +time="2024-03-26T15:10:03+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-03-26T15:10:03+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1209628181/notification-dummy pid=7582 +time="2024-03-26T15:10:03+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunSimple (2.66s) === RUN TestPluginWatcherInterval -2024/03/25 12:55:38 received -> testPlugin +2024/03/26 15:10:03 received -> testPlugin --- PASS: TestPluginWatcherInterval (0.00s) === RUN TestPluginAlertCountWatcher -2024/03/25 12:55:40 received -> testPlugin +2024/03/26 15:10:05 received -> testPlugin --- PASS: TestPluginAlertCountWatcher (2.05s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csplugin 143.560s +ok github.com/crowdsecurity/crowdsec/pkg/csplugin 51.708s === RUN TestNewProfile === RUN TestNewProfile/filter_ok_and_duration_expr_ok expected : 1 | result : 1=== RUN TestNewProfile/filter_NOK_and_duration_expr_ok expected : 0 | result : 0=== RUN TestNewProfile/filter_ok_and_duration_expr_NOK expected : 0 | result : 0=== RUN TestNewProfile/filter_ok_and_duration_expr_ok_+_DEBUG -expected : 1 | result : 1--- PASS: TestNewProfile (0.01s) +expected : 1 | result : 1--- PASS: TestNewProfile (0.00s) --- PASS: TestNewProfile/filter_ok_and_duration_expr_ok (0.00s) --- PASS: TestNewProfile/filter_NOK_and_duration_expr_ok (0.00s) --- PASS: TestNewProfile/filter_ok_and_duration_expr_NOK (0.00s) @@ -4416,683 +4426,650 @@ === RUN TestEvaluateProfile/1_expr_fail_1_expr_pass_should_still_eval_to_match === RUN TestEvaluateProfile/simple_filter_with__2_decision === RUN TestEvaluateProfile/simple_filter_with_decision_expr ---- PASS: TestEvaluateProfile (0.01s) +--- PASS: TestEvaluateProfile (0.00s) --- PASS: TestEvaluateProfile/simple_pass_single_expr (0.00s) --- PASS: TestEvaluateProfile/simple_fail_single_expr (0.00s) --- PASS: TestEvaluateProfile/1_expr_fail_1_expr_pass_should_still_eval_to_match (0.00s) --- PASS: TestEvaluateProfile/simple_filter_with__2_decision (0.00s) --- PASS: TestEvaluateProfile/simple_filter_with_decision_expr (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csprofiles 0.135s +ok github.com/crowdsecurity/crowdsec/pkg/csprofiles 0.056s === RUN TestItemStatus -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="hub index is up to date" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=info msg="Loaded 3 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" ---- PASS: TestItemStatus (0.08s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="hub index is up to date" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="Loaded 3 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" +--- PASS: TestItemStatus (0.01s) === RUN TestGetters -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="hub index is up to date" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" ---- PASS: TestGetters (0.02s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="hub index is up to date" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +--- PASS: TestGetters (0.01s) === RUN TestIndexDownload -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="hub index is up to date" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" ---- PASS: TestIndexDownload (0.02s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="hub index is up to date" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +--- PASS: TestIndexDownload (0.01s) === RUN TestInstallParser -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar_parser : OK" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2024-03-25T12:53:27-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" ---- PASS: TestInstallParser (0.07s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/foobar_parser : OK" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +--- PASS: TestInstallParser (0.02s) === RUN TestInstallCollection -time="2024-03-25T12:53:27-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:27-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:27-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2024-03-25T12:53:27-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (false -> false)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar_parser : OK" -time="2024-03-25T12:53:27-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2024-03-25T12:53:27-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (false -> false)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-03-25T12:53:27-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-03-25T12:53:27-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (false -> false)" -time="2024-03-25T12:53:27-12:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2024-03-25T12:53:27-12:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (false -> false)" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar_subparser : OK" -time="2024-03-25T12:53:27-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:27-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar_subcollection : OK" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:27-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-03-25T12:53:27-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:27-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2024-03-25T12:53:27-12:00" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" -time="2024-03-25T12:53:27-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" -time="2024-03-25T12:53:27-12:00" level=info msg="crowdsecurity/foobar : OK" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:27-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:27-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml already exists." -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled collections : crowdsecurity/foobar" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (true -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (true -> true)" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (true -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_subparser : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar_subcollection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_subparser] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_subparser.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_subcollection] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed source file [crowdsecurity/foobar] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=info msg="[]" ---- PASS: TestInstallCollection (0.18s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> false)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/test_collection : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed symlink [crowdsecurity/test_collection] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed source file [crowdsecurity/test_collection] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=info msg="[]" +--- PASS: TestInstallCollection (0.02s) === RUN TestDownloadHubIdx Test 'bad URL' -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" ->[]Test 'bad domain' -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://baddomain/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=error msg="unexpected error while opening hub index file: open : no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://baddomain/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=error msg="unexpected error while opening hub index file: open : no such file or directory" ->[]Test 'bad target path' -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" ->[]--- PASS: TestDownloadHubIdx (0.00s) === RUN TestUpgradeConfigNewScenarioInCollection -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" -time="2024-03-25T12:53:28-12:00" level=debug msg="crowdsecurity/foobar_scenario : up-to-date, not updated" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/barfoo_scenario : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/test_collection : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" +time="2024-03-26T15:09:34+14:00" level=debug msg="crowdsecurity/foobar_scenario : up-to-date, not updated" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/barfoo_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/test_collection : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" updated crowdsecurity/test_collection -time="2024-03-25T12:53:28-12:00" level=info msg="📦 crowdsecurity/test_collection : updated" -time="2024-03-25T12:53:28-12:00" level=info msg="Upgraded 1 items" -time="2024-03-25T12:53:28-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" ---- PASS: TestUpgradeConfigNewScenarioInCollection (0.10s) +time="2024-03-26T15:09:34+14:00" level=info msg="📦 crowdsecurity/test_collection : updated" +time="2024-03-26T15:09:34+14:00" level=info msg="Upgraded 1 items" +time="2024-03-26T15:09:34+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +--- PASS: TestUpgradeConfigNewScenarioInCollection (0.01s) === RUN TestUpgradeConfigInDisabledSceanarioShouldNotBeInstalled -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="hub index is up to date" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/test_collection : up-to-date" -time="2024-03-25T12:53:28-12:00" level=info msg="Item 'crowdsecurity/test_collection' is up-to-date" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" ---- PASS: TestUpgradeConfigInDisabledSceanarioShouldNotBeInstalled (0.06s) +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="hub index is up to date" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/test_collection : up-to-date" +time="2024-03-26T15:09:34+14:00" level=info msg="Item 'crowdsecurity/test_collection' is up-to-date" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +--- PASS: TestUpgradeConfigInDisabledSceanarioShouldNotBeInstalled (0.01s) === RUN TestUpgradeConfigNewScenarioIsInstalledWhenReferencedScenarioIsDisabled -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-03-25T12:53:28-12:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/.index.json" -time="2024-03-25T12:53:28-12:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-03-25T12:53:28-12:00" level=debug msg="skipping upgrade of crowdsecurity/test_collection : not installed" -time="2024-03-25T12:53:28-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" -time="2024-03-25T12:53:28-12:00" level=info msg="crowdsecurity/barfoo_scenario : OK" -time="2024-03-25T12:53:28-12:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" -time="2024-03-25T12:53:28-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-03-25T12:53:28-12:00" level=warning msg="crowdsecurity/test_collection : overwrite" -time="2024-03-25T12:53:28-12:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="/build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-03-26T15:09:34+14:00" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.1 | latest : 0.1 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/.index.json" +time="2024-03-26T15:09:34+14:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:1 | installed:0.1 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-03-26T15:09:34+14:00" level=debug msg="skipping upgrade of crowdsecurity/test_collection : not installed" +time="2024-03-26T15:09:34+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" +time="2024-03-26T15:09:34+14:00" level=info msg="crowdsecurity/barfoo_scenario : OK" +time="2024-03-26T15:09:34+14:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" +time="2024-03-26T15:09:34+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-03-26T15:09:34+14:00" level=warning msg="crowdsecurity/test_collection : overwrite" +time="2024-03-26T15:09:34+14:00" level=debug msg="target: /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/test_collection.yaml" updated crowdsecurity/test_collection -time="2024-03-25T12:53:28-12:00" level=info msg="📦 crowdsecurity/test_collection : updated" -time="2024-03-25T12:53:28-12:00" level=info msg="Upgraded 1 items" -time="2024-03-25T12:53:28-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-03-25T12:53:28-12:00" level=debug msg="4 item types in hub index" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.2 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" -time="2024-03-25T12:53:28-12:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.2 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" ---- PASS: TestUpgradeConfigNewScenarioIsInstalledWhenReferencedScenarioIsDisabled (0.08s) +time="2024-03-26T15:09:34+14:00" level=info msg="📦 crowdsecurity/test_collection : updated" +time="2024-03-26T15:09:34+14:00" level=info msg="Upgraded 1 items" +time="2024-03-26T15:09:34+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-03-26T15:09:34+14:00" level=debug msg="4 item types in hub index" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.2 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="while syncing hub dir: lstat /build/reproducible-path/crowdsec-1.4.6/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/postoverflows: no such file or directory" +time="2024-03-26T15:09:34+14:00" level=debug msg="installed (crowdsecurity/test_collection) - status:0 | installed:0.2 | latest : 0.2 | full : map[0.1:{Digest:517d0f0764ab6eee9d00d31f50da2a6cdd2084232fea32a7cb9f1fe95e658f59 Deprecated:false} 0.2:{Digest:045fbe3f4c4b60fb7c12e486138e901fe6008b5bada6b9f6199cb4760d8bf448 Deprecated:false}]" +--- PASS: TestUpgradeConfigNewScenarioIsInstalledWhenReferencedScenarioIsDisabled (0.02s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.705s +ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.155s === RUN TestVisitor -time="2024-03-25T12:53:52-12:00" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" -time="2024-03-25T12:53:52-12:00" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg=" static_one = 'crowdse'" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg=" static_one.foo = 'bar'" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg=" static_one.foo = 'bar'" type=test -time="2024-03-25T12:53:52-12:00" level=debug msg="unable to create expr debugger with empty filter" ---- PASS: TestVisitor (0.01s) +time="2024-03-26T15:09:41+14:00" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg=" static_one = 'crowdse'" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg=" static_one.foo = 'bar'" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg=" static_one.foo = 'bar'" type=test +time="2024-03-26T15:09:41+14:00" level=debug msg="unable to create expr debugger with empty filter" +--- PASS: TestVisitor (0.00s) === RUN TestRegexpInFile -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" --- PASS: TestRegexpInFile (0.00s) === RUN TestFileInit -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'file with type:string' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'file with type:re' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" -time="2024-03-25T12:53:52-12:00" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'file without type' : OK" ---- PASS: TestFileInit (0.01s) +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'file with type:string' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'file with type:re' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" +time="2024-03-26T15:09:41+14:00" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'file without type' : OK" +--- PASS: TestFileInit (0.00s) === RUN TestFile -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'File() test: word in file' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'File() test: word in file but different case' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'File() test: word not in file' : OK" -time="2024-03-25T12:53:52-12:00" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'File() test: word in file' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'File() test: word in file but different case' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'File() test: word not in file' : OK" +time="2024-03-26T15:09:41+14:00" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" --- PASS: TestFile (0.00s) === RUN TestIpInRange -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpInRange() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="'192.168.0' is not a valid IP" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpInRange() test: malformed IP' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="'192.168.0.0/255' is not a valid IP" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpInRange() test: malformed IP range' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpInRange() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="'192.168.0' is not a valid IP" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpInRange() test: malformed IP' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="'192.168.0.0/255' is not a valid IP" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpInRange() test: malformed IP range' : OK" --- PASS: TestIpInRange (0.00s) === RUN TestIpToRange -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpToRange() test: IPv4' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpToRange() test: IPv6' : OK" -time="2024-03-25T12:53:52-12:00" level=error msg="bad cidr 'test': strconv.Atoi: parsing \"test\": invalid syntax" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpToRange() test: malformed netmask' : OK" -time="2024-03-25T12:53:52-12:00" level=error msg="can't parse IP address 'a.b.c.d'" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpToRange() test: malformed IP' : OK" -time="2024-03-25T12:53:52-12:00" level=error msg="can't get cidr '35' of '192.168.1.1'" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'IpToRange() test: too high netmask' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpToRange() test: IPv4' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpToRange() test: IPv6' : OK" +time="2024-03-26T15:09:41+14:00" level=error msg="bad cidr 'test': strconv.Atoi: parsing \"test\": invalid syntax" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpToRange() test: malformed netmask' : OK" +time="2024-03-26T15:09:41+14:00" level=error msg="can't parse IP address 'a.b.c.d'" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpToRange() test: malformed IP' : OK" +time="2024-03-26T15:09:41+14:00" level=error msg="can't get cidr '35' of '192.168.1.1'" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'IpToRange() test: too high netmask' : OK" --- PASS: TestIpToRange (0.00s) === RUN TestAtof -time="2024-03-25T12:53:52-12:00" level=debug msg="debug atof 1.5" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'Atof()' : OK" -time="2024-03-25T12:53:52-12:00" level=debug msg="debug atof 1aaa.5" -time="2024-03-25T12:53:52-12:00" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'Atof()' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="debug atof 1.5" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'Atof()' : OK" +time="2024-03-26T15:09:41+14:00" level=debug msg="debug atof 1aaa.5" +time="2024-03-26T15:09:41+14:00" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'Atof()' : OK" --- PASS: TestAtof (0.00s) === RUN TestUpper -time="2024-03-25T12:53:52-12:00" level=info msg="test 'Upper()' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'Upper()' : OK" --- PASS: TestUpper (0.00s) === RUN TestTimeNow -time="2024-03-25T12:53:52-12:00" level=info msg="test 'TimeNow()' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'TimeNow()' : OK" --- PASS: TestTimeNow (0.00s) === RUN TestParseUri -time="2024-03-25T12:53:52-12:00" level=info msg="test 'ParseUri() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'ParseUri() test: no param' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'ParseUri() test: extra question mark' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'ParseUri() test: weird params' : OK" -time="2024-03-25T12:53:52-12:00" level=error msg="Could not parse query uri : invalid URL escape \"%%F\"" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'ParseUri() test: bad encoding' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'ParseUri() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'ParseUri() test: no param' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'ParseUri() test: extra question mark' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'ParseUri() test: weird params' : OK" +time="2024-03-26T15:09:41+14:00" level=error msg="Could not parse query uri : invalid URL escape \"%%F\"" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'ParseUri() test: bad encoding' : OK" --- PASS: TestParseUri (0.00s) === RUN TestQueryEscape -time="2024-03-25T12:53:52-12:00" level=info msg="test 'QueryEscape() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'QueryEscape() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'QueryEscape() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'QueryEscape() test: basic test' : OK" --- PASS: TestQueryEscape (0.00s) === RUN TestPathEscape -time="2024-03-25T12:53:52-12:00" level=info msg="test 'PathEscape() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'PathEscape() test: basic test with more special chars' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'PathEscape() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'PathEscape() test: basic test with more special chars' : OK" --- PASS: TestPathEscape (0.00s) === RUN TestPathUnescape -time="2024-03-25T12:53:52-12:00" level=info msg="test 'PathUnescape() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'PathUnescape() test: basic test with more special chars' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'PathUnescape() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'PathUnescape() test: basic test with more special chars' : OK" --- PASS: TestPathUnescape (0.00s) === RUN TestQueryUnescape -time="2024-03-25T12:53:52-12:00" level=info msg="test 'QueryUnescape() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'QueryUnescape() test: basic test with more special chars' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'QueryUnescape() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'QueryUnescape() test: basic test with more special chars' : OK" --- PASS: TestQueryUnescape (0.00s) === RUN TestLower -time="2024-03-25T12:53:52-12:00" level=info msg="test 'Lower() test: basic test' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'Lower() test: basic test with more special chars' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'Lower() test: basic test' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'Lower() test: basic test with more special chars' : OK" --- PASS: TestLower (0.00s) === RUN TestGetDecisionsCount -time="2024-03-25T12:53:52-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'GetDecisionsCount() test: existing IP count' : OK" -time="2024-03-25T12:53:52-12:00" level=info msg="test 'GetDecisionsCount() test: unknown IP count' : OK" ---- PASS: TestGetDecisionsCount (0.11s) +time="2024-03-26T15:09:41+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'GetDecisionsCount() test: existing IP count' : OK" +time="2024-03-26T15:09:41+14:00" level=info msg="test 'GetDecisionsCount() test: unknown IP count' : OK" +--- PASS: TestGetDecisionsCount (0.05s) === RUN TestGetDecisionsSinceCount exprlib_test.go:850: --- SKIP: TestGetDecisionsSinceCount (0.00s) === RUN TestJsonExtract -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2024/03/25 12:53:52 test 'basic json extract' : OK -time="2024-03-25T12:53:52-12:00" level=debug msg="[non_existing_field] doesn't exist" -2024/03/25 12:53:52 test 'basic json extract with non existing field' : OK -2024/03/25 12:53:52 test 'extract subfield' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2024/03/26 15:09:41 test 'basic json extract' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="[non_existing_field] doesn't exist" +2024/03/26 15:09:41 test 'basic json extract with non existing field' : OK +2024/03/26 15:09:41 test 'extract subfield' : OK --- PASS: TestJsonExtract (0.00s) === RUN TestJsonExtractUnescape -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2024/03/25 12:53:52 test 'basic json extract' : OK -time="2024-03-25T12:53:52-12:00" level=debug msg="[non_existing_field] doesn't exist" -2024/03/25 12:53:52 test 'basic json extract with non existing field' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2024/03/26 15:09:41 test 'basic json extract' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="[non_existing_field] doesn't exist" +2024/03/26 15:09:41 test 'basic json extract with non existing field' : OK --- PASS: TestJsonExtractUnescape (0.00s) === RUN TestJsonExtractSlice -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" === RUN TestJsonExtractSlice/try_to_extract_a_string_as_a_slice -time="2024-03-25T12:53:52-12:00" level=error msg="jsonExtractType : expected type array for target test but found string" -time="2024-03-25T12:53:52-12:00" level=error msg="JsonExtractSlice : jsonExtractType: expected type array for target test but found string" +time="2024-03-26T15:09:41+14:00" level=error msg="jsonExtractType : expected type array for target test but found string" +time="2024-03-26T15:09:41+14:00" level=error msg="JsonExtractSlice : jsonExtractType: expected type array for target test but found string" === RUN TestJsonExtractSlice/basic_json_slice_extract === RUN TestJsonExtractSlice/extract_with_complex_expression === RUN TestJsonExtractSlice/extract_non-existing_key -time="2024-03-25T12:53:52-12:00" level=debug msg="Key foo doesn't exist" -time="2024-03-25T12:53:52-12:00" level=error msg="JsonExtractSlice : key foo does not exist" +time="2024-03-26T15:09:41+14:00" level=debug msg="Key foo doesn't exist" +time="2024-03-26T15:09:41+14:00" level=error msg="JsonExtractSlice : key foo does not exist" --- PASS: TestJsonExtractSlice (0.00s) --- PASS: TestJsonExtractSlice/try_to_extract_a_string_as_a_slice (0.00s) --- PASS: TestJsonExtractSlice/basic_json_slice_extract (0.00s) --- PASS: TestJsonExtractSlice/extract_with_complex_expression (0.00s) --- PASS: TestJsonExtractSlice/extract_non-existing_key (0.00s) === RUN TestJsonExtractObject -time="2024-03-25T12:53:52-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-03-26T15:09:41+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" === RUN TestJsonExtractObject/try_to_extract_a_string_as_an_object -time="2024-03-25T12:53:52-12:00" level=error msg="jsonExtractType : expected type object for target test but found string" -time="2024-03-25T12:53:52-12:00" level=error msg="JsonExtractObject: jsonExtractType: expected type object for target test but found string" +time="2024-03-26T15:09:41+14:00" level=error msg="jsonExtractType : expected type object for target test but found string" +time="2024-03-26T15:09:41+14:00" level=error msg="JsonExtractObject: jsonExtractType: expected type object for target test but found string" === RUN TestJsonExtractObject/basic_json_object_extract === RUN TestJsonExtractObject/extract_with_complex_expression --- PASS: TestJsonExtractObject (0.00s) @@ -5106,8 +5083,8 @@ === RUN TestToJson/convert_struct === RUN TestToJson/convert_complex_struct === RUN TestToJson/convert_invalid_type -time="2024-03-25T12:53:52-12:00" level=error msg="ToJson : json: unsupported type: func()" ---- PASS: TestToJson (0.01s) +time="2024-03-26T15:09:41+14:00" level=error msg="ToJson : json: unsupported type: func()" +--- PASS: TestToJson (0.00s) --- PASS: TestToJson/convert_int (0.00s) --- PASS: TestToJson/convert_slice (0.00s) --- PASS: TestToJson/convert_map (0.00s) @@ -5115,889 +5092,888 @@ --- PASS: TestToJson/convert_complex_struct (0.00s) --- PASS: TestToJson/convert_invalid_type (0.00s) === RUN TestXMLGetAttributeValue -2024/03/25 12:53:52 test 'XMLGetAttributeValue' : OK -time="2024-03-25T12:53:52-12:00" level=debug msg="Could not find attribute asdasd" -2024/03/25 12:53:52 test 'Non existing attribute for XMLGetAttributeValue' : OK -time="2024-03-25T12:53:52-12:00" level=debug msg="Could not find element /foo/bar" -2024/03/25 12:53:52 test 'Non existing path for XMLGetAttributeValue' : OK -2024/03/25 12:53:52 test 'Invalid XML for XMLGetAttributeValue' : OK -time="2024-03-25T12:53:52-12:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." -2024/03/25 12:53:52 test 'Invalid path for XMLGetAttributeValue' : OK +2024/03/26 15:09:41 test 'XMLGetAttributeValue' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="Could not find attribute asdasd" +2024/03/26 15:09:41 test 'Non existing attribute for XMLGetAttributeValue' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="Could not find element /foo/bar" +2024/03/26 15:09:41 test 'Non existing path for XMLGetAttributeValue' : OK +2024/03/26 15:09:41 test 'Invalid XML for XMLGetAttributeValue' : OK +time="2024-03-26T15:09:41+14:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." +2024/03/26 15:09:41 test 'Invalid path for XMLGetAttributeValue' : OK --- PASS: TestXMLGetAttributeValue (0.00s) === RUN TestXMLGetNodeValue -2024/03/25 12:53:52 test 'XMLGetNodeValue' : OK -time="2024-03-25T12:53:52-12:00" level=debug msg="Could not find element /foo/bar" -2024/03/25 12:53:52 test 'Non existing path for XMLGetNodeValue' : OK -2024/03/25 12:53:52 test 'Invalid XML for XMLGetNodeValue' : OK -time="2024-03-25T12:53:52-12:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." -2024/03/25 12:53:52 test 'Invalid path for XMLGetNodeValue' : OK ---- PASS: TestXMLGetNodeValue (0.01s) +2024/03/26 15:09:41 test 'XMLGetNodeValue' : OK +time="2024-03-26T15:09:41+14:00" level=debug msg="Could not find element /foo/bar" +2024/03/26 15:09:41 test 'Non existing path for XMLGetNodeValue' : OK +2024/03/26 15:09:41 test 'Invalid XML for XMLGetNodeValue' : OK +time="2024-03-26T15:09:41+14:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." +2024/03/26 15:09:41 test 'Invalid path for XMLGetNodeValue' : OK +--- PASS: TestXMLGetNodeValue (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.354s +ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.122s === RUN TestCheckPathNotContained --- PASS: TestCheckPathNotContained (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/hubtest 0.137s +ok github.com/crowdsecurity/crowdsec/pkg/hubtest 0.048s === RUN TestBucket -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/leaky-fixedqueue" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/leaky-scope-range-expression" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/overflow-with-meta" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/overflow-with-meta-and-information" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-counter" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-counter-bh" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-counter-timeout" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-blackhole" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-cancel_on" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-overflow" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-underflow" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq-cachesize" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-trigger" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-trigger-external-data" -time="2024-03-25T12:53:52-12:00" level=info msg="Running test on ./tests/simple-trigger-reprocess" -time="2024-03-25T12:53:52-12:00" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" level=error msg="scenario test/leaky-scope-range-expression (tests/leaky-scope-range-expression/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=error msg="scenario test/simple-leaky-cancel (tests/simple-leaky-cancel_on/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding counter bucket" cfg=spring-bird file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 2 scenarios" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Restored 1 buckets from dump" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq-cachesize/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding counter bucket" cfg=black-morning file=tests/simple-counter/bucket.yaml name=test/simple-counter -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=info msg="Adding trigger bucket" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 2 scenarios" -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=info msg="Adding counter bucket" cfg=cold-glade file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" 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="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=throbbing-hill capacity=5 cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=throbbing-hill capacity=5 cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-03-25T12:53:52-12:00" level=info msg="Adding leaky bucket" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=lively-breeze capacity=0 cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=lively-breeze capacity=0 cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=11) \"192.168.1.1\"\n }\n}\n" -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=lively-breeze capacity=0 cfg=autumn-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wispy-cherry capacity=1 cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=wispy-cherry capacity=1 cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=dawn-frost capacity=2 cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=empty-sunset capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=dawn-frost capacity=2 cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=empty-sunset capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=empty-sunset capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=winter-frost capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=winter-frost capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=winter-frost capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Uniq(baa) : ok" bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"specvalue\": (string) (len=1) \"1\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=withered-surf capacity=1 cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=withered-surf capacity=1 cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=snowy-flower capacity=0 cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Overflow.Alert = ''" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" 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=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Overflow.Alert.Scenario = ''" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=snowy-flower capacity=0 cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=snowy-flower capacity=0 cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=empty-waterfall capacity=1 cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=empty-waterfall capacity=1 cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=spring-butterfly capacity=0 cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=spring-butterfly capacity=0 cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=spring-butterfly capacity=0 cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg="reset_filter didn't match" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=little-thunder capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=little-thunder capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=little-thunder capacity=0 cfg=little-cherry file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=11) \"192.168.1.1\"\n }\n}\n" -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=cold-glade capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=cold-glade capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=late-firefly capacity=1 cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:52-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=late-firefly capacity=1 cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=wispy-cherry capacity=1 cfg=billowing-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-03-25T12:53:52-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:52-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="eval variables:" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Creating TimeMachine bucket" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=falling-grass capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:52-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:52-12:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=falling-grass capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:52-12:00" level=info msg="Bucket overflow" bucket_id=falling-grass capacity=0 cfg=lingering-voice file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"specvalue\": (string) (len=1) \"2\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=empty-waterfall capacity=1 cfg=empty-voice file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=withered-surf capacity=1 cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-03-25T12:53:53-12:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=withered-surf capacity=1 cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-03-25T12:53:53-12:00" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=withered-surf capacity=1 cfg=still-brook file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:53-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=frosty-field file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-03-25T12:53:53-12:00" level=warning msg="Event wasn't poured" -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aab\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"42\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.random_value = '42'" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="reset_filter matched, kill bucket" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="Suicide triggered" bucket_id=billowing-resonance capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 +0000" bucket_id=cold-glade capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=cold-glade capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=late-firefly capacity=1 cfg=twilight-sky file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"foobar2\",\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 +0000" bucket_id=little-voice capacity=1 cfg=proud-sunset file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(bab) : ok" bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 +0000" bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aac\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="reset_filter didn't match" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=small-star capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aac) : ok" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=cool-haze capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 +0000" bucket_id=cool-haze capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aaa\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="reset_filter didn't match" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=5) \"entry\": (string) (len=1) \"4\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 +0000" bucket_id=cool-haze capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=cool-haze capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=cool-haze capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="reset_filter didn't match" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:00 +0000 +0000" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=wandering-dream capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aaa\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=5) \"entry\": (string) (len=1) \"5\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=weathered-rain capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 +0000" bucket_id=weathered-rain capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=throbbing-hill capacity=5 cfg=dawn-breeze file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="reset_filter didn't match" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=dawn-lake capacity=1 cfg=still-grass file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:03+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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=spring-shadow capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 +0000" bucket_id=weathered-rain capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=weathered-rain capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 +0000)" bucket_id=weathered-rain capacity=1 cfg=dry-hill file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:03+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.5\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating TimeMachine bucket" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket 53e77e47cfe0d5f868527c944c9f79909fef8ac1" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:03 +0000 +0000" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=8) \"uniq_key\": (string) (len=3) \"aac\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aac) : ok" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aac\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aac) : ko, discard event" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aad\"\n }\n}\n" -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-03-25T12:53:53-12:00" level=warning msg="Done pouring !" -time="2024-03-25T12:53:53-12:00" level=debug msg="Uniq(aad) : ok" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:06 +0000 +0000" bucket_id=wandering-voice capacity=3 cfg=old-star file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:53-12:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=damp-snow capacity=-1 cfg=spring-bird file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-03-25T12:53:53-12:00" level=info msg="Timed Overflow" bucket_id=damp-snow capacity=-1 cfg=spring-bird file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-03-25T12:53:53-12:00" level=info msg="Timed Overflow" bucket_id=broken-frog capacity=-1 cfg=black-morning file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=error msg="Overflow being reprocessed." -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Line.Labels.type = ''" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:53-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=rough-dawn file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-03-25T12:53:53-12:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg="eval variables:" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Overflow.Alert = '&{0x32014f4 [] [0x2d90350] 0x32014f8 0 [] 0x2ee72f8 0x2ee7310 [] false 0x2d0ca28 0x2d0cb20 0x2d0cb28 0x2d0caa1 0x309ad40 0x2ee7300 0x2ee7308}'" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg=" evt.Overflow.Alert.Scenario = '0x2d0ca28'" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg="Creating Live bucket" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=billowing-wildflower capacity=0 cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2024-03-25T12:53:53-12:00" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:53-12:00" level=info msg="Bucket overflow" bucket_id=billowing-wildflower capacity=0 cfg=divine-sound file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:53-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:53-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=debug msg="bucket underflow, destroy" bucket_id=dawn-frost capacity=2 cfg=long-river file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="got one result" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:54-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:55-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:55-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:55-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:55-12:00" 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)(0x2d0d64c)((len=2) \"Ip\"),\n Value: (*string)(0x2d93a98)((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)(0x3070a08)((len=2) \"Ip\"),\n Value: (*string)(0x3070a10)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:55-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:55-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:55-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:55-12:00" level=warning msg="no more results" -time="2024-03-25T12:53:55-12:00" level=warning msg="Got 2 overflows from run" -time="2024-03-25T12:53:55-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-03-25T12:53:55-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:55-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:55-12:00" 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)(0x307dd0c)((len=2) \"Ip\"),\n Value: (*string)(0x2e25218)((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)(0x318ea88)((len=2) \"Ip\"),\n Value: (*string)(0x318ea90)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:55-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:55-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:55-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:55-12:00" 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)(0x2d0d9ac)((len=2) \"Ip\"),\n Value: (*string)(0x309be98)((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)(0x318eaa8)((len=2) \"Ip\"),\n Value: (*string)(0x318eab0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:55-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:55-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:55-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 2 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:56-12:00" 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)(0x30e244c)((len=2) \"Ip\"),\n Value: (*string)(0x2e0c358)((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)(0x318f1c8)((len=2) \"Ip\"),\n Value: (*string)(0x318f1d0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:56-12:00" 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)(0x2d0dd0c)((len=2) \"Ip\"),\n Value: (*string)(0x3078c18)((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)(0x318f1f0)((len=2) \"Ip\"),\n Value: (*string)(0x318f1f8)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/leaky-scope-range-expression == test/leaky-scope-range-expression" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=14) \"192.168.0.0/16\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=11) \"192.168.1.1\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x31059ac)((len=5) \"Range\"),\n Value: (*string)(0x2db0418)((len=14) \"192.168.0.0/16\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=14) \"192.168.0.0/16\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=11) \"192.168.1.1\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x311aaa0)((len=5) \"Range\"),\n Value: (*string)(0x311aaa8)((len=14) \"192.168.0.0/16\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-counter == test/simple-counter" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x2d0c44c)((len=2) \"Ip\"),\n Value: (*string)(0x3078f58)((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)(0x2f92780)((len=2) \"Ip\"),\n Value: (*string)(0x2f92788)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 2 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="Here ?" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/filter-ok == test/filter-ok" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x308564c)((len=2) \"Ip\"),\n Value: (*string)(0x3079718)((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)(0x3099c38)((len=2) \"Ip\"),\n Value: (*string)(0x3099c40)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:56-12:00" 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)(0x3085acc)((len=2) \"Ip\"),\n Value: (*string)(0x2e23a18)((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)(0x2f92960)((len=2) \"Ip\"),\n Value: (*string)(0x2f92968)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 0 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x318256c)((len=2) \"Ip\"),\n Value: (*string)(0x3079dd8)((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)(0x2ee6248)((len=2) \"Ip\"),\n Value: (*string)(0x2ee6250)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x2d0c7ac)((len=2) \"Ip\"),\n Value: (*string)(0x2e0ce58)((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)(0x311b6b8)((len=2) \"Ip\"),\n Value: (*string)(0x311b6c0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 4 == 4" -time="2024-03-25T12:53:56-12:00" 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)(0x310540c)((len=2) \"Ip\"),\n Value: (*string)(0x3113418)((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)(0x3099cd8)((len=2) \"Ip\"),\n Value: (*string)(0x3099ce0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 +0000" -time="2024-03-25T12:53:56-12:00" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 +0000." bucket_id=proud-snow capacity=3 cfg=twilight-resonance file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-03-25T12:53:56-12:00" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-1908206670" -time="2024-03-25T12:53:56-12:00" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-1908206670" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 6 == 6" -time="2024-03-25T12:53:56-12:00" 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)(0x2f8456c)((len=2) \"Ip\"),\n Value: (*string)(0x2e04858)((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)(0x3098770)((len=2) \"Ip\"),\n Value: (*string)(0x3098778)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 2 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky-cancel == test/simple-leaky-cancel" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"2.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"2.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x3104b0c)((len=2) \"Ip\"),\n Value: (*string)(0x31abdd8)((len=7) \"2.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"2.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"2.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x3099bb0)((len=2) \"Ip\"),\n Value: (*string)(0x3099bb8)((len=7) \"2.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 3 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="3 results to check against 3 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x310432c)((len=2) \"Ip\"),\n Value: (*string)(0x3112918)((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)(0x2ee6c18)((len=2) \"Ip\"),\n Value: (*string)(0x2ee6c20)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-03-25T12:53:56-12:00" 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)(0x30e2c2c)((len=2) \"Ip\"),\n Value: (*string)(0x2e05418)((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)(0x2ee6c38)((len=2) \"Ip\"),\n Value: (*string)(0x2ee6c40)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 4 == 4" -time="2024-03-25T12:53:56-12:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.5\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.5\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x30e30ac)((len=2) \"Ip\"),\n Value: (*string)(0x2e2ab98)((len=7) \"1.2.3.5\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.5\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.5\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x3136070)((len=2) \"Ip\"),\n Value: (*string)(0x3136078)((len=7) \"1.2.3.5\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 1 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" -time="2024-03-25T12:53:56-12:00" level=warning msg="Got 2 overflows from run" -time="2024-03-25T12:53:56-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:56-12:00" 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)(0x2d0cb0c)((len=2) \"Ip\"),\n Value: (*string)(0x309ad18)((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)(0x301e1d8)((len=2) \"Ip\"),\n Value: (*string)(0x301e1e0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" -time="2024-03-25T12:53:56-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-03-25T12:53:56-12:00" 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)(0x2d0cb0c)((len=2) \"Ip\"),\n Value: (*string)(0x309ad18)((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)(0x301e1f8)((len=2) \"Ip\"),\n Value: (*string)(0x301e200)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-03-25T12:53:56-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-03-25T12:53:56-12:00" level=warning msg="entry valid at end of loop" -time="2024-03-25T12:53:56-12:00" level=warning msg="Test is successful" ---- PASS: TestBucket (4.22s) +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/leaky-fixedqueue" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/leaky-scope-range-expression" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/overflow-with-meta" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/overflow-with-meta-and-information" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-counter" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-counter-bh" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-counter-timeout" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-blackhole" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-cancel_on" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-overflow" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-underflow" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq-cachesize" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-trigger" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-trigger-external-data" +time="2024-03-26T15:09:41+14:00" level=info msg="Running test on ./tests/simple-trigger-reprocess" +time="2024-03-26T15:09:41+14:00" level=error msg="scenario test/leaky-scope-range-expression (tests/leaky-scope-range-expression/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=error msg="scenario test/simple-leaky-cancel (tests/simple-leaky-cancel_on/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding counter bucket" cfg=nameless-lake file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding trigger bucket" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 2 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding counter bucket" cfg=winter-moon file=tests/simple-counter/bucket.yaml name=test/simple-counter +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 2 scenarios" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq-cachesize/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" +time="2024-03-26T15:09:41+14:00" level=info msg="Adding leaky bucket" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=info msg="Restored 1 buckets from dump" +time="2024-03-26T15:09:41+14:00" 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="2024-03-26T15:09:41+14:00" level=info msg="Adding counter bucket" cfg=dark-frost file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=11) \"192.168.1.1\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=sparkling-surf capacity=1 cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=muddy-water capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=muddy-water capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=muddy-water capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=sparkling-surf capacity=1 cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=weathered-haze capacity=5 cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=weathered-haze capacity=5 cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter didn't match" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=weathered-cloud capacity=0 cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=weathered-cloud capacity=0 cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=throbbing-haze capacity=0 cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=throbbing-haze capacity=0 cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=throbbing-haze capacity=0 cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=weathered-cloud capacity=0 cfg=green-waterfall file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=long-river capacity=2 cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=long-river capacity=2 cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=billowing-tree capacity=1 cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=billowing-tree capacity=1 cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=aged-water capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=aged-water capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=aged-water capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=spring-breeze capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=spring-breeze capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=white-wildflower capacity=1 cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=white-wildflower capacity=1 cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=patient-star capacity=0 cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 +0000 --> 2020-01-01T10:00:00+00:00" bucket_id=patient-star capacity=0 cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=patient-star capacity=0 cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Overflow.Alert = ''" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" 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=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Overflow.Alert.Scenario = ''" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=misty-glade capacity=1 cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-03-26T15:09:41+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=misty-glade capacity=1 cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=8) \"uniq_key\": (string) (len=3) \"baa\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(baa) : ok" bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=11) \"192.168.1.1\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=withered-sky capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=withered-sky capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=withered-sky capacity=0 cfg=dawn-water file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=sparkling-surf capacity=1 cfg=green-waterfall file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=purple-dawn file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Event wasn't poured" +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"42\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '42'" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter matched, kill bucket" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="Suicide triggered" bucket_id=solitary-resonance capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=purple-darkness capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="yay timemachine overflow time : 2020-01-01 10:00:00 +0000 UTC --> 2020-01-01T10:00:00.000Z" bucket_id=purple-darkness capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=billowing-tree capacity=1 cfg=ancient-forest file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=info msg="Bucket overflow" bucket_id=purple-darkness capacity=0 cfg=dawn-hill file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 +0000" bucket_id=spring-breeze capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=spring-breeze capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aab\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=white-wildflower capacity=1 cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=white-wildflower capacity=1 cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=white-wildflower capacity=1 cfg=black-dawn file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=misty-glade capacity=1 cfg=cold-meadow file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter didn't match" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=delicate-wind capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=lively-surf capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 +0000" bucket_id=lively-surf capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aac\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aac) : ok" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=8) \"uniq_key\": (string) (len=3) \"bab\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(bab) : ok" bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 +0000" bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 +0000" bucket_id=late-water capacity=1 cfg=bitter-dew file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter didn't match" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 +0000" bucket_id=lively-surf capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=lively-surf capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=lively-surf capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aaa\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter didn't match" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:00 +0000 +0000" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=cool-moon capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=5) \"entry\": (string) (len=1) \"5\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=muddy-wildflower capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 +0000" bucket_id=muddy-wildflower capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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) \"aaa\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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=6) \"foobar\",\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=weathered-haze capacity=5 cfg=red-water file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"random_value\": (string) (len=2) \"41\"\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 StrTimeFormat: (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) \"2.2.3.4\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="reset_filter didn't match" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=rough-sea capacity=1 cfg=bitter-snowflake file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:41+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 +0000" bucket_id=muddy-wildflower capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=muddy-wildflower capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 +0000)" bucket_id=muddy-wildflower capacity=1 cfg=spring-water file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:03+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="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=wispy-hill capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:03+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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Creating TimeMachine bucket" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:41+14:00" level=debug msg="Created new bucket 53e77e47cfe0d5f868527c944c9f79909fef8ac1" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:41+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:03 +0000 +0000" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:41+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" +time="2024-03-26T15:09:41+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:41+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aac\"\n }\n}\n" +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="Uniq(aac) : ok" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+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.5\"\n }\n}\n" +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aac\"\n }\n}\n" +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="Uniq(aac) : ko, discard event" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" 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 Module: (string) \"\"\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 StrTimeFormat: (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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aad\"\n }\n}\n" +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-03-26T15:09:42+14:00" level=warning msg="Done pouring !" +time="2024-03-26T15:09:42+14:00" level=debug msg="Uniq(aad) : ok" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:06 +0000 +0000" bucket_id=proud-leaf capacity=3 cfg=broken-dust file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=falling-hill capacity=-1 cfg=nameless-lake file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-03-26T15:09:42+14:00" level=info msg="Timed Overflow" bucket_id=falling-hill capacity=-1 cfg=nameless-lake file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=error msg="Overflow being reprocessed." +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Line.Labels.type = ''" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:42+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=green-rain file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-03-26T15:09:42+14:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=info msg="Timed Overflow" bucket_id=late-fire capacity=-1 cfg=winter-moon file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de +time="2024-03-26T15:09:42+14:00" level=debug msg="eval variables:" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Overflow.Alert = '&{0x30ee3e8 [] [0x304d320] 0x30ee3ec 0 [] 0x30c54e8 0x30c5500 [] false 0x30e6488 0x30e6580 0x30e6588 0x30e6501 0x2e2dc40 0x30c54f0 0x30c54f8}'" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=debug msg=" evt.Overflow.Alert.Scenario = '0x30e6488'" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=debug msg="Creating Live bucket" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=small-bush capacity=0 cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2024-03-26T15:09:42+14:00" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=info msg="Bucket overflow" bucket_id=small-bush capacity=0 cfg=patient-resonance file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:42+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=debug msg="bucket underflow, destroy" bucket_id=long-river capacity=2 cfg=late-bush file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:43+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="got one result" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:43+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:44+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x2d06c2c)((len=2) \"Ip\"),\n Value: (*string)(0x2e32498)((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)(0x3049930)((len=2) \"Ip\"),\n Value: (*string)(0x3049938)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:44+14:00" level=warning msg="no more results" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 2 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x312df4c)((len=2) \"Ip\"),\n Value: (*string)(0x2cf1018)((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)(0x2d3cdd8)((len=2) \"Ip\"),\n Value: (*string)(0x2d3cde0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x2d85bec)((len=2) \"Ip\"),\n Value: (*string)(0x2e4f058)((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)(0x2d3cdf8)((len=2) \"Ip\"),\n Value: (*string)(0x2d3ce00)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/leaky-scope-range-expression == test/leaky-scope-range-expression" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=14) \"192.168.0.0/16\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=11) \"192.168.1.1\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2d0656c)((len=5) \"Range\"),\n Value: (*string)(0x30c5ce0)((len=14) \"192.168.0.0/16\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=14) \"192.168.0.0/16\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=11) \"192.168.1.1\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2d3ce88)((len=5) \"Range\"),\n Value: (*string)(0x2d3ce90)((len=14) \"192.168.0.0/16\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x2d8540c)((len=2) \"Ip\"),\n Value: (*string)(0x2e323d8)((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)(0x30490e8)((len=2) \"Ip\"),\n Value: (*string)(0x30490f0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 2 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x2d0740c)((len=2) \"Ip\"),\n Value: (*string)(0x2e2ca18)((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)(0x31091d8)((len=2) \"Ip\"),\n Value: (*string)(0x31091e0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:44+14:00" 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)(0x30e6e6c)((len=2) \"Ip\"),\n Value: (*string)(0x2e6a458)((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)(0x3109200)((len=2) \"Ip\"),\n Value: (*string)(0x3109208)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" 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)(0x2fb1e2c)((len=2) \"Ip\"),\n Value: (*string)(0x2e56858)((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)(0x2d3de80)((len=2) \"Ip\"),\n Value: (*string)(0x2d3de88)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-counter == test/simple-counter" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" 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)(0x2f7856c)((len=2) \"Ip\"),\n Value: (*string)(0x2e57a58)((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)(0x2e020c8)((len=2) \"Ip\"),\n Value: (*string)(0x2e020d0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 2 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/filter-ok == test/filter-ok" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" 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)(0x2f788cc)((len=2) \"Ip\"),\n Value: (*string)(0x2e420d8)((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)(0x2e02148)((len=2) \"Ip\"),\n Value: (*string)(0x2e02150)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 0 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" 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)(0x30e6b0c)((len=2) \"Ip\"),\n Value: (*string)(0x2e6a598)((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)(0x2ec7928)((len=2) \"Ip\"),\n Value: (*string)(0x2ec7930)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 4 == 4" +time="2024-03-26T15:09:44+14:00" 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)(0x2d0620c)((len=2) \"Ip\"),\n Value: (*string)(0x2e57558)((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)(0x30c42c0)((len=2) \"Ip\"),\n Value: (*string)(0x30c42c8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 +0000" +time="2024-03-26T15:09:44+14:00" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 +0000." bucket_id=rough-sun capacity=3 cfg=patient-wood file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-03-26T15:09:44+14:00" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-413988973" +time="2024-03-26T15:09:44+14:00" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-413988973" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 6 == 6" +time="2024-03-26T15:09:44+14:00" 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)(0x2d068cc)((len=2) \"Ip\"),\n Value: (*string)(0x2fcd998)((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)(0x2f9d990)((len=2) \"Ip\"),\n Value: (*string)(0x2f9d998)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 2 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky-cancel == test/simple-leaky-cancel" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"2.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"2.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2f792ec)((len=2) \"Ip\"),\n Value: (*string)(0x2e6af98)((len=7) \"2.2.3.4\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"2.2.3.4\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"2.2.3.4\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2f9ca18)((len=2) \"Ip\"),\n Value: (*string)(0x2f9ca20)((len=7) \"2.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:44+14:00" level=warning msg="Got 3 overflows from run" +time="2024-03-26T15:09:44+14:00" level=warning msg="3 results to check against 3 expected results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" 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)(0x30e632c)((len=2) \"Ip\"),\n Value: (*string)(0x2e6a858)((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)(0x3108da0)((len=2) \"Ip\"),\n Value: (*string)(0x3108da8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:44+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-03-26T15:09:44+14:00" 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)(0x2f7964c)((len=2) \"Ip\"),\n Value: (*string)(0x2e6bb98)((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)(0x3108dc0)((len=2) \"Ip\"),\n Value: (*string)(0x3108dc8)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:44+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:44+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:45+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:45+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:45+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-03-26T15:09:45+14:00" level=info msg="(EventsCount) 4 == 4" +time="2024-03-26T15:09:45+14:00" level=info msg="(Sources: (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.5\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.5\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2f799ac)((len=2) \"Ip\"),\n Value: (*string)(0x2d3be18)((len=7) \"1.2.3.5\")\n }\n}\n == (map[string]models.Source) (len=1) {\n (string) (len=7) \"1.2.3.5\": (models.Source) {\n AsName: (string) \"\",\n AsNumber: (string) \"\",\n Cn: (string) \"\",\n IP: (string) (len=7) \"1.2.3.5\",\n Latitude: (float32) 0,\n Longitude: (float32) 0,\n Range: (string) \"\",\n Scope: (*string)(0x2c418c8)((len=2) \"Ip\"),\n Value: (*string)(0x2c418d0)((len=7) \"1.2.3.5\")\n }\n}\n)" +time="2024-03-26T15:09:45+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:45+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:45+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:45+14:00" level=warning msg="Got 1 overflows from run" +time="2024-03-26T15:09:45+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-03-26T15:09:45+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:45+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:45+14:00" level=warning msg="Test is successful" +time="2024-03-26T15:09:45+14:00" level=warning msg="Got 2 overflows from run" +time="2024-03-26T15:09:45+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-03-26T15:09:45+14:00" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" +time="2024-03-26T15:09:45+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:45+14:00" 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)(0x30e656c)((len=2) \"Ip\"),\n Value: (*string)(0x2e2dc18)((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)(0x2d94738)((len=2) \"Ip\"),\n Value: (*string)(0x2d94740)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:45+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:45+14:00" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" +time="2024-03-26T15:09:45+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-03-26T15:09:45+14:00" 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)(0x30e656c)((len=2) \"Ip\"),\n Value: (*string)(0x2e2dc18)((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)(0x2d94758)((len=2) \"Ip\"),\n Value: (*string)(0x2d94760)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-03-26T15:09:45+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-03-26T15:09:45+14:00" level=warning msg="entry valid at end of loop" +time="2024-03-26T15:09:45+14:00" level=warning msg="Test is successful" +--- PASS: TestBucket (4.12s) === RUN TestBadBucketsConfig -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name= -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name= +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test --- PASS: TestBadBucketsConfig (0.00s) === RUN TestLeakyBucketsConfig -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" 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.01s) +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" 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="2024-03-25T12:53:56-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test --- PASS: TestBlackholeConfig (0.00s) === RUN TestTriggerBucketsConfig -time="2024-03-25T12:53:56-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test --- PASS: TestTriggerBucketsConfig (0.00s) === RUN TestCounterBucketsConfig -time="2024-03-25T12:53:56-12:00" level=info msg="Adding counter bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding counter bucket" cfg= file= name=test -time="2024-03-25T12:53:56-12:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-03-26T15:09:45+14:00" level=info msg="Adding counter bucket" cfg= file= name=test --- PASS: TestCounterBucketsConfig (0.00s) === RUN TestGCandDump -time="2024-03-25T12:53:56-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast -time="2024-03-25T12:53:56-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:56-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:56-12:00" level=info msg="Pouring to bucket" -time="2024-03-25T12:53:56-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast -time="2024-03-25T12:53:56-12:00" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=blue-sun capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-03-25T12:53:56-12:00" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2024-03-25T12:53:57-12:00" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast -time="2024-03-25T12:53:57-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:57-12:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=silent-dew capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-03-25T12:53:57-12:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:57-12:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:57-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:57-12:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=broken-bush capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-03-25T12:53:57-12:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:57-12:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:57-12:00" 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="2024-03-25T12:53:57-12:00" level=debug msg="Adding overflow to blackhole (2024-03-26 00:53:57.002447317 +0000 UTC)" bucket_id=blue-sun capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-03-25T12:53:57-12:00" level=info msg="Timed Overflow" bucket_id=blue-sun capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-03-25T12:53:59-12:00" level=info msg="Bucket GC" -time="2024-03-25T12:53:59-12:00" level=debug msg="overflowed at 2024-03-26 00:53:57.504310765 +0000 UTC." bucket_id=blue-sun capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-03-25T12:53:59-12:00" level=debug msg="UNDERFLOW : first_ts:2024-03-26 00:53:57.011234971 +0000 UTC tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=silent-dew capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-03-25T12:53:59-12:00" level=info msg="Cleaned 2 buckets" -time="2024-03-25T12:53:59-12:00" level=info msg="Dumping buckets state" -time="2024-03-25T12:53:59-12:00" level=info msg="Dumping buckets state at 2024-03-26 00:53:59.014861544 +0000 UTC" -time="2024-03-25T12:53:59-12:00" level=debug msg="(2024-03-26 00:53:57.011167887 +0000 UTC) not dead, count:4.000000 capacity:5.000000" bucket_id=broken-bush capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-03-25T12:53:59-12:00" level=info msg="Serialized 1 live buckets (+0 expired) in 1689 bytes to /tmp/crowdsec-buckets-dump-320389026" ---- PASS: TestGCandDump (2.02s) +time="2024-03-26T15:09:45+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast +time="2024-03-26T15:09:45+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:45+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:45+14:00" level=info msg="Pouring to bucket" +time="2024-03-26T15:09:45+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast +time="2024-03-26T15:09:45+14:00" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=little-breeze capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-03-26T15:09:45+14:00" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2024-03-26T15:09:45+14:00" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast +time="2024-03-26T15:09:45+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:45+14:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=morning-brook capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-03-26T15:09:45+14:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:45+14:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:45+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:45+14:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=damp-water capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-03-26T15:09:45+14:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:45+14:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:46+14:00" 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="2024-03-26T15:09:46+14:00" level=debug msg="Adding overflow to blackhole (2024-03-26 01:09:45.635022425 +0000 UTC)" bucket_id=little-breeze capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-03-26T15:09:46+14:00" level=info msg="Timed Overflow" bucket_id=little-breeze capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-03-26T15:09:47+14:00" level=info msg="Bucket GC" +time="2024-03-26T15:09:47+14:00" level=debug msg="UNDERFLOW : first_ts:2024-03-26 01:09:45.63529668 +0000 UTC tokens_at:2147483647.000000 capcity:-1.000000" bucket_id=morning-brook capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-03-26T15:09:47+14:00" level=debug msg="overflowed at 2024-03-26 01:09:46.135888035 +0000 UTC." bucket_id=little-breeze capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-03-26T15:09:47+14:00" level=info msg="Cleaned 2 buckets" +time="2024-03-26T15:09:47+14:00" level=info msg="Dumping buckets state" +time="2024-03-26T15:09:47+14:00" level=info msg="Dumping buckets state at 2024-03-26 01:09:47.636351964 +0000 UTC" +time="2024-03-26T15:09:47+14:00" level=debug msg="(2024-03-26 01:09:45.635533517 +0000 UTC) not dead, count:4.000000 capacity:5.000000" bucket_id=damp-water capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-03-26T15:09:47+14:00" level=info msg="Serialized 1 live buckets (+0 expired) in 1690 bytes to /tmp/crowdsec-buckets-dump-403489699" +--- PASS: TestGCandDump (2.00s) === RUN TestShutdownBuckets -time="2024-03-25T12:53:59-12:00" level=debug msg="Bucket externally killed, return" bucket_id=silent-dew capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-03-25T12:53:59-12:00" level=debug msg="Bucket externally killed, return" bucket_id=broken-bush capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-03-25T12:53:59-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:59-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:59-12:00" level=info msg="Pouring to bucket" -time="2024-03-25T12:53:59-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:59-12:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=damp-frost capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-03-25T12:53:59-12:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:59-12:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2024-03-25T12:53:59-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:59-12:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=floral-resonance capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-03-25T12:53:59-12:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2024-03-25T12:53:59-12:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2024-03-25T12:54:00-12:00" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" -time="2024-03-25T12:54:00-12:00" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" -time="2024-03-25T12:54:00-12:00" level=debug msg="Bucket externally killed, return" bucket_id=damp-frost capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-03-25T12:54:00-12:00" level=debug msg="Bucket externally killed, return" bucket_id=floral-resonance capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 ---- PASS: TestShutdownBuckets (3.02s) +time="2024-03-26T15:09:47+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="Bucket externally killed, return" bucket_id=damp-water capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-03-26T15:09:47+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:47+14:00" level=info msg="Pouring to bucket" +time="2024-03-26T15:09:47+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="Bucket externally killed, return" bucket_id=morning-brook capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-03-26T15:09:47+14:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=twilight-water capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-03-26T15:09:47+14:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=weathered-night capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-03-26T15:09:47+14:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:47+14:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2024-03-26T15:09:48+14:00" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" +time="2024-03-26T15:09:48+14:00" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" +time="2024-03-26T15:09:48+14:00" level=debug msg="Bucket externally killed, return" bucket_id=weathered-night capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-03-26T15:09:48+14:00" level=debug msg="Bucket externally killed, return" bucket_id=twilight-water capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +--- PASS: TestShutdownBuckets (3.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 9.481s +ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 9.179s === RUN TestDateParse === RUN TestDateParse/RFC3339 === RUN TestDateParse/02/Jan/2006:15:04:05_-0700 @@ -6007,466 +5983,466 @@ --- PASS: TestDateParse/02/Jan/2006:15:04:05_-0700 (0.00s) --- PASS: TestDateParse/Dec_17_08:17:43 (0.00s) === RUN TestParserConfigs -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=nameless-field -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=divine-butterfly -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=small-frog -time="2024-03-25T12:54:14-12:00" level=error msg="Node is empty or invalid, abort" id=small-frog name= stage=s00 -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=muddy-firefly -time="2024-03-25T12:54:14-12:00" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=muddy-firefly name= stage=s00 -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=broken-resonance -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=rough-paper -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=long-dew -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=twilight-surf -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=little-leaf -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=proud-snowflake -time="2024-03-25T12:54:14-12:00" level=info msg=" has debug enabled" id=dry-waterfall -time="2024-03-25T12:54:14-12:00" level=error msg="Unable to compile subpattern SUBGROKBIS : the 'MYGROKBIS' pattern doesn't exist" id=dry-waterfall name= stage=s00 ---- PASS: TestParserConfigs (6.65s) +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=billowing-dream +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=wild-sky +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=dry-flower +time="2024-03-26T15:09:48+14:00" level=error msg="Node is empty or invalid, abort" id=dry-flower name= stage=s00 +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=hidden-field +time="2024-03-26T15:09:48+14:00" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=hidden-field name= stage=s00 +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=hidden-wildflower +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=small-thunder +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=aged-flower +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=fragrant-night +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=summer-thunder +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=divine-meadow +time="2024-03-26T15:09:48+14:00" level=info msg=" has debug enabled" id=little-breeze +time="2024-03-26T15:09:48+14:00" level=error msg="Unable to compile subpattern SUBGROKBIS : the 'MYGROKBIS' pattern doesn't exist" id=little-breeze name= stage=s00 +--- PASS: TestParserConfigs (1.93s) === RUN TestParser -time="2024-03-25T12:54:14-12:00" level=info msg="Successfully registered enricher 'GeoIpCity'" -time="2024-03-25T12:54:14-12:00" level=info msg="Successfully registered enricher 'GeoIpASN'" -time="2024-03-25T12:54:14-12:00" level=info msg="Successfully registered enricher 'IpToRange'" -time="2024-03-25T12:54:14-12:00" level=info msg="Successfully registered enricher 'reverse_dns'" -time="2024-03-25T12:54:14-12:00" level=info msg="Successfully registered enricher 'ParseDate'" -time="2024-03-25T12:54:14-12:00" level=info msg="Loaded -> {Registered:map[GeoIpASN:0x1e251b8 GeoIpCity:0x1e251a0 IpToRange:0x1e251d0 ParseDate:0x1e25200 reverse_dns:0x1e251e8]}" -time="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-grok" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-grok" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=billowing-water -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=weathered-tree -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=weathered-tree name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=billowing-water name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-grok-expression" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-grok-expression" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=broken-hill -time="2024-03-25T12:54:21-12:00" level=warning msg="grok 'MYCAP1' already registred" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=green-darkness -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-expression/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=green-darkness name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=broken-hill name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-grok-external-data" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-grok-external-data" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=dawn-dew -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=frosty-sun -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[is_it_in_file] = 'true'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=frosty-sun name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[is_it_in_file] = 'false'" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=dawn-dew name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-grok-import" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-grok-import" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=summer-lake -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=young-forest -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['priority'] = '120'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['facility'] = '123'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['facility'] = '123'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['priority'] = '121'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ko" id=young-forest name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ko" id=summer-lake name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 3 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 3 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/3 matches result 0/3" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-grok-no-subnode" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-grok-no-subnode" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=dawn-sun -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=dawn-sun name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-json-extract" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-json-extract" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-json-extract has debug enabled" id=green-snowflake -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=snowy-feather -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=sparkling-butterfly -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 2 nodes from 2 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 5 statics" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[other_field] = 'some stuff'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[program] = 'my_test_prog'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="move Event from stage s00-raw to s01-parse" id=green-snowflake name=tests/base-json-extract stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=sparkling-butterfly name=child-tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=sparkling-butterfly name=child-tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=sparkling-butterfly name=child-tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s01-parse" id=snowy-feather name=tests/base-grok stage=s01-parse -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 1 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 1 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/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 Parsed[extracted_array_field] foo == foo/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" -time="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/base-tree" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/base-tree" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok-root has debug enabled" id=purple-grass -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok-leafs has debug enabled" id=misty-leaf -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=small-night -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=aged-dust -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 2 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[state] = 'root-done'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Meta.state = 'root-done'" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[final_state] = 'leaf1'" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[state] = 'root-done'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=purple-grass name=tests/base-grok-root stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Meta.state = 'root-done'" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ko (failed filter)" id=small-night name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[final_state] = 'leaf2'" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=aged-dust name=child-tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s00-raw" id=misty-leaf name=tests/base-grok-leafs stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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[state_sub] VALUE1 == VALUE1/ok Meta[final_state] leaf1 == leaf1" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/dateparser-enrich" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/dateparser-enrich" -time="2024-03-25T12:54:21-12:00" level=info msg="test/dateparse has debug enabled" id=broken-dew -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.StrTime = '2012/11/01'" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=broken-dew name=test/dateparse stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/geoip-enrich" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/geoip-enrich" -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/multi-stage-grok" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/multi-stage-grok" -time="2024-03-25T12:54:21-12:00" level=info msg="tests/base-grok has debug enabled" id=long-glitter -time="2024-03-25T12:54:21-12:00" level=info msg="child-tests/base-grok has debug enabled" id=bitter-fire -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="tests/second-stage-grok has debug enabled" id=dawn-silence -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 2 nodes from 2 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 2 statics" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[did_second_stage] = 'yes'" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="node reached the last stage : s01-raw" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=bitter-fire name=child-tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=long-glitter name=tests/base-grok stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ko (failed filter)" id=dawn-silence name=tests/second-stage-grok stage=s01-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/reverse-dns-enrich" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/reverse-dns-enrich" -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 2 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 2 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" 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="2024-03-25T12:54:21-12:00" level=info msg="Running test on ./tests/whitelist-base" -time="2024-03-25T12:54:21-12:00" level=warning msg="testing ./tests/whitelist-base" -time="2024-03-25T12:54:21-12:00" level=info msg="test/whitelists has debug enabled" id=polished-mountain -time="2024-03-25T12:54:21-12:00" level=debug msg="adding ip 8.8.8.8 to whitelists" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-03-25T12:54:21-12:00" level=warning msg="Going to process one test set" -time="2024-03-25T12:54:21-12:00" level=debug msg="Event from [8.8.8.8] is whitelisted by IP (8.8.8.8), reason [Whitelist tests]" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[statics] = 'success'" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event from [1.2.3.4] is whitelisted by CIDR (1.2.3.0/24), reason [Whitelist tests]" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[statics] = 'success'" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="eval variables:" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event is whitelisted by expr, reason [Whitelist tests]" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="+ Processing 1 statics" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg=".Meta[statics] = 'success'" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=debug msg="Event leaving node : ok" id=polished-mountain name=test/whitelists stage=s00-raw -time="2024-03-25T12:54:21-12:00" level=info msg="parsed 5 lines" -time="2024-03-25T12:54:21-12:00" level=info msg="got 5 results" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/5 matches result 0/5" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/4 matches result 0/4" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/3 matches result 0/3" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" -time="2024-03-25T12:54:21-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-03-25T12:54:21-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test2 == test2/ok Meta[statics] success == success" ---- PASS: TestParser (6.54s) +time="2024-03-26T15:09:48+14:00" level=info msg="Successfully registered enricher 'GeoIpCity'" +time="2024-03-26T15:09:48+14:00" level=info msg="Successfully registered enricher 'GeoIpASN'" +time="2024-03-26T15:09:48+14:00" level=info msg="Successfully registered enricher 'IpToRange'" +time="2024-03-26T15:09:48+14:00" level=info msg="Successfully registered enricher 'reverse_dns'" +time="2024-03-26T15:09:48+14:00" level=info msg="Successfully registered enricher 'ParseDate'" +time="2024-03-26T15:09:48+14:00" level=info msg="Loaded -> {Registered:map[GeoIpASN:0x34b0390 GeoIpCity:0x34b0378 IpToRange:0x34b03a8 ParseDate:0x34b03d8 reverse_dns:0x34b03c0]}" +time="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-grok" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-grok" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=white-sea +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=lively-sound +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=lively-sound name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=white-sea name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-grok-expression" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-grok-expression" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=dark-sun +time="2024-03-26T15:09:50+14:00" level=warning msg="grok 'MYCAP1' already registred" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=late-fog +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-expression/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=late-fog name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=dark-sun name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-grok-external-data" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-grok-external-data" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=little-sky +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=white-wildflower +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[is_it_in_file] = 'true'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=white-wildflower name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[is_it_in_file] = 'false'" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=little-sky name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-grok-import" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-grok-import" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=autumn-wildflower +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=dark-brook +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['facility'] = '123'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['priority'] = '120'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['facility'] = '123'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['priority'] = '121'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ko" id=dark-brook name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ko" id=autumn-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 3 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 3 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/3 matches result 0/3" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-grok-no-subnode" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-grok-no-subnode" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=delicate-wildflower +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=delicate-wildflower name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-json-extract" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-json-extract" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-json-extract has debug enabled" id=dark-river +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=aged-dawn +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=holy-firefly +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 2 nodes from 2 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 5 statics" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[other_field] = 'some stuff'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[program] = 'my_test_prog'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="move Event from stage s00-raw to s01-parse" id=dark-river name=tests/base-json-extract stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=holy-firefly name=child-tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=holy-firefly name=child-tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=holy-firefly name=child-tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s01-parse" id=aged-dawn name=tests/base-grok stage=s01-parse +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 1 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 1 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[extracted_array_field] foo == foo/ok Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Parsed[extracted_arrayfield_from_object] bar == bar/ok Parsed[message] xxheader VALUE1 trailing stuff == xxheader VALUE1 trailing stuff/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" +time="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/base-tree" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/base-tree" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok-root has debug enabled" id=ancient-frost +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok-leafs has debug enabled" id=misty-dew +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=late-bird +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=billowing-resonance +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 2 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[state] = 'root-done'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Meta.state = 'root-done'" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[final_state] = 'leaf1'" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[state] = 'root-done'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=ancient-frost name=tests/base-grok-root stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Meta.state = 'root-done'" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ko (failed filter)" id=late-bird name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[final_state] = 'leaf2'" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=billowing-resonance name=child-tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s00-raw" id=misty-dew name=tests/base-grok-leafs stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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[state_sub] VALUE1 == VALUE1/ok Meta[final_state] leaf1 == leaf1" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/dateparser-enrich" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/dateparser-enrich" +time="2024-03-26T15:09:50+14:00" level=info msg="test/dateparse has debug enabled" id=small-darkness +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.StrTime = '2012/11/01'" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=small-darkness name=test/dateparse stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/geoip-enrich" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/geoip-enrich" +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/multi-stage-grok" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/multi-stage-grok" +time="2024-03-26T15:09:50+14:00" level=info msg="tests/base-grok has debug enabled" id=crimson-hill +time="2024-03-26T15:09:50+14:00" level=info msg="child-tests/base-grok has debug enabled" id=empty-firefly +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="tests/second-stage-grok has debug enabled" id=young-sun +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 2 nodes from 2 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 2 statics" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[did_second_stage] = 'yes'" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="node reached the last stage : s01-raw" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=empty-firefly name=child-tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=crimson-hill name=tests/base-grok stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ko (failed filter)" id=young-sun name=tests/second-stage-grok stage=s01-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process true == true/ok whitelist false == false/ok Parsed[test_bis] lolilol == lolilol/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/reverse-dns-enrich" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/reverse-dns-enrich" +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 2 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 2 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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="2024-03-26T15:09:50+14:00" level=info msg="Running test on ./tests/whitelist-base" +time="2024-03-26T15:09:50+14:00" level=warning msg="testing ./tests/whitelist-base" +time="2024-03-26T15:09:50+14:00" level=info msg="test/whitelists has debug enabled" id=silent-hill +time="2024-03-26T15:09:50+14:00" level=debug msg="adding ip 8.8.8.8 to whitelists" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-03-26T15:09:50+14:00" level=warning msg="Going to process one test set" +time="2024-03-26T15:09:50+14:00" level=debug msg="Event from [8.8.8.8] is whitelisted by IP (8.8.8.8), reason [Whitelist tests]" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[statics] = 'success'" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event from [1.2.3.4] is whitelisted by CIDR (1.2.3.0/24), reason [Whitelist tests]" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[statics] = 'success'" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="eval variables:" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event is whitelisted by expr, reason [Whitelist tests]" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="+ Processing 1 statics" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg=".Meta[statics] = 'success'" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=debug msg="Event leaving node : ok" id=silent-hill name=test/whitelists stage=s00-raw +time="2024-03-26T15:09:50+14:00" level=info msg="parsed 5 lines" +time="2024-03-26T15:09:50+14:00" level=info msg="got 5 results" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/5 matches result 0/5" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/4 matches result 0/4" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/3 matches result 0/3" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-03-26T15:09:50+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[statics] toto == toto/ok Meta[test] test3 == test3" +time="2024-03-26T15:09:50+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-03-26T15:09:50+14:00" 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.59s) === RUN TestGeneratePatternsDoc --- PASS: TestGeneratePatternsDoc (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/parser 13.346s +ok github.com/crowdsecurity/crowdsec/pkg/parser 3.603s === RUN TestLimit --- PASS: TestLimit (0.00s) === RUN TestEvery @@ -6515,14 +6491,14 @@ === RUN TestWaitSimple --- PASS: TestWaitSimple (0.20s) === RUN TestWaitCancel - rate_test.go:443: tokens:2.03375174 last:2024-03-25 12:54:08.249993742 -1200 -12 m=+0.314944707 lastEvent:2024-03-25 12:54:08.346618567 -1200 -12 m=+0.411569533 + rate_test.go:443: tokens:2.0079252800000003 last:2024-03-26 15:09:47.654581411 +1400 +14 m=+0.308057890 lastEvent:2024-03-26 15:09:47.753788903 +1400 +14 m=+0.407265362 --- 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 0.345s +ok github.com/crowdsecurity/crowdsec/pkg/time/rate 0.316s === RUN TestDownladFile --- PASS: TestDownladFile (0.01s) === RUN TestIP2Int @@ -6532,9 +6508,9 @@ === RUN TestAdd2Int --- PASS: TestAdd2Int (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/types 0.063s +ok github.com/crowdsecurity/crowdsec/pkg/types 0.044s === RUN TestIntegration ---- PASS: TestIntegration (0.01s) +--- PASS: TestIntegration (0.00s) === RUN TestEmpty === RUN TestEmpty/empty_base === RUN TestEmpty/empty_override @@ -6552,7 +6528,7 @@ --- PASS: TestEmpty/empty_base_and_null_override (0.00s) --- PASS: TestEmpty/null_base_and_empty_override (0.00s) === RUN TestSuccess ---- PASS: TestSuccess (0.01s) +--- PASS: TestSuccess (0.00s) === RUN TestErrors === RUN TestErrors/tabs_in_source === RUN TestErrors/duplicated_keys @@ -6570,7 +6546,7 @@ === RUN TestMismatchedTypes/mapping_and_scalar_permissive === RUN TestMismatchedTypes/nested_strict === RUN TestMismatchedTypes/nested_permissive ---- PASS: TestMismatchedTypes (0.01s) +--- PASS: TestMismatchedTypes (0.00s) --- PASS: TestMismatchedTypes/sequence_and_mapping_strict (0.00s) --- PASS: TestMismatchedTypes/sequence_and_mapping_permissive (0.00s) --- PASS: TestMismatchedTypes/sequence_and_scalar_strict (0.00s) @@ -6588,7 +6564,7 @@ === RUN TestBooleans/NO === RUN TestBooleans/off === RUN TestBooleans/OFF ---- PASS: TestBooleans (0.01s) +--- PASS: TestBooleans (0.00s) --- PASS: TestBooleans/yes (0.00s) --- PASS: TestBooleans/YES (0.00s) --- PASS: TestBooleans/on (0.00s) @@ -6605,6 +6581,27 @@ === PAUSE TestPrependedPatchContent === CONT TestMergedPatchContent === RUN TestMergedPatchContent/invalid_yaml_in_base +=== CONT TestPrependedPatchContent +=== RUN TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() +=== PAUSE TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() +=== RUN TestPrependedPatchContent/prepend_empty_document +=== PAUSE TestPrependedPatchContent/prepend_empty_document +=== RUN TestPrependedPatchContent/prepend_a_document_to_another +=== PAUSE TestPrependedPatchContent/prepend_a_document_to_another +=== RUN TestPrependedPatchContent/prepend_document_with_same_key +=== PAUSE TestPrependedPatchContent/prepend_document_with_same_key +=== RUN TestPrependedPatchContent/prepend_multiple_documents +=== PAUSE TestPrependedPatchContent/prepend_multiple_documents +=== RUN TestPrependedPatchContent/invalid_yaml_in_base +=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base +=== RUN TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) +=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) +=== RUN TestPrependedPatchContent/invalid_yaml_in_patch +=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch +=== RUN TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) +=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) +=== CONT TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3004612586/config.yaml' with '/tmp/yamlpatch3004612586/config.yaml.local'" === PAUSE TestMergedPatchContent/invalid_yaml_in_base === RUN TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) === PAUSE TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) @@ -6645,93 +6642,72 @@ === RUN TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar === PAUSE TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar === CONT TestMergedPatchContent/invalid_yaml_in_base -=== CONT TestMergedPatchContent/string_merge_-_value_to_value -=== CONT TestPrependedPatchContent -=== RUN TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() -=== PAUSE TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() -=== RUN TestPrependedPatchContent/prepend_empty_document -=== PAUSE TestPrependedPatchContent/prepend_empty_document -=== RUN TestPrependedPatchContent/prepend_a_document_to_another -=== PAUSE TestPrependedPatchContent/prepend_a_document_to_another -=== RUN TestPrependedPatchContent/prepend_document_with_same_key -=== PAUSE TestPrependedPatchContent/prepend_document_with_same_key -=== RUN TestPrependedPatchContent/prepend_multiple_documents -=== PAUSE TestPrependedPatchContent/prepend_multiple_documents -=== RUN TestPrependedPatchContent/invalid_yaml_in_base -=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base -=== RUN TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) -=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) -=== RUN TestPrependedPatchContent/invalid_yaml_in_patch -=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch -=== RUN TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) -=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) -=== CONT TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch1014859840/config.yaml' with '/tmp/yamlpatch1014859840/config.yaml.local'" === CONT TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) === CONT TestPrependedPatchContent/invalid_yaml_in_patch -=== CONT TestMergedPatchContent/bool_merge_-_on_is_true +=== CONT TestMergedPatchContent/map_merge_-_value_to_value === CONT TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch884839147/config.yaml' with '/tmp/yamlpatch884839147/config.yaml.local'" +=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar +=== CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar === CONT TestMergedPatchContent/sequence_merge_-_value_to_empty -=== CONT TestMergedPatchContent/bool_merge_-_off_if_false -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2298795235/config.yaml' with '/tmp/yamlpatch2298795235/config.yaml.local'" === CONT TestPrependedPatchContent/invalid_yaml_in_base -=== CONT TestMergedPatchContent/bool_merge_-_false_to_true +=== CONT TestMergedPatchContent/string_merge_-_value_to_value +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch997885560/config.yaml' with '/tmp/yamlpatch997885560/config.yaml.local'" === CONT TestPrependedPatchContent/prepend_multiple_documents -=== CONT TestMergedPatchContent/bool_merge_-_true_to_false -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch1864629115/config.yaml' with '/tmp/yamlpatch1864629115/config.yaml.local'" +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch956732754/config.yaml' with '/tmp/yamlpatch956732754/config.yaml.local'" +=== CONT TestMergedPatchContent/bool_merge_-_false_to_true === CONT TestPrependedPatchContent/prepend_document_with_same_key -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3502421790/config.yaml' with '/tmp/yamlpatch3502421790/config.yaml.local'" -=== CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar -=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar +=== CONT TestMergedPatchContent/bool_merge_-_off_if_false === CONT TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2194866954/config.yaml' with '/tmp/yamlpatch2194866954/config.yaml.local'" +=== CONT TestPrependedPatchContent/prepend_a_document_to_another +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch1974619065/config.yaml' with '/tmp/yamlpatch1974619065/config.yaml.local'" === CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence -=== CONT TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping -=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping -=== CONT TestMergedPatchContent/map_merge_-_value_to_value -=== CONT TestMergedPatchContent/basic_merge -=== CONT TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) -=== CONT TestMergedPatchContent/invalid_yaml_in_patch -=== CONT TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) -=== CONT TestMergedPatchContent/string_is_not_a_bool_-_off_to_on -=== CONT TestMergedPatchContent/string_is_not_a_bool_-_on_to_off === CONT TestPrependedPatchContent/prepend_empty_document -=== CONT TestPrependedPatchContent/prepend_a_document_to_another -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch4287107942/config.yaml' with '/tmp/yamlpatch4287107942/config.yaml.local'" -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch1152655111/config.yaml' with '/tmp/yamlpatch1152655111/config.yaml.local'" -time="2024-03-25T12:54:12-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2049023371/config.yaml' with '/tmp/yamlpatch2049023371/config.yaml.local'" +time="2024-03-26T15:09:50+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch663902317/config.yaml' with '/tmp/yamlpatch663902317/config.yaml.local'" +=== CONT TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping --- PASS: TestPrependedPatchContent (0.00s) --- PASS: TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() (0.00s) --- PASS: TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s) + --- PASS: TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) (0.00s) --- PASS: TestPrependedPatchContent/invalid_yaml_in_patch (0.00s) - --- PASS: TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) (0.01s) + --- PASS: TestPrependedPatchContent/invalid_yaml_in_base (0.00s) --- PASS: TestPrependedPatchContent/prepend_multiple_documents (0.00s) - --- PASS: TestPrependedPatchContent/prepend_document_with_same_key (0.00s) + --- PASS: TestPrependedPatchContent/prepend_document_with_same_key (0.01s) --- PASS: TestPrependedPatchContent/prepend_a_document_to_another (0.00s) --- PASS: TestPrependedPatchContent/prepend_empty_document (0.00s) - --- PASS: TestPrependedPatchContent/invalid_yaml_in_base (0.06s) +=== CONT TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) +=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping +=== CONT TestMergedPatchContent/basic_merge +=== CONT TestMergedPatchContent/invalid_yaml_in_patch +=== CONT TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) +=== CONT TestMergedPatchContent/string_is_not_a_bool_-_off_to_on +=== CONT TestMergedPatchContent/bool_merge_-_true_to_false +=== CONT TestMergedPatchContent/string_is_not_a_bool_-_on_to_off +=== CONT TestMergedPatchContent/bool_merge_-_on_is_true --- PASS: TestMergedPatchContent (0.00s) - --- PASS: TestMergedPatchContent/string_merge_-_value_to_value (0.01s) - --- PASS: TestMergedPatchContent/invalid_yaml_in_base (0.02s) - --- PASS: TestMergedPatchContent/bool_merge_-_false_to_true (0.00s) - --- PASS: TestMergedPatchContent/bool_merge_-_off_if_false (0.02s) - --- PASS: TestMergedPatchContent/bool_merge_-_true_to_false (0.01s) + --- PASS: TestMergedPatchContent/invalid_yaml_in_base (0.00s) + --- PASS: TestMergedPatchContent/map_merge_-_value_to_value (0.00s) + --- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar (0.00s) + --- PASS: TestMergedPatchContent/sequence_merge_-_value_to_empty (0.00s) + --- PASS: TestMergedPatchContent/string_merge_-_value_to_value (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar (0.01s) + --- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence (0.00s) - --- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence (0.01s) --- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping (0.00s) - --- PASS: TestMergedPatchContent/bool_merge_-_on_is_true (0.05s) - --- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping (0.01s) - --- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar (0.03s) --- PASS: TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s) - --- PASS: TestMergedPatchContent/map_merge_-_value_to_value (0.01s) - --- PASS: TestMergedPatchContent/basic_merge (0.01s) + --- PASS: TestMergedPatchContent/bool_merge_-_false_to_true (0.01s) + --- PASS: TestMergedPatchContent/basic_merge (0.00s) --- PASS: TestMergedPatchContent/invalid_yaml_in_patch (0.00s) - --- PASS: TestMergedPatchContent/sequence_merge_-_value_to_empty (0.06s) - --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_off_to_on (0.01s) - --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_on_to_off (0.01s) - --- PASS: TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) (0.01s) + --- PASS: TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) (0.00s) + --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_off_to_on (0.00s) + --- PASS: TestMergedPatchContent/bool_merge_-_true_to_false (0.00s) + --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_on_to_off (0.00s) + --- PASS: TestMergedPatchContent/bool_merge_-_off_if_false (0.02s) + --- PASS: TestMergedPatchContent/bool_merge_-_on_is_true (0.00s) + --- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping (0.01s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/yamlpatch 0.205s +ok github.com/crowdsecurity/crowdsec/pkg/yamlpatch 0.064s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -6782,8 +6758,8 @@ dpkg-gencontrol: warning: package crowdsec: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'golang-github-crowdsecurity-crowdsec-dev' in '../golang-github-crowdsecurity-crowdsec-dev_1.4.6-7_all.deb'. dpkg-deb: building package 'crowdsec' in '../crowdsec_1.4.6-7_armhf.deb'. +dpkg-deb: building package 'golang-github-crowdsecurity-crowdsec-dev' in '../golang-github-crowdsecurity-crowdsec-dev_1.4.6-7_all.deb'. dpkg-genbuildinfo --build=binary -O../crowdsec_1.4.6-7_armhf.buildinfo dpkg-genchanges --build=binary -O../crowdsec_1.4.6-7_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6791,12 +6767,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/23076/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23076/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/31338 and its subdirectories -I: Current time: Mon Mar 25 12:59:55 -12 2024 -I: pbuilder-time-stamp: 1711414795 +I: removing directory /srv/workspace/pbuilder/23076 and its subdirectories +I: Current time: Tue Mar 26 15:11:53 +14 2024 +I: pbuilder-time-stamp: 1711415513