>>> blocky: Building testing/blocky 0.17-r1 (using abuild 3.9.0-r0) started Sun, 20 Mar 2022 05:01:10 +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-r1) (2/3) Installing go (1.18-r0) (3/3) Installing .makedepends-blocky (20220320.050110) Executing busybox-1.35.0-r5.trigger OK: 749 MiB in 100 packages >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.17.tar.gz >>> 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/go-openapi/spec v0.20.3 go: downloading github.com/go-openapi/jsonreference v0.19.5 go: downloading golang.org/x/tools v0.1.2 go: downloading github.com/KyleBanks/depth v1.2.1 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0 go: downloading github.com/go-openapi/jsonpointer v0.19.5 go: downloading github.com/PuerkitoBio/purell v1.1.1 go: downloading github.com/go-openapi/swag v0.19.14 go: downloading golang.org/x/text v0.3.6 go: downloading golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 go: downloading github.com/mailru/easyjson v0.7.6 go: downloading github.com/josharian/intern v1.0.0 go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c go: downgraded github.com/swaggo/swag v1.7.4 => v1.6.5 go: 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 github.com/Masterminds/sprig v2.22.0+incompatible go: downloading golang.org/x/tools v0.1.5 go: downloading github.com/mattn/go-colorable v0.1.8 go: downloading golang.org/x/sys v0.0.0-20210510120138-977fb7262007 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf go: downloading github.com/google/uuid v1.2.0 go: downloading github.com/huandu/xstrings v1.3.2 go: downloading github.com/mitchellh/copystructure v1.1.2 go: downloading github.com/mitchellh/reflectwalk v1.0.1 go: downloading golang.org/x/mod v0.4.2 go generate ./... go: downloading github.com/creasty/defaults v1.5.2 go: downloading github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading gorm.io/gorm v1.22.2 go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2 go: downloading github.com/onsi/gomega v1.17.0 go: downloading github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef go: downloading github.com/0xERR0R/go-cache v1.6.0 go: downloading github.com/go-chi/cors v1.2.0 go: downloading github.com/spf13/cobra v1.2.1 go: downloading gorm.io/driver/mysql v1.1.3 go: downloading github.com/mroth/weightedrand v0.4.1 go: downloading github.com/prometheus/common v0.26.0 go: downloading github.com/miekg/dns v1.1.43 go: downloading github.com/stretchr/objx v0.2.0 go: downloading github.com/hashicorp/errwrap v1.0.0 go: downloading google.golang.org/protobuf v1.26.0 go: downloading github.com/go-sql-driver/mysql v1.6.0 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/jinzhu/inflection v1.0.0 go: downloading github.com/jinzhu/now v1.1.2 go: downloading github.com/spf13/pflag v1.0.5 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=v20220316-314-g109ddd84de -X github.com/0xERR0R/blocky/util.BuildTime=20220320-050120" -o bin/blocky golang.org/x/sys/internal/unsafeheader github.com/0xERR0R/blocky/web github.com/mroth/weightedrand github.com/jinzhu/inflection github.com/jinzhu/now golang.org/x/sys/unix github.com/hako/durafmt gorm.io/gorm/utils github.com/creasty/defaults github.com/stretchr/objx gorm.io/gorm/clause github.com/0xERR0R/go-cache github.com/go-chi/cors github.com/asaskevich/EventBus golang.org/x/net/publicsuffix gorm.io/gorm/logger github.com/0xERR0R/blocky/evt gorm.io/gorm/schema github.com/stretchr/testify/mock gorm.io/gorm 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 golang.org/x/crypto/ssh/terminal golang.org/x/net/ipv4 golang.org/x/net/ipv6 github.com/x-cray/logrus-prefixed-formatter github.com/0xERR0R/blocky/log gorm.io/gorm/migrator gorm.io/gorm/callbacks github.com/0xERR0R/blocky/config github.com/miekg/dns github.com/prometheus/client_golang/prometheus gorm.io/driver/mysql github.com/prometheus/client_golang/prometheus/collectors github.com/0xERR0R/blocky/util github.com/0xERR0R/blocky/model github.com/0xERR0R/blocky/api github.com/0xERR0R/blocky/lists github.com/0xERR0R/blocky/querylog 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 github.com/fsnotify/fsnotify v1.4.9 ? github.com/0xERR0R/blocky [no test files] === RUN TestResolver Running Suite: API Suite ======================== Random Seed: 1647752494 Will run 5 of 5 specs ••time="2022-03-20T05:01:34Z" level=error msg="wrong duration format 'xyz'" ••time="2022-03-20T05:01:34Z" 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.015s coverage: 90.6% of statements === RUN TestCmd Running Suite: Command Suite ============================ Random Seed: 1647752495 Will run 21 of 21 specs [2022-03-20 05:01:35]  INFO OK •[2022-03-20 05:01:35] FATAL NOK: 500 Internal Server Error •[2022-03-20 05:01:35] FATAL can't executePost "http://127.0.0.1:0/api/lists/refresh": dial tcp 127.0.0.1:0: connect: connection refused •[2022-03-20 05:01:35]  INFO Query result for 'google.de' (A): [2022-03-20 05:01:35]  INFO reason: Reason [2022-03-20 05:01:35]  INFO response type: Type [2022-03-20 05:01:35]  INFO response: Response [2022-03-20 05:01:35]  INFO return code: NOERROR •[2022-03-20 05:01:35] FATAL NOK: 500 Internal Server Error •[2022-03-20 05:01:35] FATAL unknown query type 'X' •[2022-03-20 05:01:35] FATAL can't executePost "http://127.0.0.1:0/api/query": dial tcp 127.0.0.1:0: connect: connection refused •blocky Version: undefined Build time: undefined •[2022-03-20 05:01:35]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-03-20 05:01:35]  INFO _/ _/ [2022-03-20 05:01:35]  INFO _/ _/ [2022-03-20 05:01:35]  INFO _/ _/ _/ _/ _/ [2022-03-20 05:01:35]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/ _/ _/ [2022-03-20 05:01:35]  INFO _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ [2022-03-20 05:01:35]  INFO _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ [2022-03-20 05:01:35]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/_/_/ _/ [2022-03-20 05:01:35]  INFO _/ _/ _/ [2022-03-20 05:01:35]  INFO _/ _/_/ _/ [2022-03-20 05:01:35]  INFO _/ _/ [2022-03-20 05:01:35]  INFO _/ _/ [2022-03-20 05:01:35]  INFO _/ Version: undefined Build time: undefined _/ [2022-03-20 05:01:35]  INFO _/ _/ [2022-03-20 05:01:35]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-03-20 05:01:35] FATAL Can't read config file: open : no such file or directory [2022-03-20 05:01:35] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name [2022-03-20 05:01:35]  INFO server: current configuration: [2022-03-20 05:01:35]  INFO server: -> resolver: 'IPv6DisablingResolver' [2022-03-20 05:01:35]  INFO server: accept AAAA [2022-03-20 05:01:35]  INFO server: -> resolver: 'ClientNamesResolver' [2022-03-20 05:01:35]  INFO server: deactivated, use only IP address [2022-03-20 05:01:35]  INFO server: -> resolver: 'QueryLoggingResolver' [2022-03-20 05:01:35]  INFO server: type: "console" [2022-03-20 05:01:35]  INFO server: target: "" [2022-03-20 05:01:35]  INFO server: logRetentionDays: 0 [2022-03-20 05:01:35]  INFO server: -> resolver: 'MetricsResolver' [2022-03-20 05:01:35]  INFO server: metrics: [2022-03-20 05:01:35]  INFO server: Enable = false [2022-03-20 05:01:35]  INFO server: Path = /metrics [2022-03-20 05:01:35]  INFO server: -> resolver: 'CustomDNSResolver' [2022-03-20 05:01:35]  INFO server: deactivated [2022-03-20 05:01:35]  INFO server: -> resolver: 'BlockingResolver' [2022-03-20 05:01:35]  INFO server: deactivated [2022-03-20 05:01:35]  INFO server: -> resolver: 'CachingResolver' [2022-03-20 05:01:35]  INFO server: minCacheTimeInSec = 0 [2022-03-20 05:01:35]  INFO server: maxCacheTimeSec = 0 [2022-03-20 05:01:35]  INFO server: cacheTimeNegative = 30 minutes [2022-03-20 05:01:35]  INFO server: prefetching = false [2022-03-20 05:01:35]  INFO server: cache items count = 0 [2022-03-20 05:01:35]  INFO server: -> resolver: 'ConditionalUpstreamResolver' [2022-03-20 05:01:35]  INFO server: deactivated [2022-03-20 05:01:35]  INFO server: -> resolver: 'ParallelBestResolver' [2022-03-20 05:01:35]  INFO server: upstream resolvers: [2022-03-20 05:01:35]  INFO server: - DNS listening port: 53 [2022-03-20 05:01:35]  INFO server: - TLS listening port: [2022-03-20 05:01:35]  INFO server: - HTTP listening on addr/port: [2022-03-20 05:01:35]  INFO server: runtime information: [2022-03-20 05:01:35]  INFO server: MEM Alloc = 1 MB [2022-03-20 05:01:35]  INFO server: MEM HeapAlloc = 1 MB [2022-03-20 05:01:35]  INFO server: MEM Sys = 16 MB [2022-03-20 05:01:35]  INFO server: MEM NumGC = 4 [2022-03-20 05:01:35]  INFO server: RUN NumCPU = 80 [2022-03-20 05:01:35]  INFO server: RUN NumGoroutine = 10 [2022-03-20 05:01:35]  INFO server: Starting server [2022-03-20 05:01:35] FATAL server: start udp listener failed: listen udp :53: bind: permission denied [2022-03-20 05:01:35] FATAL server: start tcp listener failed: listen tcp :53: bind: permission denied •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. •[2022-03-20 05:01:35]  INFO OK •[2022-03-20 05:01:35] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/enable": dial tcp 127.0.0.1:0: connect: connection refused •[2022-03-20 05:01:35] FATAL NOK: 500 Internal Server Error •[2022-03-20 05:01:35]  INFO OK •[2022-03-20 05:01:35] 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-03-20 05:01:35] FATAL NOK: 500 Internal Server Error •[2022-03-20 05:01:35]  INFO blocking enabled •[2022-03-20 05:01:35]  INFO blocking disabled for groups: abc, for 5 seconds •[2022-03-20 05:01:35]  INFO blocking disabled for groups: abc •[2022-03-20 05:01:35] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/status": dial tcp 127.0.0.1:0: connect: connection refused •[2022-03-20 05:01:35] FATAL NOK: 500 Internal Server Error • Ran 21 of 21 Specs in 0.114 seconds SUCCESS! -- 21 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCmd (0.12s) PASS coverage: 92.4% of statements ok github.com/0xERR0R/blocky/cmd 0.148s coverage: 92.4% of statements === RUN TestConfig Running Suite: Config Suite =========================== Random Seed: 1647752495 Will run 38 of 38 specs •[2022-03-20 05:01:35] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `malform...` into config.Config •[2022-03-20 05:01:35] FATAL wrong file structure: time: invalid duration "wrongduration" •[2022-03-20 05:01:35] FATAL wrong file structure: invalid IP address '192.168.178.WRONG' •[2022-03-20 05:01:35] FATAL wrong file structure: wrong host name 'wongprotocol:4.4.4.4:53' •[2022-03-20 05:01:35] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "8.8.4.4": invalid syntax •[2022-03-20 05:01:35] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `///` into config.Config •••[2022-03-20 05:01:35] FATAL certFile and keyFile parameters are mandatory for TLS •[2022-03-20 05:01:35] FATAL certFile and keyFile parameters are mandatory for HTTPS •[2022-03-20 05:01:35] 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.021s 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: 1647752495 Will run 19 of 19 specs •••••••••• ------------------------------ • [SLOW TEST:5.004 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.731 seconds SUCCESS! -- 19 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (14.74s) PASS coverage: 90.2% of statements ok github.com/0xERR0R/blocky/lists 14.752s 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: 1647752558 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.033s coverage: 98.6% of statements === RUN TestResolver Running Suite: Resolver Suite ============================= Random Seed: 1647752495 Will run 128 of 128 specs ••••••••••••••••[2022-03-20 05:01:40] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••[2022-03-20 05:01:44] FATAL unknown blockType, please use one of: ZeroIP, NxDomain or specify destination IP address(es) •••••••••••••••••••••••••••••••••••••••••••• Ran 128 of 128 Specs in 10.826 seconds SUCCESS! -- 128 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (10.88s) PASS coverage: 99.3% of statements ok github.com/0xERR0R/blocky/resolver 10.911s coverage: 99.3% of statements === RUN TestDNSServer Running Suite: Server Suite =========================== Random Seed: 1647752495 Will run 35 of 35 specs  INFO list_cache: starting processing of file file=../testdata/heise.de.txt  INFO list_cache: starting processing of file file=../testdata/www.bild.de.txt  INFO list_cache: starting processing of file file=../testdata/doubleclick.net.txt  INFO list_cache: file imported count=1 source=../testdata/heise.de.txt  INFO list_cache: file imported count=1 source=../testdata/www.bild.de.txt  INFO list_cache: file imported count=2 source=../testdata/doubleclick.net.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:45387'"  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: ads:  INFO server: - ../testdata/doubleclick.net.txt  INFO server: - ../testdata/www.bild.de.txt  INFO server: - ../testdata/heise.de.txt  INFO server: youtube:  INFO server: - ../testdata/youtube.com.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: whitelist: 1 entries  INFO server: ads: 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: fritz.box = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:44843')'"  INFO server: net.cn = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:45387')'"  INFO server: -> resolver: 'ParallelBestResolver'  INFO server: upstream resolvers:  INFO server: - default  INFO server: - upstream 'tcp+udp:0.0.0.0:48168'  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 = 16 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: UDP server is up and running on address :55555  INFO server: TCP server is up and running on address :55555  INFO server: TLS server is up and running on address :8853  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:48168) • 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:48168) • 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:48168) • 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:48168) • 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:48168) •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: 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: :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 = 20 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 tcp listener failed: dns: server already started FATAL server: start udp 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.433 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.470s coverage: 93.3% of statements === RUN TestLists [2022-03-20 05:01:35] ERROR Using fallback for unsupported query type NS [2022-03-20 05:01:35] ERROR Using fallback for unsupported query type NS Running Suite: Util Suite ========================= Random Seed: 1647752495 Will run 27 of 27 specs ••[2022-03-20 05:01:35] FATAL bootstrap dns net should be tcp+udp ••••••••••••••[2022-03-20 05:01:35] ERROR message test ••[2022-03-20 05:01:35] FATAL message test ••••••••• Ran 27 of 27 Specs in 0.001 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.022s 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: 14.0 MB >>> blocky*: Compressing data... >>> blocky*: Create checksum... >>> blocky*: Create blocky-0.17-r1.apk >>> blocky: Build complete at Sun, 20 Mar 2022 05:02:39 +0000 elapsed time 0h 1m 29s >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Uninstalling dependencies... (1/3) Purging .makedepends-blocky (20220320.050110) (2/3) Purging go (1.18-r0) (3/3) Purging binutils-gold (2.38-r1) Executing busybox-1.35.0-r5.trigger OK: 367 MiB in 97 packages >>> blocky: Updating the testing/aarch64 repository index... >>> blocky: Signing the index...