Package: src:crowdsec
Version: 1.4.6-6
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- -ldflags '-s -w -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.4.6-6 -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2023-07-14_18:54:27 '
cd _build && go install -trimpath -v -p 2 -ldflags "-s -w -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=v1.4.6-6 -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Tag=debian -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.Codename=alphaga -X
github.com/crowdsecurity/crowdsec/pkg/cwversion.BuildDate=2023-07-14_18:54:27 "
github.com/crowdsecurity/crowdsec/cmd/crowdsec github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli
github.com/crowdsecurity/crowdsec/pkg/acquisition
github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog
github.com/crowdsecurity/crowdsec/pkg/apiclient github.com/crowdsecurity/crowdsec/pkg/apiserver
github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers
github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1
github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1
github.com/crowdsecurity/crowdsec/pkg/csconfig github.com/crowdsecurity/crowdsec/pkg/csplugin
github.com/crowdsecurity/crowdsec/pkg/csprofiles github.com/crowdsecurity/crowdsec/pkg/cstest
github.com/crowdsecurity/crowdsec/pkg/cwhub github.com/crowdsecurity/crowdsec/pkg/cwversion
github.com/crowdsecurity/crowdsec/pkg/database github.com/crowdsecurity/crowdsec/pkg/database/ent
github.com/crowdsecurity/crowdsec/pkg/database/ent/alert
github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer
github.com/crowdsecurity/crowdsec/pkg/database/ent/decision
github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest
github.com/crowdsecurity/crowdsec/pkg/database/ent/event
github.com/crowdsecurity/crowdsec/pkg/database/ent/hook
github.com/crowdsecurity/crowdsec/pkg/database/ent/machine
github.com/crowdsecurity/crowdsec/pkg/database/ent/meta
github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate
github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate
github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime
github.com/crowdsecurity/crowdsec/pkg/database/ent/schema
github.com/crowdsecurity/crowdsec/pkg/exprhelpers github.com/crowdsecurity/crowdsec/pkg/hubtest
github.com/crowdsecurity/crowdsec/pkg/leakybucket github.com/crowdsecurity/crowdsec/pkg/metabase
github.com/crowdsecurity/crowdsec/pkg/models github.com/crowdsecurity/crowdsec/pkg/parser
github.com/crowdsecurity/crowdsec/pkg/protobufs github.com/crowdsecurity/crowdsec/pkg/time/rate
github.com/crowdsecurity/crowdsec/pkg/types github.com/crowdsecurity/crowdsec/pkg/yamlpatch
github.com/crowdsecurity/crowdsec/plugins/notifications/dummy
github.com/crowdsecurity/crowdsec/plugins/notifications/email
github.com/crowdsecurity/crowdsec/plugins/notifications/http
github.com/crowdsecurity/crowdsec/plugins/notifications/slack
github.com/crowdsecurity/crowdsec/plugins/notifications/splunk
internal/unsafeheader
internal/goarch
internal/cpu
internal/abi
internal/bytealg
[... snipped ...]
time="2023-12-05T16:29:39Z" level=info msg="Loaded 2 parser nodes"
file=./tests/base-tree/base-grok.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 2 nodes from 1 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') =
TRUE" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=bold-smoke
name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'type1'" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to
merge in Parsed" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Parsed['extracted_value'] =
'VALUE1'" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 2 statics"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[state] = 'root-done'"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[state_sub] = 'VALUE1'"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' &&
evt.Meta.state == 'root-done') = TRUE" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=dark-glade
name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'type1'" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Meta.state =
'root-done'" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Parsed.extracted_value ==
'VALUE1') = TRUE" id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:"
id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Parsed.extracted_value =
'VALUE1'" id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[final_state] = 'leaf1'"
id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="child is success, OnSuccess=next_stage,
skip" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="node reached the last stage :
s00-raw" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'type1') =
TRUE" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=bold-smoke
name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'type1'" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to
merge in Parsed" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Parsed['extracted_value'] =
'VALUE2'" id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 2 statics"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[state] = 'root-done'"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[state_sub] = 'VALUE2'"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=bold-smoke name=tests/base-grok-root stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'type1' &&
evt.Meta.state == 'root-done') = TRUE" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=dark-glade
name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'type1'" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Meta.state =
'root-done'" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Parsed.extracted_value ==
'VALUE1') = FALSE" id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:"
id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Parsed.extracted_value =
'VALUE2'" id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ko (failed
filter)" id=lingering-cherry name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Parsed.extracted_value ==
'VALUE2') = TRUE" id=delicate-fire name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=delicate-fire
name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Parsed.extracted_value =
'VALUE2'" id=delicate-fire name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=delicate-fire name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[final_state] = 'leaf2'"
id=delicate-fire name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=delicate-fire name=child-tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="child is success, OnSuccess=next_stage,
skip" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="node reached the last stage :
s00-raw" id=dark-glade name=tests/base-grok-leafs stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="parsed 2 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 2 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="Running test on
./tests/dateparser-enrich"
time="2023-12-05T16:29:39Z" level=warning msg="testing
./tests/dateparser-enrich"
time="2023-12-05T16:29:39Z" level=info msg="test/dateparse has debug enabled"
id=silent-meadow
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/dateparser-enrich/base-grok.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 nodes from 1 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.StrTime != '') = TRUE"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=silent-meadow
name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.StrTime = '2012/11/01'"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 2 statics"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Method ParseDate('2012/11/01')
returned 1 entries to merge in .Enriched\n" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Enriched[MarshaledTime] =
'2012-11-01T00:00:00Z'\n" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="MarshaledTime =
'2012-11-01T00:00:00Z'" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.StrTime != '') = TRUE"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=silent-meadow
name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.StrTime = '11/02/2012
13:37:05'" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 2 statics"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Method ParseDate('11/02/2012
13:37:05') returned 1 entries to merge in .Enriched\n" id=silent-meadow name=test/dateparse
stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Enriched[MarshaledTime] =
'2012-11-02T13:37:05Z'\n" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="MarshaledTime =
'2012-11-02T13:37:05Z'" id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=silent-meadow name=test/dateparse stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="parsed 2 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 2 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="Running test on
./tests/geoip-enrich"
time="2023-12-05T16:29:39Z" level=warning msg="testing ./tests/geoip-enrich"
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/geoip-enrich/base-grok.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 nodes from 1 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=info msg="parsed 2 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 2 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="Running test on
./tests/multi-stage-grok"
time="2023-12-05T16:29:39Z" level=warning msg="testing ./tests/multi-stage-grok"
time="2023-12-05T16:29:39Z" level=info msg="tests/base-grok has debug enabled"
id=bitter-haze
time="2023-12-05T16:29:39Z" level=info msg="child-tests/base-grok has debug
enabled" id=autumn-mountain
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/multi-stage-grok/base-grok-s00.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="tests/second-stage-grok has debug
enabled" id=muddy-tree
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/multi-stage-grok/base-grok-s01.yaml stage=s01-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 2 nodes from 2 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog')
= TRUE" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=bitter-haze
name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'testlog'" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to
merge in Parsed" id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Parsed['extracted_value'] =
'VALUE1'" id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="child is success, OnSuccess=next_stage,
skip" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[log_type] =
'parsed_testlog'" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="move Event from stage s00-raw to
s01-raw" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Parsed.extracted_value ==
'VALUE1') = TRUE" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=muddy-tree
name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Parsed.extracted_value =
'VALUE1'" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 2 statics"
id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[did_second_stage] = 'yes'"
id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="evt.Parsed.test_bis = 'lolilol'"
id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="node reached the last stage :
s01-raw" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Line.Labels.type == 'testlog')
= TRUE" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=bitter-haze
name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Line.Labels.type =
'testlog'" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Grok '^xxhe...' returned 1 entries to
merge in Parsed" id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="\t.Parsed['extracted_value'] =
'VALUE2'" id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=autumn-mountain name=child-tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="child is success, OnSuccess=next_stage,
skip" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[log_type] =
'parsed_testlog'" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="move Event from stage s00-raw to
s01-raw" id=bitter-haze name=tests/base-grok stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval(evt.Parsed.extracted_value ==
'VALUE1') = FALSE" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=muddy-tree
name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Parsed.extracted_value =
'VALUE2'" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ko (failed
filter)" id=muddy-tree name=tests/second-stage-grok stage=s01-raw
time="2023-12-05T16:29:39Z" level=info msg="parsed 2 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 2 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="Running test on
./tests/reverse-dns-enrich"
time="2023-12-05T16:29:39Z" level=warning msg="testing
./tests/reverse-dns-enrich"
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/reverse-dns-enrich/base-grok.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 nodes from 1 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=info msg="parsed 2 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 2 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" 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="2023-12-05T16:29:39Z" level=info msg="Running test on
./tests/whitelist-base"
time="2023-12-05T16:29:39Z" level=warning msg="testing ./tests/whitelist-base"
time="2023-12-05T16:29:39Z" level=info msg="test/whitelists has debug enabled"
id=wispy-shadow
time="2023-12-05T16:29:39Z" level=debug msg="adding ip 8.8.8.8 to whitelists"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="adding cidr 1.2.3.0/24 to
whitelists" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="adding expression 'supertoken1234' ==
evt.Enriched.test_token to whitelists" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 parser nodes"
file=./tests/whitelist-base/base-grok.yaml stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="Loaded 1 nodes from 1 stages"
time="2023-12-05T16:29:39Z" level=warning msg="Going to process one test set"
time="2023-12-05T16:29:39Z" level=debug msg="Event from [8.8.8.8] is whitelisted by
IP (8.8.8.8), reason [Whitelist tests]" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval('supertoken1234' ==
evt.Enriched.test_token) = FALSE" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=wispy-shadow
name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Enriched.test_token =
''" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[statics] = 'success'"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event from [1.2.3.4] is whitelisted by
CIDR (1.2.3.0/24), reason [Whitelist tests]" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval('supertoken1234' ==
evt.Enriched.test_token) = FALSE" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=wispy-shadow
name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Enriched.test_token =
''" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[statics] = 'success'"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval('supertoken1234' ==
evt.Enriched.test_token) = FALSE" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=wispy-shadow
name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Enriched.test_token =
''" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval('supertoken1234' ==
evt.Enriched.test_token) = FALSE" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=wispy-shadow
name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Enriched.test_token =
''" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval('supertoken1234' ==
evt.Enriched.test_token) = TRUE" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="eval variables:" id=wispy-shadow
name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=" evt.Enriched.test_token =
'supertoken1234'" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event is whitelisted by expr, reason
[Whitelist tests]" id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="+ Processing 1 statics"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg=".Meta[statics] = 'success'"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=debug msg="Event leaving node : ok"
id=wispy-shadow name=test/whitelists stage=s00-raw
time="2023-12-05T16:29:39Z" level=info msg="parsed 5 lines"
time="2023-12-05T16:29:39Z" level=info msg="got 5 results"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/5 matches result 0/5"
time="2023-12-05T16:29:39Z" level=info msg="-> OK ! ok process true == true/ok
whitelist true == true/ok Meta[test] test1 == test1/ok Meta[statics] success == success"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/4 matches result 0/4"
time="2023-12-05T16:29:39Z" level=info msg="-> OK ! ok process true == true/ok
whitelist true == true/ok Meta[test] test5 == test5/ok Meta[statics] success == success"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/3 matches result 0/3"
time="2023-12-05T16:29:39Z" level=info msg="-> OK ! ok process true == true/ok
whitelist false == false/ok Meta[test] test4 == test4/ok Meta[statics] toto == toto"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/2 matches result 0/2"
time="2023-12-05T16:29:39Z" level=info msg="-> OK ! ok process true == true/ok
whitelist false == false/ok Meta[statics] toto == toto/ok Meta[test] test3 == test3"
time="2023-12-05T16:29:39Z" level=info msg="expected 0/1 matches result 0/1"
time="2023-12-05T16:29:39Z" level=info msg="-> OK ! ok process true == true/ok
whitelist true == true/ok Meta[test] test2 == test2/ok Meta[statics] success == success"
--- PASS: TestParser (0.31s)
=== RUN TestGeneratePatternsDoc
--- PASS: TestGeneratePatternsDoc (0.00s)
PASS
ok github.com/crowdsecurity/crowdsec/pkg/parser 0.608s
=== 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
rate_test.go:178:
--- SKIP: TestLongRunningQPS (0.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:443: tokens:2.00195776 last:2023-12-05 16:29:39.875702155
+0000 UTC m=+0.301255607 lastEvent:2023-12-05 16:29:39.975506389 +0000 UTC
m=+0.401059831
--- PASS: TestWaitCancel (0.10s)
=== RUN TestWaitTimeout
--- PASS: TestWaitTimeout (0.00s)
=== RUN TestWaitInf
--- PASS: TestWaitInf (0.00s)
PASS
ok github.com/crowdsecurity/crowdsec/pkg/time/rate 0.303s
=== RUN TestDownladFile
--- PASS: TestDownladFile (0.00s)
=== 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.009s
=== RUN TestIntegration
--- PASS: TestIntegration (0.00s)
=== RUN TestEmpty
=== RUN TestEmpty/empty_base
=== RUN TestEmpty/empty_override
=== RUN TestEmpty/both_empty
=== RUN TestEmpty/null_base
=== RUN TestEmpty/null_override
=== RUN TestEmpty/empty_base_and_null_override
=== RUN TestEmpty/null_base_and_empty_override
--- PASS: TestEmpty (0.00s)
--- PASS: TestEmpty/empty_base (0.00s)
--- PASS: TestEmpty/empty_override (0.00s)
--- PASS: TestEmpty/both_empty (0.00s)
--- PASS: TestEmpty/null_base (0.00s)
--- PASS: TestEmpty/null_override (0.00s)
--- PASS: TestEmpty/empty_base_and_null_override (0.00s)
--- PASS: TestEmpty/null_base_and_empty_override (0.00s)
=== RUN TestSuccess
--- PASS: TestSuccess (0.00s)
=== RUN TestErrors
=== RUN TestErrors/tabs_in_source
=== RUN TestErrors/duplicated_keys
=== RUN TestErrors/merge_error
--- PASS: TestErrors (0.00s)
--- PASS: TestErrors/tabs_in_source (0.00s)
--- PASS: TestErrors/duplicated_keys (0.00s)
--- PASS: TestErrors/merge_error (0.00s)
=== RUN TestMismatchedTypes
=== RUN TestMismatchedTypes/sequence_and_mapping_strict
=== RUN TestMismatchedTypes/sequence_and_mapping_permissive
=== RUN TestMismatchedTypes/sequence_and_scalar_strict
=== RUN TestMismatchedTypes/sequence_and_scalar_permissive
=== RUN TestMismatchedTypes/mapping_and_scalar_strict
=== RUN TestMismatchedTypes/mapping_and_scalar_permissive
=== RUN TestMismatchedTypes/nested_strict
=== RUN TestMismatchedTypes/nested_permissive
--- PASS: TestMismatchedTypes (0.00s)
--- PASS: TestMismatchedTypes/sequence_and_mapping_strict (0.00s)
--- PASS: TestMismatchedTypes/sequence_and_mapping_permissive (0.00s)
--- PASS: TestMismatchedTypes/sequence_and_scalar_strict (0.00s)
--- PASS: TestMismatchedTypes/sequence_and_scalar_permissive (0.00s)
--- PASS: TestMismatchedTypes/mapping_and_scalar_strict (0.00s)
--- PASS: TestMismatchedTypes/mapping_and_scalar_permissive (0.00s)
--- PASS: TestMismatchedTypes/nested_strict (0.00s)
--- PASS: TestMismatchedTypes/nested_permissive (0.00s)
=== RUN TestBooleans
=== RUN TestBooleans/yes
=== RUN TestBooleans/YES
=== RUN TestBooleans/on
=== RUN TestBooleans/ON
=== RUN TestBooleans/no
=== RUN TestBooleans/NO
=== RUN TestBooleans/off
=== RUN TestBooleans/OFF
--- PASS: TestBooleans (0.00s)
--- PASS: TestBooleans/yes (0.00s)
--- PASS: TestBooleans/YES (0.00s)
--- PASS: TestBooleans/on (0.00s)
--- PASS: TestBooleans/ON (0.00s)
--- PASS: TestBooleans/no (0.00s)
--- PASS: TestBooleans/NO (0.00s)
--- PASS: TestBooleans/off (0.00s)
--- PASS: TestBooleans/OFF (0.00s)
=== RUN TestExplicitNil
--- PASS: TestExplicitNil (0.00s)
=== RUN TestMergedPatchContent
=== PAUSE TestMergedPatchContent
=== RUN TestPrependedPatchContent
=== PAUSE TestPrependedPatchContent
=== CONT TestMergedPatchContent
=== RUN TestMergedPatchContent/invalid_yaml_in_base
=== CONT TestPrependedPatchContent
=== PAUSE TestMergedPatchContent/invalid_yaml_in_base
=== RUN TestMergedPatchContent/invalid_yaml_in_base_(detailed_message)
=== PAUSE TestMergedPatchContent/invalid_yaml_in_base_(detailed_message)
=== RUN TestMergedPatchContent/invalid_yaml_in_patch
=== PAUSE TestMergedPatchContent/invalid_yaml_in_patch
=== RUN TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message)
=== PAUSE TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message)
=== RUN TestMergedPatchContent/basic_merge
=== PAUSE TestMergedPatchContent/basic_merge
=== RUN
TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal()
=== PAUSE
TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal()
=== RUN TestPrependedPatchContent/prepend_empty_document
=== PAUSE TestPrependedPatchContent/prepend_empty_document
=== RUN TestPrependedPatchContent/prepend_a_document_to_another
=== PAUSE TestPrependedPatchContent/prepend_a_document_to_another
=== RUN TestPrependedPatchContent/prepend_document_with_same_key
=== PAUSE TestPrependedPatchContent/prepend_document_with_same_key
=== RUN TestPrependedPatchContent/prepend_multiple_documents
=== PAUSE TestPrependedPatchContent/prepend_multiple_documents
=== RUN TestMergedPatchContent/bool_merge_-_off_if_false
=== PAUSE TestMergedPatchContent/bool_merge_-_off_if_false
=== RUN TestPrependedPatchContent/invalid_yaml_in_base
=== RUN TestMergedPatchContent/bool_merge_-_on_is_true
=== PAUSE TestMergedPatchContent/bool_merge_-_on_is_true
=== RUN TestMergedPatchContent/string_is_not_a_bool_-_on_to_off
=== PAUSE TestMergedPatchContent/string_is_not_a_bool_-_on_to_off
=== RUN TestMergedPatchContent/string_is_not_a_bool_-_off_to_on
=== PAUSE TestMergedPatchContent/string_is_not_a_bool_-_off_to_on
=== RUN TestMergedPatchContent/bool_merge_-_true_to_false
=== PAUSE TestMergedPatchContent/bool_merge_-_true_to_false
=== RUN TestMergedPatchContent/bool_merge_-_false_to_true
=== PAUSE TestMergedPatchContent/bool_merge_-_false_to_true
=== RUN TestMergedPatchContent/string_merge_-_value_to_value
=== PAUSE TestMergedPatchContent/string_merge_-_value_to_value
=== RUN TestMergedPatchContent/sequence_merge_-_value_to_empty
=== PAUSE TestMergedPatchContent/sequence_merge_-_value_to_empty
=== RUN TestMergedPatchContent/map_merge_-_value_to_value
=== PAUSE TestMergedPatchContent/map_merge_-_value_to_value
=== RUN TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping
=== PAUSE TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping
=== RUN TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping
=== PAUSE TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping
=== RUN TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence
=== PAUSE TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence
=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base
=== RUN TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence
=== PAUSE TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence
=== RUN TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar
=== PAUSE TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar
=== RUN TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar
=== PAUSE TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar
=== CONT TestMergedPatchContent/invalid_yaml_in_base
=== RUN TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message)
=== PAUSE TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message)
=== RUN TestPrependedPatchContent/invalid_yaml_in_patch
=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch
=== RUN TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message)
=== PAUSE TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message)
=== CONT TestMergedPatchContent/string_merge_-_value_to_value
=== CONT
TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal()
=== CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch1318654015/config.yaml' with '/tmp/yamlpatch1318654015/config.yaml.local'"
=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar
=== CONT TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence
=== CONT TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence
=== CONT TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping
=== CONT TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping
=== CONT TestMergedPatchContent/map_merge_-_value_to_value
=== CONT TestMergedPatchContent/sequence_merge_-_value_to_empty
=== CONT TestMergedPatchContent/bool_merge_-_false_to_true
=== CONT TestMergedPatchContent/bool_merge_-_true_to_false
=== CONT TestMergedPatchContent/string_is_not_a_bool_-_off_to_on
=== CONT TestMergedPatchContent/string_is_not_a_bool_-_on_to_off
=== CONT TestMergedPatchContent/bool_merge_-_on_is_true
=== CONT TestMergedPatchContent/bool_merge_-_off_if_false
=== CONT TestMergedPatchContent/basic_merge
=== CONT TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message)
=== CONT TestMergedPatchContent/invalid_yaml_in_patch
=== CONT TestMergedPatchContent/invalid_yaml_in_base_(detailed_message)
=== CONT TestPrependedPatchContent/invalid_yaml_in_base
--- PASS: TestMergedPatchContent (0.00s)
--- PASS: TestMergedPatchContent/invalid_yaml_in_base (0.00s)
--- PASS: TestMergedPatchContent/string_merge_-_value_to_value (0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_scalar (0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_sequence
(0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_scalar
(0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_scalar_into_a_mapping (0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_mapping_into_a_sequence
(0.00s)
--- PASS: TestMergedPatchContent/can't_merge_a_sequence_into_a_mapping
(0.00s)
--- PASS: TestMergedPatchContent/map_merge_-_value_to_value (0.00s)
--- PASS: TestMergedPatchContent/sequence_merge_-_value_to_empty (0.00s)
--- PASS: TestMergedPatchContent/bool_merge_-_false_to_true (0.00s)
--- PASS: TestMergedPatchContent/bool_merge_-_true_to_false (0.00s)
--- PASS: TestMergedPatchContent/string_is_not_a_bool_-_off_to_on (0.00s)
--- PASS: TestMergedPatchContent/string_is_not_a_bool_-_on_to_off (0.00s)
--- PASS: TestMergedPatchContent/bool_merge_-_on_is_true (0.00s)
--- PASS: TestMergedPatchContent/bool_merge_-_off_if_false (0.00s)
--- PASS: TestMergedPatchContent/invalid_yaml_in_patch_(detailed_message)
(0.00s)
--- PASS: TestMergedPatchContent/basic_merge (0.00s)
--- PASS: TestMergedPatchContent/invalid_yaml_in_patch (0.00s)
--- PASS: TestMergedPatchContent/invalid_yaml_in_base_(detailed_message)
(0.00s)
=== CONT TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message)
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch1455981899/config.yaml' with '/tmp/yamlpatch1455981899/config.yaml.local'"
=== CONT TestPrependedPatchContent/invalid_yaml_in_patch
=== CONT TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message)
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch1793655346/config.yaml' with '/tmp/yamlpatch1793655346/config.yaml.local'"
=== CONT TestPrependedPatchContent/prepend_document_with_same_key
=== CONT TestPrependedPatchContent/prepend_multiple_documents
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch544159177/config.yaml' with '/tmp/yamlpatch544159177/config.yaml.local'"
=== CONT TestPrependedPatchContent/prepend_a_document_to_another
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch2418516477/config.yaml' with '/tmp/yamlpatch2418516477/config.yaml.local'"
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch1535681235/config.yaml' with '/tmp/yamlpatch1535681235/config.yaml.local'"
=== CONT TestPrependedPatchContent/prepend_empty_document
time="2023-12-05T16:29:40Z" level=info msg="Prepending yaml:
'/tmp/yamlpatch3098713119/config.yaml' with '/tmp/yamlpatch3098713119/config.yaml.local'"
--- PASS: TestPrependedPatchContent (0.00s)
--- PASS:
TestPrependedPatchContent/newlines_are_always_appended,_if_missing,_by_yaml.Marshal()
(0.00s)
--- PASS: TestPrependedPatchContent/invalid_yaml_in_base (0.00s)
--- PASS:
TestPrependedPatchContent/invalid_yaml_in_patch_(detailed_message) (0.00s)
--- PASS: TestPrependedPatchContent/invalid_yaml_in_patch (0.00s)
--- PASS: TestPrependedPatchContent/invalid_yaml_in_base_(detailed_message)
(0.00s)
--- PASS: TestPrependedPatchContent/prepend_document_with_same_key (0.00s)
--- PASS: TestPrependedPatchContent/prepend_multiple_documents (0.00s)
--- PASS: TestPrependedPatchContent/prepend_a_document_to_another (0.00s)
--- PASS: TestPrependedPatchContent/prepend_empty_document (0.00s)
PASS
ok github.com/crowdsecurity/crowdsec/pkg/yamlpatch 0.011s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2
github.com/crowdsecurity/crowdsec/cmd/crowdsec
github.com/crowdsecurity/crowdsec/cmd/crowdsec-cli
github.com/crowdsecurity/crowdsec/pkg/acquisition
github.com/crowdsecurity/crowdsec/pkg/acquisition/configuration
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/cloudwatch
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/docker
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/journalctl
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/kinesis
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc3164
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/rfc5424
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/parser/utils
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/syslog/internal/server
github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/wineventlog
github.com/crowdsecurity/crowdsec/pkg/apiclient
github.com/crowdsecurity/crowdsec/pkg/apiserver
github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers
github.com/crowdsecurity/crowdsec/pkg/apiserver/controllers/v1
github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1
github.com/crowdsecurity/crowdsec/pkg/csconfig
github.com/crowdsecurity/crowdsec/pkg/csplugin
github.com/crowdsecurity/crowdsec/pkg/csprofiles
github.com/crowdsecurity/crowdsec/pkg/cstest
github.com/crowdsecurity/crowdsec/pkg/cwhub
github.com/crowdsecurity/crowdsec/pkg/cwversion
github.com/crowdsecurity/crowdsec/pkg/database
github.com/crowdsecurity/crowdsec/pkg/database/ent
github.com/crowdsecurity/crowdsec/pkg/database/ent/alert
github.com/crowdsecurity/crowdsec/pkg/database/ent/bouncer
github.com/crowdsecurity/crowdsec/pkg/database/ent/decision
github.com/crowdsecurity/crowdsec/pkg/database/ent/enttest
github.com/crowdsecurity/crowdsec/pkg/database/ent/event
github.com/crowdsecurity/crowdsec/pkg/database/ent/hook
github.com/crowdsecurity/crowdsec/pkg/database/ent/machine
github.com/crowdsecurity/crowdsec/pkg/database/ent/meta
github.com/crowdsecurity/crowdsec/pkg/database/ent/migrate
github.com/crowdsecurity/crowdsec/pkg/database/ent/predicate
github.com/crowdsecurity/crowdsec/pkg/database/ent/runtime
github.com/crowdsecurity/crowdsec/pkg/database/ent/schema
github.com/crowdsecurity/crowdsec/pkg/exprhelpers
github.com/crowdsecurity/crowdsec/pkg/hubtest
github.com/crowdsecurity/crowdsec/pkg/leakybucket
github.com/crowdsecurity/crowdsec/pkg/metabase
github.com/crowdsecurity/crowdsec/pkg/models
github.com/crowdsecurity/crowdsec/pkg/parser
github.com/crowdsecurity/crowdsec/pkg/protobufs
github.com/crowdsecurity/crowdsec/pkg/time/rate
github.com/crowdsecurity/crowdsec/pkg/types
github.com/crowdsecurity/crowdsec/pkg/yamlpatch
github.com/crowdsecurity/crowdsec/plugins/notifications/dummy
github.com/crowdsecurity/crowdsec/plugins/notifications/email
github.com/crowdsecurity/crowdsec/plugins/notifications/http
github.com/crowdsecurity/crowdsec/plugins/notifications/slack
github.com/crowdsecurity/crowdsec/plugins/notifications/splunk returned exit code 1
make: *** [debian/rules:38: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.