Diff of the two buildlogs: -- --- b1/build.log 2024-05-12 23:00:44.517590656 +0000 +++ b2/build.log 2024-05-12 23:09:51.082301167 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 12 10:55:44 -12 2024 -I: pbuilder-time-stamp: 1715554544 +I: Current time: Mon May 13 13:00:51 +14 2024 +I: pbuilder-time-stamp: 1715554851 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/520431/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3488322/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 May 12 23:00 /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/3488322/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3488322/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2c0032b57b614f158e2d4e68ecaf4646' - 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='520431' - PS1='# ' - PS2='> ' + INVOCATION_ID=ec4e869b8db941b9a7360dc37cd70393 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3488322 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.eQnFdB5q/pbuilderrc_clmB --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.eQnFdB5q/b1 --logfile b1/build.log crowdsec_1.4.6-7.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.eQnFdB5q/pbuilderrc_WKKF --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.eQnFdB5q/b2 --logfile b2/build.log crowdsec_1.4.6-7.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 11 07:44 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/520431/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 11 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3488322/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -714,7 +746,7 @@ Get: 455 http://deb.debian.org/debian unstable/main arm64 golang-github-toorop-go-dkim-dev all 0.0~git20240103.90b7d14-1 [19.8 kB] Get: 456 http://deb.debian.org/debian unstable/main arm64 golang-github-xhit-go-simple-mail-dev all 2.16.0-1 [28.2 kB] Get: 457 http://deb.debian.org/debian unstable/main arm64 golang-gopkg-natefinch-lumberjack.v2-dev all 2.1-2 [13.1 kB] -Fetched 201 MB in 1s (158 MB/s) +Fetched 201 MB in 2s (85.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:arm64. (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 ... 19744 files and directories currently installed.) @@ -2201,8 +2233,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun May 12 22:57:00 UTC 2024. -Universal Time is now: Sun May 12 22:57:00 UTC 2024. +Local time is now: Sun May 12 23:03:24 UTC 2024. +Universal Time is now: Sun May 12 23:03:24 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-coreos-go-semver-dev (0.3.0-1) ... @@ -2577,7 +2609,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/3488322/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3488322/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 @@ -2598,31 +2634,31 @@ 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 12 -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/goos -internal/godebugs -internal/goexperiment -internal/goarch internal/unsafeheader +internal/godebugs internal/coverage/rtcov -runtime/internal/syscall +internal/goarch +internal/goexperiment math/bits unicode/utf8 -encoding -unicode -cmp -internal/race -unicode/utf16 -internal/itoa -internal/abi -sync/atomic internal/cpu internal/chacha8rand runtime/internal/math -runtime/internal/sys +runtime/internal/syscall +internal/race +internal/itoa +internal/goos +unicode math +sync/atomic +encoding +cmp +internal/abi +unicode/utf16 slices log/internal internal/nettrace +runtime/internal/sys container/list crypto/internal/alias crypto/subtle @@ -2634,9 +2670,9 @@ go.mongodb.org/mongo-driver/bson/bsontype entgo.io/ent/schema github.com/agext/levenshtein +github.com/google/go-cmp/cmp/internal/flags internal/bytealg runtime/internal/atomic -github.com/google/go-cmp/cmp/internal/flags github.com/lib/pq/oid entgo.io/ent/schema/index entgo.io/ent/dialect/entsql @@ -2654,121 +2690,121 @@ github.com/vmihailenco/tagparser/internal github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/slack-go/slack/internal/errorsx -github.com/aws/aws-sdk-go/internal/sdkmath runtime +github.com/aws/aws-sdk-go/internal/sdkmath internal/reflectlite sync runtime/metrics internal/testlog +internal/bisect internal/singleflight github.com/aws/aws-sdk-go/internal/sync/singleflight github.com/josharian/intern google.golang.org/protobuf/internal/pragma google.golang.org/grpc/internal/buffer -internal/bisect google.golang.org/grpc/internal/grpcsync runtime/cgo -internal/godebug errors sort +internal/godebug internal/oserror strconv -io syscall -path -vendor/golang.org/x/net/dns/dnsmessage -internal/intern math/rand -golang.org/x/mod/semver crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage +internal/intern internal/safefilepath -golang.org/x/text/internal/tag +io +path strings +golang.org/x/mod/semver bytes github.com/aws/aws-sdk-go/internal/sdkio -crypto/internal/randutil hash +golang.org/x/text/internal/tag +crypto/internal/randutil internal/saferio github.com/jackc/chunkreader/v2 -hash/crc32 reflect -github.com/beorn7/perks/quantile net/netip +hash/crc32 crypto crypto/rc4 -vendor/golang.org/x/text/transform -golang.org/x/text/transform -github.com/mitchellh/go-wordwrap hash/crc64 hash/fnv golang.org/x/crypto/blowfish +github.com/beorn7/perks/quantile text/tabwriter encoding/base32 +vendor/golang.org/x/text/transform +golang.org/x/text/transform +github.com/mitchellh/go-wordwrap hash/adler32 github.com/vmihailenco/tagparser/internal/parser -golang.org/x/text/width -golang.org/x/text/runes -github.com/vmihailenco/tagparser bufio regexp/syntax net/http/internal/ascii github.com/aws/aws-sdk-go/internal/strings github.com/aws/aws-sdk-go/internal/sdkuri html +golang.org/x/text/width +golang.org/x/text/runes github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg -github.com/docker/docker/api/types/versions github.com/aws/aws-sdk-go/aws/arn +github.com/docker/docker/api/types/versions github.com/huandu/xstrings google.golang.org/grpc/encoding github.com/kballard/go-shellquote +github.com/vmihailenco/tagparser net/http/internal/testcert github.com/slack-go/slack/slackutilsx github.com/apparentlymart/go-textseg/textseg -regexp time internal/syscall/unix internal/syscall/execenv github.com/pbnjay/memory -internal/fmtsort -encoding/binary -entgo.io/ent/schema/edge -github.com/google/go-cmp/cmp/internal/function +regexp context internal/poll io/fs github.com/aws/aws-sdk-go/internal/sdkrand github.com/google/go-cmp/cmp/internal/diff -github.com/mohae/deepcopy github.com/nxadm/tail/ratelimiter github.com/go-playground/locales google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/keepalive github.com/slack-go/slack/internal/backoff -google.golang.org/grpc/internal/backoff github.com/slack-go/slack/internal/timex +google.golang.org/grpc/internal/backoff +golang.org/x/sync/semaphore +github.com/jackc/pgconn/internal/ctxwatch +embed +google.golang.org/grpc/tap +golang.org/x/net/context +google.golang.org/protobuf/internal/editiondefaults +os +encoding/binary +entgo.io/ent/schema/edge +github.com/google/go-cmp/cmp/internal/function +github.com/mohae/deepcopy +internal/fmtsort encoding/base64 -crypto/cipher golang.org/x/sys/unix +golang.org/x/crypto/sha3 +crypto/cipher crypto/internal/edwards25519/field crypto/md5 +crypto/internal/nistec vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/sync/semaphore -github.com/jackc/pgconn/internal/ctxwatch github.com/jackc/pgio -embed github.com/cespare/xxhash -golang.org/x/crypto/sha3 encoding/pem -google.golang.org/grpc/tap -golang.org/x/net/context -crypto/internal/nistec -google.golang.org/protobuf/internal/editiondefaults +crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/internal/edwards25519 -os crypto/aes crypto/sha512 crypto/hmac @@ -2776,228 +2812,186 @@ crypto/sha256 vendor/golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -vendor/golang.org/x/crypto/chacha20poly1305 -golang.org/x/crypto/scrypt -crypto/ecdh fmt io/ioutil -github.com/docker/docker/api/types/mount path/filepath internal/sysinfo +vendor/golang.org/x/crypto/chacha20poly1305 github.com/jackc/pgpassfile google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/util internal/lazyregexp +github.com/docker/docker/api/types/mount +golang.org/x/crypto/scrypt google.golang.org/grpc/internal/envconfig os/signal github.com/mattn/go-runewidth +crypto/ecdh os/exec net flag encoding/json github.com/pkg/errors -math/big log runtime/debug runtime/trace encoding/hex os/user compress/flate +math/big net/url -vendor/golang.org/x/text/unicode/norm github.com/aws/aws-sdk-go/aws/awserr +vendor/golang.org/x/text/unicode/norm +github.com/aws/aws-sdk-go/internal/ini vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack testing -github.com/aws/aws-sdk-go/internal/ini mime -mime/quotedprintable compress/gzip +mime/quotedprintable net/http/internal encoding/xml database/sql/driver gopkg.in/yaml.v3 github.com/go-openapi/analysis/internal/debug -vendor/golang.org/x/text/secure/bidirule encoding/gob +vendor/golang.org/x/text/secure/bidirule +github.com/oklog/ulid github.com/PuerkitoBio/urlesc golang.org/x/text/unicode/bidi -golang.org/x/text/unicode/norm -github.com/oklog/ulid -vendor/golang.org/x/net/idna -gopkg.in/yaml.v2 -github.com/sirupsen/logrus github.com/aws/aws-sdk-go/aws/endpoints +github.com/jmespath/go-jmespath github.com/confluentinc/bincover +vendor/golang.org/x/net/idna +github.com/antonmedv/expr/file +github.com/antonmedv/expr/ast +github.com/antonmedv/expr/vm +github.com/sirupsen/logrus +github.com/antonmedv/expr/parser/lexer +github.com/mailru/easyjson/jlexer +github.com/aws/aws-sdk-go/aws/awsutil +github.com/antonmedv/expr/parser +golang.org/x/text/secure/bidirule crypto/rand crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig -crypto/ed25519 encoding/asn1 crypto/dsa -github.com/jmespath/go-jmespath -github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration -github.com/antonmedv/expr/file +crypto/ed25519 go.mongodb.org/mongo-driver/bson/primitive -github.com/mailru/easyjson/jlexer -github.com/antonmedv/expr/ast -github.com/antonmedv/expr/vm -crypto/rsa -github.com/antonmedv/expr/parser/lexer -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -go.mongodb.org/mongo-driver/x/bsonx/bsoncore -golang.org/x/text/secure/bidirule -github.com/antonmedv/expr/parser +golang.org/x/text/unicode/norm +gopkg.in/yaml.v2 +github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration github.com/hashicorp/go-version -golang.org/x/net/idna -crypto/ecdsa -github.com/aws/aws-sdk-go/aws/awsutil +crypto/rsa github.com/crowdsecurity/grokky +go.mongodb.org/mongo-driver/x/bsonx/bsoncore gopkg.in/natefinch/lumberjack.v2 github.com/google/go-querystring/query +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix gopkg.in/tomb.v2 -github.com/crowdsecurity/crowdsec/pkg/yamlpatch github.com/enescakir/emoji github.com/beevik/etree github.com/buger/jsonparser -database/sql -entgo.io/ent/entql -text/template/parse -github.com/PuerkitoBio/purell github.com/aws/aws-sdk-go/internal/shareddefaults -github.com/go-openapi/inflect -github.com/aws/aws-sdk-go/aws/credentials -github.com/zclconf/go-cty/cty/set -github.com/zclconf/go-cty/cty -go.mongodb.org/mongo-driver/bson/bsonrw github.com/antonmedv/expr/conf -github.com/aws/aws-sdk-go/aws/credentials/processcreds +database/sql +github.com/aws/aws-sdk-go/aws/credentials +crypto/ecdsa github.com/antonmedv/expr/checker +github.com/aws/aws-sdk-go/aws/credentials/processcreds github.com/antonmedv/expr/compiler github.com/antonmedv/expr/optimizer +go.mongodb.org/mongo-driver/bson/bsonrw +entgo.io/ent/entql +text/template/parse +golang.org/x/net/idna +github.com/antonmedv/expr +github.com/go-openapi/inflect +github.com/zclconf/go-cty/cty/set github.com/google/go-cmp/cmp/internal/value +github.com/zclconf/go-cty/cty entgo.io/ent/schema/field ariga.io/atlas/sql/schema text/template -encoding/csv -github.com/antonmedv/expr github.com/google/go-cmp/cmp +github.com/PuerkitoBio/purell +github.com/crowdsecurity/crowdsec/pkg/yamlpatch +encoding/csv ariga.io/atlas/sql/mysql/internal/mysqlversion +go.mongodb.org/mongo-driver/bson/bsoncodec github.com/davecgh/go-spew/spew github.com/robfig/cron golang.org/x/sync/singleflight +entgo.io/ent github.com/jackc/pgproto3/v2 github.com/jackc/pgservicefile -github.com/go-co-op/gocron golang.org/x/text/internal/language github.com/jackc/pgx/v4/internal/sanitize +github.com/go-co-op/gocron +ariga.io/atlas/sql/migrate github.com/lib/pq/scram -entgo.io/ent -go.mongodb.org/mongo-driver/bson/bsoncodec github.com/mattn/go-sqlite3 golang.org/x/crypto/bcrypt -ariga.io/atlas/sql/migrate github.com/crowdsecurity/crowdsec/pkg/time/rate +github.com/zclconf/go-cty/cty/convert +github.com/zclconf/go-cty/cty/function +ariga.io/atlas/sql/internal/sqlx +ariga.io/atlas/sql/sqltool golang.org/x/text/internal/language/compact github.com/goombaio/namegenerator google.golang.org/protobuf/internal/errors -go/token google.golang.org/protobuf/encoding/protowire -golang.org/x/text/language -google.golang.org/protobuf/reflect/protoreflect +go/token google.golang.org/protobuf/internal/version +golang.org/x/text/language github.com/prometheus/procfs/internal/fs -github.com/zclconf/go-cty/cty/convert -github.com/zclconf/go-cty/cty/function -ariga.io/atlas/sql/internal/sqlx -ariga.io/atlas/sql/sqltool +google.golang.org/protobuf/reflect/protoreflect internal/profile runtime/pprof -golang.org/x/text/internal -golang.org/x/text/cases github.com/crowdsecurity/dlog +github.com/hashicorp/hcl/v2 +github.com/zclconf/go-cty/cty/gocty +github.com/zclconf/go-cty/cty/json +golang.org/x/text/internal github.com/docker/docker/api/types/blkiodev +golang.org/x/text/cases github.com/docker/docker/api/types/strslice github.com/docker/go-units -github.com/docker/docker/api/types/filters google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/genid +github.com/zclconf/go-cty/cty/function/stdlib google.golang.org/protobuf/internal/order -google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/reflect/protoregistry -github.com/docker/docker/api/types/network -github.com/hashicorp/hcl/v2 -github.com/zclconf/go-cty/cty/gocty -github.com/zclconf/go-cty/cty/json -google.golang.org/protobuf/internal/encoding/text -github.com/opencontainers/go-digest golang.org/x/text/secure/precis +google.golang.org/protobuf/runtime/protoiface +github.com/docker/docker/api/types/filters +github.com/opencontainers/go-digest github.com/opencontainers/image-spec/specs-go github.com/gogo/protobuf/proto +github.com/hashicorp/hcl/v2/ext/customdecode github.com/opencontainers/image-spec/specs-go/v1 -google.golang.org/protobuf/proto +github.com/docker/docker/api/types/network github.com/docker/distribution/digestset -github.com/docker/distribution/reference -github.com/hashicorp/hcl/v2/ext/customdecode github.com/docker/docker/api/types/time +github.com/docker/distribution/reference github.com/fsnotify/fsnotify -google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/encoding/protodelim github.com/nxadm/tail/util +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto gopkg.in/tomb.v1 -github.com/zclconf/go-cty/cty/function/stdlib -go.mongodb.org/mongo-driver/bson -google.golang.org/protobuf/internal/filedesc github.com/gin-gonic/gin/internal/json +github.com/nxadm/tail/watch +go.mongodb.org/mongo-driver/bson github.com/go-playground/universal-translator github.com/leodido/go-urn -github.com/nxadm/tail/watch github.com/pelletier/go-toml/v2/internal/danger -github.com/pelletier/go-toml/v2/unstable -github.com/nxadm/tail -html/template -github.com/mattn/go-isatty -golang.org/x/net/http2/hpack -github.com/Masterminds/goutils -github.com/Masterminds/semver -github.com/pelletier/go-toml/v2/internal/tracker -github.com/imdario/mergo -github.com/mitchellh/reflectwalk -github.com/pelletier/go-toml/v2 -github.com/shopspring/decimal -github.com/golang/protobuf/proto -github.com/mitchellh/copystructure -github.com/mattn/go-colorable -golang.org/x/net/internal/timeseries -github.com/fatih/color -github.com/spf13/cast -google.golang.org/grpc/internal/grpclog -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/grpc/attributes -github.com/hashicorp/hcl/v2/hclsyntax -google.golang.org/grpc/metadata -google.golang.org/grpc/grpclog -github.com/hashicorp/go-hclog -google.golang.org/grpc/codes -google.golang.org/protobuf/internal/impl -google.golang.org/grpc/internal/balancerload -github.com/mitchellh/go-testing-interface -github.com/oklog/run -github.com/sirupsen/logrus/hooks/writer -google.golang.org/grpc/connectivity -archive/zip -github.com/mgutz/ansi -google.golang.org/grpc/internal -github.com/AlecAivazis/survey/terminal -golang.org/x/term -github.com/AlecAivazis/survey/core -github.com/blackfireio/osinfo github.com/coreos/go-systemd/daemon crypto/x509 net/textproto @@ -3005,118 +2999,159 @@ github.com/mitchellh/mapstructure github.com/mailru/easyjson/buffer github.com/c-robinson/iplib +github.com/google/uuid +github.com/jackc/pgtype +github.com/mailru/easyjson/jwriter vendor/golang.org/x/net/http/httpguts mime/multipart net/mail -github.com/mailru/easyjson/jwriter -github.com/google/uuid -github.com/jackc/pgtype -github.com/prometheus/procfs +google.golang.org/protobuf/internal/filedesc +entgo.io/ent/dialect +entgo.io/ent/dialect/sql +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim github.com/oschwald/maxminddb-golang +github.com/prometheus/procfs github.com/docker/go-connections/nat -entgo.io/ent/dialect github.com/docker/docker/api/types/container -entgo.io/ent/dialect/sql github.com/docker/docker/api/types/registry -golang.org/x/net/internal/socks +github.com/hashicorp/hcl/v2/hclsyntax github.com/oschwald/geoip2-golang -golang.org/x/net/proxy -github.com/hashicorp/hcl/v2/hclwrite -github.com/hashicorp/hcl/v2/json +golang.org/x/net/internal/socks +github.com/nxadm/tail github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 -crypto/tls -github.com/asaskevich/govalidator +golang.org/x/net/proxy github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server -github.com/docker/docker/api/types/swarm/runtime -github.com/hashicorp/hcl/v2/hclparse github.com/go-playground/validator/v10 -github.com/docker/docker/api/types/swarm -github.com/hashicorp/hcl/v2/gohcl +github.com/pelletier/go-toml/v2/unstable +crypto/tls +github.com/asaskevich/govalidator +google.golang.org/protobuf/internal/encoding/tag +github.com/pelletier/go-toml/v2/internal/tracker +github.com/pelletier/go-toml/v2 +google.golang.org/protobuf/internal/impl +html/template +github.com/mattn/go-isatty golang.org/x/net/http/httpguts -github.com/docker/docker/api/types +golang.org/x/net/http2/hpack github.com/golang-jwt/jwt golang.org/x/crypto/ocsp -github.com/docker/docker/api/types/volume -github.com/Masterminds/sprig -google.golang.org/grpc/encoding/proto -ariga.io/atlas/schemahcl -github.com/golang/protobuf/ptypes/any -github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/timestamp -google.golang.org/genproto/googleapis/rpc/status -github.com/golang/protobuf/ptypes -google.golang.org/grpc/binarylog/grpc_binarylog_v1 -google.golang.org/grpc/internal/status -google.golang.org/grpc/status -google.golang.org/grpc/internal/syscall -google.golang.org/grpc/stats -google.golang.org/protobuf/internal/filetype -github.com/hashicorp/yamux -github.com/AlecAivazis/survey -github.com/aquasecurity/table -github.com/vmihailenco/msgpack -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/timestamppb -github.com/crowdsecurity/machineid -github.com/spf13/pflag -github.com/jszwec/csvutil -github.com/prometheus/client_model/go -github.com/matttproud/golang_protobuf_extensions/pbutil -github.com/russross/blackfriday/v2 +github.com/Masterminds/goutils +github.com/Masterminds/semver +github.com/imdario/mergo +github.com/mitchellh/reflectwalk entgo.io/ent/dialect/sql/sqlgraph github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate +github.com/hashicorp/hcl/v2/hclwrite github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer -ariga.io/atlas/sql/sqlspec -ariga.io/atlas/sql/internal/specutil -ariga.io/atlas/sql/sqlclient -github.com/prometheus/common/model -github.com/r3labs/diff/v3 -github.com/texttheater/golang-levenshtein/levenshtein -github.com/pmezard/go-difflib/difflib -ariga.io/atlas/sql/mysql -ariga.io/atlas/sql/postgres -ariga.io/atlas/sql/sqlite -github.com/toorop/go-dkim -net/http/httptrace -github.com/go-sql-driver/mysql -net/http +github.com/hashicorp/hcl/v2/json +github.com/mitchellh/copystructure +github.com/shopspring/decimal +github.com/spf13/cast +github.com/docker/docker/api/types/swarm/runtime +github.com/docker/docker/api/types/swarm +github.com/golang/protobuf/proto +github.com/hashicorp/hcl/v2/hclparse +github.com/docker/docker/api/types +github.com/Masterminds/sprig +github.com/mattn/go-colorable +github.com/fatih/color +golang.org/x/net/internal/timeseries +github.com/hashicorp/hcl/v2/gohcl +github.com/docker/docker/api/types/volume +google.golang.org/grpc/internal/grpclog +github.com/hashicorp/go-hclog +google.golang.org/grpc/attributes github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/machine +net/http/httptrace github.com/crowdsecurity/crowdsec/pkg/database/ent/meta +ariga.io/atlas/schemahcl +net/http +github.com/go-sql-driver/mysql github.com/jackc/pgconn github.com/lib/pq -github.com/prometheus/client_golang/prometheus/internal github.com/docker/go-connections/tlsconfig +google.golang.org/protobuf/internal/filetype +google.golang.org/grpc/grpclog +ariga.io/atlas/sql/sqlspec +ariga.io/atlas/sql/sqlclient +google.golang.org/protobuf/runtime/protoimpl +ariga.io/atlas/sql/internal/specutil +github.com/jackc/pgconn/stmtcache +google.golang.org/protobuf/types/known/timestamppb +google.golang.org/grpc/connectivity +google.golang.org/grpc/internal google.golang.org/grpc/internal/credentials -github.com/spf13/cobra -github.com/cpuguy83/go-md2man/v2/md2man +google.golang.org/grpc/metadata +google.golang.org/grpc/codes +google.golang.org/grpc/internal/syscall +github.com/prometheus/client_model/go +github.com/hashicorp/yamux +google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/stats +github.com/mitchellh/go-testing-interface +github.com/oklog/run +github.com/sirupsen/logrus/hooks/writer +archive/zip +github.com/prometheus/common/model +ariga.io/atlas/sql/mysql +ariga.io/atlas/sql/postgres +ariga.io/atlas/sql/sqlite google.golang.org/grpc/credentials -github.com/jackc/pgconn/stmtcache -github.com/xhit/go-simple-mail +google.golang.org/grpc/encoding/proto google.golang.org/grpc/resolver -google.golang.org/grpc/internal/channelz +github.com/golang/protobuf/ptypes/any google.golang.org/grpc/balancer -google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/balancer/grpclb/state +github.com/golang/protobuf/ptypes/duration google.golang.org/grpc/balancer/base -google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/internal/resolver/dns +github.com/golang/protobuf/ptypes/timestamp +github.com/golang/protobuf/ptypes google.golang.org/grpc/balancer/roundrobin -entgo.io/ent/dialect/sql/schema +github.com/jackc/pgx/v4 +google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/grpcutil +google.golang.org/genproto/googleapis/rpc/status +google.golang.org/grpc/internal/channelz +google.golang.org/grpc/internal/status +google.golang.org/grpc/balancer/grpclb/state +google.golang.org/grpc/status google.golang.org/grpc/internal/resolver/passthrough +github.com/prometheus/client_golang/prometheus/internal +google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/serviceconfig +google.golang.org/grpc/internal/binarylog google.golang.org/grpc/peer +github.com/mgutz/ansi +github.com/AlecAivazis/survey/terminal +golang.org/x/term +github.com/AlecAivazis/survey/core +github.com/blackfireio/osinfo +github.com/vmihailenco/msgpack +github.com/crowdsecurity/machineid +github.com/jszwec/csvutil +github.com/matttproud/golang_protobuf_extensions/pbutil +github.com/russross/blackfriday/v2 +github.com/spf13/pflag +github.com/AlecAivazis/survey +github.com/aquasecurity/table +github.com/jackc/pgx/v4/stdlib +github.com/texttheater/golang-levenshtein/levenshtein +github.com/pmezard/go-difflib/difflib +github.com/toorop/go-dkim github.com/gorilla/websocket/vendor/golang.org/x/net/internal/socks github.com/gorilla/websocket/vendor/golang.org/x/net/proxy +github.com/xhit/go-simple-mail +github.com/r3labs/diff/v3 +entgo.io/ent/dialect/sql/schema +github.com/cpuguy83/go-md2man/v2/md2man +github.com/spf13/cobra github.com/ivanpirog/coloredcobra github.com/spf13/cobra/doc -github.com/jackc/pgx/v4 -github.com/jackc/pgx/v4/stdlib -github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/aws/aws-sdk-go/aws net/http/httputil github.com/go-openapi/errors @@ -3124,27 +3159,28 @@ github.com/go-openapi/loads/vendor/github.com/go-openapi/swag github.com/crowdsecurity/crowdsec/pkg/cwversion expvar -github.com/prometheus/common/expfmt net/http/pprof github.com/docker/docker/errdefs +github.com/prometheus/common/expfmt github.com/docker/go-connections/sockets +github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/alexliesenfeld/health -github.com/gin-contrib/sse github.com/go-openapi/strfmt +github.com/gin-contrib/sse net/rpc golang.org/x/net/http2 golang.org/x/net/trace -github.com/dghubble/sling github.com/aws/aws-sdk-go/aws/request github.com/aws/aws-sdk-go/aws/auth/bearer -github.com/docker/docker/client github.com/aws/aws-sdk-go/private/protocol/eventstream -net/http/httptest +github.com/docker/docker/client +github.com/dghubble/sling github.com/prometheus/client_golang/prometheus -github.com/ugorji/go/codec github.com/prometheus/prom2json -github.com/go-openapi/jsonpointer +net/http/httptest github.com/gorilla/websocket +github.com/ugorji/go/codec +github.com/go-openapi/jsonpointer github.com/stretchr/testify/assert github.com/go-openapi/jsonreference github.com/aws/aws-sdk-go/aws/client @@ -3152,66 +3188,66 @@ github.com/aws/aws-sdk-go/private/protocol github.com/aws/aws-sdk-go/aws/csm github.com/go-openapi/spec +github.com/slack-go/slack github.com/aws/aws-sdk-go/aws/ec2metadata 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/signer/v4 +github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi +github.com/aws/aws-sdk-go/aws/signer/v4 github.com/aws/aws-sdk-go/private/protocol/jsonrpc github.com/aws/aws-sdk-go/private/protocol/query -github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/aws/aws-sdk-go/private/protocol/restjson -github.com/slack-go/slack github.com/aws/aws-sdk-go/aws/defaults -github.com/aws/aws-sdk-go/service/sso -github.com/aws/aws-sdk-go/service/ssooidc github.com/aws/aws-sdk-go/service/sts github.com/aws/aws-sdk-go/service/cloudwatchlogs +github.com/aws/aws-sdk-go/service/sso +github.com/aws/aws-sdk-go/service/ssooidc github.com/aws/aws-sdk-go/service/kinesis -github.com/prometheus/client_golang/prometheus/promhttp github.com/stretchr/testify/require -github.com/aws/aws-sdk-go/service/sso/ssoiface +github.com/prometheus/client_golang/prometheus/promhttp github.com/aws/aws-sdk-go/service/sts/stsiface -github.com/aws/aws-sdk-go/aws/credentials/ssocreds +github.com/aws/aws-sdk-go/service/sso/ssoiface github.com/aws/aws-sdk-go/aws/credentials/stscreds +github.com/aws/aws-sdk-go/aws/credentials/ssocreds +github.com/aws/aws-sdk-go/aws/session +golang.org/x/net/http2/h2c +google.golang.org/grpc/internal/transport 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/aws/aws-sdk-go/aws/session -golang.org/x/net/http2/h2c -google.golang.org/grpc/internal/transport github.com/crowdsecurity/crowdsec/pkg/cstest github.com/go-openapi/analysis +google.golang.org/grpc github.com/go-openapi/loads github.com/go-openapi/validate -google.golang.org/grpc github.com/crowdsecurity/crowdsec/pkg/models -github.com/crowdsecurity/crowdsec/pkg/types github.com/hashicorp/go-plugin/internal/plugin google.golang.org/grpc/health/grpc_health_v1 +google.golang.org/grpc/health +github.com/crowdsecurity/crowdsec/pkg/types +github.com/hashicorp/go-plugin github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog -google.golang.org/grpc/health github.com/crowdsecurity/crowdsec/pkg/database/ent -github.com/hashicorp/go-plugin github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/protobufs -github.com/gin-gonic/gin/binding -github.com/gin-gonic/gin/render github.com/crowdsecurity/crowdsec/pkg/csplugin 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/gin-gonic/gin/render +github.com/gin-gonic/gin/binding github.com/gin-gonic/gin github.com/appleboy/gin-jwt github.com/crowdsecurity/crowdsec/pkg/database @@ -3223,17 +3259,17 @@ github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 -github.com/crowdsecurity/crowdsec/pkg/hubtest -github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers -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/cmd/crowdsec-cli +github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch +github.com/crowdsecurity/crowdsec/pkg/hubtest +github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/acquisition +github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/cmd/crowdsec make[1]: Leaving directory '/build/reproducible-path/crowdsec-1.4.6' dh_auto_test -O--builddirectory=_build -O--buildsystem=golang @@ -3244,9 +3280,6 @@ ? 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/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] === RUN TestDataSourceConfigure === RUN TestDataSourceConfigure/basic_valid_config === RUN TestDataSourceConfigure/basic_debug_config @@ -3255,8 +3288,8 @@ === RUN TestDataSourceConfigure/bad_type_config === RUN TestDataSourceConfigure/mismatch_config === RUN TestDataSourceConfigure/cant_run_error ---- PASS: TestDataSourceConfigure (0.00s) - --- PASS: TestDataSourceConfigure/basic_valid_config (0.00s) +--- PASS: TestDataSourceConfigure (0.03s) + --- PASS: TestDataSourceConfigure/basic_valid_config (0.03s) --- PASS: TestDataSourceConfigure/basic_debug_config (0.00s) --- PASS: TestDataSourceConfigure/basic_tailmode_config (0.00s) --- PASS: TestDataSourceConfigure/bad_mode_config (0.00s) @@ -3265,36 +3298,36 @@ --- PASS: TestDataSourceConfigure/cant_run_error (0.00s) === RUN TestLoadAcquisitionFromFile === RUN TestLoadAcquisitionFromFile/non_existent_file -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : does_not_exist" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : does_not_exist" === RUN TestLoadAcquisitionFromFile/invalid_yaml_file -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/badyaml.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/badyaml.yaml" === RUN TestLoadAcquisitionFromFile/invalid_empty_yaml -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/emptyitem.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/emptyitem.yaml" === RUN TestLoadAcquisitionFromFile/basic_valid -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/basic_filemode.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/basic_filemode.yaml" === RUN TestLoadAcquisitionFromFile/missing_labels -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/missing_labels.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/missing_labels.yaml" === RUN TestLoadAcquisitionFromFile/backward_compat -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/backward_compat.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/backward_compat.yaml" === RUN TestLoadAcquisitionFromFile/bad_type -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/bad_source.yaml" +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/bad_source.yaml" === RUN TestLoadAcquisitionFromFile/invalid_filetype_config -time="2024-05-12T10:58:25-12:00" level=info msg="loading acquisition file : test_files/bad_filetype.yaml" ---- PASS: TestLoadAcquisitionFromFile (0.00s) - --- PASS: TestLoadAcquisitionFromFile/non_existent_file (0.00s) - --- PASS: TestLoadAcquisitionFromFile/invalid_yaml_file (0.00s) +time="2024-05-13T13:05:53+14:00" level=info msg="loading acquisition file : test_files/bad_filetype.yaml" +--- PASS: TestLoadAcquisitionFromFile (0.04s) + --- PASS: TestLoadAcquisitionFromFile/non_existent_file (0.01s) + --- PASS: TestLoadAcquisitionFromFile/invalid_yaml_file (0.01s) --- PASS: TestLoadAcquisitionFromFile/invalid_empty_yaml (0.00s) --- PASS: TestLoadAcquisitionFromFile/basic_valid (0.00s) --- PASS: TestLoadAcquisitionFromFile/missing_labels (0.00s) - --- PASS: TestLoadAcquisitionFromFile/backward_compat (0.00s) + --- PASS: TestLoadAcquisitionFromFile/backward_compat (0.01s) --- PASS: TestLoadAcquisitionFromFile/bad_type (0.00s) --- PASS: TestLoadAcquisitionFromFile/invalid_filetype_config (0.00s) === RUN TestStartAcquisitionCat ---- PASS: TestStartAcquisitionCat (1.00s) +--- PASS: TestStartAcquisitionCat (1.01s) === RUN TestStartAcquisitionTail --- PASS: TestStartAcquisitionTail (2.01s) === RUN TestStartAcquisitionTailError ---- PASS: TestStartAcquisitionTailError (2.02s) +--- PASS: TestStartAcquisitionTailError (2.01s) === RUN TestConfigureByDSN === RUN TestConfigureByDSN/baddsn === RUN TestConfigureByDSN/foobar://toto @@ -3306,7 +3339,10 @@ --- PASS: TestConfigureByDSN/mockdsn://test_expect (0.00s) --- PASS: TestConfigureByDSN/mockdsn://bad (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition 5.176s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition 5.455s +? 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 TestBadConfiguration === RUN TestBadConfiguration/extra_configuration_key === RUN TestBadConfiguration/missing_filenames @@ -3336,13 +3372,13 @@ === RUN TestOneShot/test.log.gz === RUN TestOneShot/unexpected_end_of_gzip_stream === RUN TestOneShot/deleted_file ---- PASS: TestOneShot (0.00s) +--- PASS: TestOneShot (0.02s) --- PASS: TestOneShot/permission_denied (0.00s) --- PASS: TestOneShot/ignored_directory (0.00s) --- PASS: TestOneShot/glob_syntax_error (0.00s) --- PASS: TestOneShot/no_matching_files (0.00s) - --- PASS: TestOneShot/test.log (0.00s) - --- PASS: TestOneShot/test.log.gz (0.00s) + --- PASS: TestOneShot/test.log (0.01s) + --- PASS: TestOneShot/test.log.gz (0.01s) --- PASS: TestOneShot/unexpected_end_of_gzip_stream (0.00s) --- PASS: TestOneShot/deleted_file (0.00s) === RUN TestLiveAcquisition @@ -3364,18 +3400,18 @@ === RUN TestExclusion --- PASS: TestExclusion (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file 5.139s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file 5.335s === RUN TestBadConfiguration --- PASS: TestBadConfiguration (0.00s) === RUN TestConfigureDSN --- PASS: TestConfigureDSN (0.00s) === RUN TestOneShot ---- PASS: TestOneShot (0.24s) +--- PASS: TestOneShot (0.29s) === 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.390s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl 0.464s ? 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] @@ -3384,8 +3420,8 @@ ? 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/decision [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] @@ -3396,43 +3432,43 @@ ? github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/schema [no test files] === RUN TestConfigure -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog ---- PASS: TestConfigure (0.00s) +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +--- PASS: TestConfigure (0.03s) === RUN TestStreamingAcquisition === RUN TestStreamingAcquisition/invalid_msgs -time="2024-05-12T10:58:29-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:29-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-05-12T10:58:29-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-05-12T10:58:29-12:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog -time="2024-05-12T10:58:31-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-05-12T10:58:31-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-05-12T10:58:31-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-05-13T13:06:02+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:02+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-05-13T13:06:02+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-05-13T13:06:02+14:00" level=error msg="could not parse message: PRI must start with '<'" client=127.0.0.1 type=syslog +time="2024-05-13T13:06:04+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-05-13T13:06:04+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-05-13T13:06:04+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/RFC5424 -time="2024-05-12T10:58:31-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:33-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-05-12T10:58:34-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-05-12T10:58:34-12:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog -time="2024-05-12T10:58:34-12:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog -time="2024-05-12T10:58:34-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-05-13T13:06:04+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:06+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-05-13T13:06:06+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-05-13T13:06:06+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/RFC3164 -time="2024-05-12T10:58:34-12:00" level=info msg="Starting syslog datasource configuration" type=syslog -time="2024-05-12T10:58:34-12:00" level=error msg="could not parse message: version must be 1" client=127.0.0.1 type=syslog -time="2024-05-12T10:58:36-12:00" level=info msg="Syslog datasource is dying" type=syslog -time="2024-05-12T10:58:36-12:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog -time="2024-05-12T10:58:36-12:00" level=info msg="Syslog server has exited" type=syslog +time="2024-05-13T13:06:06+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +time="2024-05-13T13:06:06+14:00" level=error msg="could not parse message: version must be 1" client=127.0.0.1 type=syslog +time="2024-05-13T13:06:08+14:00" level=info msg="Syslog datasource is dying" type=syslog +time="2024-05-13T13:06:08+14:00" level=info msg="Syslog server tomb is dying" syslog=internal type=syslog +time="2024-05-13T13:06:08+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-05-13T13:06:08+14:00" level=error msg="could not parse message: syslog line is empty" client= type=syslog +time="2024-05-13T13:06:08+14:00" level=info msg="Syslog server has exited" type=syslog === RUN TestStreamingAcquisition/privileged_port -time="2024-05-12T10:58:36-12:00" level=info msg="Starting syslog datasource configuration" type=syslog ---- PASS: TestStreamingAcquisition (6.24s) - --- PASS: TestStreamingAcquisition/invalid_msgs (2.10s) - --- PASS: TestStreamingAcquisition/RFC5424 (2.07s) - --- PASS: TestStreamingAcquisition/RFC3164 (2.07s) +time="2024-05-13T13:06:08+14:00" level=info msg="Starting syslog datasource configuration" type=syslog +--- PASS: TestStreamingAcquisition (6.23s) + --- PASS: TestStreamingAcquisition/invalid_msgs (2.08s) + --- PASS: TestStreamingAcquisition/RFC5424 (2.08s) + --- PASS: TestStreamingAcquisition/RFC3164 (2.08s) --- PASS: TestStreamingAcquisition/privileged_port (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog 6.360s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog 7.743s === RUN TestPri === RUN TestPri/<0> === RUN TestPri/<19> @@ -3456,8 +3492,8 @@ === RUN TestTimestamp/May__1_09:33:54_2022 === RUN TestTimestamp/May_01_09:33:54_2021 === RUN TestTimestamp/foobar ---- PASS: TestTimestamp (0.00s) - --- PASS: TestTimestamp/May_20_09:33:54 (0.00s) +--- PASS: TestTimestamp (0.01s) + --- PASS: TestTimestamp/May_20_09:33:54 (0.01s) --- PASS: TestTimestamp/May_20_09:33:54#01 (0.00s) --- PASS: TestTimestamp/May_20_09:33:54_2022 (0.00s) --- PASS: TestTimestamp/May__1_09:33:54_2022 (0.00s) @@ -3558,7 +3594,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.039s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164 0.096s === RUN TestPri === RUN TestPri/<0> === RUN TestPri/<19> @@ -3634,245 +3670,245 @@ --- 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.040s +ok github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424 0.072s === RUN TestAlertsListAsMachine -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:38457" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38457/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:38457/v1/alerts" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [1414]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 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-05-12T10:58:29-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:38457/v1/alerts?ip=1.2.3.4" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\nnull" ---- PASS: TestAlertsListAsMachine (0.00s) +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:35871" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35871/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:35871/v1/alerts" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [1414]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 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-05-13T13:06:00+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:35871/v1/alerts?ip=1.2.3.4" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 GMT\r\n\r\nnull" +--- PASS: TestAlertsListAsMachine (0.04s) === RUN TestAlertsGetAsMachine -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:42809" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42809/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:42809/v1/alerts/1" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [1457]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 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-05-12T10:58:29-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:42809/v1/alerts/2" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 404" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"message\":\"object not found\"}" ---- PASS: TestAlertsGetAsMachine (0.01s) +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:39659" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39659/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:39659/v1/alerts/1" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [1457]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 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-05-13T13:06:00+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:39659/v1/alerts/2" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 404" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 GMT\r\n\r\n{\"message\":\"object not found\"}" +--- PASS: TestAlertsGetAsMachine (0.02s) === RUN TestAlertsCreateAsMachine -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:43829" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:43829/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:43829/v1/alerts" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [5]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n[\"3\"]" +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:33009" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:33009/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:33009/v1/alerts" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [5]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 GMT\r\n\r\n[\"3\"]" --- PASS: TestAlertsCreateAsMachine (0.00s) === RUN TestAlertsDeleteAsMachine -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:42475" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42475/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:42475/v1/alerts?ip=1.2.3.4" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"message\":\"0 deleted alerts\"}" +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:35599" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35599/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:35599/v1/alerts?ip=1.2.3.4" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 GMT\r\n\r\n{\"message\":\"0 deleted alerts\"}" --- PASS: TestAlertsDeleteAsMachine (0.00s) === RUN TestWatcherAuth -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:35341" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35341/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-05-12T10:58:29-12:00" level=info msg="ok cool" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:35341/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-05-12T10:58:29-12:00" level=info msg="ok cool" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [64]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"code\":200,\"expire\":\"2029-11-30T14:14:24+01:00\",\"token\":\"toto\"}" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35341/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" -time="2024-05-12T10:58:29-12:00" level=info msg=badbad -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 403" -time="2024-05-12T10:58:29-12:00" level=debug msg="received response status \"403 Forbidden\" when fetching http://127.0.0.1:35341/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:36457" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36457/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-05-13T13:06:00+14:00" level=info msg="ok cool" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:36457/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-05-13T13:06:00+14:00" level=info msg="ok cool" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [64]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:00+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: Sun, 12 May 2024 23:06:00 GMT\r\n\r\n{\"code\":200,\"expire\":\"2029-11-30T14:14:24+01:00\",\"token\":\"toto\"}" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36457/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" +time="2024-05-13T13:06:00+14:00" level=info msg=badbad +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 403" +time="2024-05-13T13:06:00+14:00" level=debug msg="received response status \"403 Forbidden\" when fetching http://127.0.0.1:36457/v1/watchers/login" --- PASS: TestWatcherAuth (0.00s) === RUN TestWatcherRegister -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:33301" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-05-12T10:58:29-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n" -time="2024-05-12T10:58:29-12:00" level=info msg="->*apiclient.ApiClient" +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:37037" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-05-13T13:06:00+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sun, 12 May 2024 23:06:00 GMT\r\n\r\n" +time="2024-05-13T13:06:00+14:00" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherRegister (0.00s) === RUN TestWatcherUnregister -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:39333" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39333/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:39333/v1/watchers" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-05-12T10:58:29-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 22:58:29 GMT\r\nContent-Length: 0\r\n\r\n" -time="2024-05-12T10:58:29-12:00" level=info msg="->*apiclient.ApiClient" +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:40367" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:40367/v1/watchers/login" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-05-13T13:06:00+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:40367/v1/watchers" +time="2024-05-13T13:06:00+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:00 GMT]" +time="2024-05-13T13:06:00+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-05-13T13:06:00+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 23:06:00 GMT\r\nContent-Length: 0\r\n\r\n" +time="2024-05-13T13:06:00+14:00" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherUnregister (0.00s) === RUN TestWatcherEnroll -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:39383" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39383/v1/watchers/login" -time="2024-05-12T10:58:29-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:39383/v1/watchers/enroll" -time="2024-05-12T10:58:29-12:00" level=debug msg="body -> {\"attachment_key\":\"goodkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" -time="2024-05-12T10:58:29-12:00" level=info msg="good key" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [36]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"statusCode\": 200, \"message\": \"OK\"}" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-jwt: POST http://127.0.0.1:39383/v1/watchers/enroll" -time="2024-05-12T10:58:29-12:00" level=debug msg="body -> {\"attachment_key\":\"badkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" -time="2024-05-12T10:58:29-12:00" level=info msg="bad key" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [54]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"message\":\"the attachment key provided is not valid\"}" ---- PASS: TestWatcherEnroll (0.00s) +time="2024-05-13T13:06:00+14:00" level=info msg="URL is http://127.0.0.1:44583" +time="2024-05-13T13:06:00+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44583/v1/watchers/login" +time="2024-05-13T13:06:01+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:01+14:00" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" +time="2024-05-13T13:06:01+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:44583/v1/watchers/enroll" +time="2024-05-13T13:06:01+14:00" level=debug msg="body -> {\"attachment_key\":\"goodkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" +time="2024-05-13T13:06:01+14:00" level=info msg="good key" +time="2024-05-13T13:06:01+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:01 GMT]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Length : [36]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\n{\"statusCode\": 200, \"message\": \"OK\"}" +time="2024-05-13T13:06:01+14:00" level=debug msg="req-jwt: POST http://127.0.0.1:44583/v1/watchers/enroll" +time="2024-05-13T13:06:01+14:00" level=debug msg="body -> {\"attachment_key\":\"badkey\",\"name\":\"\",\"tags\":[],\"overwrite\":false}\n" +time="2024-05-13T13:06:01+14:00" level=info msg="bad key" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Length : [54]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:01 GMT]" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\n{\"message\":\"the attachment key provided is not valid\"}" +--- PASS: TestWatcherEnroll (0.04s) === RUN TestApiAuth -time="2024-05-12T10:58:29-12:00" level=info msg="URL is http://127.0.0.1:39891" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-api: GET http://127.0.0.1:39891/v1/decisions?ip=1.2.3.4" -time="2024-05-12T10:58:29-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:39891\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\nnull" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\nnull" -time="2024-05-12T10:58:29-12:00" level=debug msg="req-api: GET http://127.0.0.1:39891/v1/decisions?ip=1.2.3.4" -time="2024-05-12T10:58:29-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:39891\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2024-05-12T10:58:29-12:00" level=debug msg="resp-api: http 403" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:29 GMT]" -time="2024-05-12T10:58:29-12:00" level=debug msg="[headers] Content-Length : [30]" -time="2024-05-12T10:58:29-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: Sun, 12 May 2024 22:58:29 GMT\r\n\r\n{\"message\":\"access forbidden\"}" -time="2024-05-12T10:58:29-12:00" level=info msg="--> API error: access forbidden" -time="2024-05-12T10:58:29-12:00" level=info msg="--> Get \"http://127.0.0.1:39891/v1/decisions?ip=1.2.3.4\": APIKey is empty" +time="2024-05-13T13:06:01+14:00" level=info msg="URL is http://127.0.0.1:33693" +time="2024-05-13T13:06:01+14:00" level=debug msg="req-api: GET http://127.0.0.1:33693/v1/decisions?ip=1.2.3.4" +time="2024-05-13T13:06:01+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:33693\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\nnull" +time="2024-05-13T13:06:01+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:01 GMT]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\nnull" +time="2024-05-13T13:06:01+14:00" level=debug msg="req-api: GET http://127.0.0.1:33693/v1/decisions?ip=1.2.3.4" +time="2024-05-13T13:06:01+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:33693\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2024-05-13T13:06:01+14:00" level=debug msg="resp-api: http 403" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:01 GMT]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Length : [30]" +time="2024-05-13T13:06:01+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:01+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: Sun, 12 May 2024 23:06:01 GMT\r\n\r\n{\"message\":\"access forbidden\"}" +time="2024-05-13T13:06:01+14:00" level=info msg="--> API error: access forbidden" +time="2024-05-13T13:06:01+14:00" level=info msg="--> Get \"http://127.0.0.1:33693/v1/decisions?ip=1.2.3.4\": APIKey is empty" --- PASS: TestApiAuth (0.00s) === RUN TestNewRequestInvalid --- PASS: TestNewRequestInvalid (0.00s) === RUN TestNewRequestTimeout -time="2024-05-12T10:58:29-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:39001\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-05-12T10:58:29-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39001/v1/watchers/login" -time="2024-05-12T10:58:31-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:31-12:00" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n" +time="2024-05-13T13:06:01+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:35987\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-05-13T13:06:01+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35987/v1/watchers/login" +time="2024-05-13T13:06:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:03+14:00" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n" --- PASS: TestNewRequestTimeout (2.01s) === RUN TestNewClientOk -time="2024-05-12T10:58:31-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:35703\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-05-12T10:58:31-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35703/v1/watchers/login" -time="2024-05-12T10:58:31-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2024-05-12T10:58:31-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:31-12:00" level=debug msg="req-jwt: GET http://127.0.0.1:35703/v1/alerts" -time="2024-05-12T10:58:31-12:00" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:35703\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-linux-\r\n\r\n" -time="2024-05-12T10:58:31-12:00" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 22:58:31 GMT\r\nContent-Length: 0\r\n\r\n (err:)" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-05-12T10:58:31-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 22:58:31 GMT\r\nContent-Length: 0\r\n\r\n" +time="2024-05-13T13:06:03+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:42469\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-05-13T13:06:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:42469/v1/watchers/login" +time="2024-05-13T13:06:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2024-05-13T13:06:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:03+14:00" level=debug msg="req-jwt: GET http://127.0.0.1:42469/v1/alerts" +time="2024-05-13T13:06:03+14:00" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:42469\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-linux-\r\n\r\n" +time="2024-05-13T13:06:03+14:00" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 23:06:03 GMT\r\nContent-Length: 0\r\n\r\n (err:)" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 23:06:03 GMT\r\nContent-Length: 0\r\n\r\n" --- PASS: TestNewClientOk (0.00s) === RUN TestNewClientKo -time="2024-05-12T10:58:31-12:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:36913\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-05-12T10:58:31-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36913/v1/watchers/login" -time="2024-05-12T10:58:31-12:00" level=debug msg="auth-jwt : http 401" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" -time="2024-05-12T10:58:31-12:00" level=debug msg="received response status \"401 Unauthorized\" when fetching http://127.0.0.1:36913/v1/watchers/login" -time="2024-05-12T10:58:31-12:00" level=info msg="err-> performing request: Get \"http://127.0.0.1:36913/v1/alerts\": API error: bad login/password" +time="2024-05-13T13:06:03+14:00" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:45713\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-05-13T13:06:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:45713/v1/watchers/login" +time="2024-05-13T13:06:03+14:00" level=debug msg="auth-jwt : http 401" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" +time="2024-05-13T13:06:03+14:00" level=debug msg="received response status \"401 Unauthorized\" when fetching http://127.0.0.1:45713/v1/watchers/login" +time="2024-05-13T13:06:03+14:00" level=info msg="err-> performing request: Get \"http://127.0.0.1:45713/v1/alerts\": API error: bad login/password" --- PASS: TestNewClientKo (0.00s) === RUN TestNewDefaultClient -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [32]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"code\": 401, \"message\" : \"brr\"}" -time="2024-05-12T10:58:31-12:00" level=info msg="err-> performing request: API error: brr" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [32]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"code\": 401, \"message\" : \"brr\"}" +time="2024-05-13T13:06:03+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-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [65]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" -time="2024-05-12T10:58:31-12:00" level=info msg="->*apiclient.ApiClient" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [65]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" +time="2024-05-13T13:06:03+14:00" level=info msg="->*apiclient.ApiClient" --- PASS: TestNewClientRegisterOK (0.00s) === RUN TestNewClientBadAnswer -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [3]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\nbad" ---- PASS: TestNewClientBadAnswer (0.01s) +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [3]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\nbad" +--- PASS: TestNewClientBadAnswer (0.00s) === RUN TestDecisionsList -time="2024-05-12T10:58:31-12:00" level=debug msg="req-api: GET http://127.0.0.1:39217/v1/decisions?ip=1.2.3.4" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [185]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 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-05-12T10:58:31-12:00" level=debug msg="req-api: GET http://127.0.0.1:39217/v1/decisions?ip=1.2.3.5" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [4]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\nnull" +time="2024-05-13T13:06:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:41139/v1/decisions?ip=1.2.3.4" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [185]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 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-05-13T13:06:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:41139/v1/decisions?ip=1.2.3.5" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [4]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06: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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\nnull" --- PASS: TestDecisionsList (0.00s) === RUN TestDecisionsStream -time="2024-05-12T10:58:31-12:00" level=debug msg="req-api: GET http://127.0.0.1:44115/v1/decisions/stream?startup=true" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [208]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 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-05-12T10:58:31-12:00" level=debug msg="req-api: GET http://127.0.0.1:44115/v1/decisions/stream?" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [27]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"deleted\":null,\"new\":null}" -time="2024-05-12T10:58:31-12:00" level=debug msg="req-api: DELETE http://127.0.0.1:44115/v1/decisions" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-api: http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [0]" -time="2024-05-12T10:58:31-12:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 22:58:31 GMT\r\nContent-Length: 0\r\n\r\n" ---- PASS: TestDecisionsStream (0.00s) +time="2024-05-13T13:06:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:37605/v1/decisions/stream?startup=true" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [208]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 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-05-13T13:06:03+14:00" level=debug msg="req-api: GET http://127.0.0.1:37605/v1/decisions/stream?" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [27]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"deleted\":null,\"new\":null}" +time="2024-05-13T13:06:03+14:00" level=debug msg="req-api: DELETE http://127.0.0.1:37605/v1/decisions" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-api: http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [0]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="Response: HTTP/1.1 200 OK\r\nDate: Sun, 12 May 2024 23:06:03 GMT\r\nContent-Length: 0\r\n\r\n" +--- PASS: TestDecisionsStream (0.01s) === RUN TestDeleteDecisions -time="2024-05-12T10:58:31-12:00" level=info msg="URL is http://127.0.0.1:37457" -time="2024-05-12T10:58:31-12:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37457/v1/watchers/login" -time="2024-05-12T10:58:31-12:00" level=debug msg="auth-jwt : http 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" -time="2024-05-12T10:58:31-12:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:37457/v1/decisions?ip=1.2.3.4" -time="2024-05-12T10:58:31-12:00" level=debug msg="resp-jwt: 200" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 22:58:31 GMT]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Length : [17]" -time="2024-05-12T10:58:31-12:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" -time="2024-05-12T10:58:31-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: Sun, 12 May 2024 22:58:31 GMT\r\n\r\n{\"nbDeleted\":\"1\"}" +time="2024-05-13T13:06:03+14:00" level=info msg="URL is http://127.0.0.1:37317" +time="2024-05-13T13:06:03+14:00" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37317/v1/watchers/login" +time="2024-05-13T13:06:03+14:00" level=debug msg="auth-jwt : http 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" +time="2024-05-13T13:06:03+14:00" level=debug msg="req-jwt: DELETE http://127.0.0.1:37317/v1/decisions?ip=1.2.3.4" +time="2024-05-13T13:06:03+14:00" level=debug msg="resp-jwt: 200" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Type : [text/plain; charset=utf-8]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Date : [Sun, 12 May 2024 23:06:03 GMT]" +time="2024-05-13T13:06:03+14:00" level=debug msg="[headers] Content-Length : [17]" +time="2024-05-13T13:06:03+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: Sun, 12 May 2024 23:06:03 GMT\r\n\r\n{\"nbDeleted\":\"1\"}" --- PASS: TestDeleteDecisions (0.00s) === RUN TestDecisionsStreamOpts_addQueryParamsToURL === RUN TestDecisionsStreamOpts_addQueryParamsToURL/no_filter @@ -3883,7 +3919,7 @@ --- PASS: TestDecisionsStreamOpts_addQueryParamsToURL/startup=true (0.00s) --- PASS: TestDecisionsStreamOpts_addQueryParamsToURL/set_all_params (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.068s +ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.328s ? 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] @@ -3893,76 +3929,76 @@ ? github.com/crowdsecurity/crowdsec/plugins/notifications/slack [no test files] ? github.com/crowdsecurity/crowdsec/plugins/notifications/splunk [no test files] === RUN TestSimulatedAlert -time="2024-05-12T10:58:33-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:33-12:00" level=info msg="Creating new API server" ---- PASS: TestSimulatedAlert (0.47s) +time="2024-05-13T13:06:03+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:03+14:00" level=info msg="Creating new API server" +--- PASS: TestSimulatedAlert (0.30s) === RUN TestCreateAlert -time="2024-05-12T10:58:33-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:33-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlert (0.44s) +time="2024-05-13T13:06:03+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:03+14:00" level=info msg="Creating new API server" +--- PASS: TestCreateAlert (0.61s) === RUN TestCreateAlertChannels -time="2024-05-12T10:58:33-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:33-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlertChannels (0.36s) +time="2024-05-13T13:06:04+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:04+14:00" level=info msg="Creating new API server" +--- PASS: TestCreateAlertChannels (0.80s) === RUN TestAlertListFilters -time="2024-05-12T10:58:34-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:34-12:00" level=info msg="Creating new API server" ---- PASS: TestAlertListFilters (0.25s) +time="2024-05-13T13:06:05+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:05+14:00" level=info msg="Creating new API server" +--- PASS: TestAlertListFilters (0.52s) === RUN TestAlertBulkInsert -time="2024-05-12T10:58:34-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:34-12:00" level=info msg="Creating new API server" ---- PASS: TestAlertBulkInsert (0.24s) +time="2024-05-13T13:06:05+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:05+14:00" level=info msg="Creating new API server" +--- PASS: TestAlertBulkInsert (0.43s) === RUN TestListAlert -time="2024-05-12T10:58:34-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:34-12:00" level=info msg="Creating new API server" ---- PASS: TestListAlert (0.17s) +time="2024-05-13T13:06:06+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:06+14:00" level=info msg="Creating new API server" +--- PASS: TestListAlert (0.57s) === RUN TestCreateAlertErrors -time="2024-05-12T10:58:34-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:34-12:00" level=info msg="Creating new API server" ---- PASS: TestCreateAlertErrors (0.16s) +time="2024-05-13T13:06:06+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:06+14:00" level=info msg="Creating new API server" +--- PASS: TestCreateAlertErrors (0.67s) === RUN TestDeleteAlert -time="2024-05-12T10:58:35-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:35-12:00" level=info msg="Creating new API server" ---- PASS: TestDeleteAlert (0.22s) +time="2024-05-13T13:06:07+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:07+14:00" level=info msg="Creating new API server" +--- PASS: TestDeleteAlert (0.40s) === RUN TestDeleteAlertByID -time="2024-05-12T10:58:35-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:35-12:00" level=info msg="Creating new API server" ---- PASS: TestDeleteAlertByID (0.32s) +time="2024-05-13T13:06:07+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:07+14:00" level=info msg="Creating new API server" +--- PASS: TestDeleteAlertByID (0.39s) === RUN TestDeleteAlertTrustedIPS -time="2024-05-12T10:58:35-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestDeleteAlertTrustedIPS (0.46s) +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestDeleteAlertTrustedIPS (0.56s) === RUN TestAPIKey -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:36-12:00" level=info msg="Creating new API server" -time="2024-05-12T10:58:36-12:00" level=error msg="API key not found" ip= -time="2024-05-12T10:58:36-12:00" level=error msg="while fetching bouncer info: select bouncer: ent: bouncer not found: unable to query" ip= +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:08+14:00" level=info msg="Creating new API server" +time="2024-05-13T13:06:08+14:00" level=error msg="API key not found" ip= +time="2024-05-13T13:06:08+14:00" level=error msg="while fetching bouncer info: select bouncer: ent: bouncer not found: unable to query" ip= --- PASS: TestAPIKey (0.02s) === RUN TestAPICCAPIPullIsOld apic_test.go:98: --- SKIP: TestAPICCAPIPullIsOld (0.00s) === RUN TestAPICFetchScenariosListFromDB === RUN TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICFetchScenariosListFromDB/Multi_machine_with_custom+hub_scenarios -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestAPICFetchScenariosListFromDB (0.01s) - --- PASS: TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios (0.01s) +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestAPICFetchScenariosListFromDB (0.00s) + --- PASS: TestAPICFetchScenariosListFromDB/Simple_one_machine_with_two_scenarios (0.00s) --- PASS: TestAPICFetchScenariosListFromDB/Multi_machine_with_custom+hub_scenarios (0.00s) === RUN TestNewAPIC -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestNewAPIC/simple === RUN TestNewAPIC/error_in_parsing_URL --- PASS: TestNewAPIC (0.02s) - --- PASS: TestNewAPIC/simple (0.01s) + --- PASS: TestNewAPIC/simple (0.00s) --- PASS: TestNewAPIC/error_in_parsing_URL (0.00s) === RUN TestAPICHandleDeletedDecisions apic_test.go:227: --- SKIP: TestAPICHandleDeletedDecisions (0.00s) === RUN TestAPICGetMetrics === RUN TestAPICGetMetrics/simple -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" ---- PASS: TestAPICGetMetrics (0.02s) +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +--- PASS: TestAPICGetMetrics (0.01s) --- PASS: TestAPICGetMetrics/simple (0.01s) === RUN TestCreateAlertsForDecision === RUN TestCreateAlertsForDecision/2_decisions_CAPI_List_Decisions_should_create_2_alerts @@ -3983,32 +4019,32 @@ --- SKIP: TestAPICPullTop (0.00s) === RUN TestAPICPush === RUN TestAPICPush/simple_single_alert -time="2024-05-12T10:58:36-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:36-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-05-12T10:58:36-12:00" level=info msg="Signal push: 1 signals to push" -time="2024-05-12T10:58:37-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +time="2024-05-13T13:06:08+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:08+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-05-13T13:06:08+14:00" level=info msg="Signal push: 1 signals to push" +time="2024-05-13T13:06:09+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" === RUN TestAPICPush/simulated_alert_is_not_pushed -time="2024-05-12T10:58:37-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:37-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-05-12T10:58:38-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +time="2024-05-13T13:06:09+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:09+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-05-13T13:06:10+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" === RUN TestAPICPush/1_request_per_50_alerts -time="2024-05-12T10:58:38-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:38-12:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" -time="2024-05-12T10:58:38-12:00" level=info msg="Signal push: 100 signals to push" -time="2024-05-12T10:58:39-12:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" ---- PASS: TestAPICPush (3.02s) - --- PASS: TestAPICPush/simple_single_alert (1.01s) +time="2024-05-13T13:06:10+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:10+14:00" level=info msg="Start push to CrowdSec Central API (interval: 0s once, then 1ms)" +time="2024-05-13T13:06:10+14:00" level=info msg="Signal push: 100 signals to push" +time="2024-05-13T13:06:11+14:00" level=info msg="push tomb is dying, sending cache (0 elements) before exiting" +--- PASS: TestAPICPush (3.03s) + --- PASS: TestAPICPush/simple_single_alert (1.02s) --- PASS: TestAPICPush/simulated_alert_is_not_pushed (1.00s) --- PASS: TestAPICPush/1_request_per_50_alerts (1.00s) === RUN TestAPICSendMetrics apic_test.go:705: --- SKIP: TestAPICSendMetrics (0.00s) === RUN TestAPICPull -time="2024-05-12T10:58:39-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:11+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICPull/test_pull_if_no_scenarios_are_present -time="2024-05-12T10:58:39-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:11+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" === RUN TestAPICPull/test_pull -time="2024-05-12T10:58:39-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:12+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" --- PASS: TestAPICPull (1.01s) --- PASS: TestAPICPull/test_pull_if_no_scenarios_are_present (0.50s) --- PASS: TestAPICPull/test_pull (0.50s) @@ -4029,64 +4065,66 @@ === RUN TestWithWrongDBConfig --- PASS: TestWithWrongDBConfig (0.00s) === RUN TestWithWrongFlushConfig -time="2024-05-12T10:58:40-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:12+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" --- PASS: TestWithWrongFlushConfig (0.00s) -time="2024-05-12T10:58:40-12:00" level=info msg="last CAPI pull is newer than 1h30, skip." === RUN TestUnknownPath -time="2024-05-12T10:58:40-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:40-12:00" level=info msg="Creating new API server" +time="2024-05-13T13:06:12+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:12+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-05-13T13:06:12+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-05-13T13:06:12+14:00" level=info msg="last CAPI pull is newer than 1h30, skip." +time="2024-05-13T13:06:12+14:00" level=info msg="Creating new API server" --- PASS: TestUnknownPath (0.00s) === RUN TestLoggingDebugToFileConfig ---- PASS: TestLoggingDebugToFileConfig (0.51s) +--- PASS: TestLoggingDebugToFileConfig (0.52s) === RUN TestLoggingErrorToFileConfig ---- PASS: TestLoggingErrorToFileConfig (0.51s) +--- PASS: TestLoggingErrorToFileConfig (0.50s) === RUN TestDeleteDecisionRange ---- PASS: TestDeleteDecisionRange (0.24s) +--- PASS: TestDeleteDecisionRange (0.18s) === RUN TestDeleteDecisionFilter ---- PASS: TestDeleteDecisionFilter (0.16s) +--- PASS: TestDeleteDecisionFilter (0.19s) === RUN TestDeleteDecisionFilterByScenario ---- PASS: TestDeleteDecisionFilterByScenario (0.19s) +--- PASS: TestDeleteDecisionFilterByScenario (0.21s) === RUN TestGetDecisionFilters ---- PASS: TestGetDecisionFilters (0.19s) +--- PASS: TestGetDecisionFilters (0.73s) === RUN TestGetDecision ---- PASS: TestGetDecision (0.25s) +--- PASS: TestGetDecision (0.47s) === RUN TestDeleteDecisionByID ---- PASS: TestDeleteDecisionByID (0.19s) +--- PASS: TestDeleteDecisionByID (0.59s) === RUN TestDeleteDecision ---- PASS: TestDeleteDecision (0.18s) +--- PASS: TestDeleteDecision (0.46s) === RUN TestStreamStartDecisionDedup ---- PASS: TestStreamStartDecisionDedup (0.17s) +--- PASS: TestStreamStartDecisionDedup (0.75s) === RUN TestHeartBeat ---- PASS: TestHeartBeat (0.21s) +--- PASS: TestHeartBeat (0.68s) === RUN TestLogin ---- PASS: TestLogin (0.42s) +--- PASS: TestLogin (1.41s) === RUN TestCreateMachine ---- PASS: TestCreateMachine (0.08s) +--- PASS: TestCreateMachine (0.37s) === RUN TestCreateMachineWithForwardedFor ---- PASS: TestCreateMachineWithForwardedFor (0.07s) +--- PASS: TestCreateMachineWithForwardedFor (0.40s) === RUN TestCreateMachineWithForwardedForNoConfig ---- PASS: TestCreateMachineWithForwardedForNoConfig (0.07s) +--- PASS: TestCreateMachineWithForwardedForNoConfig (0.28s) === RUN TestCreateMachineWithoutForwardedFor ---- PASS: TestCreateMachineWithoutForwardedFor (0.08s) +--- PASS: TestCreateMachineWithoutForwardedFor (0.28s) === RUN TestCreateMachineAlreadyExist ---- PASS: TestCreateMachineAlreadyExist (0.24s) +--- PASS: TestCreateMachineAlreadyExist (0.73s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/apiserver 11.113s +ok github.com/crowdsecurity/crowdsec/pkg/apiserver 18.465s === RUN TestLoadLocalApiClientCfg TEST 'basic valid configuration' TEST 'invalid configuration' TEST 'invalid configuration filepath' TEST 'valid configuration with insecure skip verify' ---- PASS: TestLoadLocalApiClientCfg (0.00s) +--- PASS: TestLoadLocalApiClientCfg (0.03s) === RUN TestLoadOnlineApiClientCfg TEST 'basic valid configuration': OK TEST 'invalid configuration': OK -time="2024-05-12T10:58:32-12:00" level=warning msg="can't load CAPI credentials from './tests/bad_online-api-secrets.yaml' (missing field)" +time="2024-05-13T13:06:03+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) +--- PASS: TestLoadOnlineApiClientCfg (0.01s) === RUN TestLoadAPIServer -time="2024-05-12T10:58:32-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-05-13T13:06:03+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.00s) @@ -4161,13 +4199,13 @@ TEST 'basic valid configuration with acquisition dir' === RUN TestLoadCrowdsec/no_acquisition_file_and_dir TEST 'no acquisition file and dir' -time="2024-05-12T10:58:32-12:00" level=warning msg="no acquisition_path or acquisition_dir specified" -time="2024-05-12T10:58:32-12:00" level=warning msg="no acquisition file found" +time="2024-05-13T13:06:03+14:00" level=warning msg="no acquisition_path or acquisition_dir specified" +time="2024-05-13T13:06:03+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-05-12T10:58:32-12:00" level=warning msg="crowdsec agent is disabled" +time="2024-05-13T13:06:03+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) @@ -4179,7 +4217,7 @@ TEST 'no configuration path': OK --- PASS: TestLoadCSCLI (0.00s) === RUN TestLoadDBConfig -time="2024-05-12T10:58:32-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-05-13T13:06:03+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) @@ -4197,12 +4235,12 @@ === RUN TestSimulationLoading/basic_bad_file_name === RUN TestSimulationLoading/basic_bad_file_content === RUN TestSimulationLoading/basic_bad_file_content#01 ---- PASS: TestSimulationLoading (0.03s) +--- PASS: TestSimulationLoading (0.11s) --- 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.00s) - --- PASS: TestSimulationLoading/basic_bad_file_content#01 (0.02s) + --- PASS: TestSimulationLoading/basic_bad_file_content#01 (0.09s) === RUN TestIsSimulated === RUN TestIsSimulated/No_simulation_except_(in_exclusion) === RUN TestIsSimulated/All_simulation_(not_in_exclusion) @@ -4212,30 +4250,30 @@ --- 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.096s +ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.364s === RUN TestGetPluginNameAndTypeFromPath === RUN TestGetPluginNameAndTypeFromPath/valid_plugin_name,_single_dash === RUN TestGetPluginNameAndTypeFromPath/invalid_plugin_name === RUN TestGetPluginNameAndTypeFromPath/valid_plugin_name,_multiple_dash ---- PASS: TestGetPluginNameAndTypeFromPath (0.00s) +--- PASS: TestGetPluginNameAndTypeFromPath (0.01s) --- PASS: TestGetPluginNameAndTypeFromPath/valid_plugin_name,_single_dash (0.00s) --- PASS: TestGetPluginNameAndTypeFromPath/invalid_plugin_name (0.00s) --- PASS: TestGetPluginNameAndTypeFromPath/valid_plugin_name,_multiple_dash (0.00s) === RUN TestListFilesAtPath === RUN TestListFilesAtPath/valid_directory === RUN TestListFilesAtPath/invalid_directory ---- PASS: TestListFilesAtPath (0.00s) - --- PASS: TestListFilesAtPath/valid_directory (0.00s) +--- PASS: TestListFilesAtPath (0.01s) + --- PASS: TestListFilesAtPath/valid_directory (0.01s) --- PASS: TestListFilesAtPath/invalid_directory (0.00s) === RUN TestBrokerInit === RUN TestBrokerInit/valid_config -time="2024-05-12T10:58:37-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1686553785/notification-dummy]" path=tests/cs_plugin_test1686553785/notification-dummy -time="2024-05-12T10:58:37-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test1686553785/notification-dummy pid=601337 -time="2024-05-12T10:58:37-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1686553785/notification-dummy -time="2024-05-12T10:58:38-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:58:38-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:58:38-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1686553785/notification-dummy pid=601337 -time="2024-05-12T10:58:38-12:00" level=debug msg="plugin exited" +time="2024-05-13T13:06:12+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test4098836946/notification-dummy]" path=tests/cs_plugin_test4098836946/notification-dummy +time="2024-05-13T13:06:12+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test4098836946/notification-dummy pid=3516648 +time="2024-05-13T13:06:12+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test4098836946/notification-dummy +time="2024-05-13T13:06:12+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:06:12+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:06:12+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test4098836946/notification-dummy pid=3516648 +time="2024-05-13T13:06:12+14:00" level=debug msg="plugin exited" === RUN TestBrokerInit/group_writable_binary === RUN TestBrokerInit/group_writable_binary#01 === RUN TestBrokerInit/no_plugin_dir @@ -4243,91 +4281,91 @@ === RUN TestBrokerInit/only_specify_user === RUN TestBrokerInit/only_specify_group === RUN TestBrokerInit/Fails_to_run_as_root -time="2024-05-12T10:58:55-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3793304966/notification-dummy]" path=tests/cs_plugin_test3793304966/notification-dummy +time="2024-05-13T13:06:54+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3908872729/notification-dummy]" path=tests/cs_plugin_test3908872729/notification-dummy === RUN TestBrokerInit/Invalid_user_and_group === RUN TestBrokerInit/Valid_user_and_invalid_group ---- PASS: TestBrokerInit (27.91s) - --- PASS: TestBrokerInit/valid_config (4.24s) - --- PASS: TestBrokerInit/group_writable_binary (2.99s) - --- PASS: TestBrokerInit/group_writable_binary#01 (2.97s) - --- PASS: TestBrokerInit/no_plugin_dir (2.06s) - --- PASS: TestBrokerInit/no_plugin_binary (2.56s) - --- PASS: TestBrokerInit/only_specify_user (2.14s) - --- PASS: TestBrokerInit/only_specify_group (2.10s) - --- PASS: TestBrokerInit/Fails_to_run_as_root (2.20s) - --- PASS: TestBrokerInit/Invalid_user_and_group (3.95s) - --- PASS: TestBrokerInit/Valid_user_and_invalid_group (2.69s) +--- PASS: TestBrokerInit (61.85s) + --- PASS: TestBrokerInit/valid_config (6.17s) + --- PASS: TestBrokerInit/group_writable_binary (4.42s) + --- PASS: TestBrokerInit/group_writable_binary#01 (7.49s) + --- PASS: TestBrokerInit/no_plugin_dir (5.46s) + --- PASS: TestBrokerInit/no_plugin_binary (4.55s) + --- PASS: TestBrokerInit/only_specify_user (6.60s) + --- PASS: TestBrokerInit/only_specify_group (7.26s) + --- PASS: TestBrokerInit/Fails_to_run_as_root (6.79s) + --- PASS: TestBrokerInit/Invalid_user_and_group (6.61s) + --- PASS: TestBrokerInit/Valid_user_and_invalid_group (6.50s) === RUN TestBrokerNoThreshold -time="2024-05-12T10:59:04-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2865169458/notification-dummy]" path=tests/cs_plugin_test2865169458/notification-dummy -time="2024-05-12T10:59:04-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test2865169458/notification-dummy pid=617567 -time="2024-05-12T10:59:04-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2865169458/notification-dummy -time="2024-05-12T10:59:04-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:04-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:04-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:04-12:00" level=info msg="second send" -time="2024-05-12T10:59:04-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:04-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-05-12T10:59:04-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2865169458/notification-dummy pid=617567 -time="2024-05-12T10:59:04-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerNoThreshold (2.87s) +time="2024-05-13T13:07:13+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1351770647/notification-dummy]" path=tests/cs_plugin_test1351770647/notification-dummy +time="2024-05-13T13:07:13+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test1351770647/notification-dummy pid=3520372 +time="2024-05-13T13:07:13+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1351770647/notification-dummy +time="2024-05-13T13:07:13+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:13+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:13+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:13+14:00" level=info msg="second send" +time="2024-05-13T13:07:13+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:13+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-05-13T13:07:13+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1351770647/notification-dummy pid=3520372 +time="2024-05-13T13:07:13+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerNoThreshold (5.98s) === RUN TestBrokerRunGroupAndTimeThreshold_TimeFirst -time="2024-05-12T10:59:06-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test588263958/notification-dummy]" path=tests/cs_plugin_test588263958/notification-dummy -time="2024-05-12T10:59:06-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test588263958/notification-dummy pid=619496 -time="2024-05-12T10:59:06-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test588263958/notification-dummy -time="2024-05-12T10:59:06-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:06-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:07-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:08-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test588263958/notification-dummy pid=619496 -time="2024-05-12T10:59:08-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupAndTimeThreshold_TimeFirst (3.62s) +time="2024-05-13T13:07:20+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2111916310/notification-dummy]" path=tests/cs_plugin_test2111916310/notification-dummy +time="2024-05-13T13:07:20+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test2111916310/notification-dummy pid=3520789 +time="2024-05-13T13:07:20+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2111916310/notification-dummy +time="2024-05-13T13:07:20+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:20+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:21+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:22+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2111916310/notification-dummy pid=3520789 +time="2024-05-13T13:07:22+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupAndTimeThreshold_TimeFirst (8.19s) === RUN TestBrokerRunGroupAndTimeThreshold_CountFirst -time="2024-05-12T10:59:10-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1850375882/notification-dummy]" path=tests/cs_plugin_test1850375882/notification-dummy -time="2024-05-12T10:59:10-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test1850375882/notification-dummy pid=622362 -time="2024-05-12T10:59:10-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1850375882/notification-dummy -time="2024-05-12T10:59:10-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:10-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:10-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:10-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1850375882/notification-dummy pid=622362 -time="2024-05-12T10:59:10-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupAndTimeThreshold_CountFirst (2.52s) +time="2024-05-13T13:07:29+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test309203497/notification-dummy]" path=tests/cs_plugin_test309203497/notification-dummy +time="2024-05-13T13:07:29+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test309203497/notification-dummy pid=3521104 +time="2024-05-13T13:07:29+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test309203497/notification-dummy +time="2024-05-13T13:07:29+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:29+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:30+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:30+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test309203497/notification-dummy pid=3521104 +time="2024-05-13T13:07:30+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupAndTimeThreshold_CountFirst (8.10s) === RUN TestBrokerRunGroupThreshold -time="2024-05-12T10:59:12-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3656990816/notification-dummy]" path=tests/cs_plugin_test3656990816/notification-dummy -time="2024-05-12T10:59:12-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test3656990816/notification-dummy pid=623962 -time="2024-05-12T10:59:12-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3656990816/notification-dummy -time="2024-05-12T10:59:12-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:12-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:12-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:13-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3656990816/notification-dummy pid=623962 -time="2024-05-12T10:59:13-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunGroupThreshold (2.30s) +time="2024-05-13T13:07:35+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2257398548/notification-dummy]" path=tests/cs_plugin_test2257398548/notification-dummy +time="2024-05-13T13:07:35+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test2257398548/notification-dummy pid=3521483 +time="2024-05-13T13:07:35+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2257398548/notification-dummy +time="2024-05-13T13:07:35+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:35+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:35+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:35+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2257398548/notification-dummy pid=3521483 +time="2024-05-13T13:07:35+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunGroupThreshold (5.66s) === RUN TestBrokerRunTimeThreshold -time="2024-05-12T10:59:15-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3155443167/notification-dummy]" path=tests/cs_plugin_test3155443167/notification-dummy -time="2024-05-12T10:59:15-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test3155443167/notification-dummy pid=625345 -time="2024-05-12T10:59:15-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3155443167/notification-dummy -time="2024-05-12T10:59:15-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:15-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:16-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:16-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3155443167/notification-dummy pid=625345 -time="2024-05-12T10:59:16-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunTimeThreshold (3.24s) +time="2024-05-13T13:07:41+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test3434933467/notification-dummy]" path=tests/cs_plugin_test3434933467/notification-dummy +time="2024-05-13T13:07:41+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test3434933467/notification-dummy pid=3522140 +time="2024-05-13T13:07:41+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test3434933467/notification-dummy +time="2024-05-13T13:07:41+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:41+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:42+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:42+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test3434933467/notification-dummy pid=3522140 +time="2024-05-13T13:07:42+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunTimeThreshold (6.98s) === RUN TestBrokerRunSimple -time="2024-05-12T10:59:17-12:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test2111470556/notification-dummy]" path=tests/cs_plugin_test2111470556/notification-dummy -time="2024-05-12T10:59:17-12:00" level=debug msg="plugin started" path=tests/cs_plugin_test2111470556/notification-dummy pid=630269 -time="2024-05-12T10:59:17-12:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test2111470556/notification-dummy -time="2024-05-12T10:59:17-12:00" level=debug msg="using plugin" version=1 -time="2024-05-12T10:59:17-12:00" level=info msg="registered plugin dummy_default" -time="2024-05-12T10:59:17-12:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin -time="2024-05-12T10:59:18-12:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test2111470556/notification-dummy pid=630269 -time="2024-05-12T10:59:18-12:00" level=debug msg="plugin exited" ---- PASS: TestBrokerRunSimple (1.82s) +time="2024-05-13T13:07:50+14:00" level=debug msg="starting plugin" args="[tests/cs_plugin_test1996636350/notification-dummy]" path=tests/cs_plugin_test1996636350/notification-dummy +time="2024-05-13T13:07:50+14:00" level=debug msg="plugin started" path=tests/cs_plugin_test1996636350/notification-dummy pid=3522648 +time="2024-05-13T13:07:50+14:00" level=debug msg="waiting for RPC address" path=tests/cs_plugin_test1996636350/notification-dummy +time="2024-05-13T13:07:51+14:00" level=debug msg="using plugin" version=1 +time="2024-05-13T13:07:51+14:00" level=info msg="registered plugin dummy_default" +time="2024-05-13T13:07:51+14:00" level=info msg="received signal for dummy_default config" @module=dummy-plugin +time="2024-05-13T13:07:51+14:00" level=debug msg="plugin process exited" path=tests/cs_plugin_test1996636350/notification-dummy pid=3522648 +time="2024-05-13T13:07:51+14:00" level=debug msg="plugin exited" +--- PASS: TestBrokerRunSimple (8.52s) === RUN TestPluginWatcherInterval -2024/05/12 10:59:18 received -> testPlugin +2024/05/13 13:07:51 received -> testPlugin --- PASS: TestPluginWatcherInterval (0.00s) === RUN TestPluginAlertCountWatcher -2024/05/12 10:59:20 received -> testPlugin +2024/05/13 13:07:53 received -> testPlugin --- PASS: TestPluginAlertCountWatcher (2.05s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/csplugin 46.398s +ok github.com/crowdsecurity/crowdsec/pkg/csplugin 108.189s === RUN TestNewProfile === RUN TestNewProfile/filter_ok_and_duration_expr_ok expected : 1 | result : 1=== RUN TestNewProfile/filter_NOK_and_duration_expr_ok @@ -4351,676 +4389,676 @@ --- 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.113s +ok github.com/crowdsecurity/crowdsec/pkg/csprofiles 0.206s === RUN TestItemStatus -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="hub index is up to date" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Loaded 3 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" ---- PASS: TestItemStatus (0.00s) +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="hub index is up to date" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Loaded 3 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" +--- PASS: TestItemStatus (0.01s) === RUN TestGetters -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="hub index is up to date" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="hub index is up to date" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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.00s) === RUN TestIndexDownload -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="hub index is up to date" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="hub index is up to date" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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.00s) === RUN TestInstallParser -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_parser : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_parser : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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.01s) === RUN TestInstallCollection -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (false -> false)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_parser : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (false -> false)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (false -> false)" -time="2024-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (false -> false)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2024-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_subparser : OK" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_subcollection : OK" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" -time="2024-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled collections : crowdsecurity/foobar" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/foobar" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (true -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (true -> true)" -time="2024-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (true -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_subparser : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="[]" ---- PASS: TestInstallCollection (0.03s) +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (false -> false)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_parser : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (false -> false)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (false -> false)" +time="2024-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (false -> false)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2024-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_subparser : OK" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_subcollection : OK" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2024-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" +time="2024-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+14:00" level=info msg="Enabled collections : crowdsecurity/foobar" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" +time="2024-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14:00" level=debug msg="installed (crowdsecurity/foobar) - status:1 | installed:? | latest : 0.1 | full : map[0.1:{Digest:786c9490e4dd234453e53aa9bb7d28c60668e31c3c0c71a7dd6d0abbfa60261a Deprecated:false}]" +time="2024-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/foobar" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser (true -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_parser : overwrite" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection (true -> true)" +time="2024-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser (true -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_subparser : overwrite" +time="2024-05-13T13:06:06+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_subparser.yaml" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2024-05-13T13:06:06+14: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-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar_subcollection.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" +time="2024-05-13T13:06:06+14: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-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/foobar.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar : overwrite" +time="2024-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14: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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="[]" +--- PASS: TestInstallCollection (0.00s) === RUN TestDownloadHubIdx Test 'bad URL' -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" ->[]Test 'bad domain' -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://baddomain/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=error msg="unexpected error while opening hub index file: open : no such file or directory" +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://baddomain/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=error msg="unexpected error while opening hub index file: open : no such file or directory" ->[]Test 'bad target path' -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" ->[]--- PASS: TestDownloadHubIdx (0.00s) === RUN TestUpgradeConfigNewScenarioInCollection -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" -time="2024-05-12T10:58:34-12:00" level=debug msg="crowdsecurity/foobar_scenario : up-to-date, not updated" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" -time="2024-05-12T10:58:34-12:00" level=info msg="crowdsecurity/barfoo_scenario : OK" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/test_collection : overwrite" -time="2024-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (true -> true)" +time="2024-05-13T13:06:06+14:00" level=debug msg="crowdsecurity/foobar_scenario : up-to-date, not updated" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/foobar_scenario : overwrite" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" +time="2024-05-13T13:06:06+14:00" level=info msg="crowdsecurity/barfoo_scenario : OK" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/test_collection : overwrite" +time="2024-05-13T13:06:06+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-05-12T10:58:34-12:00" level=info msg="📦 crowdsecurity/test_collection : updated" -time="2024-05-12T10:58:34-12:00" level=info msg="Upgraded 1 items" -time="2024-05-12T10:58:34-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-05-13T13:06:06+14:00" level=info msg="📦 crowdsecurity/test_collection : updated" +time="2024-05-13T13:06:06+14:00" level=info msg="Upgraded 1 items" +time="2024-05-13T13:06:06+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" --- PASS: TestUpgradeConfigNewScenarioInCollection (0.02s) === RUN TestUpgradeConfigInDisabledSceanarioShouldNotBeInstalled -time="2024-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="hub index is up to date" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/test_collection : up-to-date" -time="2024-05-12T10:58:34-12:00" level=info msg="Item 'crowdsecurity/test_collection' is up-to-date" -time="2024-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="hub index is up to date" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/test_collection : up-to-date" +time="2024-05-13T13:06:06+14:00" level=info msg="Item 'crowdsecurity/test_collection' is up-to-date" +time="2024-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/foobar_scenario : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="crowdsecurity/test_collection : OK" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=info msg="Enabled collections : crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" -time="2024-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/.index.json" -time="2024-05-12T10:58:34-12:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-12:00" level=debug msg="Downloading collections crowdsecurity/test_collection" -time="2024-05-12T10:58:34-12:00" level=debug msg="skipping upgrade of crowdsecurity/test_collection : not installed" -time="2024-05-12T10:58:34-12:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" -time="2024-05-12T10:58:34-12:00" level=info msg="crowdsecurity/barfoo_scenario : OK" -time="2024-05-12T10:58:34-12:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" -time="2024-05-12T10:58:34-12:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" -time="2024-05-12T10:58:34-12:00" level=warning msg="crowdsecurity/test_collection : overwrite" -time="2024-05-12T10:58:34-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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 4402 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/foobar_scenario (false -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/foobar_scenario.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/foobar_scenario : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="crowdsecurity/test_collection : OK" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=info msg="Enabled collections : crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="crowdsecurity/test_collection dependencies not checked : not up-to-date" +time="2024-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="fetching index from branch master (https://hub-cdn.crowdsec.net/master/.index.json)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/.index.json" +time="2024-05-13T13:06:06+14:00" level=info msg="Wrote new 5385 bytes index to hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+14:00" level=debug msg="Downloading collections crowdsecurity/test_collection" +time="2024-05-13T13:06:06+14:00" level=debug msg="skipping upgrade of crowdsecurity/test_collection : not installed" +time="2024-05-13T13:06:06+14:00" level=debug msg="Download crowdsecurity/test_collection sub-item : scenarios crowdsecurity/barfoo_scenario (true -> true)" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/scenarios/crowdsecurity/barfoo_scenario.yaml" +time="2024-05-13T13:06:06+14:00" level=info msg="crowdsecurity/barfoo_scenario : OK" +time="2024-05-13T13:06:06+14:00" level=info msg="Enabled scenarios : crowdsecurity/barfoo_scenario" +time="2024-05-13T13:06:06+14:00" level=info msg="---> /master/collections/crowdsecurity/test_collection.yaml" +time="2024-05-13T13:06:06+14:00" level=warning msg="crowdsecurity/test_collection : overwrite" +time="2024-05-13T13:06:06+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-05-12T10:58:34-12:00" level=info msg="📦 crowdsecurity/test_collection : updated" -time="2024-05-12T10:58:34-12:00" level=info msg="Upgraded 1 items" -time="2024-05-12T10:58:34-12:00" level=debug msg="loading hub idx hubdir/.index.json" -time="2024-05-12T10:58:34-12:00" level=debug msg="4 item types in hub index" -time="2024-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-12T10:58:34-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-05-13T13:06:06+14:00" level=info msg="📦 crowdsecurity/test_collection : updated" +time="2024-05-13T13:06:06+14:00" level=info msg="Upgraded 1 items" +time="2024-05-13T13:06:06+14:00" level=debug msg="loading hub idx hubdir/.index.json" +time="2024-05-13T13:06:06+14:00" level=debug msg="4 item types in hub index" +time="2024-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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-05-13T13:06:06+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.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.126s +ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.264s === RUN TestVisitor -time="2024-05-12T10:58:37-12:00" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" -time="2024-05-12T10:58:37-12:00" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg=" static_one = 'crowdse'" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg=" static_one.foo = 'bar'" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg=" static_one.foo = 'bar'" type=test -time="2024-05-12T10:58:37-12:00" level=debug msg="unable to create expr debugger with empty filter" ---- PASS: TestVisitor (0.01s) +time="2024-05-13T13:06:11+14:00" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" +time="2024-05-13T13:06:11+14:00" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg="eval variables:" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg=" static_one = 'crowdse'" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg="eval variables:" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg=" static_one.foo = 'bar'" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg=" static_one.foo = 'bar'" type=test +time="2024-05-13T13:06:11+14:00" level=debug msg="unable to create expr debugger with empty filter" +--- PASS: TestVisitor (0.00s) === RUN TestRegexpInFile -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" ---- PASS: TestRegexpInFile (0.00s) +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +--- PASS: TestRegexpInFile (0.01s) === RUN TestFileInit -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'file with type:string' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'file with type:re' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" -time="2024-05-12T10:58:37-12:00" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'file without type' : OK" ---- PASS: TestFileInit (0.00s) +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'file with type:string' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'file with type:re' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" +time="2024-05-13T13:06:11+14:00" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'file without type' : OK" +--- PASS: TestFileInit (0.01s) === RUN TestFile -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'File() test: word in file' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'File() test: word in file but different case' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'File() test: word not in file' : OK" -time="2024-05-12T10:58:37-12:00" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'File() test: word in file' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'File() test: word in file but different case' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'File() test: word not in file' : OK" +time="2024-05-13T13:06:11+14:00" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" +time="2024-05-13T13:06:11+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-05-13T13:06:11+14:00" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" --- PASS: TestFile (0.00s) === RUN TestIpInRange -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpInRange() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="'192.168.0' is not a valid IP" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpInRange() test: malformed IP' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="'192.168.0.0/255' is not a valid IP" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpInRange() test: malformed IP range' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpInRange() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="'192.168.0' is not a valid IP" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpInRange() test: malformed IP' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="'192.168.0.0/255' is not a valid IP" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpInRange() test: malformed IP range' : OK" --- PASS: TestIpInRange (0.00s) === RUN TestIpToRange -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpToRange() test: IPv4' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpToRange() test: IPv6' : OK" -time="2024-05-12T10:58:37-12:00" level=error msg="bad cidr 'test': strconv.Atoi: parsing \"test\": invalid syntax" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpToRange() test: malformed netmask' : OK" -time="2024-05-12T10:58:37-12:00" level=error msg="can't parse IP address 'a.b.c.d'" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpToRange() test: malformed IP' : OK" -time="2024-05-12T10:58:37-12:00" level=error msg="can't get cidr '35' of '192.168.1.1'" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'IpToRange() test: too high netmask' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpToRange() test: IPv4' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpToRange() test: IPv6' : OK" +time="2024-05-13T13:06:11+14:00" level=error msg="bad cidr 'test': strconv.Atoi: parsing \"test\": invalid syntax" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpToRange() test: malformed netmask' : OK" +time="2024-05-13T13:06:11+14:00" level=error msg="can't parse IP address 'a.b.c.d'" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpToRange() test: malformed IP' : OK" +time="2024-05-13T13:06:11+14:00" level=error msg="can't get cidr '35' of '192.168.1.1'" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'IpToRange() test: too high netmask' : OK" --- PASS: TestIpToRange (0.00s) === RUN TestAtof -time="2024-05-12T10:58:37-12:00" level=debug msg="debug atof 1.5" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'Atof()' : OK" -time="2024-05-12T10:58:37-12:00" level=debug msg="debug atof 1aaa.5" -time="2024-05-12T10:58:37-12:00" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'Atof()' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="debug atof 1.5" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'Atof()' : OK" +time="2024-05-13T13:06:11+14:00" level=debug msg="debug atof 1aaa.5" +time="2024-05-13T13:06:11+14:00" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'Atof()' : OK" --- PASS: TestAtof (0.00s) === RUN TestUpper -time="2024-05-12T10:58:37-12:00" level=info msg="test 'Upper()' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'Upper()' : OK" --- PASS: TestUpper (0.00s) === RUN TestTimeNow -time="2024-05-12T10:58:37-12:00" level=info msg="test 'TimeNow()' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'TimeNow()' : OK" --- PASS: TestTimeNow (0.00s) === RUN TestParseUri -time="2024-05-12T10:58:37-12:00" level=info msg="test 'ParseUri() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'ParseUri() test: no param' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'ParseUri() test: extra question mark' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'ParseUri() test: weird params' : OK" -time="2024-05-12T10:58:37-12:00" level=error msg="Could not parse query uri : invalid URL escape \"%%F\"" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'ParseUri() test: bad encoding' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'ParseUri() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'ParseUri() test: no param' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'ParseUri() test: extra question mark' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'ParseUri() test: weird params' : OK" +time="2024-05-13T13:06:11+14:00" level=error msg="Could not parse query uri : invalid URL escape \"%%F\"" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'ParseUri() test: bad encoding' : OK" --- PASS: TestParseUri (0.00s) === RUN TestQueryEscape -time="2024-05-12T10:58:37-12:00" level=info msg="test 'QueryEscape() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'QueryEscape() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'QueryEscape() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'QueryEscape() test: basic test' : OK" --- PASS: TestQueryEscape (0.00s) === RUN TestPathEscape -time="2024-05-12T10:58:37-12:00" level=info msg="test 'PathEscape() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'PathEscape() test: basic test with more special chars' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'PathEscape() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'PathEscape() test: basic test with more special chars' : OK" --- PASS: TestPathEscape (0.00s) === RUN TestPathUnescape -time="2024-05-12T10:58:37-12:00" level=info msg="test 'PathUnescape() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'PathUnescape() test: basic test with more special chars' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'PathUnescape() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'PathUnescape() test: basic test with more special chars' : OK" --- PASS: TestPathUnescape (0.00s) === RUN TestQueryUnescape -time="2024-05-12T10:58:37-12:00" level=info msg="test 'QueryUnescape() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'QueryUnescape() test: basic test with more special chars' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'QueryUnescape() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'QueryUnescape() test: basic test with more special chars' : OK" --- PASS: TestQueryUnescape (0.00s) === RUN TestLower -time="2024-05-12T10:58:37-12:00" level=info msg="test 'Lower() test: basic test' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'Lower() test: basic test with more special chars' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'Lower() test: basic test' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'Lower() test: basic test with more special chars' : OK" --- PASS: TestLower (0.00s) === RUN TestGetDecisionsCount -time="2024-05-12T10:58:37-12:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'GetDecisionsCount() test: existing IP count' : OK" -time="2024-05-12T10:58:37-12:00" level=info msg="test 'GetDecisionsCount() test: unknown IP count' : OK" ---- PASS: TestGetDecisionsCount (0.00s) +time="2024-05-13T13:06:11+14:00" level=warning msg="MaxOpenConns is 0, defaulting to 100" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'GetDecisionsCount() test: existing IP count' : OK" +time="2024-05-13T13:06:11+14:00" level=info msg="test 'GetDecisionsCount() test: unknown IP count' : OK" +--- PASS: TestGetDecisionsCount (0.02s) === RUN TestGetDecisionsSinceCount exprlib_test.go:850: --- SKIP: TestGetDecisionsSinceCount (0.00s) === RUN TestJsonExtract -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2024/05/12 10:58:37 test 'basic json extract' : OK -time="2024-05-12T10:58:37-12:00" level=debug msg="[non_existing_field] doesn't exist" -2024/05/12 10:58:37 test 'basic json extract with non existing field' : OK -2024/05/12 10:58:37 test 'extract subfield' : OK ---- PASS: TestJsonExtract (0.00s) +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2024/05/13 13:06:11 test 'basic json extract' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="[non_existing_field] doesn't exist" +2024/05/13 13:06:11 test 'basic json extract with non existing field' : OK +2024/05/13 13:06:11 test 'extract subfield' : OK +--- PASS: TestJsonExtract (0.04s) === RUN TestJsonExtractUnescape -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" -2024/05/12 10:58:37 test 'basic json extract' : OK -time="2024-05-12T10:58:37-12:00" level=debug msg="[non_existing_field] doesn't exist" -2024/05/12 10:58:37 test 'basic json extract with non existing field' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +2024/05/13 13:06:11 test 'basic json extract' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="[non_existing_field] doesn't exist" +2024/05/13 13:06:11 test 'basic json extract with non existing field' : OK --- PASS: TestJsonExtractUnescape (0.00s) === RUN TestJsonExtractSlice -time="2024-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-05-13T13:06:11+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-05-12T10:58:37-12:00" level=error msg="jsonExtractType : expected type array for target test but found string" -time="2024-05-12T10:58:37-12:00" level=error msg="JsonExtractSlice : jsonExtractType: expected type array for target test but found string" +time="2024-05-13T13:06:11+14:00" level=error msg="jsonExtractType : expected type array for target test but found string" +time="2024-05-13T13:06:11+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-05-12T10:58:37-12:00" level=debug msg="Key foo doesn't exist" -time="2024-05-12T10:58:37-12:00" level=error msg="JsonExtractSlice : key foo does not exist" +time="2024-05-13T13:06:11+14:00" level=debug msg="Key foo doesn't exist" +time="2024-05-13T13:06:11+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-05-12T10:58:37-12:00" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" +time="2024-05-13T13:06:11+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-05-12T10:58:37-12:00" level=error msg="jsonExtractType : expected type object for target test but found string" -time="2024-05-12T10:58:37-12:00" level=error msg="JsonExtractObject: jsonExtractType: expected type object for target test but found string" +time="2024-05-13T13:06:11+14:00" level=error msg="jsonExtractType : expected type object for target test but found string" +time="2024-05-13T13:06:11+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) @@ -5034,7 +5072,7 @@ === RUN TestToJson/convert_struct === RUN TestToJson/convert_complex_struct === RUN TestToJson/convert_invalid_type -time="2024-05-12T10:58:37-12:00" level=error msg="ToJson : json: unsupported type: func()" +time="2024-05-13T13:06:11+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) @@ -5043,889 +5081,889 @@ --- PASS: TestToJson/convert_complex_struct (0.00s) --- PASS: TestToJson/convert_invalid_type (0.00s) === RUN TestXMLGetAttributeValue -2024/05/12 10:58:37 test 'XMLGetAttributeValue' : OK -time="2024-05-12T10:58:37-12:00" level=debug msg="Could not find attribute asdasd" -2024/05/12 10:58:37 test 'Non existing attribute for XMLGetAttributeValue' : OK -time="2024-05-12T10:58:37-12:00" level=debug msg="Could not find element /foo/bar" -2024/05/12 10:58:37 test 'Non existing path for XMLGetAttributeValue' : OK -2024/05/12 10:58:37 test 'Invalid XML for XMLGetAttributeValue' : OK -time="2024-05-12T10:58:37-12:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." -2024/05/12 10:58:37 test 'Invalid path for XMLGetAttributeValue' : OK +2024/05/13 13:06:11 test 'XMLGetAttributeValue' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="Could not find attribute asdasd" +2024/05/13 13:06:11 test 'Non existing attribute for XMLGetAttributeValue' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="Could not find element /foo/bar" +2024/05/13 13:06:11 test 'Non existing path for XMLGetAttributeValue' : OK +2024/05/13 13:06:11 test 'Invalid XML for XMLGetAttributeValue' : OK +time="2024-05-13T13:06:11+14:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." +2024/05/13 13:06:11 test 'Invalid path for XMLGetAttributeValue' : OK --- PASS: TestXMLGetAttributeValue (0.00s) === RUN TestXMLGetNodeValue -2024/05/12 10:58:37 test 'XMLGetNodeValue' : OK -time="2024-05-12T10:58:37-12:00" level=debug msg="Could not find element /foo/bar" -2024/05/12 10:58:37 test 'Non existing path for XMLGetNodeValue' : OK -2024/05/12 10:58:37 test 'Invalid XML for XMLGetNodeValue' : OK -time="2024-05-12T10:58:37-12:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." -2024/05/12 10:58:37 test 'Invalid path for XMLGetNodeValue' : OK +2024/05/13 13:06:11 test 'XMLGetNodeValue' : OK +time="2024-05-13T13:06:11+14:00" level=debug msg="Could not find element /foo/bar" +2024/05/13 13:06:11 test 'Non existing path for XMLGetNodeValue' : OK +2024/05/13 13:06:11 test 'Invalid XML for XMLGetNodeValue' : OK +time="2024-05-13T13:06:11+14:00" level=error msg="Could not compile path /foo/bar[@: etree: path has invalid filter [brackets]." +2024/05/13 13:06:11 test 'Invalid path for XMLGetNodeValue' : OK --- PASS: TestXMLGetNodeValue (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.137s +ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.212s === RUN TestCheckPathNotContained --- PASS: TestCheckPathNotContained (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/hubtest 0.105s +ok github.com/crowdsecurity/crowdsec/pkg/hubtest 0.212s === RUN TestBucket -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/leaky-fixedqueue" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/leaky-scope-range-expression" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/overflow-with-meta" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/overflow-with-meta-and-information" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-counter" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-counter-bh" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-counter-timeout" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-blackhole" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-cancel_on" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-overflow" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-underflow" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq-cachesize" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-trigger" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-trigger-external-data" -time="2024-05-12T10:58:37-12:00" level=info msg="Running test on ./tests/simple-trigger-reprocess" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/leaky-fixedqueue" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/leaky-scope-range-expression" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/overflow-with-meta" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/overflow-with-meta-and-information" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-counter" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-counter-bh" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-counter-timeout" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-blackhole" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-cancel_on" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-overflow" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-underflow" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq-cachesize" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-trigger" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-trigger-external-data" +time="2024-05-13T13:06:13+14:00" level=info msg="Running test on ./tests/simple-trigger-reprocess" --- PASS: TestBucket (0.00s) === RUN TestBadBucketsConfig -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name= -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name= +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test --- PASS: TestBadBucketsConfig (0.00s) === RUN TestLeakyBucketsConfig -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test -time="2024-05-12T10:58:37-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 +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Bucket without filter, abort." cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test +time="2024-05-13T13:06:13+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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test +time="2024-05-13T13:06:13+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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg= file= name=test --- PASS: TestTriggerBucketsConfig (0.00s) === RUN TestCounterBucketsConfig -time="2024-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg= file= name=test -time="2024-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg= file= name=test +time="2024-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg= file= name=test --- PASS: TestCounterBucketsConfig (0.00s) === RUN TestGCandDump -time="2024-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast -time="2024-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:37-12:00" level=info msg="Pouring to bucket" -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=patient-smoke capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=floral-field capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=dark-wildflower capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 2 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg=wandering-pond file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg=quiet-leaf file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 2 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:37-12:00" level=info msg="Restored 1 buckets from dump" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding counter bucket" cfg=shy-breeze file=tests/simple-counter/bucket.yaml name=test/simple-counter -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding trigger bucket" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=info msg="Adding leaky bucket" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=warning msg="Loaded 1 scenarios" -time="2024-05-12T10:58:37-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-05-12T10:58:37-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-05-12T10:58:37-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating TimeMachine bucket" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wandering-sound capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:37-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=wandering-sound capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:37-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=9) \"specvalue\": (string) (len=1) \"1\"\n }\n}\n" -time="2024-05-12T10:58:37-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating TimeMachine bucket" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=falling-butterfly capacity=1 cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:37-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating TimeMachine bucket" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=black-river capacity=1 cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:37-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=black-river capacity=1 cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-05-12T10:58:37-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=falling-butterfly capacity=1 cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-05-12T10:58:37-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-05-12T10:58:37-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg="eval variables:" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg="Creating TimeMachine bucket" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=shy-flower capacity=1 cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-05-12T10:58:37-12:00" level=debug msg="Created new bucket 756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:37-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=shy-flower capacity=1 cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=blue-morning capacity=1 cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=blue-morning capacity=1 cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter didn't match" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=frosty-star capacity=5 cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=frosty-star capacity=5 cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-05-12T10:58:38-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-05-12T10:58:38-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=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=falling-butterfly capacity=0 cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-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=falling-butterfly capacity=0 cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=falling-butterfly capacity=0 cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=crimson-surf capacity=0 cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Overflow.Alert = ''" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-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=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Overflow.Alert.Scenario = ''" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=crimson-surf capacity=0 cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=crimson-surf capacity=0 cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 -time="2024-05-12T10:58:38-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-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=icy-sea capacity=0 cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=icy-sea capacity=0 cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=icy-sea capacity=0 cfg=summer-pond file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-05-12T10:58:38-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-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(baa) : ok" bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=empty-fog capacity=2 cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=empty-fog capacity=2 cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=misty-rain capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-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=misty-rain capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=misty-rain capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=dark-flower capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-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=dark-flower capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=dark-flower capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=5) \"entry\": (string) (len=1) \"2\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 +0000" bucket_id=wandering-sound capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=wandering-sound capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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=9) \"specvalue\": (string) (len=1) \"2\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=black-river capacity=1 cfg=falling-smoke file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=falling-butterfly capacity=1 cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-05-12T10:58:38-12:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=falling-butterfly capacity=1 cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-05-12T10:58:38-12:00" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=falling-butterfly capacity=1 cfg=snowy-dust file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=shy-flower capacity=1 cfg=purple-sea file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=blue-morning capacity=1 cfg=damp-tree file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '42'" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter matched, kill bucket" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="Suicide triggered" bucket_id=wild-shadow capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-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=8) \"uniq_key\": (string) (len=3) \"aab\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-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=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=lively-butterfly file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=warning msg="Event wasn't poured" -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=wandering-bush capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=wandering-bush capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=wandering-bush capacity=0 cfg=dark-bird file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=still-glitter capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-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=still-glitter capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-12:00" level=info msg="Bucket overflow" bucket_id=still-glitter capacity=0 cfg=lingering-frog file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=muddy-breeze capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 +0000" bucket_id=muddy-breeze capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter didn't match" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=broken-snowflake capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aac) : ok" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(bab) : ok" bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 +0000" bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 +0000" bucket_id=icy-morning capacity=1 cfg=muddy-darkness file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"4\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 +0000" bucket_id=muddy-breeze capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=muddy-breeze capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=muddy-breeze capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter didn't match" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=white-river capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 +0000" bucket_id=white-river capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter didn't match" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:00 +0000 +0000" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=summer-haze capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 +0000" bucket_id=white-river capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=white-river capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-12:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 +0000)" bucket_id=white-river capacity=1 cfg=frosty-bush file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=frosty-star capacity=5 cfg=polished-snowflake file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="reset_filter didn't match" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=fragrant-sky capacity=1 cfg=bitter-sun file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=floral-mountain capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:38-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.5\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Creating TimeMachine bucket" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-12:00" level=debug msg="Created new bucket 53e77e47cfe0d5f868527c944c9f79909fef8ac1" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ok" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-12:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:03 +0000 +0000" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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) \"aab\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aab) : ok" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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) \"aac\"\n }\n}\n" -time="2024-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aac) : ok" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="Adding overflow to blackhole (2024-05-12 22:58:37.956201654 +0000 UTC)" bucket_id=patient-smoke capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-05-12T10:58:38-12:00" level=info msg="Timed Overflow" bucket_id=patient-smoke capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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=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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aac) : ko, discard event" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-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-05-12T10:58:38-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="eval variables:" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky -time="2024-05-12T10:58:38-12:00" level=warning msg="Done pouring !" -time="2024-05-12T10:58:38-12:00" level=debug msg="Uniq(aad) : ok" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-12:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:06 +0000 +0000" bucket_id=twilight-firefly capacity=3 cfg=sparkling-sun file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 -time="2024-05-12T10:58:38-12:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=snowy-frost capacity=-1 cfg=wandering-pond file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-05-12T10:58:38-12:00" level=info msg="Timed Overflow" bucket_id=snowy-frost capacity=-1 cfg=wandering-pond file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=error msg="Overflow being reprocessed." -time="2024-05-12T10:58:39-12:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:39-12:00" level=debug msg="eval variables:" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:39-12:00" level=debug msg=" evt.Line.Labels.type = ''" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:39-12:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=nameless-sun file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess -time="2024-05-12T10:58:39-12:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg="eval variables:" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg=" evt.Overflow.Alert = '&{0x40001ad334 [] [0x400007fde0] 0x40001ad338 0 [] 0x4000161eb0 0x4000161ee0 [] false 0x400001aa80 0x400001ac00 0x400001ac10 0x400001ab41 0x4000433340 0x4000161ec0 0x4000161ed0}'" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg=" evt.Overflow.Alert.Scenario = '0x400001aa80'" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg="Creating Live bucket" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=polished-glade capacity=0 cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2024-05-12T10:58:39-12:00" level=info msg="Timed Overflow" bucket_id=throbbing-wave capacity=-1 cfg=shy-breeze file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de -time="2024-05-12T10:58:39-12:00" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=info msg="Bucket overflow" bucket_id=polished-glade capacity=0 cfg=cold-brook file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=debug msg="bucket underflow, destroy" bucket_id=empty-fog capacity=2 cfg=solitary-star file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:39-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:39-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:39-12:00" level=info msg="Bucket GC" -time="2024-05-12T10:58:39-12:00" level=debug msg="overflowed at 2024-05-12 22:58:38.459386131 +0000 UTC." bucket_id=patient-smoke capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 -time="2024-05-12T10:58:39-12:00" level=debug msg="UNDERFLOW : first_ts:2024-05-12 22:58:37.956213614 +0000 UTC tokens_at:9223372036854775808.000000 capcity:-1.000000" bucket_id=floral-field capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-05-12T10:58:39-12:00" level=info msg="Cleaned 2 buckets" -time="2024-05-12T10:58:39-12:00" level=info msg="Dumping buckets state" -time="2024-05-12T10:58:39-12:00" level=info msg="Dumping buckets state at 2024-05-12 22:58:39.939482715 +0000 UTC" -time="2024-05-12T10:58:39-12:00" level=debug msg="(2024-05-12 22:58:37.939236477 +0000 UTC) not dead, count:4.000000 capacity:5.000000" bucket_id=dark-wildflower capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-05-12T10:58:39-12:00" level=info msg="Serialized 1 live buckets (+0 expired) in 1695 bytes to /tmp/crowdsec-buckets-dump-1685272336" +time="2024-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast +time="2024-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:13+14:00" level=info msg="Pouring to bucket" +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=aged-violet capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=bold-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=long-breeze capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 2 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=billowing-dawn capacity=1 cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=quiet-water capacity=1 cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=quiet-water capacity=1 cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=billowing-dawn capacity=1 cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-05-13T13:06:13+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-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg=sparkling-pine file=tests/simple-counter/bucket.yaml name=test/simple-counter +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg=long-paper file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding counter bucket" cfg=lingering-night file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=info msg="Restored 1 buckets from dump" +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+14:00" level=info msg="Adding trigger bucket" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 2 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=info msg="Adding leaky bucket" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Loaded 1 scenarios" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/filter-discard' is poured" cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/filter-ok' is poured" cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=quiet-water capacity=1 cfg=hidden-violet file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 +0000" bucket_id=billowing-dawn capacity=1 cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-05-13T13:06:13+14:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=billowing-dawn capacity=1 cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-05-13T13:06:13+14:00" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=billowing-dawn capacity=1 cfg=frosty-silence file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=broken-glade capacity=5 cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=broken-glade capacity=5 cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=divine-forest capacity=1 cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=divine-forest capacity=1 cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-05-13T13:06:13+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-05-13T13:06:13+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-05-13T13:06:13+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=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=bitter-waterfall capacity=0 cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=fragrant-surf capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+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=fragrant-surf capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+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=bitter-waterfall capacity=0 cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=fragrant-surf capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=bitter-waterfall capacity=0 cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=little-feather capacity=2 cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=little-feather capacity=2 cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter didn't match" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=dawn-silence capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=dawn-silence capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=delicate-morning capacity=0 cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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=delicate-morning capacity=0 cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=delicate-morning capacity=0 cfg=shy-surf file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=black-night capacity=1 cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(baa) : ok" bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=black-night capacity=1 cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=wandering-waterfall capacity=0 cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Overflow.Alert = ''" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+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=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Overflow.Alert.Scenario = ''" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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=wandering-waterfall capacity=0 cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=wandering-waterfall capacity=0 cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=frosty-butterfly capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+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=frosty-butterfly capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=frosty-butterfly capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/leaky-scope-range-expression' is poured" cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=divine-forest capacity=1 cfg=dry-lake file=tests/leaky-scope-range-expression/bucket.yaml name=test/leaky-scope-range-expression partition=756c125fe99ffa4e8e6ac5e976a5038aaacf3bfc +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=falling-wood capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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=falling-wood capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=falling-wood capacity=0 cfg=young-feather file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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-05-13T13:06:13+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=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=still-hill file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Event wasn't poured" +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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=5) \"entry\": (string) (len=1) \"2\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 +0000" bucket_id=dawn-silence capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=dawn-silence capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '42'" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter matched, kill bucket" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="Suicide triggered" bucket_id=hidden-dream capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 +0000" bucket_id=black-night capacity=1 cfg=bold-wave file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=floral-grass capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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=floral-grass capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+14:00" level=info msg="Bucket overflow" bucket_id=floral-grass capacity=0 cfg=dry-resonance file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 +0000" bucket_id=nameless-dust capacity=1 cfg=hidden-glade file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aac) : ok" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 24eaec6bc8c1855990d7e3c18ada0689f50ef9c6" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter didn't match" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=white-rain capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=24eaec6bc8c1855990d7e3c18ada0689f50ef9c6 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=cold-violet capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 +0000" bucket_id=cold-violet capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(bab) : ok" bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 +0000" bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter didn't match" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 +0000" bucket_id=cold-violet capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=cold-violet capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=cold-violet capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter didn't match" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:00 +0000 +0000" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 +0000)" bucket_id=dark-thunder capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+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=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"5\"\n }\n}\n" +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wandering-wave capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 +0000" bucket_id=wandering-wave capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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=8) \"uniq_key\": (string) (len=3) \"aab\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=old-fog capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=broken-glade capacity=5 cfg=weathered-thunder file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 3d9ff784a8e38dd358492a853068c2573459c9b8" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky-cancel' is poured" cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel +time="2024-05-13T13:06:13+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Parsed.random_value == '42') = FALSE" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Parsed.random_value = '41'" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="reset_filter didn't match" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 +0000" bucket_id=empty-wind capacity=1 cfg=young-waterfall file=tests/simple-leaky-cancel_on/bucket.yaml name=test/simple-leaky-cancel partition=3d9ff784a8e38dd358492a853068c2573459c9b8 +time="2024-05-13T13:06:13+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 +0000" bucket_id=wandering-wave capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=wandering-wave capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+14:00" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 +0000)" bucket_id=wandering-wave capacity=1 cfg=weathered-star file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:13+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=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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Creating TimeMachine bucket" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Leaky routine starting, lifetime : 1m20s" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:13+14:00" level=debug msg="Created new bucket 53e77e47cfe0d5f868527c944c9f79909fef8ac1" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aaa) : ok" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:13+14:00" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:03 +0000 +0000" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:13+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=8) \"uniq_key\": (string) (len=3) \"aab\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" +time="2024-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aab) : ok" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:13+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-05-13T13:06:13+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:13+14:00" level=debug msg="Uniq(aac) : ok" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+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-05-13T13:06:14+14:00" level=debug msg="Adding overflow to blackhole (2024-05-12 23:06:13.531217302 +0000 UTC)" bucket_id=aged-violet capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-05-13T13:06:14+14:00" level=info msg="Timed Overflow" bucket_id=aged-violet capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-05-13T13:06:14+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) \"aaa\"\n }\n}\n" +time="2024-05-13T13:06:14+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+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-05-13T13:06:14+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="Uniq(aab) : ko, discard event" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+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-05-13T13:06:14+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="Uniq(aac) : ko, discard event" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+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=8) \"uniq_key\": (string) (len=3) \"aad\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" +time="2024-05-13T13:06:14+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky +time="2024-05-13T13:06:14+14:00" level=warning msg="Done pouring !" +time="2024-05-13T13:06:14+14:00" level=debug msg="Uniq(aad) : ok" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+14:00" level=debug msg="Bucket overflow at 2020-01-01 10:00:06 +0000 +0000" bucket_id=summer-breeze capacity=3 cfg=cold-frost file=tests/simple-leaky-uniq-cachesize/bucket.yaml name=test/simple-leaky partition=53e77e47cfe0d5f868527c944c9f79909fef8ac1 +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=info msg="Timed Overflow" bucket_id=long-pond capacity=-1 cfg=sparkling-pine file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=info msg="Event is discarded by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=wispy-sky capacity=-1 cfg=long-paper file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-05-13T13:06:14+14:00" level=info msg="Timed Overflow" bucket_id=wispy-sky capacity=-1 cfg=long-paper file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=error msg="Overflow being reprocessed." +time="2024-05-13T13:06:14+14:00" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Line.Labels.type = ''" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:14+14:00" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=billowing-morning file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess +time="2024-05-13T13:06:14+14:00" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg="eval variables:" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Overflow.Alert = '&{0x4000493204 [] [0x400007d3e0] 0x4000493208 0 [] 0x40003e9810 0x40003e9840 [] false 0x4000417dc0 0x4000417f40 0x4000417f50 0x4000417e81 0x4000226540 0x40003e9820 0x40003e9830}'" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg=" evt.Overflow.Alert.Scenario = '0x4000417dc0'" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg="Creating Live bucket" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=lively-dawn capacity=0 cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2024-05-13T13:06:14+14:00" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=info msg="Bucket overflow" bucket_id=lively-dawn capacity=0 cfg=withered-morning file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:14+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=debug msg="bucket underflow, destroy" bucket_id=little-feather capacity=2 cfg=throbbing-wave file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:15+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=info msg="Bucket GC" +time="2024-05-13T13:06:15+14:00" level=debug msg="overflowed at 2024-05-12 23:06:14.033551731 +0000 UTC." bucket_id=aged-violet capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 +time="2024-05-13T13:06:15+14:00" level=debug msg="UNDERFLOW : first_ts:2024-05-12 23:06:13.564434137 +0000 UTC tokens_at:9223372036854775808.000000 capcity:-1.000000" bucket_id=bold-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-05-13T13:06:15+14:00" level=info msg="Cleaned 2 buckets" +time="2024-05-13T13:06:15+14:00" level=info msg="Dumping buckets state" +time="2024-05-13T13:06:15+14:00" level=info msg="Dumping buckets state at 2024-05-12 23:06:15.441687958 +0000 UTC" +time="2024-05-13T13:06:15+14:00" level=debug msg="(2024-05-12 23:06:13.437892874 +0000 UTC) not dead, count:4.000000 capacity:5.000000" bucket_id=long-breeze capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-05-13T13:06:15+14:00" level=info msg="Serialized 1 live buckets (+0 expired) in 1691 bytes to /tmp/crowdsec-buckets-dump-747155211" --- PASS: TestGCandDump (2.00s) === RUN TestShutdownBuckets -time="2024-05-12T10:58:39-12:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:39-12:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:39-12:00" level=info msg="Pouring to bucket" -time="2024-05-12T10:58:39-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=divine-haze capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-05-12T10:58:39-12:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=nameless-meadow capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-05-12T10:58:39-12:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow -time="2024-05-12T10:58:39-12:00" level=debug msg="Bucket externally killed, return" bucket_id=floral-field capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-05-12T10:58:39-12:00" level=debug msg="Bucket externally killed, return" bucket_id=dark-wildflower capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-05-12T10:58:40-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="got one result" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:40-12:00" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" -time="2024-05-12T10:58:40-12:00" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" -time="2024-05-12T10:58:40-12:00" level=debug msg="Bucket externally killed, return" bucket_id=nameless-meadow capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 -time="2024-05-12T10:58:40-12:00" level=debug msg="Bucket externally killed, return" bucket_id=divine-haze capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 -time="2024-05-12T10:58:41-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x40005db658)((len=2) \"Ip\"),\n Value: (*string)(0x400054a8f0)((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)(0x40006208a0)((len=2) \"Ip\"),\n Value: (*string)(0x40006208b0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="no more results" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 2 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="Here ?" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/filter-ok == test/filter-ok" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x40005da858)((len=2) \"Ip\"),\n Value: (*string)(0x4000433840)((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)(0x4000161930)((len=2) \"Ip\"),\n Value: (*string)(0x4000161940)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/leaky-scope-range-expression == test/leaky-scope-range-expression" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x40003419d8)((len=5) \"Range\"),\n Value: (*string)(0x4000714bd0)((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)(0x4000368770)((len=5) \"Range\"),\n Value: (*string)(0x4000368780)((len=14) \"192.168.0.0/16\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x4000341d58)((len=2) \"Ip\"),\n Value: (*string)(0x400053dca0)((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)(0x400068d450)((len=2) \"Ip\"),\n Value: (*string)(0x400068d460)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 0 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x40005dabd8)((len=2) \"Ip\"),\n Value: (*string)(0x40000eedc0)((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)(0x40005f5750)((len=2) \"Ip\"),\n Value: (*string)(0x40005f5760)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 2 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x400072e158)((len=2) \"Ip\"),\n Value: (*string)(0x4000135840)((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)(0x40002e4be0)((len=2) \"Ip\"),\n Value: (*string)(0x40002e4bf0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x400001b2d8)((len=2) \"Ip\"),\n Value: (*string)(0x40001541f0)((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)(0x40002e4c30)((len=2) \"Ip\"),\n Value: (*string)(0x40002e4c40)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 2 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x40005dbb98)((len=2) \"Ip\"),\n Value: (*string)(0x400054bb50)((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)(0x40002212c0)((len=2) \"Ip\"),\n Value: (*string)(0x40002212e0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:41-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)(0x400072e4d8)((len=2) \"Ip\"),\n Value: (*string)(0x40001a8f10)((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)(0x4000221340)((len=2) \"Ip\"),\n Value: (*string)(0x4000221350)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-counter == test/simple-counter" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x400001af58)((len=2) \"Ip\"),\n Value: (*string)(0x40004f2110)((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)(0x4000055e40)((len=2) \"Ip\"),\n Value: (*string)(0x4000055e50)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 4 == 4" -time="2024-05-12T10:58:41-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)(0x4000340f58)((len=2) \"Ip\"),\n Value: (*string)(0x40001b8420)((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)(0x40000541e0)((len=2) \"Ip\"),\n Value: (*string)(0x40000541f0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 +0000" -time="2024-05-12T10:58:41-12:00" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 +0000." bucket_id=ancient-dawn capacity=3 cfg=dry-fog file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 -time="2024-05-12T10:58:41-12:00" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-641766591" -time="2024-05-12T10:58:41-12:00" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-641766591" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x4000113658)((len=2) \"Ip\"),\n Value: (*string)(0x400021c490)((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)(0x40002e5b00)((len=2) \"Ip\"),\n Value: (*string)(0x40002e5b10)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 3 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="3 results to check against 3 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x40004bd9d8)((len=2) \"Ip\"),\n Value: (*string)(0x4000432c70)((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)(0x4000380f90)((len=2) \"Ip\"),\n Value: (*string)(0x4000380fa0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x400072e858)((len=2) \"Ip\"),\n Value: (*string)(0x40001aa570)((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)(0x4000380fd0)((len=2) \"Ip\"),\n Value: (*string)(0x4000380fe0)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 2 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky-cancel == test/simple-leaky-cancel" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 2 == 2" -time="2024-05-12T10:58:41-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)(0x400001b658)((len=2) \"Ip\"),\n Value: (*string)(0x4000249450)((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)(0x4000587320)((len=2) \"Ip\"),\n Value: (*string)(0x4000587330)((len=7) \"2.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 6 == 6" -time="2024-05-12T10:58:41-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)(0x40005db2d8)((len=2) \"Ip\"),\n Value: (*string)(0x40001b6490)((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)(0x40005f4610)((len=2) \"Ip\"),\n Value: (*string)(0x40005f4620)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:41-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:41-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:41-12:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" -time="2024-05-12T10:58:41-12:00" level=info msg="(EventsCount) 4 == 4" -time="2024-05-12T10:58:41-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)(0x400001b818)((len=2) \"Ip\"),\n Value: (*string)(0x400024d1b0)((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)(0x4000381b80)((len=2) \"Ip\"),\n Value: (*string)(0x4000381b90)((len=7) \"1.2.3.5\")\n }\n}\n)" -time="2024-05-12T10:58:41-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:41-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:41-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:42-12:00" level=warning msg="Got 1 overflows from run" -time="2024-05-12T10:58:42-12:00" level=warning msg="1 results to check against 1 expected results" -time="2024-05-12T10:58:42-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:42-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:42-12:00" level=warning msg="Test is successful" -time="2024-05-12T10:58:42-12:00" level=warning msg="Got 2 overflows from run" -time="2024-05-12T10:58:42-12:00" level=warning msg="2 results to check against 2 expected results" -time="2024-05-12T10:58:42-12:00" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" -time="2024-05-12T10:58:42-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:42-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)(0x400001abd8)((len=2) \"Ip\"),\n Value: (*string)(0x4000433300)((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)(0x400068d6f0)((len=2) \"Ip\"),\n Value: (*string)(0x400068d700)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:42-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:42-12:00" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" -time="2024-05-12T10:58:42-12:00" level=info msg="(EventsCount) 1 == 1" -time="2024-05-12T10:58:42-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)(0x400001abd8)((len=2) \"Ip\"),\n Value: (*string)(0x4000433300)((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)(0x400068d730)((len=2) \"Ip\"),\n Value: (*string)(0x400068d740)((len=7) \"1.2.3.4\")\n }\n}\n)" -time="2024-05-12T10:58:42-12:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" -time="2024-05-12T10:58:42-12:00" level=warning msg="entry valid at end of loop" -time="2024-05-12T10:58:42-12:00" level=warning msg="Test is successful" ---- PASS: TestShutdownBuckets (3.01s) +time="2024-05-13T13:06:15+14:00" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:15+14:00" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:15+14:00" level=info msg="Pouring to bucket" +time="2024-05-13T13:06:15+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=patient-cherry capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-05-13T13:06:15+14:00" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=misty-sun capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-05-13T13:06:15+14:00" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow +time="2024-05-13T13:06:15+14:00" level=debug msg="Bucket externally killed, return" bucket_id=bold-violet capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-05-13T13:06:15+14:00" level=debug msg="Bucket externally killed, return" bucket_id=long-breeze capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="got one result" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:15+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:16+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:16+14:00" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" +time="2024-05-13T13:06:16+14:00" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" +time="2024-05-13T13:06:16+14:00" level=debug msg="Bucket externally killed, return" bucket_id=misty-sun capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 +time="2024-05-13T13:06:16+14:00" level=debug msg="Bucket externally killed, return" bucket_id=patient-cherry capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 2 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="Here ?" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/filter-ok == test/filter-ok" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x4000416d98)((len=2) \"Ip\"),\n Value: (*string)(0x40000ed140)((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)(0x400041ba60)((len=2) \"Ip\"),\n Value: (*string)(0x400041ba70)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x4000417b98)((len=2) \"Ip\"),\n Value: (*string)(0x40001c3ed0)((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)(0x4000609090)((len=2) \"Ip\"),\n Value: (*string)(0x40006090a0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="no more results" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x4000417658)((len=2) \"Ip\"),\n Value: (*string)(0x40001c2880)((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)(0x40002399b0)((len=2) \"Ip\"),\n Value: (*string)(0x40002399c0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/leaky-scope-range-expression == test/leaky-scope-range-expression" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40006812d8)((len=5) \"Range\"),\n Value: (*string)(0x400041a720)((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)(0x400035b560)((len=5) \"Range\"),\n Value: (*string)(0x400035b570)((len=14) \"192.168.0.0/16\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-counter == test/simple-counter" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40004fa698)((len=2) \"Ip\"),\n Value: (*string)(0x40001c3610)((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)(0x4000333c00)((len=2) \"Ip\"),\n Value: (*string)(0x4000333c10)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 2 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x40004faa18)((len=2) \"Ip\"),\n Value: (*string)(0x4000228c00)((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)(0x4000332e60)((len=2) \"Ip\"),\n Value: (*string)(0x4000332e70)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x40004fad98)((len=2) \"Ip\"),\n Value: (*string)(0x4000252110)((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)(0x4000332eb0)((len=2) \"Ip\"),\n Value: (*string)(0x4000332ec0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 0 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40003ba858)((len=2) \"Ip\"),\n Value: (*string)(0x40001b4a40)((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)(0x40005399f0)((len=2) \"Ip\"),\n Value: (*string)(0x4000539a00)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40004172d8)((len=2) \"Ip\"),\n Value: (*string)(0x4000253bc0)((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)(0x400070a100)((len=2) \"Ip\"),\n Value: (*string)(0x400070a110)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 2 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x40003babd8)((len=2) \"Ip\"),\n Value: (*string)(0x40002269d0)((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)(0x4000332b50)((len=2) \"Ip\"),\n Value: (*string)(0x4000332b60)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:16+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)(0x40003baf58)((len=2) \"Ip\"),\n Value: (*string)(0x4000227ca0)((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)(0x4000332b90)((len=2) \"Ip\"),\n Value: (*string)(0x4000332bb0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 4 == 4" +time="2024-05-13T13:06:16+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)(0x4000680bd8)((len=2) \"Ip\"),\n Value: (*string)(0x40000ec340)((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)(0x400070b680)((len=2) \"Ip\"),\n Value: (*string)(0x400070b690)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 +0000" +time="2024-05-13T13:06:16+14:00" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 +0000." bucket_id=crimson-brook capacity=3 cfg=wandering-morning file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 +time="2024-05-13T13:06:16+14:00" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-374864593" +time="2024-05-13T13:06:16+14:00" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-374864593" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 6 == 6" +time="2024-05-13T13:06:16+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)(0x4000680f58)((len=2) \"Ip\"),\n Value: (*string)(0x400015c5e0)((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)(0x4000609300)((len=2) \"Ip\"),\n Value: (*string)(0x4000609310)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 3 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="3 results to check against 3 expected results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x4000681d58)((len=2) \"Ip\"),\n Value: (*string)(0x4000252a40)((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)(0x400026f380)((len=2) \"Ip\"),\n Value: (*string)(0x400026f390)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40003bb818)((len=2) \"Ip\"),\n Value: (*string)(0x4000235c30)((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)(0x400026f3c0)((len=2) \"Ip\"),\n Value: (*string)(0x400026f3d0)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:16+14:00" level=warning msg="Got 2 overflows from run" +time="2024-05-13T13:06:16+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=info msg="(scenario) test/simple-leaky-cancel == test/simple-leaky-cancel" +time="2024-05-13T13:06:16+14:00" level=info msg="(EventsCount) 2 == 2" +time="2024-05-13T13:06:16+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)(0x40003bb498)((len=2) \"Ip\"),\n Value: (*string)(0x40002340a0)((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)(0x400026f150)((len=2) \"Ip\"),\n Value: (*string)(0x400026f160)((len=7) \"2.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:16+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:16+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:16+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:17+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:17+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:17+14:00" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" +time="2024-05-13T13:06:17+14:00" level=info msg="(EventsCount) 4 == 4" +time="2024-05-13T13:06:17+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)(0x40004faf58)((len=2) \"Ip\"),\n Value: (*string)(0x40001c34c0)((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)(0x400069a420)((len=2) \"Ip\"),\n Value: (*string)(0x400069a430)((len=7) \"1.2.3.5\")\n }\n}\n)" +time="2024-05-13T13:06:17+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:17+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:17+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:17+14:00" level=warning msg="Got 1 overflows from run" +time="2024-05-13T13:06:17+14:00" level=warning msg="1 results to check against 1 expected results" +time="2024-05-13T13:06:17+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:17+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:17+14:00" level=warning msg="Test is successful" +time="2024-05-13T13:06:17+14:00" level=warning msg="Got 2 overflows from run" +time="2024-05-13T13:06:17+14:00" level=warning msg="2 results to check against 2 expected results" +time="2024-05-13T13:06:17+14:00" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" +time="2024-05-13T13:06:17+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:17+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)(0x4000417f18)((len=2) \"Ip\"),\n Value: (*string)(0x4000226490)((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)(0x4000333710)((len=2) \"Ip\"),\n Value: (*string)(0x4000333720)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:17+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:17+14:00" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" +time="2024-05-13T13:06:17+14:00" level=info msg="(EventsCount) 1 == 1" +time="2024-05-13T13:06:17+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)(0x4000417f18)((len=2) \"Ip\"),\n Value: (*string)(0x4000226490)((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)(0x4000333750)((len=2) \"Ip\"),\n Value: (*string)(0x4000333760)((len=7) \"1.2.3.4\")\n }\n}\n)" +time="2024-05-13T13:06:17+14:00" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" +time="2024-05-13T13:06:17+14:00" level=warning msg="entry valid at end of loop" +time="2024-05-13T13:06:17+14:00" level=warning msg="Test is successful" +--- PASS: TestShutdownBuckets (3.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.109s +ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.335s === RUN TestDateParse === RUN TestDateParse/RFC3339 === RUN TestDateParse/02/Jan/2006:15:04:05_-0700 @@ -5935,466 +5973,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-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=spring-meadow -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=floral-cloud -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=ancient-dream -time="2024-05-12T10:58:39-12:00" level=error msg="Node is empty or invalid, abort" id=ancient-dream name= stage=s00 -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=long-river -time="2024-05-12T10:58:39-12:00" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=long-river name= stage=s00 -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=green-resonance -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=nameless-butterfly -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=solitary-hill -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=patient-moon -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=holy-grass -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=shy-frog -time="2024-05-12T10:58:39-12:00" level=info msg=" has debug enabled" id=cool-leaf -time="2024-05-12T10:58:39-12:00" level=error msg="Unable to compile subpattern SUBGROKBIS : the 'MYGROKBIS' pattern doesn't exist" id=cool-leaf name= stage=s00 ---- PASS: TestParserConfigs (1.38s) +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=cool-sun +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=autumn-butterfly +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=wandering-sky +time="2024-05-13T13:06:15+14:00" level=error msg="Node is empty or invalid, abort" id=wandering-sky name= stage=s00 +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=cool-wildflower +time="2024-05-13T13:06:15+14:00" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=cool-wildflower name= stage=s00 +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=falling-wave +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=wandering-river +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=winter-dust +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=floral-brook +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=falling-night +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=hidden-bird +time="2024-05-13T13:06:15+14:00" level=info msg=" has debug enabled" id=fragrant-river +time="2024-05-13T13:06:15+14:00" level=error msg="Unable to compile subpattern SUBGROKBIS : the 'MYGROKBIS' pattern doesn't exist" id=fragrant-river name= stage=s00 +--- PASS: TestParserConfigs (2.10s) === RUN TestParser -time="2024-05-12T10:58:39-12:00" level=info msg="Successfully registered enricher 'GeoIpCity'" -time="2024-05-12T10:58:39-12:00" level=info msg="Successfully registered enricher 'GeoIpASN'" -time="2024-05-12T10:58:39-12:00" level=info msg="Successfully registered enricher 'IpToRange'" -time="2024-05-12T10:58:39-12:00" level=info msg="Successfully registered enricher 'reverse_dns'" -time="2024-05-12T10:58:39-12:00" level=info msg="Successfully registered enricher 'ParseDate'" -time="2024-05-12T10:58:39-12:00" level=info msg="Loaded -> {Registered:map[GeoIpASN:0x4000348870 GeoIpCity:0x40003487e0 IpToRange:0x40003488d0 ParseDate:0x40003489c0 reverse_dns:0x4000348930]}" -time="2024-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-grok" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-grok" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=divine-sea -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=divine-bird -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=divine-bird name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=divine-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-grok-expression" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-grok-expression" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=weathered-voice -time="2024-05-12T10:58:40-12:00" level=warning msg="grok 'MYCAP1' already registred" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=frosty-water -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-expression/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=frosty-water name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=weathered-voice name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-grok-external-data" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-grok-external-data" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=cool-sunset -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=sparkling-glade -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[is_it_in_file] = 'true'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=sparkling-glade name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[is_it_in_file] = 'false'" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=cool-sunset name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-grok-import" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-grok-import" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=damp-lake -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=quiet-resonance -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['facility'] = '123'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['priority'] = '120'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['facility'] = '123'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['priority'] = '121'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ko" id=quiet-resonance name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ko" id=damp-lake name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 3 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 3 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/3 matches result 0/3" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-12:00" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-grok-no-subnode" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-grok-no-subnode" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=quiet-sea -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=quiet-sea name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-json-extract" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-json-extract" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-json-extract has debug enabled" id=broken-surf -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=wandering-bird -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=late-morning -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 2 nodes from 2 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 5 statics" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[other_field] = 'some stuff'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[program] = 'my_test_prog'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="move Event from stage s00-raw to s01-parse" id=broken-surf name=tests/base-json-extract stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=late-morning name=child-tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=late-morning name=child-tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=late-morning name=child-tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s01-parse" id=wandering-bird name=tests/base-grok stage=s01-parse -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 1 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 1 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-12:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Parsed[message] xxheader VALUE1 trailing stuff == xxheader VALUE1 trailing stuff/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[extracted_array_field] foo == foo/ok Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Parsed[extracted_arrayfield_from_object] bar == bar/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" -time="2024-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/base-tree" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/base-tree" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok-root has debug enabled" id=bitter-flower -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok-leafs has debug enabled" id=lingering-butterfly -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=throbbing-fog -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=crimson-lake -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 2 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[state] = 'root-done'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Meta.state = 'root-done'" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[final_state] = 'leaf1'" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[state] = 'root-done'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=bitter-flower name=tests/base-grok-root stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Meta.state = 'root-done'" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ko (failed filter)" id=throbbing-fog name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[final_state] = 'leaf2'" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=crimson-lake name=child-tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s00-raw" id=lingering-butterfly name=tests/base-grok-leafs stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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[final_state] leaf1 == leaf1/ok Meta[state_sub] VALUE1 == VALUE1" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/dateparser-enrich" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/dateparser-enrich" -time="2024-05-12T10:58:40-12:00" level=info msg="test/dateparse has debug enabled" id=broken-river -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.StrTime = '2012/11/01'" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=broken-river name=test/dateparse stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/geoip-enrich" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/geoip-enrich" -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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/mismatch Enriched[IsoCode] US != " -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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[ASNOrg] == /ok Enriched[IsInEU] false == false/ok Enriched[IsoCode] == " -time="2024-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/multi-stage-grok" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/multi-stage-grok" -time="2024-05-12T10:58:40-12:00" level=info msg="tests/base-grok has debug enabled" id=falling-meadow -time="2024-05-12T10:58:40-12:00" level=info msg="child-tests/base-grok has debug enabled" id=floral-sound -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="tests/second-stage-grok has debug enabled" id=falling-breeze -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 2 nodes from 2 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 2 statics" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[did_second_stage] = 'yes'" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="node reached the last stage : s01-raw" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=floral-sound name=child-tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=falling-meadow name=tests/base-grok stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ko (failed filter)" id=falling-breeze name=tests/second-stage-grok stage=s01-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/reverse-dns-enrich" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/reverse-dns-enrich" -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 2 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 2 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="Running test on ./tests/whitelist-base" -time="2024-05-12T10:58:40-12:00" level=warning msg="testing ./tests/whitelist-base" -time="2024-05-12T10:58:40-12:00" level=info msg="test/whitelists has debug enabled" id=dark-haze -time="2024-05-12T10:58:40-12:00" level=debug msg="adding ip 8.8.8.8 to whitelists" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="Loaded 1 nodes from 1 stages" -time="2024-05-12T10:58:40-12:00" level=warning msg="Going to process one test set" -time="2024-05-12T10:58:40-12:00" level=debug msg="Event from [8.8.8.8] is whitelisted by IP (8.8.8.8), reason [Whitelist tests]" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[statics] = 'success'" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event from [1.2.3.4] is whitelisted by CIDR (1.2.3.0/24), reason [Whitelist tests]" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[statics] = 'success'" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Enriched.test_token = ''" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="eval variables:" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event is whitelisted by expr, reason [Whitelist tests]" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="+ Processing 1 statics" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg=".Meta[statics] = 'success'" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=debug msg="Event leaving node : ok" id=dark-haze name=test/whitelists stage=s00-raw -time="2024-05-12T10:58:40-12:00" level=info msg="parsed 5 lines" -time="2024-05-12T10:58:40-12:00" level=info msg="got 5 results" -time="2024-05-12T10:58:40-12:00" level=info msg="expected 0/5 matches result 0/5" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/4 matches result 0/4" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/3 matches result 0/3" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/2 matches result 0/2" -time="2024-05-12T10:58:40-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-05-12T10:58:40-12:00" level=info msg="expected 0/1 matches result 0/1" -time="2024-05-12T10:58:40-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 (0.78s) +time="2024-05-13T13:06:15+14:00" level=info msg="Successfully registered enricher 'GeoIpCity'" +time="2024-05-13T13:06:15+14:00" level=info msg="Successfully registered enricher 'GeoIpASN'" +time="2024-05-13T13:06:15+14:00" level=info msg="Successfully registered enricher 'IpToRange'" +time="2024-05-13T13:06:15+14:00" level=info msg="Successfully registered enricher 'reverse_dns'" +time="2024-05-13T13:06:15+14:00" level=info msg="Successfully registered enricher 'ParseDate'" +time="2024-05-13T13:06:15+14:00" level=info msg="Loaded -> {Registered:map[GeoIpASN:0x40000c9440 GeoIpCity:0x40000c93b0 IpToRange:0x40000c9470 ParseDate:0x40000c94d0 reverse_dns:0x40000c94a0]}" +time="2024-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-grok" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-grok" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=late-water +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=weathered-darkness +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=weathered-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=late-water name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-grok-expression" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-grok-expression" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=broken-thunder +time="2024-05-13T13:06:16+14:00" level=warning msg="grok 'MYCAP1' already registred" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=summer-darkness +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-expression/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=summer-darkness name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=broken-thunder name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-grok-external-data" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-grok-external-data" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=divine-snow +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=spring-surf +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[is_it_in_file] = 'true'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=spring-surf name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[is_it_in_file] = 'false'" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=divine-snow name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-grok-import" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-grok-import" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=long-paper +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=empty-river +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['facility'] = '123'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['priority'] = '120'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['facility'] = '123'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['priority'] = '121'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ko" id=empty-river name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ko" id=long-paper name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 3 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 3 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/3 matches result 0/3" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+14:00" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-grok-no-subnode" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-grok-no-subnode" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=dry-pine +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=dry-pine name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-json-extract" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-json-extract" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-json-extract has debug enabled" id=rough-dew +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=damp-sound +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=quiet-mountain +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 2 nodes from 2 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 5 statics" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[other_field] = 'some stuff'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[program] = 'my_test_prog'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="move Event from stage s00-raw to s01-parse" id=rough-dew name=tests/base-json-extract stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=quiet-mountain name=child-tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=quiet-mountain name=child-tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=quiet-mountain name=child-tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s01-parse" id=damp-sound name=tests/base-grok stage=s01-parse +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 1 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 1 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+14:00" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/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 Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" +time="2024-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/base-tree" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/base-tree" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok-root has debug enabled" id=muddy-smoke +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok-leafs has debug enabled" id=little-hill +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=morning-field +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok-leafs has debug enabled" id=polished-wind +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 2 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[state] = 'root-done'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Meta.state = 'root-done'" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[final_state] = 'leaf1'" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[state] = 'root-done'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=muddy-smoke name=tests/base-grok-root stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'type1'" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Meta.state = 'root-done'" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ko (failed filter)" id=morning-field name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[final_state] = 'leaf2'" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=polished-wind name=child-tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s00-raw" id=little-hill name=tests/base-grok-leafs stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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[final_state] leaf1 == leaf1/ok Meta[state_sub] VALUE1 == VALUE1" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/dateparser-enrich" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/dateparser-enrich" +time="2024-05-13T13:06:16+14:00" level=info msg="test/dateparse has debug enabled" id=small-brook +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.StrTime = '2012/11/01'" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.StrTime != '') = TRUE" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=small-brook name=test/dateparse stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/geoip-enrich" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/geoip-enrich" +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/multi-stage-grok" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/multi-stage-grok" +time="2024-05-13T13:06:16+14:00" level=info msg="tests/base-grok has debug enabled" id=black-fog +time="2024-05-13T13:06:16+14:00" level=info msg="child-tests/base-grok has debug enabled" id=icy-morning +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="tests/second-stage-grok has debug enabled" id=wandering-frost +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 2 nodes from 2 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 2 statics" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[did_second_stage] = 'yes'" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="node reached the last stage : s01-raw" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=icy-morning name=child-tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="child is success, OnSuccess=next_stage, skip" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="move Event from stage s00-raw to s01-raw" id=black-fog name=tests/base-grok stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ko (failed filter)" id=wandering-frost name=tests/second-stage-grok stage=s01-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+14: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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/reverse-dns-enrich" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/reverse-dns-enrich" +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 2 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 2 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="Running test on ./tests/whitelist-base" +time="2024-05-13T13:06:16+14:00" level=warning msg="testing ./tests/whitelist-base" +time="2024-05-13T13:06:16+14:00" level=info msg="test/whitelists has debug enabled" id=late-thunder +time="2024-05-13T13:06:16+14:00" level=debug msg="adding ip 8.8.8.8 to whitelists" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="Loaded 1 nodes from 1 stages" +time="2024-05-13T13:06:16+14:00" level=warning msg="Going to process one test set" +time="2024-05-13T13:06:16+14:00" level=debug msg="Event from [8.8.8.8] is whitelisted by IP (8.8.8.8), reason [Whitelist tests]" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[statics] = 'success'" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event from [1.2.3.4] is whitelisted by CIDR (1.2.3.0/24), reason [Whitelist tests]" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[statics] = 'success'" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Enriched.test_token = ''" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="eval variables:" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event is whitelisted by expr, reason [Whitelist tests]" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="+ Processing 1 statics" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg=".Meta[statics] = 'success'" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=debug msg="Event leaving node : ok" id=late-thunder name=test/whitelists stage=s00-raw +time="2024-05-13T13:06:16+14:00" level=info msg="parsed 5 lines" +time="2024-05-13T13:06:16+14:00" level=info msg="got 5 results" +time="2024-05-13T13:06:16+14:00" level=info msg="expected 0/5 matches result 0/5" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/4 matches result 0/4" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/3 matches result 0/3" +time="2024-05-13T13:06:16+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-05-13T13:06:16+14:00" level=info msg="expected 0/2 matches result 0/2" +time="2024-05-13T13:06:16+14: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-05-13T13:06:16+14:00" level=info msg="expected 0/1 matches result 0/1" +time="2024-05-13T13:06:16+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.46s) === RUN TestGeneratePatternsDoc --- PASS: TestGeneratePatternsDoc (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/parser 2.308s +ok github.com/crowdsecurity/crowdsec/pkg/parser 3.797s === RUN TestLimit --- PASS: TestLimit (0.00s) === RUN TestEvery @@ -6408,7 +6446,7 @@ === RUN TestLimiter_noTruncationErrors --- PASS: TestLimiter_noTruncationErrors (0.00s) === RUN TestSimultaneousRequests ---- PASS: TestSimultaneousRequests (0.00s) +--- PASS: TestSimultaneousRequests (0.03s) === RUN TestLongRunningQPS rate_test.go:178: --- SKIP: TestLongRunningQPS (0.00s) @@ -6443,14 +6481,14 @@ === RUN TestWaitSimple --- PASS: TestWaitSimple (0.20s) === RUN TestWaitCancel - rate_test.go:443: tokens:2.04231316 last:2024-05-12 10:58:38.207739772 -1200 -12 m=+0.307418439 lastEvent:2024-05-12 10:58:38.303508416 -1200 -12 m=+0.403187123 + rate_test.go:443: tokens:2.0389388999999998 last:2024-05-13 13:06:13.557586057 +1400 +14 m=+0.351199823 lastEvent:2024-05-13 13:06:13.653692167 +1400 +14 m=+0.447305933 --- 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.359s +ok github.com/crowdsecurity/crowdsec/pkg/time/rate 0.420s === RUN TestDownladFile --- PASS: TestDownladFile (0.00s) === RUN TestIP2Int @@ -6460,9 +6498,9 @@ === RUN TestAdd2Int --- PASS: TestAdd2Int (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/types 0.054s +ok github.com/crowdsecurity/crowdsec/pkg/types 0.192s === RUN TestIntegration ---- PASS: TestIntegration (0.00s) +--- PASS: TestIntegration (0.01s) === RUN TestEmpty === RUN TestEmpty/empty_base === RUN TestEmpty/empty_override @@ -6593,11 +6631,12 @@ === 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-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3470275675/config.yaml' with '/tmp/yamlpatch3470275675/config.yaml.local'" +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch857952312/config.yaml' with '/tmp/yamlpatch857952312/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/can't_merge_a_scalar_into_a_sequence === CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence +=== CONT TestMergedPatchContent/basic_merge === 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 @@ -6608,41 +6647,40 @@ === CONT TestMergedPatchContent/string_is_not_a_bool_-_off_to_on === CONT TestMergedPatchContent/string_is_not_a_bool_-_on_to_off === CONT TestMergedPatchContent/bool_merge_-_on_is_true -=== CONT TestPrependedPatchContent/invalid_yaml_in_patch -=== CONT TestMergedPatchContent/invalid_yaml_in_patch +=== CONT TestMergedPatchContent/bool_merge_-_off_if_false +=== CONT TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3570687181/config.yaml' with '/tmp/yamlpatch3570687181/config.yaml.local'" === CONT TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) +=== CONT TestMergedPatchContent/invalid_yaml_in_patch === CONT TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) === CONT TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) -=== CONT TestMergedPatchContent/bool_merge_-_off_if_false -=== CONT TestMergedPatchContent/basic_merge -=== CONT TestPrependedPatchContent/prepend_multiple_documents -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2195292061/config.yaml' with '/tmp/yamlpatch2195292061/config.yaml.local'" -=== CONT TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) +=== CONT TestPrependedPatchContent/invalid_yaml_in_patch +=== CONT TestPrependedPatchContent/prepend_document_with_same_key +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch1612521482/config.yaml' with '/tmp/yamlpatch1612521482/config.yaml.local'" === CONT TestPrependedPatchContent/invalid_yaml_in_base +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch51247477/config.yaml' with '/tmp/yamlpatch51247477/config.yaml.local'" +=== CONT TestPrependedPatchContent/prepend_multiple_documents +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2977078854/config.yaml' with '/tmp/yamlpatch2977078854/config.yaml.local'" === CONT TestPrependedPatchContent/prepend_a_document_to_another -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2992055947/config.yaml' with '/tmp/yamlpatch2992055947/config.yaml.local'" -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2627263118/config.yaml' with '/tmp/yamlpatch2627263118/config.yaml.local'" -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3266341563/config.yaml' with '/tmp/yamlpatch3266341563/config.yaml.local'" -=== CONT TestPrependedPatchContent/prepend_document_with_same_key +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3819717075/config.yaml' with '/tmp/yamlpatch3819717075/config.yaml.local'" === CONT TestPrependedPatchContent/prepend_empty_document -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3069412259/config.yaml' with '/tmp/yamlpatch3069412259/config.yaml.local'" -time="2024-05-12T10:58:37-12:00" level=info msg="Prepending yaml: '/tmp/yamlpatch2371085937/config.yaml' with '/tmp/yamlpatch2371085937/config.yaml.local'" +time="2024-05-13T13:06:13+14:00" level=info msg="Prepending yaml: '/tmp/yamlpatch3779039525/config.yaml' with '/tmp/yamlpatch3779039525/config.yaml.local'" --- PASS: TestPrependedPatchContent (0.00s) --- PASS: TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal() (0.00s) - --- PASS: TestPrependedPatchContent/invalid_yaml_in_patch (0.00s) + --- PASS: TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) (0.00s) --- PASS: TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s) + --- PASS: TestPrependedPatchContent/invalid_yaml_in_patch (0.00s) + --- PASS: TestPrependedPatchContent/prepend_document_with_same_key (0.00s) + --- PASS: TestPrependedPatchContent/invalid_yaml_in_base (0.00s) --- PASS: TestPrependedPatchContent/prepend_multiple_documents (0.00s) - --- PASS: TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message) (0.00s) --- PASS: TestPrependedPatchContent/prepend_a_document_to_another (0.00s) - --- PASS: TestPrependedPatchContent/invalid_yaml_in_base (0.00s) --- PASS: TestPrependedPatchContent/prepend_empty_document (0.00s) - --- PASS: TestPrependedPatchContent/prepend_document_with_same_key (0.00s) --- PASS: TestMergedPatchContent (0.00s) --- PASS: TestMergedPatchContent/invalid_yaml_in_base (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar (0.00s) --- 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/basic_merge (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping (0.00s) --- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping (0.00s) --- PASS: TestMergedPatchContent/map_merge_-_value_to_value (0.00s) @@ -6652,14 +6690,14 @@ --- PASS: TestMergedPatchContent/bool_merge_-_true_to_false (0.00s) --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_off_to_on (0.00s) --- PASS: TestMergedPatchContent/string_is_not_a_bool_-_on_to_off (0.00s) + --- PASS: TestMergedPatchContent/bool_merge_-_on_is_true (0.00s) + --- PASS: TestMergedPatchContent/bool_merge_-_off_if_false (0.00s) + --- PASS: TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s) --- PASS: TestMergedPatchContent/invalid_yaml_in_patch (0.00s) --- PASS: TestMergedPatchContent/invalid_yaml_in_base_(detailed_message) (0.00s) - --- PASS: TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s) - --- PASS: TestMergedPatchContent/bool_merge_-_off_if_false (0.00s) - --- PASS: TestMergedPatchContent/basic_merge (0.00s) - --- PASS: TestMergedPatchContent/bool_merge_-_on_is_true (0.01s) + --- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence (0.00s) PASS -ok github.com/crowdsecurity/crowdsec/pkg/yamlpatch 0.070s +ok github.com/crowdsecurity/crowdsec/pkg/yamlpatch 0.076s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -6710,8 +6748,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_arm64.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_arm64.buildinfo dpkg-genchanges --build=binary -O../crowdsec_1.4.6-7_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6719,12 +6757,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/3488322/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3488322/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/520431 and its subdirectories -I: Current time: Sun May 12 11:00:43 -12 2024 -I: pbuilder-time-stamp: 1715554843 +I: removing directory /srv/workspace/pbuilder/3488322 and its subdirectories +I: Current time: Mon May 13 13:09:49 +14 2024 +I: pbuilder-time-stamp: 1715555389