Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/c/crowdsec/crowdsec_1.0.9-2+b4_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/crowdsec-1.0.9-2+b4xz8cqn8m/crowdsec_1.0.9-2+b4_amd64.buildinfo Get source package info: crowdsec=1.0.9-2 Source URL: http://snapshot.notset.fr/mr/package/crowdsec/1.0.9-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3+b1 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-8 bsdutils=1:2.36.1-8 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dmsetup=2:1.02.175-2.1 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-6 golang-1.15-src=1.15.9-6 golang-any=2:1.15~1 golang-dbus-dev=5.0.3-2 golang-etcd-server-dev=3.3.25+dfsg-6 golang-github-agtorre-gocolorize-dev=1.0.0-3 golang-github-alecaivazis-survey-dev=2.2.7+ds1-2 golang-github-alecthomas-units-dev=0.0~git20201120.1786d5e-1 golang-github-antonmedv-expr-dev=1.8.9-2 golang-github-apex-log-dev=1.1.1-3 golang-github-appleboy-gin-jwt-dev=2.6.4-2 golang-github-appleboy-gofight-dev=2.1.2-2 golang-github-armon-circbuf-dev=0.0~git20190214.5111143-1 golang-github-armon-go-metrics-dev=0.3.4-1 golang-github-armon-go-radix-dev=1.0.0-1 golang-github-asaskevich-govalidator-dev=9+git20180720.0.f9ffefc3-1.1 golang-github-aws-aws-sdk-go-dev=1.36.33-1 golang-github-beorn7-perks-dev=1.0.1-1 golang-github-bgentry-speakeasy-dev=0.1.0-2 golang-github-bitly-go-simplejson-dev=0.5.0-5 golang-github-bmizerany-assert-dev=0.0~git20120716-4 golang-github-boltdb-bolt-dev=1.3.1-7 golang-github-bradfitz-gomemcache-dev=0.0~git20141109-3 golang-github-buger-jsonparser-dev=1.1.1-1 golang-github-bugsnag-bugsnag-go-dev=1.7.0-1 golang-github-bugsnag-panicwrap-dev=1.2.0-1.1 golang-github-burntsushi-toml-dev=0.3.1-1 golang-github-cespare-xxhash-dev=2.1.1-1 golang-github-checkpoint-restore-go-criu-dev=4.1.0-3 golang-github-cilium-ebpf-dev=0.2.0-1 golang-github-circonus-labs-circonus-gometrics-dev=2.3.1-3 golang-github-circonus-labs-circonusllhist-dev=0.0~git20191022.ec08cde-1 golang-github-containerd-btrfs-dev=0.0~git20201111.404b914-1 golang-github-containerd-cgroups-dev=0.0~git20201119.4cbc285-4 golang-github-containerd-console-dev=1.0.1-2 golang-github-containerd-containerd-dev=1.4.5~ds1-2 golang-github-containerd-continuity-dev=0.0~git20201208.1805252-2 golang-github-containerd-fifo-dev=0.0~git20201026.0724c46-1 golang-github-containerd-go-runc-dev=0.0~git20201020.16b287b-1 golang-github-containerd-ttrpc-dev=1.0.2-1 golang-github-containerd-typeurl-dev=1.0.1-1 golang-github-coreos-bbolt-dev=1.3.5-1 golang-github-coreos-go-semver-dev=0.3.0-1 golang-github-coreos-go-systemd-dev=22.1.0-3 golang-github-coreos-pkg-dev=4-3 golang-github-cpuguy83-go-md2man-v2-dev=2.0.0+ds-5 golang-github-creack-pty-dev=1.1.11-1 golang-github-cyphar-filepath-securejoin-dev=0.2.2-2 golang-github-data-dog-go-sqlmock-dev=1.4.1-1 golang-github-datadog-datadog-go-dev=2.1.0-3 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-deckarep-golang-set-dev=1.5-2 golang-github-dghubble-sling-dev=1.3.0-1 golang-github-dgrijalva-jwt-go-dev=3.2.0-3 golang-github-docker-distribution-dev=2.7.1+ds2-7 golang-github-docker-docker-credential-helpers-dev=0.6.3-1 golang-github-docker-docker-dev=20.10.5+dfsg1-1 golang-github-docker-go-connections-dev=0.4.0-3 golang-github-docker-go-events-dev=0.0~git20190806.e31b211-1 golang-github-docker-go-metrics-dev=0.0.1-1 golang-github-docker-go-units-dev=0.4.0-3 golang-github-docker-libkv-dev=0.2.1-2 golang-github-docker-libtrust-dev=0.0~git20150526.0.9cbd2a1-3.1 golang-github-dustin-go-humanize-dev=1.0.0-2 golang-github-enescakir-emoji-dev=1.0.0-2 golang-github-facebook-ent-dev=0.5.4-2 golang-github-fatih-color-dev=1.7.0-1 golang-github-fsnotify-fsnotify-dev=1.4.9-2 golang-github-garyburd-redigo-dev=0.0~git20150901.0.d8dbe4d-2.1 golang-github-gdamore-encoding-dev=1.0.0-2 golang-github-gdamore-tcell-dev=1.3.0-2 golang-github-gdamore-tcell.v2-dev=2.1.0-5 golang-github-ghodss-yaml-dev=1.0.0-1.1 golang-github-gin-contrib-sse-dev=0.1.0-1 golang-github-gin-gonic-gin-dev=1.6.3-3 golang-github-go-co-op-gocron-dev=0.5.0-2 golang-github-go-kit-kit-dev=0.6.0-3 golang-github-go-logfmt-logfmt-dev=0.5.0-2 golang-github-go-openapi-analysis-dev=0.15.0-1 golang-github-go-openapi-errors-dev=0.15.0-1 golang-github-go-openapi-inflect-dev=0.19.0-2 golang-github-go-openapi-jsonpointer-dev=1:0.0~git20160704.0.46af16f-1.1 golang-github-go-openapi-jsonreference-dev=1:0.0~git20160704.0.13c6e35-1.1 golang-github-go-openapi-loads-dev=0.15.0-1 golang-github-go-openapi-spec-dev=1:0.15.0-1 golang-github-go-openapi-strfmt-dev=0.15.0-1 golang-github-go-openapi-swag-dev=1:0.15.0-1 golang-github-go-openapi-validate-dev=0.0~git20160704.0.deaf2c9-1.1 golang-github-go-playground-assert-v2-dev=2.0.1-2 golang-github-go-playground-locales-dev=0.13.0-2 golang-github-go-playground-universal-translator-dev=0.17.0-2 golang-github-go-playground-validator-v10-dev=10.4.1-2 golang-github-go-sql-driver-mysql-dev=1.5.0-1 golang-github-go-stack-stack-dev=1.8.0-1 golang-github-gofrs-uuid-dev=3.2.0-2 golang-github-gogo-googleapis-dev=1.4.0-1 golang-github-gogo-protobuf-dev=1.3.2-1 golang-github-golang-groupcache-dev=0.0~git20200121.8c9f03a-1 golang-github-golang-mock-dev=1.3.1-2 golang-github-google-btree-dev=1.0.0-1 golang-github-google-go-cmp-dev=0.5.4-1 golang-github-google-go-querystring-dev=1.0.0-1 golang-github-google-uuid-dev=1.2.0-1 golang-github-goombaio-namegenerator-dev=0.0.2-2 golang-github-gorilla-handlers-dev=1.4.2-1 golang-github-gorilla-mux-dev=1.7.4-1 golang-github-gorilla-websocket-dev=1.4.2-1 golang-github-gotestyourself-gotest.tools-dev=3.0.3-1 golang-github-grpc-ecosystem-go-grpc-middleware-dev=1.2.2-2 golang-github-grpc-ecosystem-go-grpc-prometheus-dev=1.2.0+git20191002.6af20e3-3 golang-github-grpc-ecosystem-grpc-gateway-dev=1.6.4-2 golang-github-hashicorp-consul-dev=1.8.7+dfsg1-2 golang-github-hashicorp-errwrap-dev=1.1.0-1 golang-github-hashicorp-go-bexpr-dev=0.1.2-2 golang-github-hashicorp-go-cleanhttp-dev=0.5.2-1 golang-github-hashicorp-go-hclog-dev=0.11.0-1 golang-github-hashicorp-go-immutable-radix-dev=1.3.0-1 golang-github-hashicorp-go-memdb-dev=1.2.1-1 golang-github-hashicorp-go-msgpack-dev=0.5.5-1 golang-github-hashicorp-go-multierror-dev=1.1.0-1 golang-github-hashicorp-go-retryablehttp-dev=0.6.4-2 golang-github-hashicorp-go-rootcerts-dev=1.0.2-2 golang-github-hashicorp-go-sockaddr-dev=0.0~git20170627.41949a1+ds-2 golang-github-hashicorp-go-syslog-dev=1.0.0-1 golang-github-hashicorp-go-uuid-dev=1.0.2-1 golang-github-hashicorp-go-version-dev=1.2.0-1 golang-github-hashicorp-golang-lru-dev=0.5.4-2 golang-github-hashicorp-hcl-dev=1.0.0-1.1 golang-github-hashicorp-hil-dev=0.0~git20160711.1e86c6b-1 golang-github-hashicorp-logutils-dev=1.0.0-1 golang-github-hashicorp-mdns-dev=1.0.3-2 golang-github-hashicorp-memberlist-dev=0.2.2-1 golang-github-hashicorp-raft-boltdb-dev=0.0~git20171010.6e5ba93-3 golang-github-hashicorp-raft-dev=1.1.2-1 golang-github-hashicorp-serf-dev=0.9.4~ds1-1 golang-github-hashicorp-yamux-dev=0.0+git20190923.df201c7-1 golang-github-hinshun-vt10x-dev=0.0~git20180809.d55458d+ds1-2 golang-github-imdario-mergo-dev=0.3.8-3 golang-github-inconshreveable-log15-dev=2.15-1 golang-github-inconshreveable-muxado-dev=0.0~git20140312.0.f693c7e-2.1 golang-github-ishidawataru-sctp-dev=0.0+git20190723.7c296d4-3 golang-github-jacobsa-oglematchers-dev=0.0~git20150320-3 golang-github-jmespath-go-jmespath-dev=0.4.0-1 golang-github-jonboulle-clockwork-dev=0.1.0-4.1 golang-github-josharian-intern-dev=1.0.0-3 golang-github-jpillora-backoff-dev=1.0.0-1.1 golang-github-json-iterator-go-dev=1.1.10-2 golang-github-jtolds-gls-dev=4.20.0-2 golang-github-juju-ansiterm-dev=0.0~git20161107.35c59b9-3 golang-github-juju-loggo-dev=0.0~git20170605.8232ab8-4 golang-github-julienschmidt-httprouter-dev=1.3.0-1 golang-github-kardianos-osext-dev=0.0~git20190222.2bc1f35-2 golang-github-kballard-go-shellquote-dev=0.0~git20180428.95032a8-1 golang-github-kr-fs-dev=0.1.0-1 golang-github-kr-pretty-dev=0.2.1+git20200831.59b4212-1 golang-github-kr-pty-dev=1.1.6-1 golang-github-kr-text-dev=0.2.0-1 golang-github-leodido-go-urn-dev=1.2.1-2 golang-github-lib-pq-dev=1.3.0-1 golang-github-logrusorgru-grokky-dev=0.0~git20180829.47edf01-2 golang-github-lucasb-eyer-go-colorful-dev=1.0.3-1 golang-github-lunixbochs-vtclean-dev=1.0.0-1 golang-github-magiconair-properties-dev=1.8.4-1 golang-github-mailru-easyjson-dev=0.7.6-2 golang-github-mattn-go-colorable-dev=0.1.7-1 golang-github-mattn-go-isatty-dev=0.0.12-1 golang-github-mattn-go-runewidth-dev=0.0.9-1 golang-github-mattn-go-sqlite3-dev=1.6.0~ds1-2 golang-github-mgutz-ansi-dev=0.0~git20170206.9520e82-5 golang-github-miekg-dns-dev=1.1.35-1 golang-github-mitchellh-cli-dev=1.1.1-1 golang-github-mitchellh-copystructure-dev=0.0~git20161013.0.5af94ae-2.1 golang-github-mitchellh-go-homedir-dev=1.1.0-1 golang-github-mitchellh-mapstructure-dev=1.3.3-1 golang-github-mitchellh-reflectwalk-dev=1.0.1-1 golang-github-moby-sys-dev=0.0~git20201113.5a29239-1 golang-github-moby-term-dev=0.0~git20201110.bea5bbe-1 golang-github-modern-go-concurrent-dev=1.0.3-1.1 golang-github-modern-go-reflect2-dev=1.0.1-1 golang-github-mohae-deepcopy-dev=0.0~git20170929.c48cc78-2 golang-github-morikuni-aec-dev=1.0.0-2 golang-github-mrunalp-fileutils-dev=0.5.0-1 golang-github-mwitkow-go-conntrack-dev=0.0~git20190716.2f06839-2 golang-github-ncw-swift-dev=1.0.52-1 golang-github-netflix-go-expect-dev=0.0~git20201125.85d881c-2 golang-github-nxadm-tail-dev=1.4.5+ds1-4 golang-github-olekukonko-tablewriter-dev=0.0.4-1 golang-github-opencontainers-go-digest-dev=1.0.0-1 golang-github-opencontainers-image-spec-dev=1.0.1-5 golang-github-opencontainers-runc-dev=1.0.0~rc93+ds1-5 golang-github-opencontainers-selinux-dev=1.8.0-1 golang-github-opencontainers-specs-dev=1.0.2.41.g7413a7f-1 golang-github-opennota-urlesc-dev=0.0~git20160726.0.5bd2802-1.1 golang-github-opentracing-opentracing-go-dev=1.2.0-1 golang-github-oschwald-geoip2-golang-dev=1.4.0-1 golang-github-oschwald-maxminddb-golang-dev=1.8.0-1 golang-github-pascaldekloe-goe-dev=0.1.0-2 golang-github-patrickmn-go-cache-dev=2.1.0-1.1 golang-github-pborman-uuid-dev=1.2.0-2 golang-github-pelletier-go-toml-dev=1.8.1-1 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pkg-sftp-dev=1.10.1-1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-posener-complete-dev=1.2.3-2 golang-github-prometheus-client-golang-dev=1.9.0-2 golang-github-prometheus-client-model-dev=0.2.0-2 golang-github-prometheus-common-dev=0.15.0-2 golang-github-prometheus-procfs-dev=0.3.0-2 golang-github-prometheus-prom2json-dev=1.3.0+ds1-2 golang-github-puerkitobio-purell-dev=1.1.1-1 golang-github-revel-revel-dev=1.0.0-2 golang-github-rivo-tview-dev=0.0~git20210122.745e4ce-1 golang-github-rivo-uniseg-dev=0.2.0-1 golang-github-robfig-pathtree-dev=0.0~git20140121-4 golang-github-rogpeppe-fastuuid-dev=0.0~git20150106.0.6724a57-2.1 golang-github-russross-blackfriday-v2-dev=2.0.1-3 golang-github-ryanuber-columnize-dev=2.1.1-2 golang-github-samuel-go-zookeeper-dev=0.0~git20180130.c4fab1a-1 golang-github-sanity-io-litter-dev=1.3.0-1 golang-github-satori-go.uuid-dev=1.2.0-2 golang-github-seccomp-libseccomp-golang-dev=0.9.1-2 golang-github-shurcool-sanitized-anchor-name-dev=1.0.0-1 golang-github-sirupsen-logrus-dev=1.7.0-2 golang-github-smartystreets-assertions-dev=1.10.1+ds-1 golang-github-smartystreets-goconvey-dev=1.6.4+dfsg-1 golang-github-soheilhy-cmux-dev=0.1.4-2 golang-github-spf13-afero-dev=1.5.1-1 golang-github-spf13-cast-dev=1.3.1-1 golang-github-spf13-cobra-dev=1.1.2-1 golang-github-spf13-jwalterweatherman-dev=1.1.0+really1.1.0-1 golang-github-spf13-pflag-dev=1.0.5-2 golang-github-spf13-viper-dev=1.7.1-1 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.6.1-2 golang-github-subosito-gotenv-dev=1.2.0+git20190917.de67a66-2 golang-github-tchap-go-patricia-dev=2.2.6-5 golang-github-tidwall-gjson-dev=1.6.7-1 golang-github-tidwall-match-dev=1.0.3-1 golang-github-tidwall-pretty-dev=1.0.5-1 golang-github-tmc-grpc-websocket-proxy-dev=0.0~git20200427.3cfed13-2 golang-github-tv42-httpunix-dev=0.0~git20150427.b75d861-2 golang-github-twinj-uuid-dev=0.10.0+git20160909.96.7bbe408-6 golang-github-ugorji-go-codec-dev=1.1.7-2 golang-github-urfave-cli-dev=1.22.4-2 golang-github-urfave-negroni-dev=0.2.0-1.1 golang-github-vishvananda-netlink-dev=1.1.0-2 golang-github-vishvananda-netns-dev=0.0~git20200728.db3c7e5-1 golang-github-vjeantet-grok-dev=1.0.0-3 golang-github-vmihailenco-tagparser-dev=0.1.1-2 golang-github-willf-bitset-dev=1.1.11-1 golang-github-xeipuuv-gojsonpointer-dev=0.0~git20190905.02993c4-1 golang-github-xeipuuv-gojsonreference-dev=0.0~git20180127.bd5ef7b-2 golang-github-xeipuuv-gojsonschema-dev=1.2.0-1 golang-github-xiang90-probing-dev=0.0.2-1 golang-github-yuin-goldmark-dev=1.3.2-1 golang-glog-dev=0.0~git20160126.23def4e-3 golang-go=2:1.15~1 golang-go-flags-dev=1.4.0-2 golang-go-zfs-dev=2.1.1.49.gf784269-1 golang-go.opencensus-dev=0.22.4-2 golang-go.uber-atomic-dev=1.4.0-1 golang-go.uber-multierr-dev=1.1.0-1.1 golang-go.uber-zap-dev=1.15.0-2 golang-gocapability-dev=0.0+git20200815.42c35b4-1 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-mod-dev=0.4.1-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-4 golang-golang-x-oauth2-dev=0.0~git20190604.0f29369-2 golang-golang-x-oauth2-google-dev=0.0~git20190604.0f29369-2 golang-golang-x-sync-dev=0.0~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-golang-x-time-dev=0.0+git20200630.3af7569-1 golang-golang-x-tools-dev=1:0.1.0+ds-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-google-cloud-compute-metadata-dev=0.56.0-1 golang-google-genproto-dev=0.0~git20200413.b5235f6-1 golang-google-grpc-dev=1.27.1-1 golang-gopkg-alecthomas-kingpin.v2-dev=2.2.6-3 golang-gopkg-check.v1-dev=0.0+git20200902.038fdea-1 golang-gopkg-cheggaaa-pb.v1-dev=1.0.25-1 golang-gopkg-ini.v1-dev=1.57.0-1 golang-gopkg-mgo.v2-dev=2016.08.01-7 golang-gopkg-natefinch-lumberjack.v2-dev=2.1-1 golang-gopkg-tomb.v1-dev=0.0~git20141024.0.dd63297-7 golang-gopkg-tomb.v2-dev=0.0~git20161208.d5d1b58-3 golang-gopkg-vmihailenco-msgpack.v2-dev=4.3.1-2 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-gopkg-yaml.v3-dev=3.0.0~git20200121.a6ecf24-3 golang-goprotobuf-dev=1.3.4-2+b6 golang-k8s-sigs-yaml-dev=1.2.0-3 golang-pq-dev=1.3.0-1 golang-protobuf-extensions-dev=1.0.1-1 golang-src=2:1.15~1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 iproute2=5.10.0-4 libacl1=2.2.53-10 libapparmor1=2.13.6-10 libarchive-zip-perl=1.68-1 libargon2-1=0~20171227-0.2 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-8 libbpf0=1:0.3-2 libbsd0=0.11.3-1 libbtrfs-dev=5.10.1-2 libbtrfs0=5.10.1-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcap2-bin=1:2.44-1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-5 libcrypt1=1:4.4.18-5 libcryptsetup12=2:2.3.5-1 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdevmapper1.02.1=2:1.02.175-2.1 libdpkg-perl=1.20.9 libelf1=0.183-3 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libglib2.0-0=2.66.8-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.1-5 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-6 libhogweed6=3.7.3-1 libicu67=67.1-7 libidn2-0=2.3.0-5 libip4tc2=1.8.7-1 libisl23=0.23-1 libitm1=10.2.1-6 libjson-c5=0.15-2 libk5crypto3=1.18.3-6 libkeyutils1=1.6.1-2 libkmod2=28-1 libkrb5-3=1.18.3-6 libkrb5support0=1.18.3-6 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-3 libmnl0=1.0.4-3 libmount1=2.36.1-8 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnettle8=3.7.3-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libprotobuf-dev=3.12.4-1 libprotobuf-lite23=3.12.4-1 libprotobuf23=3.12.4-1 libprotoc23=3.12.4-1 libquadmath0=10.2.1-6 libsasl2-2=2.1.27+dfsg-2.1 libsasl2-dev=2.1.27+dfsg-2.1 libsasl2-modules-db=2.1.27+dfsg-2.1 libseccomp-dev=2.5.1-1 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsemanage-common=3.1-1 libsemanage1=3.1-1+b2 libsepol1=3.1-1 libsigsegv2=2.13-1 libsmartcols1=2.36.1-8 libsqlite3-0=3.34.1-3 libsqlite3-dev=3.34.1-3 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd-dev=247.3-6 libsystemd0=247.3-6 libtasn1-6=4.16.0-2 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-6 libunistring2=0.9.10-4 libuuid1=2.36.1-8 libxml2=2.9.10+dfsg-6.7 libxtables12=1.8.7-1 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-3 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 mount=2.36.1-8 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 passwd=1:4.8.1-1 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.4-1 sed=4.7-1 sensible-utils=0.0.14 systemd=247.3-6 systemd-timesyncd=247.3-6 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-8 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210803T082915Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d crowdsec=1.0.9-2 && mkdir -p /build/crowdsec-ODQsg3 && dpkg-source --no-check -x /*.dsc /build/crowdsec-ODQsg3/crowdsec-1.0.9 && cd /build/crowdsec-ODQsg3/crowdsec-1.0.9 && { printf '%s' 'crowdsec (1.0.9-2+b4) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild for outdated Built-Using -- amd64 / i386 Build Daemon (x86-ubc-01) Wed, 04 Aug 2021 20:01:32 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/crowdsec-ODQsg3" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/crowdsec-ODQsg3/crowdsec-1.0.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1628107292" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/crowdsec-ODQsg3 /tmp/crowdsec-1.0.9-2+b4xz8cqn8m bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210803T082915Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.xoLi4cPXVP as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.xoLi4cPXVP Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-8). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210803T082915Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210803T082915Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (801 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4668 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210803T082915Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.xoLi4cPXVP Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210803T082915Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1177 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.xoLi4cPXVP I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d crowdsec=1.0.9-2 && mkdir -p /build/crowdsec-ODQsg3 && dpkg-source --no-check -x /*.dsc /build/crowdsec-ODQsg3/crowdsec-1.0.9 && cd /build/crowdsec-ODQsg3/crowdsec-1.0.9 && { printf '%s' 'crowdsec (1.0.9-2+b4) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild for outdated Built-Using -- amd64 / i386 Build Daemon (x86-ubc-01) Wed, 04 Aug 2021 20:01:32 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/crowdsec-ODQsg3"' exec /tmp/mmdebstrap.xoLi4cPXVP Reading package lists... NOTICE: 'crowdsec' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/crowdsec.git Please use: git clone https://salsa.debian.org/go-team/packages/crowdsec.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 29.4 MB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main crowdsec 1.0.9-2 (dsc) [4113 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main crowdsec 1.0.9-2 (tar) [6633 B] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main crowdsec 1.0.9-2 (tar) [329 kB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main crowdsec 1.0.9-2 (tar) [29.0 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main crowdsec 1.0.9-2 (diff) [17.7 kB] Fetched 29.4 MB in 24s (1213 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'crowdsec_1.0.9-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting crowdsec in /build/crowdsec-ODQsg3/crowdsec-1.0.9 dpkg-source: info: unpacking crowdsec_1.0.9.orig.tar.gz dpkg-source: info: unpacking crowdsec_1.0.9.orig-data1.tar.gz dpkg-source: info: unpacking crowdsec_1.0.9.orig-hub1.tar.gz dpkg-source: info: unpacking crowdsec_1.0.9-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-use-a-local-machineid-implementation.patch dpkg-source: info: applying 0002-add-compatibility-for-older-sqlite-driver.patch dpkg-source: info: applying 0003-adjust-systemd-unit.patch dpkg-source: info: applying 0004-disable-geoip-enrich.patch dpkg-source: info: applying 0005-adjust-config.patch dpkg-source: info: applying 0006-prefer-systemctl-restart.patch dpkg-source: info: applying 0007-automatically-enable-online-hub.patch dpkg-source: info: applying 0008-hub-disable-broken-scenario.patch dpkg-source: info: applying 0009-Improve-http-bad-user-agent-use-regexp-197.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/crowdsec-ODQsg3/crowdsec-1.0.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1628107292" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.xoLi4cPXVP dpkg-buildpackage: info: source package crowdsec dpkg-buildpackage: info: source version 1.0.9-2+b4 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-ubc-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary-arch dh binary-arch --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -a -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -a -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -a -O--builddirectory=_build -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' dh_auto_build -- -ldflags '-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=1.0.9-2+b4 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X github.com/crowdsecurity/crowdsec/pkg/cwversion.GoVersion=1.15.9 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2021-08-04_20:01:32 ' cd _build && go install -trimpath -v -p 4 -ldflags "-s -w -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=1.0.9-2+b4 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X github.com/crowdsecurity/crowdsec/pkg/cwversion.GoVersion=1.15.9 -X github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2021-08-04_20:01:32 " github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types internal/unsafeheader runtime/internal/sys runtime/internal/atomic internal/cpu internal/race sync/atomic runtime/internal/math math/bits unicode/utf8 unicode internal/testlog internal/bytealg math internal/nettrace runtime/cgo runtime encoding unicode/utf16 container/list crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/go-playground/locales/currency github.com/facebook/ent/schema github.com/facebook/ent/schema/index github.com/facebook/ent/dialect/entsql github.com/lib/pq/oid github.com/docker/docker/api github.com/docker/docker/api/types/events github.com/docker/docker/api/types/image github.com/shurcooL/sanitized_anchor_name golang.org/x/mod/semver github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime internal/reflectlite sync math/rand internal/singleflight github.com/josharian/intern errors sort internal/oserror strconv io syscall vendor/golang.org/x/net/dns/dnsmessage strings reflect bytes hash hash/crc32 regexp/syntax bufio time internal/syscall/unix internal/syscall/execenv regexp crypto crypto/internal/randutil crypto/hmac crypto/rc4 vendor/golang.org/x/crypto/hkdf context internal/poll vendor/golang.org/x/text/transform internal/fmtsort encoding/binary path html golang.org/x/text/transform os encoding/base64 crypto/cipher crypto/sha512 crypto/ed25519/internal/edwards25519 crypto/aes crypto/des crypto/md5 fmt net crypto/sha1 crypto/sha256 encoding/pem path/filepath vendor/golang.org/x/crypto/chacha20 flag compress/flate encoding/json math/big compress/gzip encoding/hex io/ioutil github.com/antonmedv/expr/file net/url github.com/antonmedv/expr/ast github.com/antonmedv/expr/vm github.com/antonmedv/expr/parser/lexer github.com/antonmedv/expr/parser crypto/elliptic encoding/asn1 crypto/rand vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 github.com/antonmedv/expr/conf crypto/rsa github.com/antonmedv/expr/checker github.com/antonmedv/expr/compiler github.com/antonmedv/expr/optimizer crypto/ecdsa crypto/dsa github.com/antonmedv/expr crypto/x509/pkix vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 log vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi github.com/coreos/go-systemd/daemon crypto/x509 vendor/golang.org/x/text/unicode/norm net/textproto vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal vendor/golang.org/x/net/idna mime/multipart database/sql/driver github.com/asaskevich/govalidator crypto/tls github.com/mailru/easyjson/jlexer vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy github.com/mailru/easyjson/buffer github.com/mitchellh/mapstructure github.com/mailru/easyjson/jwriter gopkg.in/mgo.v2/internal/json gopkg.in/yaml.v2 github.com/PuerkitoBio/urlesc golang.org/x/text/unicode/bidi gopkg.in/mgo.v2/bson golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm net/http/httptrace net/http golang.org/x/text/width encoding/xml golang.org/x/net/idna github.com/google/go-querystring/query github.com/pkg/errors github.com/PuerkitoBio/purell golang.org/x/sys/unix github.com/buger/jsonparser github.com/davecgh/go-spew/spew encoding/gob github.com/hashicorp/go-version github.com/logrusorgru/grokky gopkg.in/natefinch/lumberjack.v2 runtime/debug github.com/sirupsen/logrus github.com/enescakir/emoji github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/goombaio/namegenerator github.com/beorn7/perks/quantile github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/cespare/xxhash github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model github.com/golang/protobuf/proto github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util github.com/prometheus/procfs github.com/go-openapi/errors github.com/go-openapi/swag github.com/go-openapi/strfmt github.com/go-openapi/jsonpointer github.com/go-openapi/jsonreference github.com/go-openapi/spec github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime net/http/httputil github.com/crowdsecurity/crowdsec/pkg/cwversion expvar github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp github.com/matttproud/golang_protobuf_extensions/pbutil gopkg.in/tomb.v2 github.com/nxadm/tail/ratelimiter github.com/golang/protobuf/ptypes github.com/prometheus/client_model/go github.com/nxadm/tail/util github.com/go-openapi/analysis github.com/fsnotify/fsnotify gopkg.in/tomb.v1 os/exec github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt github.com/nxadm/tail/watch runtime/trace testing github.com/nxadm/tail github.com/gin-contrib/sse github.com/go-openapi/loads github.com/prometheus/client_golang/prometheus github.com/gin-gonic/gin/internal/bytesconv github.com/go-openapi/validate github.com/gin-gonic/gin/internal/json github.com/go-playground/locales github.com/dgrijalva/jwt-go github.com/go-playground/universal-translator github.com/leodido/go-urn golang.org/x/crypto/sha3 go/token github.com/crowdsecurity/crowdsec/pkg/models text/template/parse github.com/go-playground/validator/v10 github.com/mattn/go-isatty database/sql github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/types text/template github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/google/uuid github.com/facebook/ent/entql github.com/facebook/ent/dialect github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/facebook/ent/dialect/sql html/template github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/facebook/ent/schema/field github.com/facebook/ent/schema/edge github.com/go-co-op/gocron net/rpc github.com/go-sql-driver/mysql github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/facebook/ent/dialect/sql/sqlgraph github.com/ugorji/go/codec github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/facebook/ent/dialect/sql/schema github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/lib/pq/scram github.com/facebook/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/schema os/user github.com/mattn/go-sqlite3 github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/lib/pq github.com/gin-gonic/gin/binding github.com/gin-gonic/gin/render golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt github.com/gin-gonic/gin github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/mohae/deepcopy github.com/oschwald/maxminddb-golang github.com/appleboy/gin-jwt github.com/oschwald/geoip2-golang internal/profile text/tabwriter runtime/pprof plugin github.com/prometheus/client_golang/prometheus/promhttp net/http/pprof os/signal github.com/mattn/go-colorable github.com/mgutz/ansi github.com/AlecAivazis/survey/core github.com/AlecAivazis/survey/terminal github.com/kballard/go-shellquote github.com/crowdsecurity/crowdsec/pkg/parser golang.org/x/term github.com/crowdsecurity/crowdsec/pkg/machineid archive/zip golang.org/x/crypto/ssh/terminal github.com/AlecAivazis/survey github.com/dghubble/sling github.com/docker/docker/api/types/blkiodev github.com/docker/docker/api/types/mount github.com/docker/docker/api/types/strslice github.com/docker/go-connections/nat github.com/docker/go-units github.com/docker/docker/api/types/versions github.com/docker/docker/api/types/filters github.com/docker/docker/api/types/container github.com/opencontainers/go-digest github.com/docker/docker/api/types/network github.com/opencontainers/image-spec/specs-go google.golang.org/grpc/codes github.com/gogo/protobuf/proto github.com/opencontainers/image-spec/specs-go/v1 google.golang.org/genproto/googleapis/rpc/status github.com/docker/docker/api/types/registry google.golang.org/grpc/grpclog github.com/containerd/containerd/log github.com/docker/distribution/digestset google.golang.org/grpc/connectivity google.golang.org/grpc/internal google.golang.org/grpc/status github.com/docker/distribution/reference github.com/crowdsecurity/crowdsec/pkg/database github.com/containerd/containerd/errdefs github.com/containerd/containerd/platforms github.com/docker/docker/api/types/time github.com/docker/distribution/registry/api/errcode golang.org/x/net/internal/socks github.com/docker/docker/errdefs golang.org/x/net/proxy github.com/docker/go-connections/tlsconfig encoding/csv github.com/docker/go-connections/sockets github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/mattn/go-runewidth github.com/prometheus/prom2json github.com/olekukonko/tablewriter github.com/spf13/pflag github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/russross/blackfriday/v2 github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/docker/docker/api/types/swarm/runtime github.com/docker/docker/api/types/swarm github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/cpuguy83/go-md2man/v2/md2man github.com/docker/docker/api/types github.com/spf13/cobra github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/docker/docker/api/types/volume github.com/docker/docker/client github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/spf13/cobra/doc github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli make[1]: Leaving directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' dh_auto_test -a -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 4 github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli github.com/crowdsecurity/crowdsec/pkg/acquisition github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1 github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1 github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent github.com/crowdsecurity/crowdsec/pkg/database/ent/alert github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer github.com/crowdsecurity/crowdsec/pkg/database/ent/decision github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest github.com/crowdsecurity/crowdsec/pkg/database/ent/event github.com/crowdsecurity/crowdsec/pkg/database/ent/hook github.com/crowdsecurity/crowdsec/pkg/database/ent/machine github.com/crowdsecurity/crowdsec/pkg/database/ent/meta github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime github.com/crowdsecurity/crowdsec/pkg/database/ent/schema github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/machineid github.com/crowdsecurity/crowdsec/pkg/metabase github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser github.com/crowdsecurity/crowdsec/pkg/time/rate github.com/crowdsecurity/crowdsec/pkg/types ? github.com/crowdsecurity/crowdsec/cmd/crowdsec [no test files] ? github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli [no test files] === RUN TestConfigLoading time="2021-10-12T09:09:21Z" level=info msg="loading acquisition file : ./tests/xxx.yaml" time="2021-10-12T09:09:21Z" level=info msg="loading acquisition file : ./tests/test.log" time="2021-10-12T09:09:21Z" level=info msg="loading acquisition file : ./tests/acquis_test.yaml" time="2021-10-12T09:09:21Z" level=info msg="[file datasource] opening file './tests/test.log'" --- PASS: TestConfigLoading (0.00s) === RUN TestDataSourceConfigure time="2021-10-12T09:09:21Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" time="2021-10-12T09:09:21Z" level=info msg="expected config error ok : empty filename(s) and journalctl filter, malformed datasource" time="2021-10-12T09:09:21Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:21Z" level=info msg="expected config error ok : configuring file datasource: unknown mode ratata for file acquisition" time="2021-10-12T09:09:21Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:21Z" level=info msg="kill iiittt" time="2021-10-12T09:09:21Z" level=info msg="reading ./tests/test.log at once" time="2021-10-12T09:09:22Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:22Z" level=info msg="kill iiittt" time="2021-10-12T09:09:22Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log time="2021-10-12T09:09:23Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" time="2021-10-12T09:09:23Z" level=info msg="kill iiittt" time="2021-10-12T09:09:24Z" level=warning msg="got stderr message : \x1b[0;1;39mNo journal files were found.\x1b[0m" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" --- PASS: TestDataSourceConfigure (3.00s) === RUN TestAcquisCat time="2021-10-12T09:09:24Z" level=info msg="expected config error ok : no filename or filenames" time="2021-10-12T09:09:24Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" time="2021-10-12T09:09:24Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" time="2021-10-12T09:09:24Z" level=warning msg="[file datasource] no results for /does/not/exists" time="2021-10-12T09:09:24Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" time="2021-10-12T09:09:24Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:24Z" level=info msg="reading ./tests/test.log at once" time="2021-10-12T09:09:25Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" time="2021-10-12T09:09:25Z" level=info msg="reading ./tests/badlog.gz at once" time="2021-10-12T09:09:25Z" level=error msg="Failed to read gz file: EOF" file=./tests/badlog.gz time="2021-10-12T09:09:26Z" level=info msg="expected tomb error ok : " time="2021-10-12T09:09:26Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" time="2021-10-12T09:09:26Z" level=info msg="reading ./tests/test.log.gz at once" --- PASS: TestAcquisCat (3.00s) === RUN TestTailKill time="2021-10-12T09:09:27Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:28Z" level=info msg="file datasource ./tests/test.log stopping" acquisition file=./tests/test.log --- PASS: TestTailKill (2.00s) === RUN TestTailKillBis time="2021-10-12T09:09:29Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:30Z" level=warning msg="File reader of ./tests/test.log died" acquisition file=./tests/test.log --- PASS: TestTailKillBis (2.00s) === RUN TestTailRuntime time="2021-10-12T09:09:31Z" level=info msg="[file datasource] opening file './tests/test.log'" --- PASS: TestTailRuntime (2.00s) === RUN TestAcquisTail time="2021-10-12T09:09:33Z" level=info msg="expected config error ok : no filename or filenames" time="2021-10-12T09:09:33Z" level=info msg="expected config error ok : unable to open /etc/shadow : permission denied" time="2021-10-12T09:09:33Z" level=info msg="expected config error ok : while globbing [a-: syntax error in pattern" time="2021-10-12T09:09:33Z" level=warning msg="[file datasource] no results for /does/not/exists" time="2021-10-12T09:09:33Z" level=info msg="expected config error ok : no files to read for [/does/not/exists]" time="2021-10-12T09:09:33Z" level=info msg="[file datasource] opening file './tests/test.log'" time="2021-10-12T09:09:34Z" level=info msg="expected tomb error ok : " time="2021-10-12T09:09:34Z" level=info msg="[file datasource] opening file './tests/badlog.gz'" time="2021-10-12T09:09:35Z" level=info msg="expected tomb error ok : " time="2021-10-12T09:09:35Z" level=info msg="[file datasource] opening file './tests/test.log.gz'" time="2021-10-12T09:09:36Z" level=info msg="expected tomb error ok : " --- PASS: TestAcquisTail (3.00s) === RUN TestSimJournalctlCat --- PASS: TestSimJournalctlCat (0.00s) === RUN TestSimJournalctlCatError --- PASS: TestSimJournalctlCatError (0.00s) === RUN TestSimJournalctlCatOneLine --- PASS: TestSimJournalctlCatOneLine (0.00s) === RUN TestJournaldTail time="2021-10-12T09:09:36Z" level=info msg="expected config error ok : journalctl_filter shouldn't be empty" time="2021-10-12T09:09:36Z" level=info msg="expected config error ok : unknown mode 'ratatata' for journald source" time="2021-10-12T09:09:36Z" level=info msg="[journald datasource] Configured with filters : [--this-is-bad-option --]" time="2021-10-12T09:09:37Z" level=warning msg="got stderr message : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- time="2021-10-12T09:09:37Z" level=warning msg="journalctl reader error : flag provided but not defined: -this-is-bad-option" acquisition file=journalctl---this-is-bad-option.-- time="2021-10-12T09:09:37Z" level=warning msg="got stderr message : Usage of /tmp/go-build025055186/b340/acquisition.test:" acquisition file=journalctl---this-is-bad-option.-- time="2021-10-12T09:09:38Z" level=info msg="now let's check number of lines & errors" time="2021-10-12T09:09:38Z" level=info msg="expected tomb error ok : " --- PASS: TestJournaldTail (2.00s) === RUN TestJournaldSimple time="2021-10-12T09:09:38Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCat --]" --- PASS: TestJournaldSimple (1.17s) === RUN TestJournalctlKill time="2021-10-12T09:09:39Z" level=info msg="[journald datasource] Configured with filters : [-test.run=TestSimJournalctlCatOneLine --]" time="2021-10-12T09:09:39Z" level=debug msg="cmd path : /tmp/go-build025055186/b340/acquisition.test" time="2021-10-12T09:09:39Z" level=debug msg="cmd args : [/tmp/go-build025055186/b340/acquisition.test -test.run=TestSimJournalctlCatOneLine --]" time="2021-10-12T09:09:40Z" level=debug msg="getting one line : this is a single line being produced" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" time="2021-10-12T09:09:40Z" level=debug msg=timeout acquisition file=./tests/test.log time="2021-10-12T09:09:40Z" level=debug msg=timeout acquisition file=./tests/test.log time="2021-10-12T09:09:40Z" level=debug msg=timeout acquisition file=./tests/badlog.gz time="2021-10-12T09:09:40Z" level=debug msg=timeout acquisition file=./tests/test.log.gz time="2021-10-12T09:09:40Z" level=debug msg="journalctl datasource journalctl--test.run=TestSimJournalctlCatOneLine.-- stopping" acquisition file="journalctl--test.run=TestSimJournalctlCatOneLine.--" time="2021-10-12T09:09:41Z" level=debug msg=timeout acquisition file=./tests/test.log time="2021-10-12T09:09:41Z" level=debug msg=timeout acquisition file=./tests/test.log time="2021-10-12T09:09:41Z" level=debug msg=timeout acquisition file=./tests/badlog.gz time="2021-10-12T09:09:41Z" level=debug msg=timeout acquisition file=./tests/test.log.gz --- PASS: TestJournalctlKill (2.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/acquisition 20.507s === RUN TestAlertsListAsMachine time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:35873" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:35873/v1/watchers/login" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: GET http://127.0.0.1:35873/v1/alerts" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: GET http://127.0.0.1:35873/v1/alerts?ip=1.2.3.4" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsListAsMachine (0.08s) === RUN TestAlertsGetAsMachine time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:34615" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:34615/v1/watchers/login" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: GET http://127.0.0.1:34615/v1/alerts/1" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: GET http://127.0.0.1:34615/v1/alerts/2" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 404" --- PASS: TestAlertsGetAsMachine (0.01s) === RUN TestAlertsCreateAsMachine time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:38037" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38037/v1/watchers/login" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: POST http://127.0.0.1:38037/v1/alerts" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsCreateAsMachine (0.00s) === RUN TestAlertsDeleteAsMachine time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:40817" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:40817/v1/watchers/login" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:40817/v1/alerts?ip=1.2.3.4" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" --- PASS: TestAlertsDeleteAsMachine (0.00s) === RUN TestWatcherAuth time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:37161" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37161/v1/watchers/login" time="2021-10-12T09:09:22Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" time="2021-10-12T09:09:22Z" level=info msg="ok cool" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: POST http://127.0.0.1:37161/v1/watchers/login" time="2021-10-12T09:09:22Z" level=info msg="--> {\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" time="2021-10-12T09:09:22Z" level=info msg="ok cool" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:37161/v1/watchers/login" time="2021-10-12T09:09:22Z" level=info msg="--> {\"machine_id\":\"BADtest_login\",\"password\":\"BADtest_password\",\"scenarios\":[\"crowdsecurity/test\"]}\n" time="2021-10-12T09:09:22Z" level=info msg=badbad time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 403" --- PASS: TestWatcherAuth (0.00s) === RUN TestWatcherRegister time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:38437" time="2021-10-12T09:09:22Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherRegister (0.05s) === RUN TestWatcherUnregister time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:39677" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:39677/v1/watchers/login" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:22Z" level=debug msg="token toto will expire on 2029-11-30 14:14:24 +0100 +0100" time="2021-10-12T09:09:22Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:39677/v1/watchers" time="2021-10-12T09:09:22Z" level=debug msg="resp-jwt: 200" time="2021-10-12T09:09:22Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestWatcherUnregister (0.00s) === RUN TestApiAuth time="2021-10-12T09:09:22Z" level=info msg="URL is http://127.0.0.1:38405" time="2021-10-12T09:09:22Z" level=debug msg="req-api: GET http://127.0.0.1:38405/v1/decisions?ip=1.2.3.4" time="2021-10-12T09:09:22Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38405\r\nUser-Agent: toto\r\nX-Api-Key: ixu\r\n\r\n" time="2021-10-12T09:09:22Z" level=trace msg="auth-api response: HTTP/1.1 200 OK\r\nContent-Length: 4\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 12 Oct 2021 09:09:22 GMT\r\n\r\nnull" time="2021-10-12T09:09:22Z" level=debug msg="resp-api: http 200" time="2021-10-12T09:09:22Z" level=debug msg="req-api: GET http://127.0.0.1:38405/v1/decisions?ip=1.2.3.4" time="2021-10-12T09:09:22Z" level=trace msg="auth-api request: GET /v1/decisions?ip=1.2.3.4 HTTP/1.1\r\nHost: 127.0.0.1:38405\r\nUser-Agent: toto\r\nX-Api-Key: bad\r\n\r\n" time="2021-10-12T09:09:22Z" level=trace msg="auth-api response: HTTP/1.1 403 Forbidden\r\nContent-Length: 30\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 12 Oct 2021 09:09:22 GMT\r\n\r\n{\"message\":\"access forbidden\"}" time="2021-10-12T09:09:22Z" level=debug msg="resp-api: http 403" time="2021-10-12T09:09:22Z" level=info msg="--> API error: access forbidden" time="2021-10-12T09:09:22Z" level=info msg="--> Get \"http://127.0.0.1:38405/v1/decisions?ip=1.2.3.4\": APIKey is empty" --- PASS: TestApiAuth (0.00s) === RUN TestNewRequestInvalid --- PASS: TestNewRequestInvalid (0.00s) === RUN TestNewRequestTimeout time="2021-10-12T09:09:22Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:36437\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" time="2021-10-12T09:09:22Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36437/v1/watchers/login" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:24Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 0\r\nDate: Tue, 12 Oct 2021 09:09:24 GMT\r\n\r\n" --- PASS: TestNewRequestTimeout (2.01s) === RUN TestNewClientOk time="2021-10-12T09:09:24Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:38103\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:38103/v1/watchers/login" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:24Z" level=trace msg="auth-jwt response: HTTP/1.1 200 OK\r\nContent-Length: 65\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 12 Oct 2021 09:09:24 GMT\r\n\r\n{\"code\": 200, \"expire\": \"2030-01-02T15:04:05Z\", \"token\": \"oklol\"}" time="2021-10-12T09:09:24Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:24Z" level=debug msg="req-jwt: GET http://127.0.0.1:38103/v1/alerts" time="2021-10-12T09:09:24Z" level=trace msg="req-jwt: GET /v1/alerts HTTP/1.1\r\nHost: 127.0.0.1:38103\r\nAuthorization: Bearer oklol\r\nUser-Agent: crowdsec/-\r\n\r\n" time="2021-10-12T09:09:24Z" level=trace msg="resp-jwt: HTTP/1.1 200 OK\r\nDate: Tue, 12 Oct 2021 09:09:24 GMT\r\nContent-Length: 0\r\n\r\n (err:)" time="2021-10-12T09:09:24Z" level=debug msg="resp-jwt: 200" --- PASS: TestNewClientOk (0.00s) === RUN TestNewClientKo time="2021-10-12T09:09:24Z" level=trace msg="auth-jwt request: POST /v1/watchers/login HTTP/1.1\r\nHost: 127.0.0.1:44187\r\nContent-Type: application/json\r\nUser-Agent: crowdsec/-\r\n\r\n{\"machine_id\":\"test_login\",\"password\":\"test_password\",\"scenarios\":null}\n" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:44187/v1/watchers/login" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt : http 401" time="2021-10-12T09:09:24Z" level=trace msg="auth-jwt response: HTTP/1.1 401 Unauthorized\r\nContent-Length: 47\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Tue, 12 Oct 2021 09:09:24 GMT\r\n\r\n{\"code\": 401, \"message\" : \"bad login/password\"}" time="2021-10-12T09:09:24Z" level=info msg="err-> performing request: Get \"http://127.0.0.1:44187/v1/alerts\": received response status \"401 Unauthorized\" when fetching http://127.0.0.1:44187/v1/watchers/login" --- PASS: TestNewClientKo (0.00s) === RUN TestNewDefaultClient time="2021-10-12T09:09:24Z" level=info msg="err-> performing request: API error: brr" --- PASS: TestNewDefaultClient (0.00s) === RUN TestNewClientRegisterKO --- PASS: TestNewClientRegisterKO (0.00s) === RUN TestNewClientRegisterOK time="2021-10-12T09:09:24Z" level=info msg="->*apiclient.ApiClient" --- PASS: TestNewClientRegisterOK (0.00s) === RUN TestNewClientBadAnswer --- PASS: TestNewClientBadAnswer (0.00s) === RUN TestDecisionsList time="2021-10-12T09:09:24Z" level=debug msg="req-api: GET http://127.0.0.1:36963/v1/decisions?ip=1.2.3.4" time="2021-10-12T09:09:24Z" level=debug msg="resp-api: http 200" time="2021-10-12T09:09:24Z" level=debug msg="req-api: GET http://127.0.0.1:36963/v1/decisions?ip=1.2.3.5" time="2021-10-12T09:09:24Z" level=debug msg="resp-api: http 200" --- PASS: TestDecisionsList (0.01s) === RUN TestDecisionsStream time="2021-10-12T09:09:24Z" level=debug msg="req-api: GET http://127.0.0.1:33081/v1/decisions/stream?startup=true" time="2021-10-12T09:09:24Z" level=debug msg="resp-api: http 200" time="2021-10-12T09:09:24Z" level=debug msg="req-api: GET http://127.0.0.1:33081/v1/decisions/stream?startup=false" time="2021-10-12T09:09:24Z" level=debug msg="resp-api: http 200" time="2021-10-12T09:09:24Z" level=debug msg="req-api: DELETE http://127.0.0.1:33081/v1/decisions" time="2021-10-12T09:09:24Z" level=debug msg="resp-api: http 200" --- PASS: TestDecisionsStream (0.00s) === RUN TestDeleteDecisions time="2021-10-12T09:09:24Z" level=info msg="URL is http://127.0.0.1:36595" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt(auth): POST http://127.0.0.1:36595/v1/watchers/login" time="2021-10-12T09:09:24Z" level=debug msg="auth-jwt : http 200" time="2021-10-12T09:09:24Z" level=debug msg="token oklol will expire on 2030-01-02 15:04:05 +0000 UTC" time="2021-10-12T09:09:24Z" level=debug msg="req-jwt: DELETE http://127.0.0.1:36595/v1/decisions?ip=1.2.3.4" time="2021-10-12T09:09:24Z" level=debug msg="resp-jwt: 200" --- PASS: TestDeleteDecisions (0.01s) PASS ok github.com/crowdsecurity/crowdsec/pkg/apiclient 2.408s === RUN TestSimulatedAlert time="2021-10-12T09:09:31Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:32 UTC] "POST /v1/watchers HTTP/1.1 201 673.692776ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:32 UTC] "POST /v1/watchers/login HTTP/1.1 200 410.092532ms "crowdsec-test/" " time="2021-10-12T09:09:32Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : (simulated alert)1h ban on Ip 91.121.79.179" time="2021-10-12T09:09:32Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" time="2021-10-12T09:09:32Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:32 UTC] "POST /v1/alerts HTTP/1.1 201 114.445174ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:32 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 2.278576ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:32 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 2.037699ms "crowdsec-test/" " --- PASS: TestSimulatedAlert (1.39s) === RUN TestCreateAlert time="2021-10-12T09:09:32Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/watchers HTTP/1.1 201 389.552553ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/watchers/login HTTP/1.1 200 280.352382ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/alerts HTTP/1.1 400 100.535µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/alerts HTTP/1.1 500 279.83µs "crowdsec-test/" " time="2021-10-12T09:09:33Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:33Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/alerts HTTP/1.1 201 18.135764ms "crowdsec-test/" " --- PASS: TestCreateAlert (0.70s) === RUN TestAlertListFilters time="2021-10-12T09:09:33Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:33 UTC] "POST /v1/watchers HTTP/1.1 201 303.876496ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "POST /v1/watchers/login HTTP/1.1 200 378.403592ms "crowdsec-test/" " time="2021-10-12T09:09:34Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" time="2021-10-12T09:09:34Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:34 UTC] "POST /v1/alerts HTTP/1.1 201 20.607893ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 187.185µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts HTTP/1.1 200 1.610317ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?decision_type=ban HTTP/1.1 200 1.533758ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?decision_type=ratata HTTP/1.1 200 349.276µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?scope=Ip HTTP/1.1 200 1.373641ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?scope=rarara HTTP/1.1 200 257.471µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?scenario=crowdsecurity/ssh-bf HTTP/1.1 200 1.312286ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?scenario=crowdsecurity/nope HTTP/1.1 200 262.676µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?ip=91.121.79.195 HTTP/1.1 200 1.711871ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?ip=99.122.77.195 HTTP/1.1 200 364.309µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?ip=gruueq HTTP/1.1 500 79.395µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?range=91.121.79.0/24&contains=false HTTP/1.1 200 1.385641ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?range=99.122.77.0/24&contains=false HTTP/1.1 200 312.992µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?range=ratata HTTP/1.1 500 82.972µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?since=1h HTTP/1.1 200 55.151536ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?since=1ns HTTP/1.1 200 399.543µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?since=1zuzu HTTP/1.1 500 115.881µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?until=1ns HTTP/1.1 200 2.066358ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?until=1m HTTP/1.1 200 393.275µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?until=1zuzu HTTP/1.1 500 120.01µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?simulated=true HTTP/1.1 200 2.396788ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?simulated=false HTTP/1.1 200 2.497342ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?has_active_decision=true HTTP/1.1 200 2.31041ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?has_active_decision=false HTTP/1.1 200 712.111µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:34 UTC] "GET /v1/alerts?has_active_decision=ratatqata HTTP/1.1 500 129.714µs "crowdsec-test/" " --- PASS: TestAlertListFilters (0.88s) === RUN TestAlertBulkInsert time="2021-10-12T09:09:34Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:34 UTC] "POST /v1/watchers HTTP/1.1 201 396.611939ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:35 UTC] "POST /v1/watchers/login HTTP/1.1 200 497.273523ms "crowdsec-test/" " time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.195 (FR) : 1h ban on Ip 91.121.79.195" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.4 (US) : 1h ban on Ip 1.2.3.4" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 1.2.3.6 (US) : 1h ban on Ip 1.2.3.6" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.194 (FR) : 1h ban on Ip 91.121.79.194" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.193 (FR) : 1h ban on Ip 91.121.79.193" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.192 (FR) : 1h ban on Ip 91.121.79.192" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.191 (FR) : 1h ban on Ip 91.121.79.191" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.190 (FR) : 1h ban on Ip 91.121.79.190" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.189 (FR) : 1h ban on Ip 91.121.79.189" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.188 (FR) : 1h ban on Ip 91.121.79.188" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.187 (FR) : 1h ban on Ip 91.121.79.187" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.186 (FR) : 1h ban on Ip 91.121.79.186" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.185 (FR) : 1h ban on Ip 91.121.79.185" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.184 (FR) : 1h ban on Ip 91.121.79.184" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.183 (FR) : 1h ban on Ip 91.121.79.183" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.182 (FR) : 1h ban on Ip 91.121.79.182" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.181 (FR) : 1h ban on Ip 91.121.79.181" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.180 (FR) : 1h ban on Ip 91.121.79.180" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" time="2021-10-12T09:09:35Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" time="2021-10-12T09:09:35Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:35 UTC] "POST /v1/alerts HTTP/1.1 201 318.943659ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:35 UTC] "GET /v1/alerts HTTP/1.1 200 71.995001ms "crowdsec-test/" " --- PASS: TestAlertBulkInsert (1.40s) === RUN TestListAlert time="2021-10-12T09:09:35Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:36 UTC] "POST /v1/watchers HTTP/1.1 201 745.45601ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:37 UTC] "POST /v1/watchers/login HTTP/1.1 200 504.656078ms "crowdsec-test/" " time="2021-10-12T09:09:37Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:37Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:37 UTC] "POST /v1/alerts HTTP/1.1 201 93.839768ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:37 UTC] "GET /v1/alerts?test=test HTTP/1.1 500 199.626µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:37 UTC] "GET /v1/alerts HTTP/1.1 200 2.58624ms "crowdsec-test/" " --- PASS: TestListAlert (1.59s) === RUN TestCreateAlertErrors time="2021-10-12T09:09:37Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:37 UTC] "POST /v1/watchers HTTP/1.1 201 412.487975ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:38 UTC] "POST /v1/watchers/login HTTP/1.1 200 384.168694ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:38 UTC] "POST /v1/alerts HTTP/1.1 401 36.788µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:38 UTC] "POST /v1/alerts HTTP/1.1 401 121.997µs "crowdsec-test/" " --- PASS: TestCreateAlertErrors (0.91s) === RUN TestDeleteAlert time="2021-10-12T09:09:38Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:38 UTC] "POST /v1/watchers HTTP/1.1 201 401.75677ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:39 UTC] "POST /v1/watchers/login HTTP/1.1 200 289.293655ms "crowdsec-test/" " time="2021-10-12T09:09:39Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:39Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:39 UTC] "POST /v1/alerts HTTP/1.1 201 8.901936ms "crowdsec-test/" " 127.0.0.2 - [Tue, 12 Oct 2021 09:09:39 UTC] "DELETE /v1/alerts HTTP/1.1 403 137.495µs "crowdsec-test/" " 127.0.0.1 - [Tue, 12 Oct 2021 09:09:39 UTC] "DELETE /v1/alerts HTTP/1.1 200 109.893032ms "crowdsec-test/" " --- PASS: TestDeleteAlert (1.00s) === RUN TestAPIKey time="2021-10-12T09:09:39Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:39 UTC] "GET /v1/decisions HTTP/1.1 403 71.193µs "crowdsec-test/" " time="2021-10-12T09:09:39Z" level=error msg="auth api key error: select bouncer: ent: bouncer not found: unable to query" - [Tue, 12 Oct 2021 09:09:39 UTC] "GET /v1/decisions HTTP/1.1 403 623.306µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:39 UTC] "GET /v1/decisions HTTP/1.1 200 10.074843ms "crowdsec-test/" " --- PASS: TestAPIKey (0.10s) === RUN TestWithWrongDBConfig --- PASS: TestWithWrongDBConfig (0.00s) === RUN TestWithWrongFlushConfig --- PASS: TestWithWrongFlushConfig (0.00s) === RUN TestUnknownPath time="2021-10-12T09:09:39Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:39 UTC] "GET /test HTTP/1.1 404 16.798µs "crowdsec-test/" " --- PASS: TestUnknownPath (0.01s) === RUN TestDeleteDecisionRange time="2021-10-12T09:09:39Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:39 UTC] "POST /v1/watchers HTTP/1.1 201 397.643609ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:40 UTC] "POST /v1/watchers/login HTTP/1.1 200 490.654594ms "crowdsec-test/" " time="2021-10-12T09:09:40Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" time="2021-10-12T09:09:40Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" time="2021-10-12T09:09:40Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:40 UTC] "POST /v1/alerts HTTP/1.1 201 132.231202ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:40 UTC] "DELETE /v1/decisions?range=1.2.3.0/24 HTTP/1.1 200 580.89µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:40 UTC] "DELETE /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 1.937888ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:40 UTC] "DELETE /v1/decisions?range=91.121.79.0/24 HTTP/1.1 200 797.301µs "crowdsec-test/" " --- PASS: TestDeleteDecisionRange (1.10s) === RUN TestDeleteDecisionFilter time="2021-10-12T09:09:40Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:40 UTC] "POST /v1/watchers HTTP/1.1 201 389.660252ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:41 UTC] "POST /v1/watchers/login HTTP/1.1 200 294.410208ms "crowdsec-test/" " time="2021-10-12T09:09:41Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" time="2021-10-12T09:09:41Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" time="2021-10-12T09:09:41Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:41 UTC] "POST /v1/alerts HTTP/1.1 201 116.8267ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:41 UTC] "DELETE /v1/decisions?ip=1.2.3.4 HTTP/1.1 200 791.455µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:41 UTC] "DELETE /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 1.737698ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:41 UTC] "DELETE /v1/decisions?scope=Ip&value=91.121.79.178 HTTP/1.1 200 1.65973ms "crowdsec-test/" " --- PASS: TestDeleteDecisionFilter (0.90s) === RUN TestGetDecisionFilters time="2021-10-12T09:09:41Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:41 UTC] "POST /v1/watchers HTTP/1.1 201 359.137138ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "POST /v1/watchers/login HTTP/1.1 200 392.823928ms "crowdsec-test/" " time="2021-10-12T09:09:42Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.179 (FR) : 1h ban on Ip 91.121.79.179" time="2021-10-12T09:09:42Z" level=info msg="(test/crowdsec) crowdsecurity/ssh-bf by ip 91.121.79.178 (FR) : 1h ban on Ip 91.121.79.178" time="2021-10-12T09:09:42Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:42 UTC] "POST /v1/alerts HTTP/1.1 201 111.927173ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "GET /v1/decisions HTTP/1.1 200 80.02413ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "GET /v1/decisions?type=ban HTTP/1.1 200 1.2389ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "GET /v1/decisions?scope=Ip&value=91.121.79.179 HTTP/1.1 200 2.123198ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "GET /v1/decisions?ip=91.121.79.179 HTTP/1.1 200 1.238734ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:42 UTC] "GET /v1/decisions?range=91.121.79.0/24&contains=false HTTP/1.1 200 974.935µs "crowdsec-test/" " --- PASS: TestGetDecisionFilters (1.10s) === RUN TestGetDecision time="2021-10-12T09:09:42Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:43 UTC] "POST /v1/watchers HTTP/1.1 201 620.453939ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:43 UTC] "POST /v1/watchers/login HTTP/1.1 200 503.511981ms "crowdsec-test/" " time="2021-10-12T09:09:43Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:43Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:43 UTC] "POST /v1/alerts HTTP/1.1 201 113.685818ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:43 UTC] "GET /v1/decisions?test=test HTTP/1.1 500 4.132858ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:43 UTC] "GET /v1/decisions HTTP/1.1 200 1.516252ms "crowdsec-test/" " --- PASS: TestGetDecision (1.50s) === RUN TestDeleteDecisionByID time="2021-10-12T09:09:44Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:44 UTC] "POST /v1/watchers HTTP/1.1 201 414.748351ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:45 UTC] "POST /v1/watchers/login HTTP/1.1 200 618.498225ms "crowdsec-test/" " time="2021-10-12T09:09:45Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:45Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:45 UTC] "POST /v1/alerts HTTP/1.1 201 77.232142ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:45 UTC] "DELETE /v1/decisions/test HTTP/1.1 400 494.27µs "crowdsec-test/" " time="2021-10-12T09:09:45Z" level=warning msg="SoftDeleteDecisionByID : (nb soft deleted: 0)" - [Tue, 12 Oct 2021 09:09:45 UTC] "DELETE /v1/decisions/100 HTTP/1.1 500 1.462288ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:45 UTC] "DELETE /v1/decisions/1 HTTP/1.1 200 7.127451ms "crowdsec-test/" " --- PASS: TestDeleteDecisionByID (1.38s) === RUN TestDeleteDecision time="2021-10-12T09:09:45Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:46 UTC] "POST /v1/watchers HTTP/1.1 201 812.963218ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:46 UTC] "POST /v1/watchers/login HTTP/1.1 200 671.599161ms "crowdsec-test/" " time="2021-10-12T09:09:46Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:46Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:46 UTC] "POST /v1/alerts HTTP/1.1 201 18.754017ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:46 UTC] "DELETE /v1/decisions?test=test HTTP/1.1 500 177.414µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:46 UTC] "DELETE /v1/decisions HTTP/1.1 200 1.37186ms "crowdsec-test/" " --- PASS: TestDeleteDecision (1.62s) === RUN TestStreamDecision time="2021-10-12T09:09:47Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:47 UTC] "POST /v1/watchers HTTP/1.1 201 317.000481ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers/login HTTP/1.1 200 503.042178ms "crowdsec-test/" " time="2021-10-12T09:09:48Z" level=info msg="(test/test) crowdsecurity/test by ip 127.0.0.1 : 1h ban on ip 127.0.0.1" time="2021-10-12T09:09:48Z" level=warning msg="Cannot send alert to Central API channel" - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/alerts HTTP/1.1 201 12.318946ms "" " time="2021-10-12T09:09:48Z" level=warning msg="bad user agent '' from ''" - [Tue, 12 Oct 2021 09:09:48 UTC] "GET /v1/decisions/stream HTTP/1.1 200 40.628155ms "" " time="2021-10-12T09:09:48Z" level=warning msg="bad user agent '' from ''" - [Tue, 12 Oct 2021 09:09:48 UTC] "GET /v1/decisions/stream?startup=true HTTP/1.1 200 5.474517ms "" " --- PASS: TestStreamDecision (1.20s) === RUN TestLogin time="2021-10-12T09:09:48Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers HTTP/1.1 201 683.711204ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers/login HTTP/1.1 401 83.169679ms "crowdsec-test/" " time="2021-10-12T09:09:48Z" level=info msg="Error machine login for test1 : ent: machine not found " - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers/login HTTP/1.1 401 518.253µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers/login HTTP/1.1 401 38.881µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:48 UTC] "POST /v1/watchers/login HTTP/1.1 401 51.226µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers/login HTTP/1.1 401 230.318211ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers/login HTTP/1.1 200 368.852293ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers/login HTTP/1.1 200 189.974577ms "crowdsec-test/" " --- PASS: TestLogin (1.58s) === RUN TestCreateMachine time="2021-10-12T09:09:49Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers HTTP/1.1 400 50.148µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers HTTP/1.1 500 134.693µs "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:49 UTC] "POST /v1/watchers HTTP/1.1 201 199.042944ms "crowdsec-test/" " --- PASS: TestCreateMachine (0.21s) === RUN TestCreateMachineWithForwardedFor time="2021-10-12T09:09:49Z" level=info msg="Creating new API server" 1.1.1.1 - [Tue, 12 Oct 2021 09:09:50 UTC] "POST /v1/watchers HTTP/1.1 201 184.11028ms "crowdsec-test/" " --- PASS: TestCreateMachineWithForwardedFor (0.20s) === RUN TestCreateMachineWithForwardedForNoConfig time="2021-10-12T09:09:50Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:50 UTC] "POST /v1/watchers HTTP/1.1 201 169.58629ms "crowdsec-test/" " --- PASS: TestCreateMachineWithForwardedForNoConfig (0.20s) === RUN TestCreateMachineWithoutForwardedFor time="2021-10-12T09:09:50Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:50 UTC] "POST /v1/watchers HTTP/1.1 201 210.821835ms "crowdsec-test/" " --- PASS: TestCreateMachineWithoutForwardedFor (0.31s) === RUN TestCreateMachineAlreadyExist time="2021-10-12T09:09:50Z" level=info msg="Creating new API server" - [Tue, 12 Oct 2021 09:09:50 UTC] "POST /v1/watchers HTTP/1.1 201 208.249599ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:51 UTC] "POST /v1/watchers HTTP/1.1 403 187.282856ms "crowdsec-test/" " - [Tue, 12 Oct 2021 09:09:51 UTC] "POST /v1/watchers HTTP/1.1 403 130.421861ms "crowdsec-test/" " --- PASS: TestCreateMachineAlreadyExist (0.60s) PASS ok github.com/crowdsecurity/crowdsec/pkg/apiserver 20.182s ? 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] === RUN TestDefaultConfig common: daemonize: false pid_dir: /tmp/ log_media: stdout log_level: info working_dir: . prometheus: enabled: true level: full listen_addr: "" listen_port: 0 crowdsec_service: acquisition_path: /etc/crowdsec/config/acquis.yaml parser_routines: 1 buckets_routines: 0 output_routines: 0 cscli: output: human hub_branch: "" prometheus_uri: "" db_config: user: "" password: "" db_name: "" host: "" port: 0 db_path: /var/lib/crowdsec/data/crowdsec.db type: sqlite flush: null log_level: null api: client: credentials_path: /etc/crowdsec/config/lapi-secrets.yaml insecure_skip_verify: null server: listen_uri: 127.0.0.1:8080 tls: null online_client: credentials_path: /etc/crowdsec/config/online-api-secrets.yaml log_level: null config_paths: config_dir: /etc/crowdsec/ data_dir: /var/lib/crowdsec/data/ simulation_path: /etc/crowdsec/config/simulation.yaml index_path: /etc/crowdsec/hub/.index.json hub_dir: /etc/crowdsec/hub --- PASS: TestDefaultConfig (0.00s) === RUN TestNormalLoad time="2021-10-12T09:09:30Z" level=info msg="push and pull to crowdsec API disabled" --- PASS: TestNormalLoad (0.00s) === RUN TestCleanupPaths --- PASS: TestCleanupPaths (0.00s) === RUN TestSimulationLoading --- PASS: TestSimulationLoading (0.05s) === RUN TestNewCrowdSecConfig time="2021-10-12T09:09:30Z" level=info msg="test 'new configuration: basic' : OK" --- PASS: TestNewCrowdSecConfig (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/csconfig 0.574s ? github.com/crowdsecurity/crowdsec/pkg/csprofiles [no test files] === RUN TestItemStatus time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="loading hub idx hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="Loaded 2 collecs, 2 parsers, 1 scenarios, 0 post-overflow parsers" --- PASS: TestItemStatus (0.01s) === RUN TestGetters time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="loading hub idx hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestGetters (0.07s) === RUN TestIndexDownload time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="loading hub idx hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestIndexDownload (0.10s) === RUN TestInstallParser time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="loading hub idx hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar_parser : OK" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="Downloading parsers crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" --- PASS: TestInstallParser (0.04s) === RUN TestInstallCollection time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=info msg="Wrote new 3025 bytes index to hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="loading hub idx hubdir/.index.json" time="2021-10-12T09:09:25Z" level=debug msg="4 item types in hub index" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="Downloading collections crowdsecurity/foobar" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar_parser : OK" time="2021-10-12T09:09:25Z" level=info msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="Enabled parsers : crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" time="2021-10-12T09:09:25Z" level=debug msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar_scenario : OK" time="2021-10-12T09:09:25Z" level=info msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="Enabled scenarios : crowdsecurity/foobar_scenario" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" time="2021-10-12T09:09:25Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar_subparser : OK" time="2021-10-12T09:09:25Z" level=info msg="Enabled parsers : crowdsecurity/foobar_subparser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=debug msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar_subcollection : OK" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=info msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections doesn't exist, create" time="2021-10-12T09:09:25Z" level=info msg="Enabled collections : crowdsecurity/foobar_subcollection" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" time="2021-10-12T09:09:25Z" level=info msg="crowdsecurity/foobar : OK" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="/build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml already exists." time="2021-10-12T09:09:25Z" level=info msg="Enabled collections : crowdsecurity/foobar" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=debug msg="Downloading collections crowdsecurity/foobar" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : parsers crowdsecurity/foobar_parser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_parser : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : scenarios crowdsecurity/foobar_scenario" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/scenarios/crowdsecurity/foobar_scenario.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_scenario : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar sub-item : collections crowdsecurity/foobar_subcollection" time="2021-10-12T09:09:25Z" level=debug msg="Downloading collections crowdsecurity/foobar_subcollection" time="2021-10-12T09:09:25Z" level=debug msg="Download crowdsecurity/foobar_subcollection sub-item : parsers crowdsecurity/foobar_subparser" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_subparser : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar_subcollection : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/collections/crowdsecurity/foobar.yaml" time="2021-10-12T09:09:25Z" level=warning msg="crowdsecurity/foobar : overwrite" time="2021-10-12T09:09:25Z" level=debug msg="target: /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar_parser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar_scenario] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/scenarios/foobar_scenario.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar_subparser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/parsers/s01-parse/foobar_subparser.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar_subcollection] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed symlink [crowdsecurity/foobar] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install/collections/foobar.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar_parser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_parser.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar_scenario] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/scenarios/crowdsecurity/foobar_scenario.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar_subparser] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/parsers/s01-parse/crowdsecurity/foobar_subparser.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar_subcollection] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar_subcollection.yaml" time="2021-10-12T09:09:25Z" level=info msg="Removed source file [crowdsecurity/foobar] : /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir/collections/crowdsecurity/foobar.yaml" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/install" time="2021-10-12T09:09:25Z" level=debug msg="scanning /build/crowdsec-ODQsg3/crowdsec-1.0.9/_build/src/github.com/crowdsecurity/crowdsec/pkg/cwhub/hubdir" time="2021-10-12T09:09:25Z" level=info msg="[]" --- PASS: TestInstallCollection (0.10s) === RUN TestDownloadHubIdx time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (x%!(EXTRA string=master, string=.index.json))" time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://baddomain/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" time="2021-10-12T09:09:25Z" level=error msg="unexpected error while opening hub index file: open : no such file or directory" time="2021-10-12T09:09:25Z" level=debug msg="fetching index from branch master (https://raw.githubusercontent.com/crowdsecurity/hub/master/.index.json)" time="2021-10-12T09:09:25Z" level=info msg="---> /crowdsecurity/hub/master/.index.json" ->[]--- PASS: TestDownloadHubIdx (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/cwhub 0.798s ? github.com/crowdsecurity/crowdsec/pkg/cwversion [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/alert [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/decision [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/event [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/hook [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/machine [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/meta [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime [no test files] ? github.com/crowdsecurity/crowdsec/pkg/database/ent/schema [no test files] === RUN TestVisitor time="2021-10-12T09:09:31Z" level=debug msg="no variable in filter : ''crowdsec' startsWith 'crowdse''" time="2021-10-12T09:09:31Z" level=debug msg="eval('crowdsec' startsWith static_one && 1 == 1) = TRUE" type=test time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" type=test time="2021-10-12T09:09:31Z" level=debug msg=" static_one = 'crowdse'" type=test time="2021-10-12T09:09:31Z" level=debug msg="eval(static_one.foo == 'bar' && static_one.foo != 'toto') = TRUE" type=test time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" type=test time="2021-10-12T09:09:31Z" level=debug msg=" static_one.foo = 'bar'" type=test time="2021-10-12T09:09:31Z" level=debug msg=" static_one.foo = 'bar'" type=test time="2021-10-12T09:09:31Z" level=debug msg="unable to create expr debugger with empty filter" --- PASS: TestVisitor (0.00s) === RUN TestRegexpInFile time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" --- PASS: TestRegexpInFile (0.00s) === RUN TestFileInit time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" time="2021-10-12T09:09:31Z" level=info msg="test 'file with type:string' : OK" time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_empty_line.txt) (type:string)" time="2021-10-12T09:09:31Z" level=info msg="test 'file with type:string and empty lines + commentaries' : OK" time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" time="2021-10-12T09:09:31Z" level=info msg="test 'file with type:re' : OK" time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data_no_type.txt) (type:)" time="2021-10-12T09:09:31Z" level=debug msg="ignored file teststest_data_no_type.txt because no type specified" time="2021-10-12T09:09:31Z" level=info msg="test 'file without type' : OK" --- PASS: TestFileInit (0.00s) === RUN TestFile time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data.txt) (type:string)" time="2021-10-12T09:09:31Z" level=info msg="test 'File() test: word in file' : OK" time="2021-10-12T09:09:31Z" level=info msg="test 'File() test: word in file but different case' : OK" time="2021-10-12T09:09:31Z" level=info msg="test 'File() test: word not in file' : OK" time="2021-10-12T09:09:31Z" level=error msg="file 'non_existing_data.txt' (type:string) not found in expr library" time="2021-10-12T09:09:31Z" level=error msg="expr library : (map[string][]string) (len=1) {\n (string) (len=13) \"test_data.txt\": ([]string) (len=3 cap=4) {\n (string) (len=8) \"Crowdsec\",\n (string) (len=13) \"Crowdsecurity\",\n (string) (len=8) \"CrowdSec\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=info msg="test 'File() test: filepath provided doesn't exist' : OK" --- PASS: TestFile (0.00s) === RUN TestIpInRange time="2021-10-12T09:09:31Z" level=info msg="test 'IpInRange() test: basic test' : OK" time="2021-10-12T09:09:31Z" level=debug msg="'192.168.0' is not a valid IP" time="2021-10-12T09:09:31Z" level=info msg="test 'IpInRange() test: malformed IP' : OK" time="2021-10-12T09:09:31Z" level=debug msg="'192.168.0.0/255' is not a valid IP" time="2021-10-12T09:09:31Z" level=info msg="test 'IpInRange() test: malformed IP range' : OK" --- PASS: TestIpInRange (0.00s) === RUN TestAtof time="2021-10-12T09:09:31Z" level=debug msg="debug atof 1.5" time="2021-10-12T09:09:31Z" level=info msg="test 'Atof()' : OK" time="2021-10-12T09:09:31Z" level=debug msg="debug atof 1aaa.5" time="2021-10-12T09:09:31Z" level=warning msg="Atof : can't convert float '1aaa.5' : strconv.ParseFloat: parsing \"1aaa.5\": invalid syntax" time="2021-10-12T09:09:31Z" level=info msg="test 'Atof()' : OK" --- PASS: TestAtof (0.00s) === RUN TestUpper time="2021-10-12T09:09:31Z" level=info msg="test 'Upper()' : OK" --- PASS: TestUpper (0.00s) === RUN TestJsonExtract time="2021-10-12T09:09:31Z" level=debug msg="init (folder:tests) (file:test_data_re.txt) (type:regex)" 2021/10/12 09:09:31 test 'basic json extract' : OK time="2021-10-12T09:09:31Z" level=error msg="jsonExtractLib : [non_existing_field] : Key path not found" 2021/10/12 09:09:31 test 'basic json extract with non existing field' : OK --- PASS: TestJsonExtract (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/exprhelpers 0.080s === RUN TestBucket time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/leaky-fixedqueue" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/overflow-with-meta" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/overflow-with-meta-and-information" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-counter" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-counter-bh" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-counter-timeout" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-blackhole" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-overflow" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-ovflwfilter" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-underflow" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-uniq" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-leaky-uniq-w-buckets_state" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-trigger" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-trigger-external-data" time="2021-10-12T09:09:30Z" level=info msg="Running test on ./tests/simple-trigger-reprocess" --- PASS: TestBucket (0.00s) === RUN TestBadBucketsConfig time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name= time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test --- PASS: TestBadBucketsConfig (0.00s) === RUN TestLeakyBucketsConfig time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test time="2021-10-12T09:09:30Z" level=warning msg="Bucket without filter, abort." cfg= file= name=test time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=error msg="Unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test time="2021-10-12T09:09:30Z" level=error msg="Error creating overflow_filter : unable to compile filter : unknown name xu (1:1)\n | xu\n | ^" cfg= file= name=test --- PASS: TestLeakyBucketsConfig (0.00s) === RUN TestBlackholeConfig time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=warning msg="Blackhole duration not valid, using 1h" cfg= file= name=test time="2021-10-12T09:09:30Z" level=error msg="Error creating blackhole : blackhole duration not valid 'abc'" cfg= file= name=test --- PASS: TestBlackholeConfig (0.00s) === RUN TestTriggerBucketsConfig time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg= file= name=test --- PASS: TestTriggerBucketsConfig (0.06s) === RUN TestCounterBucketsConfig time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg= file= name=test time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-counter (tests/simple-counter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=error msg="scenario test/filter-discard (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg= file= name=test --- PASS: TestCounterBucketsConfig (0.00s) time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-underflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" === RUN TestGCandDump time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_fast time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:30Z" level=info msg="Pouring to bucket" time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast time="2021-10-12T09:09:30Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_fast time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 71aa86d327f5d3869f76cbd0a9bfe047630b7d31" cfg= file= name=test_counter_fast time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 500ms" bucket_id=quiet-lake capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 time="2021-10-12T09:09:30Z" level=error msg="scenario test/filter-ok (tests/simple-leaky-ovflwfilter/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test_counter_fast' is poured" cfg= file= name=test_counter_fast time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow time="2021-10-12T09:09:30Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=white-dust capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:30Z" level=warning msg="Loaded 2 scenarios" time="2021-10-12T09:09:30Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=empty-shape capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg=broken-glitter file=tests/simple-counter/bucket.yaml name=test/simple-counter time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta-and-information/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-bh/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/overflow-with-meta/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg=autumn-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-overflow/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/leaky-fixedqueue/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq-w-buckets_state/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-uniq/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger-external-data/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger-reprocess (tests/simple-trigger-reprocess/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-leaky (tests/simple-leaky-blackhole/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/simple-counter-timeout/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding counter bucket" cfg=aged-wildflower file=tests/simple-counter-timeout/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=info msg="Adding leaky bucket" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-postoverflow-scenario (tests/simple-trigger-reprocess/reprocess.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 40s" bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Restored 1 buckets from dump" time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=warning msg="Loaded 2 scenarios" time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=error msg="scenario test/simple-trigger (tests/simple-trigger/bucket.yaml) couldn't be find in hub (ignore if in unit tests)" time="2021-10-12T09:09:30Z" level=info msg="Adding trigger bucket" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Loaded 1 scenarios" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 1.5s" bucket_id=falling-tree capacity=2 cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=falling-tree capacity=2 cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 9658eacf5cfd80e4e05e1ce6b454d02390aab752" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=long-fog capacity=0 cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=restless-sun capacity=0 cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=restless-sun capacity=0 cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:06+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Uniq(baa) : ok" bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=long-fog capacity=0 cfg=wild-sea file=tests/simple-trigger/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=late-flower capacity=1 cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=19) \"AAAABBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=late-flower capacity=1 cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = TRUE" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Parsed.tainted_data = 'AAAABBBBBBB11111XXX'" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 2e8d7db9c16f84424dfb12c1bc26bbd345493588" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=silent-fog capacity=0 cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger-reprocess' is poured" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = FALSE" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket d70e6a1d89e829fdf1ed8981ade246fa9992e5e5" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Overflow.Alert = '%!s(*models.Alert=)'" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 1m0s" bucket_id=rough-field capacity=5 cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=rough-field capacity=5 cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 7242c50e20a27680c90f4f4b56e55e3917a26b8d" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=green-brook capacity=0 cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=green-brook capacity=0 cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger partition=7242c50e20a27680c90f4f4b56e55e3917a26b8d time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=silent-fog capacity=0 cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess partition=2e8d7db9c16f84424dfb12c1bc26bbd345493588 time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Uniq(aaa) : ok" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" 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=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s()'" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"1\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=nameless-snowflake capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=nameless-snowflake capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=wispy-darkness capacity=0 cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"1\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=wispy-darkness capacity=0 cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket 5e4dd6fc19fb871b459f4ca78192aa4445fbdf66" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=sparkling-morning capacity=1 cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=sparkling-morning capacity=1 cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket e7e1d6034515101b9706784cf57f156e8c59f9cd" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wild-feather capacity=1 cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:00 +0000 UTC" bucket_id=wild-feather capacity=1 cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:07+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"baa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Uniq(baa) : ko, discard event" bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:05+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=late-flower capacity=1 cfg=patient-sun file=tests/simple-leaky-overflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=restless-sun capacity=0 cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=black-frost capacity=0 cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=black-frost capacity=0 cfg=muddy-wave file=tests/overflow-with-meta/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:04+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"2\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) (len=3) {\n (string) (len=8) \"ASNumber\": (string) (len=4) \"1234\",\n (string) (len=7) \"IsoCode\": (string) (len=2) \"FR\",\n (string) (len=6) \"ASNOrg\": (string) (len=9) \"random AS\"\n },\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:00.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Bucket b4d360df5fb58c792f6750c54886fed3f319efc8 found dead, cleanup the body" bucket_id=wispy-darkness capacity=0 cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket b4d360df5fb58c792f6750c54886fed3f319efc8" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) (len=1) {\n (string) (len=12) \"tainted_data\": (string) (len=18) \"ZZZBBBBBBB11111XXX\"\n },\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.5\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=lively-brook capacity=0 cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-trigger' is poured" cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=info msg="Bucket overflow" bucket_id=lively-brook capacity=0 cfg=old-night file=tests/overflow-with-meta-and-information/bucket.yaml name=test/simple-trigger partition=b4d360df5fb58c792f6750c54886fed3f319efc8 time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog' && evt.Parsed.tainted_data in File('simple-trigger-external-data/simple_patterns.txt')) = FALSE" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:04 +0000 UTC" bucket_id=nameless-snowflake capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:00:00 +0000 UTC)" bucket_id=nameless-snowflake capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg=" evt.Parsed.tainted_data = 'ZZZBBBBBBB11111XXX'" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=cold-forest file=tests/simple-trigger-external-data/bucket.yaml name=test/simple-trigger time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Event wasn't poured" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aaa\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Uniq(aaa) : ko, discard event" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:08+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"bab\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:01+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=9) \"specvalue\": (string) (len=1) \"2\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/filter-discard' is poured" cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/filter-ok' is poured" cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=wild-feather capacity=1 cfg=wispy-cloud file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-ok partition=e7e1d6034515101b9706784cf57f156e8c59f9cd time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:01 +0000 UTC" bucket_id=sparkling-morning capacity=1 cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 time="2021-10-12T09:09:30Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, { Atof(.Meta.specvalue) > 3}))" bucket_id=sparkling-morning capacity=1 cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 time="2021-10-12T09:09:30Z" level=debug msg="Overflow has been discarded (*leakybucket.OverflowFilter)" bucket_id=sparkling-morning capacity=1 cfg=sparkling-bush file=tests/simple-leaky-ovflwfilter/bucket.yaml name=test/filter-discard partition=5e4dd6fc19fb871b459f4ca78192aa4445fbdf66 time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Uniq(bab) : ok" bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:08 +0000 UTC" bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"3\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=nameless-snowflake capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Creating TimeMachine bucket" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE3 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar2\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE2 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:02+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=8) \"uniq_key\": (string) (len=3) \"aab\"\n }\n}\n" time="2021-10-12T09:09:30Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="eval variables:" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:30Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:30Z" level=debug msg="Uniq(aab) : ok" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:30Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:02 +0000 UTC" bucket_id=morning-violet capacity=1 cfg=bold-fog file=tests/simple-leaky-uniq/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE1 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:00+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=1) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar0\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:00:15 +0000 UTC" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=6) \"ratata\": (string) (len=7) \"foobar1\",\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE4 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:00:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=5) \"entry\": (string) (len=1) \"4\",\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:16 +0000 UTC" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="Overflow discarded, still blackholed for 48s" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="Overflow has been discarded (*leakybucket.Blackhole)" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=24) \"2020-01-01T10:00:05.000Z\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=24) \"2a00:1450:4007:816::200e\",\n (string) (len=6) \"ratata\": (string) (len=6) \"foobar\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:31Z" level=debug msg="Bucket overflow at 2020-01-01 10:00:05 +0000 UTC" bucket_id=rough-field capacity=5 cfg=snowy-voice file=tests/leaky-fixedqueue/bucket.yaml name=test/simple-leaky partition=d70e6a1d89e829fdf1ed8981ade246fa9992e5e5 time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE5 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:15+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"5\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="Bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 found dead, cleanup the body" bucket_id=solitary-surf capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="Creating bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="Creating TimeMachine bucket" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="Created new bucket cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="Leaky routine starting, lifetime : 20s" bucket_id=wandering-fog capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="First event, bucket creation time : 2020-01-01 10:01:15 +0000 UTC" bucket_id=wandering-fog capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=info msg="Buckets input : (types.Event) {\n Type: (int) 0,\n ExpectMode: (int) 1,\n Whitelisted: (bool) false,\n WhiteListReason: (string) \"\",\n Stage: (string) \"\",\n Line: (types.Line) {\n Raw: (string) (len=30) \"xxheader VALUE6 trailing stuff\",\n Src: (string) \"\",\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Labels: (map[string]string) (len=1) {\n (string) (len=4) \"type\": (string) (len=7) \"testlog\"\n },\n Process: (bool) false\n },\n Parsed: (map[string]string) ,\n Enriched: (map[string]string) ,\n Overflow: (types.RuntimeAlert) {\n Mapkey: (string) \"\",\n BucketId: (string) \"\",\n Whitelisted: (bool) false,\n Reprocess: (bool) false,\n Sources: (map[string]models.Source) ,\n Alert: (*models.Alert)(),\n APIAlerts: ([]models.Alert) \n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n StrTime: (string) \"\",\n MarshaledTime: (string) (len=25) \"2020-01-01T10:01:16+00:00\",\n Process: (bool) false,\n Meta: (map[string]string) (len=2) {\n (string) (len=9) \"source_ip\": (string) (len=7) \"1.2.3.4\",\n (string) (len=5) \"entry\": (string) (len=1) \"6\"\n }\n}\n" time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = TRUE" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-leaky' is poured" cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky time="2021-10-12T09:09:31Z" level=warning msg="Done pouring !" time="2021-10-12T09:09:31Z" level=debug msg="Bucket overflow at 2020-01-01 10:01:16 +0000 UTC" bucket_id=wandering-fog capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 left blackhole 12s ago" bucket_id=wandering-fog capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=debug msg="Adding overflow to blackhole (2020-01-01 10:01:15 +0000 UTC)" bucket_id=wandering-fog capacity=1 cfg=floral-night file=tests/simple-leaky-blackhole/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:31Z" level=error msg="unable to collect sources from bucket: while extracting scope from bucket test_counter_fast: scope is Ip but Meta[source_ip] doesn't exist" time="2021-10-12T09:09:31Z" level=debug msg="Adding overflow to blackhole (2021-10-12 09:09:30.743570524 +0000 UTC m=+0.372987514)" bucket_id=quiet-lake capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 time="2021-10-12T09:09:31Z" level=info msg="Timed Overflow" bucket_id=quiet-lake capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=error msg="Overflow being reprocessed." time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Line.Labels.type =='testlog') = FALSE" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:31Z" level=debug msg=" evt.Line.Labels.type = ''" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:31Z" level=debug msg="Event leaving node : ko (filter mismatch)" cfg=fragrant-breeze file=tests/simple-trigger-reprocess/bucket.yaml name=test/simple-trigger-reprocess time="2021-10-12T09:09:31Z" level=debug msg="eval(evt.Overflow.Alert != nil && evt.Overflow.Alert.Scenario != nil) = TRUE" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg="eval variables:" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg=" evt.Overflow.Alert = '&{%!s(*int32=0xc0002f1794) [] [%!s(*models.Event=&{[0xc000469880] 0xc0005bd508})] %!s(*int32=0xc0002f1798) %!s(int64=0) [] %!s(*string=0xc000a14660) %!s(*string=0xc000a14690) [] %!s(bool=false) %!s(*string=0xc000230700) %!s(*string=0xc000230878) %!s(*string=0xc000230888) %!s(*bool=0xc0002307b9) %!s(*models.Source=&{ 1.2.3.4 0 0 0xc000230850 0xc000987b50}) %!s(*string=0xc000a14670) %!s(*string=0xc000a14680)}'" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg=" evt.Overflow.Alert.Scenario = '%!s(*string=0xc000230700)'" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg="Creating bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg="Creating Live bucket" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg="Created new bucket 91248b28253209fd9d7aa165b3a39157b686247a" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=debug msg="Leaky routine starting, lifetime : 0s" bucket_id=falling-glade capacity=0 cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a time="2021-10-12T09:09:31Z" level=debug msg="bucket 'test/simple-postoverflow-scenario' is poured" cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=info msg="Bucket overflow" bucket_id=falling-glade capacity=0 cfg=cool-leaf file=tests/simple-trigger-reprocess/reprocess.yaml name=test/simple-postoverflow-scenario partition=91248b28253209fd9d7aa165b3a39157b686247a time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=info msg="Timed Overflow" bucket_id=silent-field capacity=-1 cfg=broken-glitter file=tests/simple-counter/bucket.yaml name=test/simple-counter partition=9fa78fcbaa08702107f887d4d3b8ef7d020595de time="2021-10-12T09:09:31Z" level=info msg="Event is discard by overflow filter (any(queue.Queue, {.Meta.source_ip != '1.2.3.4'} ))" bucket_id=morning-silence capacity=-1 cfg=autumn-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 time="2021-10-12T09:09:31Z" level=info msg="Timed Overflow" bucket_id=morning-silence capacity=-1 cfg=autumn-dream file=tests/simple-counter-bh/bucket.yaml name=test/simple-trigger partition=9658eacf5cfd80e4e05e1ce6b454d02390aab752 time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:31Z" level=warning msg="got one result" time="2021-10-12T09:09:31Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=debug msg="bucket underflow, destroy" bucket_id=falling-tree capacity=2 cfg=frosty-resonance file=tests/simple-leaky-underflow/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:32Z" level=info msg="Bucket GC" time="2021-10-12T09:09:32Z" level=debug msg="overflowed at 2021-10-12 09:09:31.244598801 +0000 UTC m=+0.874015826." bucket_id=quiet-lake capacity=-1 cfg= file= name=test_counter_fast partition=71aa86d327f5d3869f76cbd0a9bfe047630b7d31 time="2021-10-12T09:09:32Z" level=debug msg="UNDERFLOW : first_ts:2021-10-12 09:09:30.743585168 +0000 UTC m=+0.373002151 tokens_at:9223372036854775808.000000 capcity:-1.000000" bucket_id=white-dust capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 time="2021-10-12T09:09:32Z" level=info msg="Cleaned 2 buckets" time="2021-10-12T09:09:32Z" level=info msg="Dumping buckets state" time="2021-10-12T09:09:32Z" level=info msg="Dumping buckets state at 2021-10-12 09:09:32.743855068 +0000 UTC m=+2.373272049" time="2021-10-12T09:09:32Z" level=debug msg="(2021-10-12 09:09:30.74354031 +0000 UTC m=+0.372957275) not dead, count:4.000000 capacity:5.000000" bucket_id=empty-shape capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 time="2021-10-12T09:09:32Z" level=info msg="Serialized 1 live buckets (+0 expired) in 1634 bytes to /tmp/crowdsec-buckets-dump-255693017" --- PASS: TestGCandDump (2.00s) === RUN TestShutdownBuckets time="2021-10-12T09:09:32Z" level=info msg="Adding counter bucket" cfg= file= name=test_counter_slow time="2021-10-12T09:09:32Z" level=info msg="Adding leaky bucket" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:32Z" level=info msg="Pouring to bucket" time="2021-10-12T09:09:32Z" level=debug msg="Creating bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow time="2021-10-12T09:09:32Z" level=debug msg="Creating Live bucket" cfg= file= name=test_counter_slow time="2021-10-12T09:09:32Z" level=debug msg="Created new bucket 7eb7efcbba045223ebb2953b4a784e6f0860e726" cfg= file= name=test_counter_slow time="2021-10-12T09:09:32Z" level=debug msg="Leaky routine starting, lifetime : 10m0s" bucket_id=silent-water capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 time="2021-10-12T09:09:32Z" level=debug msg="bucket 'test_counter_slow' is poured" cfg= file= name=test_counter_slow time="2021-10-12T09:09:32Z" level=debug msg="Creating bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:32Z" level=debug msg="Creating Live bucket" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:32Z" level=debug msg="Created new bucket 234605bbacd618ed1e2d940bd58a235ec7c2a790" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:32Z" level=debug msg="Leaky routine starting, lifetime : 1h0m0s" bucket_id=black-snow capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 time="2021-10-12T09:09:32Z" level=debug msg="bucket 'test_leaky_slow' is poured" cfg= file= name=test_leaky_slow time="2021-10-12T09:09:32Z" level=debug msg="Bucket externally killed, return" bucket_id=white-dust capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 time="2021-10-12T09:09:32Z" level=debug msg="Bucket externally killed, return" bucket_id=empty-shape capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="got one result" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:32Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=info msg="killed 234605bbacd618ed1e2d940bd58a235ec7c2a790" time="2021-10-12T09:09:33Z" level=info msg="killed 7eb7efcbba045223ebb2953b4a784e6f0860e726" time="2021-10-12T09:09:33Z" level=debug msg="Bucket externally killed, return" bucket_id=black-snow capacity=5 cfg= file= name=test_leaky_slow partition=234605bbacd618ed1e2d940bd58a235ec7c2a790 time="2021-10-12T09:09:33Z" level=debug msg="Bucket externally killed, return" bucket_id=silent-water capacity=-1 cfg= file= name=test_counter_slow partition=7eb7efcbba045223ebb2953b4a784e6f0860e726 time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" 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)(0xc0005c4bd0)((len=2) \"Ip\"),\n Value: (*string)(0xc0002bce30)((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)(0xc0005682f0)((len=2) \"Ip\"),\n Value: (*string)(0xc000568300)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="no more results" time="2021-10-12T09:09:33Z" level=warning msg="Got 2 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="2 results to check against 2 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" level=warning msg="Got 2 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="2 results to check against 2 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" 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)(0xc0002304d0)((len=2) \"Ip\"),\n Value: (*string)(0xc0001766c0)((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)(0xc00036db00)((len=2) \"Ip\"),\n Value: (*string)(0xc00036db10)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" 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)(0xc00071ea10)((len=2) \"Ip\"),\n Value: (*string)(0xc000a211b0)((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)(0xc00036db40)((len=2) \"Ip\"),\n Value: (*string)(0xc00036db50)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:33Z" 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)(0xc000230690)((len=2) \"Ip\"),\n Value: (*string)(0xc000a207a0)((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)(0xc00036dc30)((len=2) \"Ip\"),\n Value: (*string)(0xc00036dc40)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" 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)(0xc000230a10)((len=2) \"Ip\"),\n Value: (*string)(0xc000190880)((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)(0xc000b161f0)((len=2) \"Ip\"),\n Value: (*string)(0xc000b16200)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" 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)(0xc00019a150)((len=2) \"Ip\"),\n Value: (*string)(0xc0001bbe60)((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)(0xc000b16240)((len=2) \"Ip\"),\n Value: (*string)(0xc000b16250)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="Got 2 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="2 results to check against 2 expected results" time="2021-10-12T09:09:33Z" level=info msg="Here ?" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/filter-ok == test/filter-ok" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:33Z" 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)(0xc00071e850)((len=2) \"Ip\"),\n Value: (*string)(0xc0001acea0)((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)(0xc0003272f0)((len=2) \"Ip\"),\n Value: (*string)(0xc000327310)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 1 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 4 == 4" time="2021-10-12T09:09:33Z" 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)(0xc0005c4850)((len=2) \"Ip\"),\n Value: (*string)(0xc0001feb20)((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)(0xc0002b77d0)((len=2) \"Ip\"),\n Value: (*string)(0xc0002b77e0)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=info msg="Dumping buckets state at 2020-01-01 10:00:08 +0000 UTC" time="2021-10-12T09:09:33Z" level=debug msg="overflowed at 2020-01-01 10:00:08 +0000 UTC." bucket_id=cool-dew capacity=3 cfg=dark-shadow file=tests/simple-leaky-uniq-w-buckets_state/bucket.yaml name=test/simple-leaky partition=cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63 time="2021-10-12T09:09:33Z" level=info msg="Serialized 0 live buckets (+1 expired) in 2 bytes to /tmp/crowdsec-buckets-dump-317830244" time="2021-10-12T09:09:33Z" level=info msg="dumped bucket to /tmp/crowdsec-buckets-dump-317830244" time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-trigger == test/simple-trigger" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:33Z" 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)(0xc0005c4d90)((len=2) \"Ip\"),\n Value: (*string)(0xc0001ac1f0)((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)(0xc0003af660)((len=2) \"Ip\"),\n Value: (*string)(0xc0003af670)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:33Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:33Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:33Z" level=info msg="(scenario) test/simple-counter == test/simple-counter" time="2021-10-12T09:09:33Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:33Z" 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)(0xc0009a6150)((len=2) \"Ip\"),\n Value: (*string)(0xc0001d1060)((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)(0xc000326000)((len=2) \"Ip\"),\n Value: (*string)(0xc000326010)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:33Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:33Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:33Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 0 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:34Z" 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)(0xc0009a6310)((len=2) \"Ip\"),\n Value: (*string)(0xc0002a2b20)((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)(0xc0001e7490)((len=2) \"Ip\"),\n Value: (*string)(0xc0001e74a0)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 6 == 6" time="2021-10-12T09:09:34Z" 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)(0xc0005c4f50)((len=2) \"Ip\"),\n Value: (*string)(0xc0001ffb50)((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)(0xc00044ad40)((len=2) \"Ip\"),\n Value: (*string)(0xc00044ad50)((len=24) \"2a00:1450:4007:816::200e\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 3 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="3 results to check against 3 expected results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:34Z" 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)(0xc0005c4150)((len=2) \"Ip\"),\n Value: (*string)(0xc0001d0260)((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)(0xc000327fb0)((len=2) \"Ip\"),\n Value: (*string)(0xc000327fc0)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-leaky == test/simple-leaky" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 2 == 2" time="2021-10-12T09:09:34Z" 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)(0xc00071ebd0)((len=2) \"Ip\"),\n Value: (*string)(0xc000986c70)((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)(0xc000327ff0)((len=2) \"Ip\"),\n Value: (*string)(0xc000a14630)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 1 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="1 results to check against 1 expected results" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" time="2021-10-12T09:09:34Z" level=warning msg="Got 2 overflows from run" time="2021-10-12T09:09:34Z" level=warning msg="2 results to check against 2 expected results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-trigger-reprocess == test/simple-trigger-reprocess" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:34Z" 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)(0xc000230850)((len=2) \"Ip\"),\n Value: (*string)(0xc000987b50)((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)(0xc000b16ab0)((len=2) \"Ip\"),\n Value: (*string)(0xc000b16ac0)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=info msg="(scenario) test/simple-postoverflow-scenario == test/simple-postoverflow-scenario" time="2021-10-12T09:09:34Z" level=info msg="(EventsCount) 1 == 1" time="2021-10-12T09:09:34Z" 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)(0xc000230850)((len=2) \"Ip\"),\n Value: (*string)(0xc000987b50)((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)(0xc000b16af0)((len=2) \"Ip\"),\n Value: (*string)(0xc000b16b00)((len=7) \"1.2.3.4\")\n }\n}\n)" time="2021-10-12T09:09:34Z" level=warning msg="The test is valid, remove entry 0 from expects, and 0 from t.Results" time="2021-10-12T09:09:34Z" level=warning msg="entry valid at end of loop" time="2021-10-12T09:09:34Z" level=warning msg="Test is successfull" --- PASS: TestShutdownBuckets (3.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/leakybucket 5.412s ? github.com/crowdsecurity/crowdsec/pkg/machineid [no test files] ? github.com/crowdsecurity/crowdsec/pkg/metabase [no test files] ? github.com/crowdsecurity/crowdsec/pkg/models [no test files] === RUN TestParserConfigs time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=morning-leaf time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=cool-paper time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=sparkling-wood time="2021-10-12T09:09:44Z" level=info msg="Node is empty: (*parser.Node)(0xc000365440)({\n FormatVersion: (string) \"\",\n Debug: (bool) true,\n Profiling: (bool) false,\n Name: (string) \"\",\n Author: (string) \"\",\n Description: (string) \"\",\n Rerferences: ([]string) ,\n Logger: (*logrus.Entry)(0xc000624930)({\n Logger: (*logrus.Logger)(0xc000624770)({\n Out: (*os.File)(0xc000010020)({\n file: (*os.file)(0xc0000b2120)({\n pfd: (poll.FD) {\n fdmu: (poll.fdMutex) {\n state: (uint64) 0,\n rsema: (uint32) 0,\n wsema: (uint32) 0\n },\n Sysfd: (int) 2,\n pd: (poll.pollDesc) {\n runtimeCtx: (uintptr) \n },\n iovecs: (*[]syscall.Iovec)(),\n csema: (uint32) 0,\n isBlocking: (uint32) 1,\n IsStream: (bool) true,\n ZeroReadIsEOF: (bool) true,\n isFile: (bool) true\n },\n name: (string) (len=11) \"/dev/stderr\",\n dirinfo: (*os.dirInfo)(),\n nonblock: (bool) false,\n stdoutOrErr: (bool) true,\n appendMode: (bool) false\n })\n }),\n Hooks: (logrus.LevelHooks) {\n },\n Formatter: (*logrus.TextFormatter)(0xc0000b2840)({\n ForceColors: (bool) false,\n DisableColors: (bool) false,\n ForceQuote: (bool) false,\n DisableQuote: (bool) false,\n EnvironmentOverrideColors: (bool) false,\n DisableTimestamp: (bool) false,\n FullTimestamp: (bool) false,\n TimestampFormat: (string) \"\",\n DisableSorting: (bool) false,\n SortingFunc: (func([]string)) ,\n DisableLevelTruncation: (bool) false,\n PadLevelText: (bool) false,\n QuoteEmptyFields: (bool) false,\n isTerminal: (bool) false,\n FieldMap: (logrus.FieldMap) ,\n CallerPrettyfier: (func(*runtime.Frame) (string, string)) ,\n terminalInitOnce: (sync.Once) {\n done: (uint32) 1,\n m: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n }\n },\n levelTextMaxLength: (int) 7\n }),\n ReportCaller: (bool) false,\n Level: (logrus.Level) debug,\n mu: (logrus.MutexWrap) {\n lock: (sync.Mutex) {\n state: (int32) 0,\n sema: (uint32) 0\n },\n disabled: (bool) false\n },\n entryPool: (sync.Pool) {\n noCopy: (sync.noCopy) {\n },\n local: (unsafe.Pointer) 0xc0006b3000,\n localSize: (uintptr) 0x20,\n victim: (unsafe.Pointer) ,\n victimSize: (uintptr) ,\n New: (func() interface {}) \n },\n ExitFunc: (logrus.exitFunc) 0x6cfac0\n }),\n Data: (logrus.Fields) (len=3) {\n (string) (len=4) \"name\": (string) \"\",\n (string) (len=2) \"id\": (string) (len=14) \"sparkling-wood\",\n (string) (len=5) \"stage\": (string) (len=3) \"s00\"\n },\n Time: (time.Time) 0001-01-01 00:00:00 +0000 UTC,\n Level: (logrus.Level) panic,\n Caller: (*runtime.Frame)(),\n Message: (string) \"\",\n Buffer: (*bytes.Buffer)(),\n Context: (context.Context) ,\n err: (string) \"\"\n }),\n Stage: (string) (len=3) \"s00\",\n OnSuccess: (string) \"\",\n rn: (string) (len=14) \"sparkling-wood\",\n Filter: (string) (len=4) \"true\",\n RunTimeFilter: (*vm.Program)(0xc0003b62c0)({\n Source: (*file.Source)(0xc000512a50)({\n contents: ([]int32) (len=4 cap=4) {\n (int32) 116,\n (int32) 114,\n (int32) 117,\n (int32) 101\n },\n lineOffsets: ([]int32) (len=1 cap=1) {\n (int32) 5\n }\n }),\n Locations: (map[int]file.Location) (len=1) {\n (int) 0: (file.Location) {\n Line: (int) 1,\n Column: (int) 0\n }\n },\n Constants: ([]interface {}) ,\n Bytecode: ([]uint8) (len=1 cap=8) {\n 00000000 05 |.|\n }\n }),\n ExprDebugger: (*exprhelpers.ExprDebugger)(0xc000512b70)({\n filter: (string) (len=4) \"true\",\n expression: ([]*exprhelpers.expression) \n }),\n LeavesNodes: ([]parser.Node) ,\n EnrichFunctions: ([]parser.EnricherCtx) {\n },\n SubGroks: (map[string]string) ,\n Grok: (types.GrokPattern) {\n TargetField: (string) \"\",\n RegexpName: (string) \"\",\n RegexpValue: (string) \"\",\n RunTimeRegexp: (*grokky.Pattern)(),\n Statics: ([]types.ExtraField) \n },\n Statics: ([]types.ExtraField) ,\n Whitelist: (types.Whitelist) {\n Reason: (string) \"\",\n Ips: ([]string) ,\n B_Ips: ([]net.IP) ,\n Cidrs: ([]string) ,\n B_Cidrs: ([]*net.IPNet) ,\n Exprs: ([]string) ,\n B_Exprs: ([]*types.ExprWhitelist) \n },\n Data: ([]*types.DataSource) \n})\n" id=sparkling-wood name= stage=s00 time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=wild-bush time="2021-10-12T09:09:44Z" level=error msg="Unable to compile subpattern FOOBAR : error parsing regexp: invalid character class range: `a-$`" id=wild-bush name= stage=s00 time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=cool-lake time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=black-river time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=muddy-water time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=cool-morning time="2021-10-12T09:09:44Z" level=info msg=" has debug enabled" id=rough-water --- PASS: TestParserConfigs (4.66s) === RUN TestParser time="2021-10-12T09:09:44Z" level=info msg="Loaded -> [{Funcs:map[GeoIpASN:0xbb5fe0 GeoIpCity:0xbb6560 IpToRange:0xbb5b00 ParseDate:0xbb5780 reverse_dns:0xbb58e0] Init:0xbb6cc0 Plugin: Name:./test_data/ Path:./test_data/ RuntimeCtx:{dbc:0xc000478550 dba:0xc000436750 dbraw:0xc000162540} initiated:true}]" time="2021-10-12T09:09:48Z" level=info msg="Running test on ./tests/base-grok" time="2021-10-12T09:09:48Z" level=warning msg="testing ./tests/base-grok" time="2021-10-12T09:09:48Z" level=info msg="tests/base-grok has debug enabled" id=cold-violet time="2021-10-12T09:09:48Z" level=info msg="child-tests/base-grok has debug enabled" id=billowing-waterfall time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok/base-grok.yaml time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:48Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=billowing-waterfall name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=cold-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:48Z" level=info msg="got 2 results" time="2021-10-12T09:09:48Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:48Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:48Z" level=info msg="Running test on ./tests/base-grok-external-data" time="2021-10-12T09:09:48Z" level=warning msg="testing ./tests/base-grok-external-data" time="2021-10-12T09:09:48Z" level=info msg="tests/base-grok has debug enabled" id=cool-flower time="2021-10-12T09:09:48Z" level=info msg="child-tests/base-grok has debug enabled" id=empty-silence time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-external-data/base-grok.yaml time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:48Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 2 statics" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[is_it_in_file] = 'true'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=empty-silence name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 2 statics" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[is_it_in_file] = 'false'" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=cool-flower name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:48Z" level=info msg="got 2 results" time="2021-10-12T09:09:48Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] true == true" time="2021-10-12T09:09:48Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Meta[is_it_in_file] false == false" time="2021-10-12T09:09:48Z" level=info msg="Running test on ./tests/base-grok-import" time="2021-10-12T09:09:48Z" level=warning msg="testing ./tests/base-grok-import" time="2021-10-12T09:09:48Z" level=info msg="tests/base-grok has debug enabled" id=morning-violet time="2021-10-12T09:09:48Z" level=info msg="child-tests/base-grok has debug enabled" id=quiet-hill time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-import/base-grok.yaml time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:48Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['facility'] = '123'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['priority'] = '120'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok 'SYSLOGFACILITY' returned 2 entries to merge in Parsed" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['priority'] = '121'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['facility'] = '123'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Enriched[subgrok_static_why_is_it_still_here] = 'because'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok 'SYSLOGFACILITY' didn't return data on 'XXXX'" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ko" id=quiet-hill name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ko" id=morning-violet name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=info msg="parsed 3 lines" time="2021-10-12T09:09:48Z" level=info msg="got 3 results" time="2021-10-12T09:09:48Z" level=info msg="expected 0/3 matches result 0/3" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 120 == 120/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" time="2021-10-12T09:09:48Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process false == false/ok whitelist false == false" time="2021-10-12T09:09:48Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[facility] 123 == 123/ok Parsed[priority] 121 == 121/ok Meta[log_type] parsed_testlog == parsed_testlog/ok Enriched[subgrok_static_why_is_it_still_here] because == because" time="2021-10-12T09:09:48Z" level=info msg="Running test on ./tests/base-grok-no-subnode" time="2021-10-12T09:09:48Z" level=warning msg="testing ./tests/base-grok-no-subnode" time="2021-10-12T09:09:48Z" level=info msg="tests/base-grok has debug enabled" id=small-sun time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-grok-no-subnode/base-grok.yaml time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:48Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="eval variables:" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="+ Processing 1 statics" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="Event leaving node : ok" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=debug msg="node reached the last stage : s00-raw" id=small-sun name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:48Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:48Z" level=info msg="got 2 results" time="2021-10-12T09:09:48Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:48Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:48Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:48Z" level=info msg="Running test on ./tests/base-json-extract" time="2021-10-12T09:09:48Z" level=warning msg="testing ./tests/base-json-extract" time="2021-10-12T09:09:48Z" level=info msg="tests/base-json-extract has debug enabled" id=snowy-wave time="2021-10-12T09:09:48Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="tests/base-grok has debug enabled" id=purple-snow time="2021-10-12T09:09:49Z" level=info msg="child-tests/base-grok has debug enabled" id=weathered-darkness time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/base-json-extract/base-grok2.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 2 nodes, 2 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'json-1') = TRUE" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'json-1'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 5 statics" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Parsed[message] = 'xxheader VALUE1 trailing stuff'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[other_field] = 'some stuff'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[program] = 'my_test_prog'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Parsed[extracted_array] = '[\"foo\",\"bar\",\"xx1\"]'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Parsed[extracted_array_field] = 'foo'" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="move Event from stage s00-raw to s01-parse" id=snowy-wave name=tests/base-json-extract stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Meta.program == 'my_test_prog') = TRUE" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg=" evt.Meta.program = 'my_test_prog'" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=weathered-darkness name=child-tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=weathered-darkness name=child-tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=weathered-darkness name=child-tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg=".Parsed[extracted_arrayfield_from_object] = 'bar'" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=debug msg="node reached the last stage : s01-parse" id=purple-snow name=tests/base-grok stage=s01-parse time="2021-10-12T09:09:49Z" level=info msg="parsed 1 lines" time="2021-10-12T09:09:49Z" level=info msg="got 1 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Parsed[extracted_array] [\"foo\",\"bar\",\"xx1\"] == [\"foo\",\"bar\",\"xx1\"]/ok Parsed[extracted_arrayfield_from_object] bar == bar/ok Parsed[message] xxheader VALUE1 trailing stuff == xxheader VALUE1 trailing stuff/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[extracted_array_field] foo == foo/ok Meta[other_field] some stuff == some stuff/ok Meta[program] my_test_prog == my_test_prog" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/base-tree" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/base-tree" time="2021-10-12T09:09:49Z" level=info msg="tests/base-grok-root has debug enabled" id=bitter-tree time="2021-10-12T09:09:49Z" level=info msg="tests/base-grok-leafs has debug enabled" id=winter-fire time="2021-10-12T09:09:49Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=purple-violet time="2021-10-12T09:09:49Z" level=info msg="child-tests/base-grok-leafs has debug enabled" id=icy-cloud time="2021-10-12T09:09:49Z" level=info msg="Loaded 2 parser nodes" file=./tests/base-tree/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 2 nodes, 1 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[state] = 'root-done'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[state_sub] = 'VALUE1'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Meta.state = 'root-done'" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[final_state] = 'leaf1'" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="node reached the last stage : s00-raw" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') = TRUE" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[state] = 'root-done'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[state_sub] = 'VALUE2'" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=bitter-tree name=tests/base-grok-root stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' && evt.Meta.state == 'root-done') = TRUE" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'type1'" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Meta.state = 'root-done'" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ko (failed filter)" id=purple-violet name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE2') = TRUE" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[final_state] = 'leaf2'" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=icy-cloud name=child-tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="node reached the last stage : s00-raw" id=winter-fire name=tests/base-grok-leafs stage=s00-raw time="2021-10-12T09:09:49Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:49Z" level=info msg="got 2 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Meta[final_state] leaf1 == leaf1/ok Meta[state_sub] VALUE1 == VALUE1" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[final_state] leaf2 == leaf2/ok Meta[state_sub] VALUE2 == VALUE2" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/dateparser-enrich" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/dateparser-enrich" time="2021-10-12T09:09:49Z" level=info msg="test/dateparse has debug enabled" id=wandering-mountain time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/dateparser-enrich/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.StrTime = '2012/11/01'" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Method ParseDate('2012/11/01') returned 1 entries to merge in .Enriched\n" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-01T00:00:00Z'\n" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="MarshaledTime = '2012-11-01T00:00:00Z'" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.StrTime != '') = TRUE" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.StrTime = '11/02/2012 13:37:05'" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Method ParseDate('11/02/2012 13:37:05') returned 1 entries to merge in .Enriched\n" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Enriched[MarshaledTime] = '2012-11-02T13:37:05Z'\n" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="MarshaledTime = '2012-11-02T13:37:05Z'" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=wandering-mountain name=test/dateparse stage=s00-raw time="2021-10-12T09:09:49Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:49Z" level=info msg="got 2 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format1 == format1/ok Enriched[MarshaledTime] 2012-11-01T00:00:00Z == 2012-11-01T00:00:00Z" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Parsed[test] format2 == format2/ok Enriched[MarshaledTime] 2012-11-02T13:37:05Z == 2012-11-02T13:37:05Z" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/geoip-enrich" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/geoip-enrich" time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/geoip-enrich/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:49Z" level=info msg="got 2 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 8.8.8.8 == 8.8.8.8/mismatch Enriched[IsoCode] US != " time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[source_ip] 192.168.0.1 == 192.168.0.1/ok Enriched[IsoCode] == /ok Enriched[ASNOrg] == /ok Enriched[IsInEU] false == false" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/multi-stage-grok" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/multi-stage-grok" time="2021-10-12T09:09:49Z" level=info msg="tests/base-grok has debug enabled" id=dawn-grass time="2021-10-12T09:09:49Z" level=info msg="child-tests/base-grok has debug enabled" id=long-dust time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s00.yaml time="2021-10-12T09:09:49Z" level=info msg="tests/second-stage-grok has debug enabled" id=old-sun time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/multi-stage-grok/base-grok-s01.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 2 nodes, 2 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE1'" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = TRUE" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE1'" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 2 statics" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[did_second_stage] = 'yes'" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="node reached the last stage : s01-raw" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog') = TRUE" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Line.Labels.type = 'testlog'" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to merge in Parsed" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="\t.Parsed['extracted_value'] = 'VALUE2'" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=long-dust name=child-tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="child is success, OnSuccess=next_stage, skip" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[log_type] = 'parsed_testlog'" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="move Event from stage s00-raw to s01-raw" id=dawn-grass name=tests/base-grok stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval(evt.Parsed.extracted_value == 'VALUE1') = FALSE" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Parsed.extracted_value = 'VALUE2'" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ko (failed filter)" id=old-sun name=tests/second-stage-grok stage=s01-raw time="2021-10-12T09:09:49Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:49Z" level=info msg="got 2 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process true == true/ok whitelist false == false/ok Parsed[extracted_value] VALUE1 == VALUE1/ok Parsed[test_bis] lolilol == lolilol/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s01-raw == s01-raw/ok process false == false/ok whitelist false == false/ok Parsed[extracted_value] VALUE2 == VALUE2/ok Meta[log_type] parsed_testlog == parsed_testlog" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/reverse-dns-enrich" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/reverse-dns-enrich" time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/reverse-dns-enrich/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=info msg="parsed 2 lines" time="2021-10-12T09:09:49Z" level=info msg="got 2 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Meta[did_dns_succeeded] yes == yes/ok Enriched[reverse_dns] dns.google. == dns.google./ok Enriched[IpToResolve] 8.8.8.8 == 8.8.8.8" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok stage s00-raw == s00-raw/ok process true == true/ok whitelist false == false/ok Meta[did_dns_succeeded] no == no/ok Enriched[IpToResolve] 1.2.3.4 == 1.2.3.4" time="2021-10-12T09:09:49Z" level=info msg="Running test on ./tests/whitelist-base" time="2021-10-12T09:09:49Z" level=warning msg="testing ./tests/whitelist-base" time="2021-10-12T09:09:49Z" level=info msg="test/whitelists has debug enabled" id=young-cloud time="2021-10-12T09:09:49Z" level=debug msg="adding ip 8.8.8.8 to whitelists" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="adding cidr 1.2.3.0/24 to whitelists" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="adding expression 'supertoken1234' == evt.Enriched.test_token to whitelists" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 parser nodes" file=./tests/whitelist-base/base-grok.yaml time="2021-10-12T09:09:49Z" level=info msg="Loaded 1 nodes, 1 stages" time="2021-10-12T09:09:49Z" level=warning msg="Going to process one test set" time="2021-10-12T09:09:49Z" level=debug msg="Event from [8.8.8.8] is whitelisted by Ips !" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Enriched.test_token = ''" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[statics] = 'success'" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event from [1.2.3.4] is whitelisted by Cidrs !" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Enriched.test_token = ''" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[statics] = 'success'" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Enriched.test_token = ''" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = FALSE" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Enriched.test_token = ''" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval('supertoken1234' == evt.Enriched.test_token) = TRUE" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="eval variables:" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=" evt.Enriched.test_token = 'supertoken1234'" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=info msg="Event is whitelisted by Expr !" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="+ Processing 1 statics" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg=".Meta[statics] = 'success'" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=debug msg="Event leaving node : ok" id=young-cloud name=test/whitelists stage=s00-raw time="2021-10-12T09:09:49Z" level=info msg="parsed 5 lines" time="2021-10-12T09:09:49Z" level=info msg="got 5 results" time="2021-10-12T09:09:49Z" level=info msg="expected 0/5 matches result 0/5" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success" time="2021-10-12T09:09:49Z" level=info msg="expected 0/4 matches result 0/4" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[statics] success == success/ok Meta[test] test5 == test5" time="2021-10-12T09:09:49Z" level=info msg="expected 0/3 matches result 0/3" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto" time="2021-10-12T09:09:49Z" level=info msg="expected 0/2 matches result 0/2" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist false == false/ok Meta[test] test3 == test3/ok Meta[statics] toto == toto" time="2021-10-12T09:09:49Z" level=info msg="expected 0/1 matches result 0/1" time="2021-10-12T09:09:49Z" level=info msg="-> OK ! ok process true == true/ok whitelist true == true/ok Meta[test] test2 == test2/ok Meta[statics] success == success" --- PASS: TestParser (4.41s) === RUN TestGeneratePatternsDoc --- PASS: TestGeneratePatternsDoc (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/parser 9.406s === RUN TestLimit --- PASS: TestLimit (0.00s) === RUN TestEvery --- PASS: TestEvery (0.00s) === RUN TestLimiterBurst1 --- PASS: TestLimiterBurst1 (0.00s) === RUN TestLimiterBurst3 --- PASS: TestLimiterBurst3 (0.00s) === RUN TestLimiterJumpBackwards --- PASS: TestLimiterJumpBackwards (0.00s) === RUN TestLimiter_noTruncationErrors --- PASS: TestLimiter_noTruncationErrors (0.00s) === RUN TestSimultaneousRequests --- PASS: TestSimultaneousRequests (0.00s) === RUN TestLongRunningQPS --- PASS: TestLongRunningQPS (5.00s) === RUN TestSimpleReserve --- PASS: TestSimpleReserve (0.00s) === RUN TestMix --- PASS: TestMix (0.00s) === RUN TestCancelInvalid --- PASS: TestCancelInvalid (0.00s) === RUN TestCancelLast --- PASS: TestCancelLast (0.00s) === RUN TestCancelTooLate --- PASS: TestCancelTooLate (0.00s) === RUN TestCancel0Tokens --- PASS: TestCancel0Tokens (0.00s) === RUN TestCancel1Token --- PASS: TestCancel1Token (0.00s) === RUN TestCancelMulti --- PASS: TestCancelMulti (0.00s) === RUN TestReserveJumpBack --- PASS: TestReserveJumpBack (0.00s) === RUN TestReserveJumpBackCancel --- PASS: TestReserveJumpBackCancel (0.00s) === RUN TestReserveSetLimit --- PASS: TestReserveSetLimit (0.00s) === RUN TestReserveSetBurst --- PASS: TestReserveSetBurst (0.00s) === RUN TestReserveSetLimitCancel --- PASS: TestReserveSetLimitCancel (0.00s) === RUN TestReserveMax --- PASS: TestReserveMax (0.00s) === RUN TestWaitSimple --- PASS: TestWaitSimple (0.20s) === RUN TestWaitCancel rate_test.go:438: tokens:2.00599082 last:2021-10-12 09:09:43.669547425 +0000 UTC m=+5.303049272 lastEvent:2021-10-12 09:09:43.768948378 +0000 UTC m=+5.402450190 --- PASS: TestWaitCancel (0.10s) === RUN TestWaitTimeout --- PASS: TestWaitTimeout (0.00s) === RUN TestWaitInf --- PASS: TestWaitInf (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/time/rate 5.394s === RUN TestIP2Int --- PASS: TestIP2Int (0.00s) === RUN TestRange2Int --- PASS: TestRange2Int (0.00s) === RUN TestAdd2Int --- PASS: TestAdd2Int (0.00s) PASS ok github.com/crowdsecurity/crowdsec/pkg/types 0.299s create-stamp debian/debhelper-build-stamp dh_testroot -a -O--builddirectory=_build -O--buildsystem=golang dh_prep -a -O--builddirectory=_build -O--buildsystem=golang dh_installdirs -a -O--builddirectory=_build -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' dh_auto_install -- --no-source cd _build && mkdir -p /build/crowdsec-ODQsg3/crowdsec-1.0.9/debian/crowdsec/usr cd _build && cp -r bin /build/crowdsec-ODQsg3/crowdsec-1.0.9/debian/crowdsec/usr make[1]: Leaving directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' debian/rules override_dh_install make[1]: Entering directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' dh_install # Switch from Golang naming to upstream-desired naming: mv debian/crowdsec/usr/bin/crowdsec-cli \ debian/crowdsec/usr/bin/cscli # Adjust the hub branch according to the upstream version: sed "s/\(.*hub_branch:\) master/\1 v1.0.9/" -i debian/crowdsec/etc/crowdsec/config.yaml # Drop unit tests from the hub: find debian/crowdsec/usr/share/crowdsec/hub -depth -name '.tests' -exec rm -rf '{}' ';' make[1]: Leaving directory '/build/crowdsec-ODQsg3/crowdsec-1.0.9' dh_installdocs -a -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -a -O--builddirectory=_build -O--buildsystem=golang dh_installsystemd -a -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -a -O--builddirectory=_build -O--buildsystem=golang dh_installlogrotate -a -O--builddirectory=_build -O--buildsystem=golang dh_lintian -a -O--builddirectory=_build -O--buildsystem=golang dh_perl -a -O--builddirectory=_build -O--buildsystem=golang dh_link -a -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -a -O--builddirectory=_build -O--buildsystem=golang dh_compress -a -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -a -O--builddirectory=_build -O--buildsystem=golang dh_missing -a -O--builddirectory=_build -O--buildsystem=golang dh_dwz -a -a -O--builddirectory=_build -O--buildsystem=golang dwz: debian/crowdsec/usr/bin/crowdsec: .debug_info section not present dwz: debian/crowdsec/usr/bin/cscli: .debug_info section not present dwz: Too few files for multifile optimization dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it. dh_dwz: warning: Common issues include no debug information at all (missing -g) and dh_dwz: warning: compressed debug information (#931891). dh_strip -a -a -O--builddirectory=_build -O--buildsystem=golang dh_makeshlibs -a -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -a -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -a -O--builddirectory=_build -O--buildsystem=golang dh_golang -a -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -a -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -a -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -a -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'crowdsec' in '../crowdsec_1.0.9-2+b4_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../crowdsec_1.0.9-2+b4_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/crowdsec-ODQsg3 /tmp/crowdsec-1.0.9-2+b4xz8cqn8m I: cleaning package lists and apt cache... W: deleting files in /tmp: crowdsec-buckets-dump-317830244 W: deleting files in /tmp: crowdsec-buckets-dump-255693017 I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.xoLi4cPXVP... I: success in 1125.8101 seconds md5: Value of 'md5' differs for crowdsec_1.0.9-2+b4_amd64.deb md5: Size differs for crowdsec_1.0.9-2+b4_amd64.deb sha1: Value of 'sha1' differs for crowdsec_1.0.9-2+b4_amd64.deb sha1: Size differs for crowdsec_1.0.9-2+b4_amd64.deb sha256: Value of 'sha256' differs for crowdsec_1.0.9-2+b4_amd64.deb sha256: Size differs for crowdsec_1.0.9-2+b4_amd64.deb Checksums: FAIL diffoscope run passed