>>> blocky: Building testing/blocky 0.17-r0 (using abuild 3.9.0-r0) started Sun, 27 Feb 2022 15:04:40 +0000 >>> blocky: Checking sanity of /home/buildozer/aports/testing/blocky/APKBUILD... >>> blocky: Analyzing dependencies... >>> blocky: Installing for build: build-base go (1/3) Installing binutils-gold (2.38-r0) (2/3) Installing go (1.17.7-r0) (3/3) Installing .makedepends-blocky (20220227.150441) Executing busybox-1.35.0-r2.trigger OK: 725 MiB in 94 packages >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.17.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> blocky: Fetching blocky-0.17.tar.gz::https://github.com/0xERR0R/blocky/archive/v0.17.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131 100 131 0 0 263 0 --:--:-- --:--:-- --:--:-- 263 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 423k 0 423k 0 0 242k 0 --:--:-- 0:00:01 --:--:-- 420k 100 618k 0 618k 0 0 353k 0 --:--:-- 0:00:01 --:--:-- 613k >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.17.tar.gz >>> blocky: Checking sha512sums... blocky-0.17.tar.gz: OK >>> blocky: Unpacking /var/cache/distfiles/edge/blocky-0.17.tar.gz... go: downloading github.com/swaggo/swag v1.6.5 go: downloading github.com/urfave/cli v1.22.2 go: downloading github.com/KyleBanks/depth v1.2.1 go: downloading golang.org/x/tools v0.1.2 go: downloading golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 go: downloading golang.org/x/text v0.3.6 go: downloading github.com/go-openapi/swag v0.19.14 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0 go: downloading github.com/russross/blackfriday/v2 v2.0.1 go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0 go get: installing executables with 'go get' in module mode is deprecated. To adjust and download dependencies of the current module, use 'go get -d'. To install using requirements of the current module, use 'go install'. To install ignoring the current module, use 'go install' with a version, like 'go install example.com/cmd@latest'. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'. go get: downgraded github.com/swaggo/swag v1.7.4 => v1.6.5 go get: added github.com/urfave/cli v1.22.2 go install github.com/abice/go-enum@v0.3.8 go: downloading github.com/abice/go-enum v0.3.8 go: downloading github.com/labstack/gommon v0.3.0 go: downloading golang.org/x/tools v0.1.5 go: downloading golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf go: downloading github.com/mitchellh/copystructure v1.1.2 go: downloading golang.org/x/sys v0.0.0-20210510120138-977fb7262007 go generate ./... go: downloading github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b go: downloading github.com/go-chi/cors v1.2.0 go: downloading github.com/spf13/cobra v1.2.1 go: downloading github.com/mroth/weightedrand v0.4.1 go: downloading github.com/0xERR0R/go-cache v1.6.0 go: downloading github.com/prometheus/client_golang v1.11.0 go: downloading github.com/stretchr/objx v0.2.0 go: downloading github.com/miekg/dns v1.1.43 go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2 go: downloading github.com/onsi/gomega v1.17.0 go: downloading gorm.io/driver/mysql v1.1.3 go: downloading gorm.io/gorm v1.22.2 go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef go: downloading github.com/creasty/defaults v1.5.2 go: downloading golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b go: downloading github.com/go-sql-driver/mysql v1.6.0 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/jinzhu/now v1.1.2 go: downloading github.com/prometheus/common v0.26.0 go: downloading github.com/cespare/xxhash/v2 v2.1.1 go: downloading github.com/prometheus/procfs v0.6.0 go: downloading google.golang.org/protobuf v1.26.0 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 go-enum started. file: config.go go-enum finished. file: config.go go-enum started. file: list_cache.go go-enum finished. file: list_cache.go go-enum started. file: logger.go go-enum finished. file: logger.go go-enum started. file: models.go go-enum finished. file: models.go go build -v -ldflags="-w -s -X github.com/0xERR0R/blocky/util.Version=v3.15.0-7335-g96a72e3f30 -X github.com/0xERR0R/blocky/util.BuildTime=20220227-150456" -o bin/blocky github.com/0xERR0R/blocky/web golang.org/x/sys/internal/unsafeheader golang.org/x/net/internal/iana google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set google.golang.org/protobuf/internal/pragma github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/mroth/weightedrand github.com/cespare/xxhash/v2 github.com/jinzhu/inflection github.com/jinzhu/now golang.org/x/sys/unix github.com/prometheus/procfs/internal/util google.golang.org/protobuf/internal/detrand github.com/hako/durafmt golang.org/x/net/bpf google.golang.org/protobuf/internal/version github.com/hashicorp/go-multierror github.com/prometheus/procfs/internal/fs gorm.io/gorm/utils github.com/prometheus/common/model github.com/stretchr/objx github.com/0xERR0R/go-cache github.com/creasty/defaults gorm.io/gorm/clause github.com/spf13/cobra github.com/go-sql-driver/mysql github.com/go-chi/chi github.com/asaskevich/EventBus golang.org/x/net/publicsuffix github.com/go-chi/cors google.golang.org/protobuf/internal/errors gorm.io/gorm/logger google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/reflect/protoreflect github.com/0xERR0R/blocky/evt gorm.io/gorm/schema github.com/go-chi/chi/middleware google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts github.com/stretchr/testify/mock google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/proto gorm.io/gorm google.golang.org/protobuf/internal/encoding/defval github.com/mattn/go-isatty golang.org/x/term github.com/sirupsen/logrus golang.org/x/net/internal/socket github.com/prometheus/procfs github.com/mattn/go-colorable github.com/mgutz/ansi golang.org/x/crypto/ssh/terminal google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc golang.org/x/net/ipv4 golang.org/x/net/ipv6 github.com/x-cray/logrus-prefixed-formatter github.com/0xERR0R/blocky/log github.com/0xERR0R/blocky/config github.com/miekg/dns gorm.io/gorm/migrator gorm.io/gorm/callbacks google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl gorm.io/driver/mysql google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/descriptorpb github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/any github.com/0xERR0R/blocky/util github.com/0xERR0R/blocky/model github.com/0xERR0R/blocky/api github.com/0xERR0R/blocky/querylog github.com/0xERR0R/blocky/lists google.golang.org/protobuf/reflect/protodesc github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/client_model/go github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/collectors github.com/prometheus/client_golang/prometheus/promhttp github.com/0xERR0R/blocky/metrics github.com/0xERR0R/blocky/resolver github.com/0xERR0R/blocky/server github.com/0xERR0R/blocky/cmd github.com/0xERR0R/blocky go test -v -coverprofile=coverage.txt -covermode=atomic -cover ./... go: downloading github.com/onsi/ginkgo v1.16.5 go: downloading gorm.io/driver/sqlite v1.2.3 go: downloading github.com/mattn/go-sqlite3 v1.14.9 go: downloading github.com/nxadm/tail v1.4.8 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: downloading github.com/fsnotify/fsnotify v1.4.9 ? github.com/0xERR0R/blocky [no test files] === RUN TestResolver Running Suite: API Suite ======================== Random Seed: 1645974315 Will run 5 of 5 specs ••time="2022-02-27T15:05:15Z" level=error msg="wrong duration format 'xyz'" ••time="2022-02-27T15:05:15Z" level=info msg="enabling blocking..." • Ran 5 of 5 Specs in 0.001 seconds SUCCESS! -- 5 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (0.00s) PASS coverage: 90.6% of statements ok github.com/0xERR0R/blocky/api 0.017s coverage: 90.6% of statements === RUN TestCmd Running Suite: Command Suite ============================ Random Seed: 1645974315 Will run 21 of 21 specs [2022-02-27 15:05:15]  INFO Query result for 'google.de' (A): [2022-02-27 15:05:15]  INFO reason: Reason [2022-02-27 15:05:15]  INFO response type: Type [2022-02-27 15:05:15]  INFO response: Response [2022-02-27 15:05:15]  INFO return code: NOERROR •[2022-02-27 15:05:15] FATAL NOK: 500 Internal Server Error •[2022-02-27 15:05:15] FATAL unknown query type 'X' •[2022-02-27 15:05:15] FATAL can't executePost "http://127.0.0.1:0/api/query": dial tcp 127.0.0.1:0: connect: connection refused •[2022-02-27 15:05:15]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-02-27 15:05:15]  INFO _/ _/ [2022-02-27 15:05:15]  INFO _/ _/ [2022-02-27 15:05:15]  INFO _/ _/ _/ _/ _/ [2022-02-27 15:05:15]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/ _/ _/ [2022-02-27 15:05:15]  INFO _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ [2022-02-27 15:05:15]  INFO _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ [2022-02-27 15:05:15]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/_/_/ _/ [2022-02-27 15:05:15]  INFO _/ _/ _/ [2022-02-27 15:05:15]  INFO _/ _/_/ _/ [2022-02-27 15:05:15]  INFO _/ _/ [2022-02-27 15:05:15]  INFO _/ _/ [2022-02-27 15:05:15]  INFO _/ Version: undefined Build time: undefined _/ [2022-02-27 15:05:15]  INFO _/ _/ [2022-02-27 15:05:15]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-02-27 15:05:15] FATAL Can't read config file: open : no such file or directory [2022-02-27 15:05:15] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name [2022-02-27 15:05:15]  INFO server: current configuration: [2022-02-27 15:05:15]  INFO server: -> resolver: 'IPv6DisablingResolver' [2022-02-27 15:05:15]  INFO server: accept AAAA [2022-02-27 15:05:15]  INFO server: -> resolver: 'ClientNamesResolver' [2022-02-27 15:05:15]  INFO server: deactivated, use only IP address [2022-02-27 15:05:15]  INFO server: -> resolver: 'QueryLoggingResolver' [2022-02-27 15:05:15]  INFO server: type: "console" [2022-02-27 15:05:15]  INFO server: target: "" [2022-02-27 15:05:15]  INFO server: logRetentionDays: 0 [2022-02-27 15:05:15]  INFO server: -> resolver: 'MetricsResolver' [2022-02-27 15:05:15]  INFO server: metrics: [2022-02-27 15:05:15]  INFO server: Enable = false [2022-02-27 15:05:15]  INFO server: Path = /metrics [2022-02-27 15:05:15]  INFO server: -> resolver: 'CustomDNSResolver' [2022-02-27 15:05:15]  INFO server: deactivated [2022-02-27 15:05:15]  INFO server: -> resolver: 'BlockingResolver' [2022-02-27 15:05:15]  INFO server: deactivated [2022-02-27 15:05:15]  INFO server: -> resolver: 'CachingResolver' [2022-02-27 15:05:15]  INFO server: minCacheTimeInSec = 0 [2022-02-27 15:05:15]  INFO server: maxCacheTimeSec = 0 [2022-02-27 15:05:15]  INFO server: cacheTimeNegative = 30 minutes [2022-02-27 15:05:15]  INFO server: prefetching = false [2022-02-27 15:05:15]  INFO server: cache items count = 0 [2022-02-27 15:05:15]  INFO server: -> resolver: 'ConditionalUpstreamResolver' [2022-02-27 15:05:15]  INFO server: deactivated [2022-02-27 15:05:15]  INFO server: -> resolver: 'ParallelBestResolver' [2022-02-27 15:05:15]  INFO server: upstream resolvers: [2022-02-27 15:05:15]  INFO server: - DNS listening port: 53 [2022-02-27 15:05:15]  INFO server: - TLS listening port: [2022-02-27 15:05:15]  INFO server: - HTTP listening on addr/port: [2022-02-27 15:05:15]  INFO server: runtime information: [2022-02-27 15:05:15]  INFO server: MEM Alloc = 1 MB [2022-02-27 15:05:15]  INFO server: MEM HeapAlloc = 1 MB [2022-02-27 15:05:15]  INFO server: MEM Sys = 20 MB [2022-02-27 15:05:15]  INFO server: MEM NumGC = 4 [2022-02-27 15:05:15]  INFO server: RUN NumCPU = 80 [2022-02-27 15:05:15]  INFO server: RUN NumGoroutine = 10 [2022-02-27 15:05:15]  INFO server: Starting server [2022-02-27 15:05:15] FATAL server: start udp listener failed: listen udp :53: bind: permission denied [2022-02-27 15:05:15] FATAL server: start tcp listener failed: listen tcp :53: bind: permission denied •blocky Version: undefined Build time: undefined •[2022-02-27 15:05:15]  INFO OK •[2022-02-27 15:05:15] FATAL NOK: 500 Internal Server Error •[2022-02-27 15:05:15] FATAL can't executePost "http://127.0.0.1:0/api/lists/refresh": dial tcp 127.0.0.1:0: connect: connection refused •[2022-02-27 15:05:15]  INFO OK •[2022-02-27 15:05:15] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/enable": dial tcp 127.0.0.1:0: connect: connection refused •[2022-02-27 15:05:15] FATAL NOK: 500 Internal Server Error •[2022-02-27 15:05:15]  INFO OK •[2022-02-27 15:05:15] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/disable?duration=0s&groups=": dial tcp 127.0.0.1:0: connect: connection refused •[2022-02-27 15:05:15] FATAL NOK: 500 Internal Server Error •[2022-02-27 15:05:15]  INFO blocking enabled •[2022-02-27 15:05:15]  INFO blocking disabled for groups: abc, for 5 seconds •[2022-02-27 15:05:15]  INFO blocking disabled for groups: abc •[2022-02-27 15:05:15] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/status": dial tcp 127.0.0.1:0: connect: connection refused •[2022-02-27 15:05:15] FATAL NOK: 500 Internal Server Error •A fast and configurable DNS Proxy and ad-blocker for local network. Complete documentation is available at https://github.com/0xERR0R/blocky Usage: blocky [flags] blocky [command] Available Commands: blocking Control status of blocking resolver completion generate the autocompletion script for the specified shell help Help about any command lists lists operations query performs DNS query refresh refreshes all lists serve start blocky DNS server (default command) version Print the version number of blocky Flags: --apiHost string host of blocky (API) (default "localhost") --apiPort uint16 port of blocky (API) (default 4000) -c, --config string path to config file (default "./config.yml") -h, --help help for blocky Use "blocky [command] --help" for more information about a command. • Ran 21 of 21 Specs in 0.114 seconds SUCCESS! -- 21 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCmd (0.13s) PASS coverage: 92.4% of statements ok github.com/0xERR0R/blocky/cmd 0.159s coverage: 92.4% of statements === RUN TestConfig Running Suite: Config Suite =========================== Random Seed: 1645974315 Will run 38 of 38 specs •[2022-02-27 15:05:15] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `malform...` into config.Config •[2022-02-27 15:05:15] FATAL wrong file structure: time: invalid duration "wrongduration" •[2022-02-27 15:05:15] FATAL wrong file structure: invalid IP address '192.168.178.WRONG' •[2022-02-27 15:05:15] FATAL wrong file structure: wrong host name 'wongprotocol:4.4.4.4:53' •[2022-02-27 15:05:15] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "8.8.4.4": invalid syntax •[2022-02-27 15:05:15] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `///` into config.Config •••[2022-02-27 15:05:15] FATAL certFile and keyFile parameters are mandatory for TLS •[2022-02-27 15:05:15] FATAL certFile and keyFile parameters are mandatory for HTTPS •[2022-02-27 15:05:15] FATAL Can't read config file: open config.yml: no such file or directory ••••••••••••••••••••••••••• Ran 38 of 38 Specs in 0.002 seconds SUCCESS! -- 38 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestConfig (0.01s) PASS coverage: 81.0% of statements ok github.com/0xERR0R/blocky/config 0.036s coverage: 81.0% of statements ? github.com/0xERR0R/blocky/evt [no test files] ? github.com/0xERR0R/blocky/helpertest [no test files] === RUN TestLists Running Suite: Lists Suite ========================== Random Seed: 1645974315 Will run 19 of 19 specs •••• ------------------------------ • [SLOW TEST:5.005 seconds] ListCache /home/buildozer/aports/testing/blocky/src/blocky-0.17/lists/list_cache_test.go:17 List cache and matching /home/buildozer/aports/testing/blocky/src/blocky-0.17/lists/list_cache_test.go:43 when err occurs on download /home/buildozer/aports/testing/blocky/src/blocky-0.17/lists/list_cache_test.go:131 should delete existing elements from group cache /home/buildozer/aports/testing/blocky/src/blocky-0.17/lists/list_cache_test.go:133 ------------------------------ •••••••••••••• Ran 19 of 19 Specs in 14.550 seconds SUCCESS! -- 19 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (14.56s) PASS coverage: 90.2% of statements ok github.com/0xERR0R/blocky/lists 14.577s coverage: 90.2% of statements ? github.com/0xERR0R/blocky/log [no test files] ? github.com/0xERR0R/blocky/metrics [no test files] ? github.com/0xERR0R/blocky/model [no test files] === RUN TestResolver Running Suite: Querylog Suite ============================= Random Seed: 1645974378 Will run 11 of 11 specs ••••••••••• Ran 11 of 11 Specs in 1.007 seconds SUCCESS! -- 11 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (1.01s) PASS coverage: 98.6% of statements ok github.com/0xERR0R/blocky/querylog 1.036s coverage: 98.6% of statements === RUN TestResolver Running Suite: Resolver Suite ============================= Random Seed: 1645974316 Will run 128 of 128 specs [2022-02-27 15:05:16] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••[2022-02-27 15:05:25] FATAL unknown blockType, please use one of: ZeroIP, NxDomain or specify destination IP address(es) ••••••••••••••••••••••••••• Ran 128 of 128 Specs in 9.940 seconds SUCCESS! -- 128 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (10.00s) PASS coverage: 99.3% of statements ok github.com/0xERR0R/blocky/resolver 10.038s coverage: 99.3% of statements === RUN TestDNSServer Running Suite: Server Suite =========================== Random Seed: 1645974315 Will run 35 of 35 specs  INFO list_cache: starting processing of file file=../testdata/doubleclick.net.txt  INFO list_cache: starting processing of file file=../testdata/www.bild.de.txt  INFO list_cache: starting processing of file file=../testdata/heise.de.txt  INFO list_cache: file imported count=1 source=../testdata/heise.de.txt  INFO list_cache: file imported count=2 source=../testdata/doubleclick.net.txt  INFO list_cache: file imported count=1 source=../testdata/www.bild.de.txt  INFO list_cache: group import finished group=ads total_count=4  INFO list_cache: starting processing of file file=../testdata/youtube.com.txt  INFO list_cache: file imported count=1 source=../testdata/youtube.com.txt  INFO list_cache: group import finished group=youtube total_count=1  INFO list_cache: starting processing of file file=../testdata/heise.de.txt  INFO list_cache: file imported count=1 source=../testdata/heise.de.txt  INFO list_cache: group import finished group=ads total_count=1  INFO list_cache: starting processing of file file=../testdata/heise.de.txt  INFO list_cache: file imported count=1 source=../testdata/heise.de.txt  INFO list_cache: group import finished group=whitelist total_count=1  INFO server: current configuration:  INFO server: -> resolver: 'IPv6DisablingResolver'  INFO server: accept AAAA  INFO server: -> resolver: 'ClientNamesResolver'  INFO server: singleNameOrder = "[]"  INFO server: externalResolver = "upstream 'tcp+udp:0.0.0.0:57679'"  INFO server: cache item count = 0  INFO server: -> resolver: 'QueryLoggingResolver'  INFO server: type: "console"  INFO server: target: ""  INFO server: logRetentionDays: 0  INFO server: -> resolver: 'MetricsResolver'  INFO server: metrics:  INFO server: Enable = true  INFO server: Path = /metrics  INFO server: -> resolver: 'CustomDNSResolver'  INFO server: custom.lan = "[192.168.178.55]"  INFO server: lan.home = "[192.168.178.56]"  INFO server: -> resolver: 'BlockingResolver'  INFO server: clientGroupsBlock  INFO server: default = "ads"  INFO server: clWhitelistOnly = "whitelist"  INFO server: clAdsAndYoutube = "ads;youtube"  INFO server: clYoutubeOnly = "youtube"  INFO server: blockType = "zeroIp"  INFO server: blockTTL = 6 hours  INFO server: downloadTimeout = 0 seconds  INFO server: FailStartOnListError = false  INFO server: blacklist:  INFO server: refresh: disabled  INFO server: group links:  INFO server: youtube:  INFO server: - ../testdata/youtube.com.txt  INFO server: ads:  INFO server: - ../testdata/doubleclick.net.txt  INFO server: - ../testdata/www.bild.de.txt  INFO server: - ../testdata/heise.de.txt  INFO server: group caches:  INFO server: ads: 4 entries  INFO server: youtube: 1 entries  INFO server: TOTAL: 5 entries  INFO server: whitelist:  INFO server: refresh: disabled  INFO server: group links:  INFO server: ads:  INFO server: - ../testdata/heise.de.txt  INFO server: whitelist:  INFO server: - ../testdata/heise.de.txt  INFO server: group caches:  INFO server: ads: 1 entries  INFO server: whitelist: 1 entries  INFO server: TOTAL: 2 entries  INFO server: -> resolver: 'CachingResolver'  INFO server: minCacheTimeInSec = 0  INFO server: maxCacheTimeSec = 0  INFO server: cacheTimeNegative = 0 seconds  INFO server: prefetching = false  INFO server: cache items count = 0  INFO server: -> resolver: 'ConditionalUpstreamResolver'  INFO server: net.cn = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:57679')'"  INFO server: fritz.box = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:55248')'"  INFO server: -> resolver: 'ParallelBestResolver'  INFO server: upstream resolvers:  INFO server: - default  INFO server: - upstream 'tcp+udp:0.0.0.0:38137'  INFO server: - DNS listening port: 55555  INFO server: - TLS listening port: 8853  INFO server: - HTTP listening on addr/port: 4000  INFO server: runtime information:  INFO server: MEM Alloc = 1 MB  INFO server: MEM HeapAlloc = 1 MB  INFO server: MEM Sys = 20 MB  INFO server: MEM NumGC = 4  INFO server: RUN NumCPU = 80  INFO server: RUN NumGoroutine = 10  INFO server: Starting server  INFO server: http server is up and running on addr/port 4000  INFO server: https server is up and running on addr/port 4443  INFO server: TCP server is up and running on address :55555  INFO server: TLS server is up and running on address :8853  INFO server: UDP server is up and running on address :55555 • INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (google.de.) response_code=NOERROR response_reason=RESOLVED (0.0.0.0:38137)  INFO queryLog: query resolved answer=A (192.168.178.55) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (custom.lan.) response_code=NOERROR response_reason=CUSTOM DNS • INFO queryLog: query resolved answer=A (192.168.178.56) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (host.lan.home.) response_code=NOERROR response_reason=CUSTOM DNS • INFO queryLog: query resolved answer=A (192.168.178.2) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (host.fritz.box.) response_code=NOERROR response_reason=CONDITIONAL • INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (doubleclick.net.cn.) response_code=NOERROR response_reason=BLOCKED (ads) • INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (doubleclick.net.) response_code=NOERROR response_reason=BLOCKED (ads) •• INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (www.bild.de.) response_code=NOERROR response_reason=BLOCKED (ads)  INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (bild.de.) response_code=NOERROR response_reason=RESOLVED (0.0.0.0:38137) • INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=127.0.0.1 client_names=\010 duration_ms=0 question=A (heise.de.) response_code=NOERROR response_reason=RESOLVED (0.0.0.0:38137) • INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=127.0.0.1 client_names=clWhitelistOnly duration_ms=0 question=A (heise.de.) response_code=NOERROR response_reason=CACHED • INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=clWhitelistOnly duration_ms=0 question=A (google.de.) response_code=NOERROR response_reason=BLOCKED (WHITELIST ONLY) • INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=clAdsAndYoutube duration_ms=0 question=A (www.bild.de.) response_code=NOERROR response_reason=BLOCKED (ads)  INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=clAdsAndYoutube duration_ms=0 question=A (youtube.com.) response_code=NOERROR response_reason=BLOCKED (youtube) • INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=127.0.0.1 client_names=clYoutubeOnly duration_ms=0 question=A (www.bild.de.) response_code=NOERROR response_reason=RESOLVED (0.0.0.0:38137) • INFO queryLog: query resolved answer=A (0.0.0.0) client_ip=127.0.0.1 client_names=clYoutubeOnly duration_ms=0 question=A (youtube.com.) response_code=NOERROR response_reason=BLOCKED (youtube) •••• INFO queryLog: query resolved answer=A (123.124.122.122) client_ip= client_names= duration_ms=0 question=A (google.de.) response_code=NOERROR response_reason=CACHED •ERROR unknown query type: unknown query type 'WrongType' •ERROR unable to process query: dns: short read •ERROR can't read request: EOF •• INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=::1 client_names=\010 duration_ms=0 question=A (www.example.com.) response_code=NOERROR response_reason=RESOLVED (0.0.0.0:38137) ERROR server: can't deserialize message: dns: overflow unpacking uint16 •••• INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=::1 client_names=\010 duration_ms=0 question=A (www.example.com.) response_code=NOERROR response_reason=CACHED • INFO queryLog: query resolved answer=A (123.124.122.122) client_ip=::1 client_names=client123 duration_ms=0 question=A (www.example.com.) response_code=NOERROR response_reason=CACHED •••ERROR unable to process query: dns: short read • INFO server: current configuration:  INFO server: -> resolver: 'IPv6DisablingResolver'  INFO server: accept AAAA  INFO server: -> resolver: 'ClientNamesResolver'  INFO server: deactivated, use only IP address  INFO server: -> resolver: 'QueryLoggingResolver'  INFO server: type: "console"  INFO server: target: ""  INFO server: logRetentionDays: 0  INFO server: -> resolver: 'MetricsResolver'  INFO server: metrics:  INFO server: Enable = false  INFO server: Path =  INFO server: -> resolver: 'CustomDNSResolver'  INFO server: lan.home = "[192.168.178.56]"  INFO server: custom.lan = "[192.168.178.55]"  INFO server: -> resolver: 'BlockingResolver'  INFO server: deactivated  INFO server: -> resolver: 'CachingResolver'  INFO server: minCacheTimeInSec = 0  INFO server: maxCacheTimeSec = 0  INFO server: cacheTimeNegative = 0 seconds  INFO server: prefetching = false  INFO server: cache items count = 0  INFO server: -> resolver: 'ConditionalUpstreamResolver'  INFO server: deactivated  INFO server: -> resolver: 'ParallelBestResolver'  INFO server: upstream resolvers:  INFO server: - default  INFO server: - upstream 'tcp+udp:4.4.4.4:53'  INFO server: - DNS listening port: :55556  INFO server: - TLS listening port:  INFO server: - HTTP listening on addr/port:  INFO server: runtime information:  INFO server: MEM Alloc = 2 MB  INFO server: MEM HeapAlloc = 2 MB  INFO server: MEM Sys = 21 MB  INFO server: MEM NumGC = 7  INFO server: RUN NumCPU = 80  INFO server: RUN NumGoroutine = 25  INFO server: Starting server  INFO server: UDP server is up and running on address :55556  INFO server: TCP server is up and running on address :55556  INFO server: Starting server FATAL server: start udp listener failed: dns: server already started FATAL server: start tcp listener failed: dns: server already started  INFO server: Stopping server • INFO server: current configuration:  INFO server: -> resolver: 'IPv6DisablingResolver'  INFO server: accept AAAA  INFO server: -> resolver: 'ClientNamesResolver'  INFO server: deactivated, use only IP address  INFO server: -> resolver: 'QueryLoggingResolver'  INFO server: type: "console"  INFO server: target: ""  INFO server: logRetentionDays: 0  INFO server: -> resolver: 'MetricsResolver'  INFO server: metrics:  INFO server: Enable = false  INFO server: Path =  INFO server: -> resolver: 'CustomDNSResolver'  INFO server: custom.lan = "[192.168.178.55]"  INFO server: lan.home = "[192.168.178.56]"  INFO server: -> resolver: 'BlockingResolver'  INFO server: deactivated  INFO server: -> resolver: 'CachingResolver'  INFO server: minCacheTimeInSec = 0  INFO server: maxCacheTimeSec = 0  INFO server: cacheTimeNegative = 0 seconds  INFO server: prefetching = false  INFO server: cache items count = 0  INFO server: -> resolver: 'ConditionalUpstreamResolver'  INFO server: deactivated  INFO server: -> resolver: 'ParallelBestResolver'  INFO server: upstream resolvers:  INFO server: - default  INFO server: - upstream 'tcp+udp:4.4.4.4:53'  INFO server: - DNS listening port: 127.0.0.1:55557  INFO server: - TLS listening port:  INFO server: - HTTP listening on addr/port:  INFO server: runtime information:  INFO server: MEM Alloc = 2 MB  INFO server: MEM HeapAlloc = 2 MB  INFO server: MEM Sys = 21 MB  INFO server: MEM NumGC = 9  INFO server: RUN NumCPU = 80  INFO server: RUN NumGoroutine = 30  INFO server: Starting server  INFO server: UDP server is up and running on address 127.0.0.1:55557  INFO server: TCP server is up and running on address 127.0.0.1:55557  INFO server: Stopping server  INFO server: Stopping server FATAL server: stop udp listener failed: dns: server not started FATAL server: stop tcp listener failed: dns: server not started  INFO server: Stopping server FATAL server: stop udp listener failed: dns: server not started FATAL server: stop tcp listener failed: dns: server not started ••• INFO server: Stopping server Ran 35 of 35 Specs in 0.435 seconds SUCCESS! -- 35 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestDNSServer (0.45s) PASS coverage: 93.3% of statements ok github.com/0xERR0R/blocky/server 0.484s coverage: 93.3% of statements === RUN TestLists [2022-02-27 15:05:15] ERROR Using fallback for unsupported query type NS [2022-02-27 15:05:15] ERROR Using fallback for unsupported query type NS Running Suite: Util Suite ========================= Random Seed: 1645974315 Will run 27 of 27 specs •••••••••••••[2022-02-27 15:05:15] ERROR message test ••[2022-02-27 15:05:15] FATAL message test •••••••••••[2022-02-27 15:05:15] FATAL bootstrap dns net should be tcp+udp • Ran 27 of 27 Specs in 0.003 seconds SUCCESS! -- 27 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (0.01s) PASS coverage: 98.9% of statements ok github.com/0xERR0R/blocky/util 0.031s coverage: 98.9% of statements ? github.com/0xERR0R/blocky/web [no test files] >>> blocky: Entering fakeroot... >>> blocky*: Running postcheck for blocky >>> blocky*: Preparing package blocky... >>> blocky*: Stripping binaries >>> blocky*: Scanning shared objects >>> blocky*: Tracing dependencies... so:libc.musl-aarch64.so.1 >>> blocky*: Package size: 16.5 MB >>> blocky*: Compressing data... >>> blocky*: Create checksum... >>> blocky*: Create blocky-0.17-r0.apk >>> blocky: Build complete at Sun, 27 Feb 2022 15:06:20 +0000 elapsed time 0h 1m 40s >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Uninstalling dependencies... (1/3) Purging .makedepends-blocky (20220227.150441) (2/3) Purging go (1.17.7-r0) (3/3) Purging binutils-gold (2.38-r0) Executing busybox-1.35.0-r2.trigger OK: 354 MiB in 91 packages >>> blocky: Updating the testing/aarch64 repository index... >>> blocky: Signing the index...