>>> anubis: Building testing/anubis 1.14.2-r0 (using abuild 3.14.1-r7) started Sun, 23 Mar 2025 16:18:18 +0000 >>> anubis: Validating /home/buildozer/aports/testing/anubis/APKBUILD... >>> anubis: Analyzing dependencies... >>> anubis: Installing for build: build-base go (1/3) Installing binutils-gold (2.44-r0) (2/3) Installing go (1.24.1-r0) (3/3) Installing .makedepends-anubis (20250323.161820) Executing busybox-1.37.0-r14.trigger OK: 591 MiB in 107 packages >>> anubis: Cleaning up srcdir >>> anubis: Cleaning up pkgdir >>> anubis: Cleaning up tmpdir >>> anubis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/anubis-1.14.2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/anubis-1.14.2.tar.gz.part' anubis-1.14.2.tar.gz 100% |********************************| 1144k 0:00:00 ETA '/var/cache/distfiles/edge/anubis-1.14.2.tar.gz.part' saved >>> anubis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/anubis-1.14.2.tar.gz >>> anubis: Checking sha512sums... anubis-1.14.2.tar.gz: OK >>> anubis: Unpacking /var/cache/distfiles/edge/anubis-1.14.2.tar.gz... go: downloading github.com/a-h/templ v0.3.833 go: downloading github.com/prometheus/client_golang v1.21.1 go: downloading github.com/facebookgo/flagenv v0.0.0-20160425205200-fcd59fca7456 go: downloading github.com/sebest/xff v0.0.0-20210106013422-671bd2870b3a === RUN TestDecayMap --- PASS: TestDecayMap (0.00s) === RUN TestDefaultPolicyMustParse --- PASS: TestDefaultPolicyMustParse (0.00s) === RUN TestGoodConfigs === RUN TestGoodConfigs/allow_everyone.json === RUN TestGoodConfigs/challengemozilla.json === RUN TestGoodConfigs/everything_blocked.json --- PASS: TestGoodConfigs (0.00s) --- PASS: TestGoodConfigs/allow_everyone.json (0.00s) --- PASS: TestGoodConfigs/challengemozilla.json (0.00s) --- PASS: TestGoodConfigs/everything_blocked.json (0.00s) === RUN TestBadConfigs === RUN TestBadConfigs/badregexes.json policy_test.go:61: config is not valid: config: bot entry for "path-bad" is not valid: config.Bot: invalid path regex error parsing regexp: missing closing ): `a(b` config: bot entry for "user-agent-bad" is not valid: config.Bot: invalid user agent regex error parsing regexp: missing closing ): `a(b` === RUN TestBadConfigs/invalid.json policy_test.go:61: config is not valid: config: bot entry for "" is not valid: config.Bot: must set name config.Bot: must set either user_agent_regex, path_regex, or remote_addresses config.Bot: unknown action: "" === RUN TestBadConfigs/nobots.json policy_test.go:61: config is not valid: config: must define at least one (1) bot rule --- PASS: TestBadConfigs (0.00s) --- PASS: TestBadConfigs/badregexes.json (0.00s) --- PASS: TestBadConfigs/invalid.json (0.00s) --- PASS: TestBadConfigs/nobots.json (0.00s) PASS ok github.com/TecharoHQ/anubis/cmd/anubis 0.011s === RUN TestBotValid === RUN TestBotValid/simple_user_agent === RUN TestBotValid/simple_path === RUN TestBotValid/no_rule_name === RUN TestBotValid/no_rule_matcher === RUN TestBotValid/both_user-agent_and_path === RUN TestBotValid/unknown_action === RUN TestBotValid/invalid_user_agent_regex === RUN TestBotValid/invalid_path_regex === RUN TestBotValid/challenge_difficulty_too_low === RUN TestBotValid/challenge_difficulty_too_high === RUN TestBotValid/challenge_wrong_algorithm === RUN TestBotValid/invalid_cidr_range === RUN TestBotValid/only_filter_by_IP_range === RUN TestBotValid/filter_by_user_agent_and_IP_range === RUN TestBotValid/filter_by_path_and_IP_range --- PASS: TestBotValid (0.00s) --- PASS: TestBotValid/simple_user_agent (0.00s) --- PASS: TestBotValid/simple_path (0.00s) --- PASS: TestBotValid/no_rule_name (0.00s) --- PASS: TestBotValid/no_rule_matcher (0.00s) --- PASS: TestBotValid/both_user-agent_and_path (0.00s) --- PASS: TestBotValid/unknown_action (0.00s) --- PASS: TestBotValid/invalid_user_agent_regex (0.00s) --- PASS: TestBotValid/invalid_path_regex (0.00s) --- PASS: TestBotValid/challenge_difficulty_too_low (0.00s) --- PASS: TestBotValid/challenge_difficulty_too_high (0.00s) --- PASS: TestBotValid/challenge_wrong_algorithm (0.00s) --- PASS: TestBotValid/invalid_cidr_range (0.00s) --- PASS: TestBotValid/only_filter_by_IP_range (0.00s) --- PASS: TestBotValid/filter_by_user_agent_and_IP_range (0.00s) --- PASS: TestBotValid/filter_by_path_and_IP_range (0.00s) === RUN TestConfigValidKnownGood === RUN TestConfigValidKnownGood/allow_everyone.json === RUN TestConfigValidKnownGood/challengemozilla.json === RUN TestConfigValidKnownGood/everything_blocked.json --- PASS: TestConfigValidKnownGood (0.00s) --- PASS: TestConfigValidKnownGood/allow_everyone.json (0.00s) --- PASS: TestConfigValidKnownGood/challengemozilla.json (0.00s) --- PASS: TestConfigValidKnownGood/everything_blocked.json (0.00s) === RUN TestConfigValidBad === RUN TestConfigValidBad/badregexes.json config_test.go:244: config is not valid: config: bot entry for "path-bad" is not valid: config.Bot: invalid path regex error parsing regexp: missing closing ): `a(b` config: bot entry for "user-agent-bad" is not valid: config.Bot: invalid user agent regex error parsing regexp: missing closing ): `a(b` === RUN TestConfigValidBad/invalid.json config_test.go:244: config is not valid: config: bot entry for "" is not valid: config.Bot: must set name config.Bot: must set either user_agent_regex, path_regex, or remote_addresses config.Bot: unknown action: "" === RUN TestConfigValidBad/nobots.json config_test.go:244: config is not valid: config: must define at least one (1) bot rule --- PASS: TestConfigValidBad (0.00s) --- PASS: TestConfigValidBad/badregexes.json (0.00s) --- PASS: TestConfigValidBad/invalid.json (0.00s) --- PASS: TestConfigValidBad/nobots.json (0.00s) PASS ok github.com/TecharoHQ/anubis/cmd/anubis/internal/config 0.006s === RUN TestReverse4 === RUN TestReverse4/1.2.3.4->4.3.2.1 --- PASS: TestReverse4 (0.00s) --- PASS: TestReverse4/1.2.3.4->4.3.2.1 (0.00s) === RUN TestReverse6 === RUN TestReverse6/1234:5678:9ABC:DEF0:1234:5678:9ABC:DEF0->0.f.e.d.c.b.a.9.8.7.6.5.4.3.2.1.0.f.e.d.c.b.a.9.8.7.6.5.4.3.2.1 --- PASS: TestReverse6 (0.00s) --- PASS: TestReverse6/1234:5678:9ABC:DEF0:1234:5678:9ABC:DEF0->0.f.e.d.c.b.a.9.8.7.6.5.4.3.2.1.0.f.e.d.c.b.a.9.8.7.6.5.4.3.2.1 (0.00s) === RUN TestLookup dnsbl_test.go:60: response: 0 --- PASS: TestLookup (0.10s) PASS ok github.com/TecharoHQ/anubis/cmd/anubis/internal/dnsbl 0.107s >>> anubis: Entering fakeroot... >>> anubis-doc*: Running split function doc... 'usr/share/licenses' -> '/home/buildozer/aports/testing/anubis/pkg/anubis-doc/usr/share/licenses' >>> anubis-doc*: Preparing subpackage anubis-doc... >>> anubis-doc*: Running postcheck for anubis-doc >>> anubis*: Running postcheck for anubis >>> anubis*: Preparing package anubis... >>> anubis*: Stripping binaries >>> anubis-doc*: Scanning shared objects >>> anubis*: Scanning shared objects >>> anubis-doc*: Tracing dependencies... >>> anubis-doc*: Package size: 1.0 KB >>> anubis-doc*: Compressing data... >>> anubis-doc*: Create checksum... >>> anubis-doc*: Create anubis-doc-1.14.2-r0.apk >>> anubis*: Tracing dependencies... so:libc.musl-aarch64.so.1 >>> anubis*: Package size: 10.8 MB >>> anubis*: Compressing data... >>> anubis*: Create checksum... >>> anubis*: Create anubis-1.14.2-r0.apk >>> anubis: Build complete at Sun, 23 Mar 2025 16:18:27 +0000 elapsed time 0h 0m 9s >>> anubis: Cleaning up srcdir >>> anubis: Cleaning up pkgdir >>> anubis: Uninstalling dependencies... (1/3) Purging .makedepends-anubis (20250323.161820) (2/3) Purging go (1.24.1-r0) (3/3) Purging binutils-gold (2.44-r0) Executing busybox-1.37.0-r14.trigger OK: 397 MiB in 104 packages >>> anubis: Updating the testing/aarch64 repository index... >>> anubis: Signing the index...