>>> blocky: Building testing/blocky 0.18-r1 (using abuild 3.9.0-r0) started Thu, 12 May 2022 07:35:56 +0000 >>> blocky: Checking sanity of /home/buildozer/aports/testing/blocky/APKBUILD... >>> blocky: Analyzing dependencies... >>> blocky: Installing for build: build-base go (1/2) Installing go (1.18.2-r0) (2/2) Installing .makedepends-blocky (20220512.073558) Executing busybox-1.35.0-r13.trigger OK: 711 MiB in 100 packages >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.18.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 641k 100 641k 0 0 5288k 0 --:--:-- --:--:-- --:--:-- 5304k >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.18.tar.gz >>> blocky: Checking sha512sums... blocky-0.18.tar.gz: OK >>> blocky: Unpacking /var/cache/distfiles/edge/blocky-0.18.tar.gz... go install github.com/abice/go-enum@v0.3.8 go: downloading github.com/abice/go-enum v0.3.8 go: downloading github.com/urfave/cli/v2 v2.3.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/tools v0.1.5 go: downloading github.com/Masterminds/sprig v2.22.0+incompatible go: downloading github.com/labstack/gommon v0.3.0 go: downloading github.com/google/uuid v1.2.0 go: downloading github.com/Masterminds/goutils v1.1.1 go: downloading github.com/mitchellh/copystructure v1.1.2 go: downloading github.com/imdario/mergo v0.3.12 go: downloading github.com/huandu/xstrings v1.3.2 go: downloading golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf go: downloading github.com/Masterminds/semver v1.5.0 go: downloading golang.org/x/sys v0.0.0-20210510120138-977fb7262007 go: downloading github.com/mitchellh/reflectwalk v1.0.1 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0 go: downloading github.com/russross/blackfriday/v2 v2.0.1 go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0 go: downloading golang.org/x/mod v0.4.2 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go generate ./... go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/miekg/dns v1.1.46 go: downloading github.com/creasty/defaults v1.5.2 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/avast/retry-go/v4 v4.0.3 go: downloading github.com/onsi/gomega v1.18.1 go: downloading github.com/go-chi/chi/v5 v5.0.7 go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2 go: downloading gorm.io/driver/postgres v1.2.3 go: downloading github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/go-chi/cors v1.2.0 go: downloading golang.org/x/net v0.0.0-20211209124913-491a49abca63 go: downloading gorm.io/driver/mysql v1.2.3 go: downloading gorm.io/gorm v1.22.5 go: downloading github.com/mroth/weightedrand v0.4.1 go: downloading github.com/prometheus/client_golang v1.12.1 go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/spf13/cobra v1.3.0 go: downloading github.com/go-redis/redis/v8 v8.11.4 go: downloading github.com/google/uuid v1.3.0 go: downloading golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d go: downloading github.com/jackc/pgx/v4 v4.14.0 go: downloading github.com/go-sql-driver/mysql v1.6.0 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/mattn/go-colorable v0.1.12 go: downloading golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 go: downloading github.com/mattn/go-isatty v0.0.14 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/stretchr/objx v0.3.0 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b go: downloading github.com/jackc/pgtype v1.9.0 go: downloading github.com/jackc/pgconn v1.10.1 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/jinzhu/now v1.1.4 go: downloading github.com/jackc/pgproto3/v2 v2.2.0 go: downloading github.com/jackc/pgio v1.0.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/jackc/chunkreader/v2 v2.0.1 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading golang.org/x/text v0.3.7 go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b go: downloading github.com/prometheus/client_model v0.2.0 go: downloading github.com/prometheus/common v0.32.1 go: downloading github.com/beorn7/perks v1.0.1 go: downloading google.golang.org/protobuf v1.27.1 go: downloading github.com/prometheus/procfs v0.7.3 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 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=0.18 -X github.com/0xERR0R/blocky/util.BuildTime=20220512-073601" -o bin/blocky github.com/dgryski/go-rendezvous github.com/go-redis/redis/v8/internal/rand github.com/mroth/weightedrand golang.org/x/crypto/pbkdf2 github.com/go-redis/redis/v8/internal/util github.com/0xERR0R/blocky/web github.com/hako/durafmt github.com/avast/retry-go/v4 github.com/creasty/defaults github.com/go-redis/redis/v8/internal/hscan github.com/0xERR0R/blocky/cache/expirationcache gorm.io/gorm/utils golang.org/x/term github.com/mattn/go-isatty github.com/go-redis/redis/v8/internal/hashtag github.com/go-redis/redis/v8/internal/proto github.com/go-redis/redis/v8/internal gorm.io/gorm/clause golang.org/x/net/internal/socket github.com/jackc/pgconn github.com/jackc/pgtype github.com/go-chi/chi/v5 github.com/asaskevich/EventBus github.com/go-chi/cors github.com/prometheus/client_golang/prometheus github.com/mattn/go-colorable gorm.io/gorm/logger github.com/go-redis/redis/v8/internal/pool golang.org/x/crypto/ssh/terminal github.com/0xERR0R/blocky/evt github.com/x-cray/logrus-prefixed-formatter gorm.io/gorm/schema golang.org/x/net/ipv6 golang.org/x/net/ipv4 github.com/go-chi/chi/v5/middleware github.com/0xERR0R/blocky/log github.com/go-redis/redis/v8 github.com/0xERR0R/blocky/config github.com/jackc/pgconn/stmtcache github.com/miekg/dns gorm.io/gorm github.com/prometheus/client_golang/prometheus/collectors gorm.io/gorm/migrator gorm.io/gorm/callbacks gorm.io/driver/mysql github.com/jackc/pgx/v4 github.com/0xERR0R/blocky/model github.com/0xERR0R/blocky/util github.com/0xERR0R/blocky/cache/stringcache github.com/0xERR0R/blocky/api github.com/0xERR0R/blocky/lists github.com/0xERR0R/blocky/metrics github.com/jackc/pgx/v4/stdlib gorm.io/driver/postgres github.com/0xERR0R/blocky/querylog github.com/0xERR0R/blocky/redis 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 github.com/alicebob/miniredis/v2 v2.18.0 go: downloading gorm.io/driver/sqlite v1.2.6 go: downloading github.com/mattn/go-sqlite3 v1.14.9 go: downloading github.com/yuin/gopher-lua v0.0.0-20200816102855-ee81675732da go: downloading github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a 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.5.1 ? github.com/0xERR0R/blocky [no test files] === RUN TestResolver Running Suite: API Suite ======================== Random Seed: 1652340979 Will run 5 of 5 specs ••••• 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.012s coverage: 90.6% of statements === RUN TestCache Running Suite: Expiration cache suite ===================================== Random Seed: 1652340979 Will run 11 of 11 specs ••••••••••• Ran 11 of 11 Specs in 0.260 seconds SUCCESS! -- 11 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCache (0.27s) PASS coverage: 100.0% of statements ok github.com/0xERR0R/blocky/cache/expirationcache 0.273s coverage: 100.0% of statements === RUN TestCache Running Suite: String cache suite ================================= Random Seed: 1652340979 Will run 6 of 6 specs •••••• Ran 6 of 6 Specs in 0.001 seconds SUCCESS! -- 6 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCache (0.00s) PASS coverage: 100.0% of statements ok github.com/0xERR0R/blocky/cache/stringcache 0.011s coverage: 100.0% of statements === RUN TestCmd Running Suite: Command Suite ============================ Random Seed: 1652340980 Will run 21 of 21 specs [2022-05-12 07:36:20]  INFO OK •[2022-05-12 07:36:20] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/enable": dial tcp 127.0.0.1:0: connect: connection refused •[2022-05-12 07:36:20] FATAL NOK: 500 Internal Server Error •[2022-05-12 07:36:20]  INFO OK •[2022-05-12 07:36:20] 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-05-12 07:36:20] FATAL NOK: 500 Internal Server Error •[2022-05-12 07:36:20]  INFO blocking enabled •[2022-05-12 07:36:20]  INFO blocking disabled for groups: abc, for 5 seconds •[2022-05-12 07:36:20]  INFO blocking disabled for groups: abc •[2022-05-12 07:36:20] FATAL can't executeGet "http://127.0.0.1:0/api/blocking/status": dial tcp 127.0.0.1:0: connect: connection refused •[2022-05-12 07:36:20] FATAL NOK: 500 Internal Server Error •blocky Version: undefined Build time: undefined •[2022-05-12 07:36:20]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-05-12 07:36:20]  INFO _/ _/ [2022-05-12 07:36:20]  INFO _/ _/ [2022-05-12 07:36:20]  INFO _/ _/ _/ _/ _/ [2022-05-12 07:36:20]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/ _/ _/ [2022-05-12 07:36:20]  INFO _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ [2022-05-12 07:36:20]  INFO _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ [2022-05-12 07:36:20]  INFO _/ _/_/_/ _/ _/_/ _/_/_/ _/ _/ _/_/_/ _/ [2022-05-12 07:36:20]  INFO _/ _/ _/ [2022-05-12 07:36:20]  INFO _/ _/_/ _/ [2022-05-12 07:36:20]  INFO _/ _/ [2022-05-12 07:36:20]  INFO _/ _/ [2022-05-12 07:36:20]  INFO _/ Version: undefined Build time: undefined _/ [2022-05-12 07:36:20]  INFO _/ _/ [2022-05-12 07:36:20]  INFO _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ [2022-05-12 07:36:20] FATAL Can't read config file: open : no such file or directory [2022-05-12 07:36:20] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name [2022-05-12 07:36:20]  INFO server: current configuration: [2022-05-12 07:36:20]  INFO server: -> resolver: 'IPv6DisablingResolver' [2022-05-12 07:36:20]  INFO server: accept AAAA [2022-05-12 07:36:20]  INFO server: -> resolver: 'ClientNamesResolver' [2022-05-12 07:36:20]  INFO server: deactivated, use only IP address [2022-05-12 07:36:20]  INFO server: -> resolver: 'QueryLoggingResolver' [2022-05-12 07:36:20]  INFO server: type: "console" [2022-05-12 07:36:20]  INFO server: target: "" [2022-05-12 07:36:20]  INFO server: logRetentionDays: 0 [2022-05-12 07:36:20]  INFO server: -> resolver: 'MetricsResolver' [2022-05-12 07:36:20]  INFO server: metrics: [2022-05-12 07:36:20]  INFO server: Enable = false [2022-05-12 07:36:20]  INFO server: Path = /metrics [2022-05-12 07:36:20]  INFO server: -> resolver: 'CustomDNSResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'HostsFileResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'BlockingResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'CachingResolver' [2022-05-12 07:36:20]  INFO server: minCacheTimeInSec = 0 [2022-05-12 07:36:20]  INFO server: maxCacheTimeSec = 0 [2022-05-12 07:36:20]  INFO server: cacheTimeNegative = 30 minutes [2022-05-12 07:36:20]  INFO server: prefetching = false [2022-05-12 07:36:20]  INFO server: cache items count = 0 [2022-05-12 07:36:20]  INFO server: -> resolver: 'ConditionalUpstreamResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'ParallelBestResolver' [2022-05-12 07:36:20]  INFO server: upstream resolvers: [2022-05-12 07:36:20]  INFO server: - DNS listening on addrs/ports: [53] [2022-05-12 07:36:20]  INFO server: - TLS listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: - HTTP listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: - HTTPS listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: runtime information: [2022-05-12 07:36:20]  INFO server: MEM Alloc = 1 MB [2022-05-12 07:36:20]  INFO server: MEM HeapAlloc = 1 MB [2022-05-12 07:36:20]  INFO server: MEM Sys = 16 MB [2022-05-12 07:36:20]  INFO server: MEM NumGC = 4 [2022-05-12 07:36:20]  INFO server: RUN NumCPU = 32 [2022-05-12 07:36:20]  INFO server: RUN NumGoroutine = 11 [2022-05-12 07:36:20]  INFO server: Starting server [2022-05-12 07:36:20] FATAL server: start tcp listener failed: listen tcp :53: bind: permission denied [2022-05-12 07:36:20] FATAL server: start udp listener failed: listen udp :53: bind: permission denied •[2022-05-12 07:36:20]  INFO Query result for 'google.de' (A): [2022-05-12 07:36:20]  INFO reason: Reason [2022-05-12 07:36:20]  INFO response type: Type [2022-05-12 07:36:20]  INFO response: Response [2022-05-12 07:36:20]  INFO return code: NOERROR •[2022-05-12 07:36:20] FATAL NOK: 500 Internal Server Error •[2022-05-12 07:36:20] FATAL unknown query type 'X' •[2022-05-12 07:36:20] FATAL can't executePost "http://127.0.0.1:0/api/query": dial tcp 127.0.0.1:0: connect: connection refused •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 overridden by config and CLI. (default "localhost") --apiPort uint16 port of blocky (API). Default overridden by config and CLI. (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-05-12 07:36:20]  INFO OK •[2022-05-12 07:36:20] FATAL NOK: 500 Internal Server Error •[2022-05-12 07:36:20] FATAL can't executePost "http://127.0.0.1:0/api/lists/refresh": dial tcp 127.0.0.1:0: connect: connection refused • Ran 21 of 21 Specs in 0.114 seconds SUCCESS! -- 21 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCmd (0.13s) PASS coverage: 91.1% of statements ok github.com/0xERR0R/blocky/cmd 0.145s coverage: 91.1% of statements === RUN TestConfig Running Suite: Config Suite =========================== Random Seed: 1652340979 Will run 38 of 38 specs •[2022-05-12 07:36:19] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `malform...` into config.Config •[2022-05-12 07:36:19] FATAL wrong file structure: time: invalid duration "wrongduration" •[2022-05-12 07:36:19] FATAL wrong file structure: invalid IP address '192.168.178.WRONG' •[2022-05-12 07:36:19] FATAL wrong file structure: can't convert upstream 'wrongprotocol:4.4.4.4:53': wrong host name 'wrongprotocol:4.4.4.4:53' •[2022-05-12 07:36:19] FATAL wrong file structure: can't convert upstream 'wrongprotocol:8.8.4.4': can't convert port to number (1 - 65535) strconv.ParseUint: parsing "8.8.4.4": invalid syntax •[2022-05-12 07:36:19] FATAL wrong file structure: yaml: unmarshal errors: line 1: cannot unmarshal !!str `///` into config.Config •••[2022-05-12 07:36:19] FATAL certFile and keyFile parameters are mandatory for TLS •[2022-05-12 07:36:19] FATAL certFile and keyFile parameters are mandatory for HTTPS •[2022-05-12 07:36:19] FATAL Can't read config file: open config.yml: no such file or directory ••••••••••••••••••••••••••• Ran 38 of 38 Specs in 0.004 seconds SUCCESS! -- 38 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestConfig (0.01s) PASS coverage: 79.2% of statements ok github.com/0xERR0R/blocky/config 0.021s coverage: 79.2% 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: 1652340979 Will run 13 of 13 specs ••••••••••••• Ran 13 of 13 Specs in 1.338 seconds SUCCESS! -- 13 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (1.34s) PASS coverage: 87.0% of statements ok github.com/0xERR0R/blocky/lists 1.353s coverage: 87.0% 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: 1652341053 Will run 13 of 13 specs ••••••••••••• Ran 13 of 13 Specs in 0.027 seconds SUCCESS! -- 13 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (0.03s) PASS coverage: 98.6% of statements ok github.com/0xERR0R/blocky/querylog 0.040s coverage: 98.6% of statements === RUN TestRedisClient Running Suite: Redis Suite ========================== Random Seed: 1652340981 Will run 8 of 8 specs •••••••• Ran 8 of 8 Specs in 0.093 seconds SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestRedisClient (0.10s) PASS redis: 2022/05/12 07:36:21 pubsub.go:159: redis: discarding bad PubSub connection: EOF coverage: 65.6% of statements ok github.com/0xERR0R/blocky/redis 0.103s coverage: 65.6% of statements === RUN TestResolver redis: 2022/05/12 07:36:23 pubsub.go:159: redis: discarding bad PubSub connection: EOF redis: 2022/05/12 07:36:23 pubsub.go:159: redis: discarding bad PubSub connection: EOF redis: 2022/05/12 07:36:23 pubsub.go:159: redis: discarding bad PubSub connection: EOF Running Suite: Resolver Suite ============================= Random Seed: 1652340983 Will run 147 of 147 specs ••••••••••••••••••••••••••••••••••••••••••••••[2022-05-12 07:36:24] FATAL parallel_best_resolver: no external DNS resolvers configured as default upstream resolvers. Please configure at least one under 'default' configuration name ••••••••••••••••••••••••••redis: 2022/05/12 07:36:26 pubsub.go:159: redis: discarding bad PubSub connection: EOF •redis: 2022/05/12 07:36:26 pubsub.go:159: redis: discarding bad PubSub connection: EOF ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••[2022-05-12 07:36:28] FATAL unknown blockType, please use one of: ZeroIP, NxDomain or specify destination IP address(es) •• Ran 147 of 147 Specs in 4.899 seconds SUCCESS! -- 147 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (5.07s) PASS coverage: 98.8% of statements ok github.com/0xERR0R/blocky/resolver 5.094s coverage: 98.8% of statements === RUN TestDNSServer Running Suite: Server Suite =========================== Random Seed: 1652340980 Will run 37 of 37 specs  INFO list_cache: starting processing of file file=../testdata/heise.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: starting processing of file file=../testdata/www.bild.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:44107'"  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: 'HostsFileResolver'  INFO server: deactivated  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: whitelist:  INFO server: - ../testdata/heise.de.txt  INFO server: ads:  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: fritz.box = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:57946')'"  INFO server: net.cn = "parallel upstreams 'default (upstream 'tcp+udp:0.0.0.0:44107')'"  INFO server: -> resolver: 'ParallelBestResolver'  INFO server: upstream resolvers:  INFO server: - default  INFO server: - upstream 'tcp+udp:0.0.0.0:50638'  INFO server: - DNS listening on addrs/ports: [55555]  INFO server: - TLS listening on addrs/ports: [8853]  INFO server: - HTTP listening on addrs/ports: [4000]  INFO server: - HTTPS listening on addrs/ports: [4443]  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 = 32  INFO server: RUN NumGoroutine = 10  INFO server: Starting server  INFO server: https server is up and running on addr/port 4443  INFO server: http server is up and running on addr/port 4000  INFO server: TLS server is up and running on address :8853  INFO server: UDP server is up and running on address :55555  INFO server: TCP 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:50638) • 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:50638) • 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:50638) • 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:50638) • 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:50638) •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 •[2022-05-12 07:36:20]  INFO server: current configuration: [2022-05-12 07:36:20]  INFO server: -> resolver: 'IPv6DisablingResolver' [2022-05-12 07:36:20]  INFO server: accept AAAA [2022-05-12 07:36:20]  INFO server: -> resolver: 'ClientNamesResolver' [2022-05-12 07:36:20]  INFO server: deactivated, use only IP address [2022-05-12 07:36:20]  INFO server: -> resolver: 'QueryLoggingResolver' [2022-05-12 07:36:20]  INFO server: type: "console" [2022-05-12 07:36:20]  INFO server: target: "" [2022-05-12 07:36:20]  INFO server: logRetentionDays: 0 [2022-05-12 07:36:20]  INFO server: -> resolver: 'MetricsResolver' [2022-05-12 07:36:20]  INFO server: metrics: [2022-05-12 07:36:20]  INFO server: Enable = false [2022-05-12 07:36:20]  INFO server: Path = /metrics [2022-05-12 07:36:20]  INFO server: -> resolver: 'CustomDNSResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'HostsFileResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'BlockingResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'CachingResolver' [2022-05-12 07:36:20]  INFO server: minCacheTimeInSec = 0 [2022-05-12 07:36:20]  INFO server: maxCacheTimeSec = 0 [2022-05-12 07:36:20]  INFO server: cacheTimeNegative = 30 minutes [2022-05-12 07:36:20]  INFO server: prefetching = false [2022-05-12 07:36:20]  INFO server: cache items count = 0 [2022-05-12 07:36:20]  INFO server: -> resolver: 'ConditionalUpstreamResolver' [2022-05-12 07:36:20]  INFO server: deactivated [2022-05-12 07:36:20]  INFO server: -> resolver: 'ParallelBestResolver' [2022-05-12 07:36:20]  INFO server: upstream resolvers: [2022-05-12 07:36:20]  INFO server: - default [2022-05-12 07:36:20]  INFO server: - upstream 'tcp+udp:4.4.4.4:53' [2022-05-12 07:36:20]  INFO server: - DNS listening on addrs/ports: [53] [2022-05-12 07:36:20]  INFO server: - TLS listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: - HTTP listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: - HTTPS listening on addrs/ports: [] [2022-05-12 07:36:20]  INFO server: runtime information: [2022-05-12 07:36:20]  INFO server: MEM Alloc = 1 MB [2022-05-12 07:36:20]  INFO server: MEM HeapAlloc = 1 MB [2022-05-12 07:36:20]  INFO server: MEM Sys = 20 MB [2022-05-12 07:36:20]  INFO server: MEM NumGC = 7 [2022-05-12 07:36:20]  INFO server: RUN NumCPU = 32 [2022-05-12 07:36:20]  INFO server: RUN NumGoroutine = 29 •• 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: 'HostsFileResolver'  INFO server: deactivated  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 on addrs/ports: [:55556]  INFO server: - TLS listening on addrs/ports: []  INFO server: - HTTP listening on addrs/ports: []  INFO server: - HTTPS listening on addrs/ports: []  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 = 9  INFO server: RUN NumCPU = 32  INFO server: RUN NumGoroutine = 33  INFO server: Starting server  INFO server: TCP server is up and running on address :55556  INFO server: UDP 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: lan.home = "[192.168.178.56]"  INFO server: custom.lan = "[192.168.178.55]"  INFO server: -> resolver: 'HostsFileResolver'  INFO server: deactivated  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 on addrs/ports: [127.0.0.1:55557]  INFO server: - TLS listening on addrs/ports: []  INFO server: - HTTP listening on addrs/ports: []  INFO server: - HTTPS listening on addrs/ports: []  INFO server: runtime information:  INFO server: MEM Alloc = 1 MB  INFO server: MEM HeapAlloc = 1 MB  INFO server: MEM Sys = 21 MB  INFO server: MEM NumGC = 11  INFO server: RUN NumCPU = 32  INFO server: RUN NumGoroutine = 38  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 37 of 37 Specs in 0.396 seconds SUCCESS! -- 37 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestDNSServer (0.42s) PASS coverage: 93.0% of statements ok github.com/0xERR0R/blocky/server 0.436s coverage: 93.0% of statements === RUN TestLists [2022-05-12 07:36:19] ERROR Using fallback for unsupported query type NS [2022-05-12 07:36:19] ERROR Using fallback for unsupported query type NS Running Suite: Util Suite ========================= Random Seed: 1652340979 Will run 27 of 27 specs ••[2022-05-12 07:36:19] FATAL bootstrap dns net should be tcp+udp ••••••••••••••[2022-05-12 07:36:19] ERROR message test ••[2022-05-12 07:36:19] 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.021s 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-x86_64.so.1 >>> blocky*: Package size: 18.8 MB >>> blocky*: Compressing data... >>> blocky*: Create checksum... >>> blocky*: Create blocky-0.18-r1.apk >>> blocky: Build complete at Thu, 12 May 2022 07:37:34 +0000 elapsed time 0h 1m 38s >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Uninstalling dependencies... (1/2) Purging .makedepends-blocky (20220512.073558) (2/2) Purging go (1.18.2-r0) Executing busybox-1.35.0-r13.trigger OK: 332 MiB in 98 packages >>> blocky: Updating the testing/x86_64 repository index... >>> blocky: Signing the index...