>>> blocky: Building testing/blocky 0.19-r1 (using abuild 3.9.0-r2) started Fri, 22 Jul 2022 01:06:15 +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.4-r2) (2/2) Installing .makedepends-blocky (20220722.010617) Executing busybox-1.35.0-r19.trigger OK: 713 MiB in 103 packages >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.19.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 647k 100 647k 0 0 5812k 0 --:--:-- --:--:-- --:--:-- 5829k >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge/blocky-0.19.tar.gz >>> blocky: Checking sha512sums... blocky-0.19.tar.gz: OK >>> blocky: Unpacking /var/cache/distfiles/edge/blocky-0.19.tar.gz... go install github.com/abice/go-enum@v0.4.0 go generate ./... 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.19 -X github.com/0xERR0R/blocky/util.BuildTime=20220722-010620" -o bin/blocky google.golang.org/protobuf/internal/flags github.com/dgryski/go-rendezvous golang.org/x/sys/internal/unsafeheader golang.org/x/net/internal/iana google.golang.org/protobuf/internal/set runtime/metrics github.com/hashicorp/golang-lru/simplelru golang.org/x/text/internal/tag github.com/beorn7/perks/quantile google.golang.org/protobuf/internal/pragma github.com/jackc/chunkreader/v2 github.com/go-redis/redis/v8/internal/rand github.com/mroth/weightedrand hash/fnv golang.org/x/crypto/pbkdf2 net/http/internal/testcert golang.org/x/text/transform github.com/go-redis/redis/v8/internal/util github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/hashicorp/errwrap github.com/jinzhu/inflection github.com/cespare/xxhash/v2 github.com/jackc/pgio github.com/jinzhu/now github.com/jackc/pgconn/internal/ctxwatch github.com/0xERR0R/blocky/web github.com/jackc/pgpassfile github.com/hako/durafmt golang.org/x/net/bpf github.com/creasty/defaults gopkg.in/yaml.v2 golang.org/x/sys/unix google.golang.org/protobuf/internal/version github.com/avast/retry-go/v4 encoding/gob github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util github.com/go-redis/redis/v8/internal/hscan encoding/csv database/sql gorm.io/gorm/utils github.com/go-redis/redis/v8/internal/hashtag github.com/go-redis/redis/v8/internal github.com/go-redis/redis/v8/internal/proto github.com/google/uuid github.com/jackc/pgservicefile github.com/jackc/pgproto3/v2 github.com/hashicorp/golang-lru github.com/jackc/pgx/v4/internal/sanitize github.com/hashicorp/go-multierror golang.org/x/text/unicode/bidi golang.org/x/text/internal/language expvar github.com/go-chi/chi/v5 net/http/cookiejar google.golang.org/protobuf/internal/detrand github.com/pmezard/go-difflib/difflib gorm.io/gorm/logger github.com/stretchr/objx golang.org/x/text/runes golang.org/x/text/unicode/norm gopkg.in/yaml.v3 golang.org/x/text/width net/http/httptest github.com/go-chi/cors google.golang.org/protobuf/internal/errors github.com/spf13/pflag github.com/0xERR0R/blocky/cache/expirationcache google.golang.org/protobuf/encoding/protowire golang.org/x/net/publicsuffix github.com/go-redis/redis/v8/internal/pool google.golang.org/protobuf/reflect/protoreflect github.com/go-chi/chi/v5/middleware golang.org/x/text/secure/bidirule github.com/go-redis/redis/v8 gorm.io/gorm/clause github.com/go-sql-driver/mysql github.com/jackc/pgtype golang.org/x/text/internal/language/compact google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid net/rpc google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry golang.org/x/text/language gorm.io/gorm/schema google.golang.org/protobuf/proto github.com/asaskevich/EventBus google.golang.org/protobuf/internal/encoding/defval github.com/spf13/cobra github.com/0xERR0R/blocky/evt golang.org/x/text/internal github.com/mattn/go-isatty golang.org/x/term golang.org/x/net/internal/socket github.com/sirupsen/logrus github.com/prometheus/procfs github.com/stretchr/testify/assert golang.org/x/text/cases github.com/mattn/go-colorable github.com/mgutz/ansi google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc golang.org/x/crypto/ssh/terminal golang.org/x/net/ipv6 golang.org/x/net/ipv4 gorm.io/gorm github.com/x-cray/logrus-prefixed-formatter golang.org/x/text/secure/precis github.com/0xERR0R/blocky/log github.com/0xERR0R/blocky/cache/stringcache github.com/0xERR0R/blocky/lists github.com/stretchr/testify/mock github.com/miekg/dns google.golang.org/protobuf/internal/encoding/tag github.com/jackc/pgconn google.golang.org/protobuf/internal/impl gorm.io/gorm/migrator gorm.io/gorm/callbacks github.com/jackc/pgconn/stmtcache gorm.io/driver/mysql github.com/jackc/pgx/v4 google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/descriptorpb github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/timestamp github.com/0xERR0R/blocky/model github.com/0xERR0R/blocky/config github.com/jackc/pgx/v4/stdlib github.com/0xERR0R/blocky/util github.com/0xERR0R/blocky/api gorm.io/driver/postgres google.golang.org/protobuf/reflect/protodesc github.com/0xERR0R/blocky/querylog github.com/golang/protobuf/proto github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil github.com/golang/protobuf/ptypes github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt github.com/0xERR0R/blocky/redis 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 ./... ? github.com/0xERR0R/blocky [no test files] === RUN TestResolver Running Suite: API Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/api ==================================================================================== Random Seed: 1658451997 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.9% of statements ok github.com/0xERR0R/blocky/api 0.009s coverage: 90.9% of statements === RUN TestCache Running Suite: Expiration cache suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/cache/expirationcache =================================================================================================================== Random Seed: 1658451997 Will run 11 of 11 specs ••••••••••• Ran 11 of 11 Specs in 0.272 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.281s coverage: 100.0% of statements === RUN TestCache Running Suite: String cache suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/cache/stringcache =========================================================================================================== Random Seed: 1658451997 Will run 7 of 7 specs ••••••• Ran 7 of 7 Specs in 0.000 seconds SUCCESS! -- 7 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.009s coverage: 100.0% of statements === RUN TestCmd Running Suite: Command Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/cmd ======================================================================================== Random Seed: 1658451998 Will run 21 of 21 specs blocky Version: undefined Build time: undefined •••Error: unknown query type 'X' Usage: query [flags] Flags: -h, --help help for query -t, --type string query type (A, AAAA, ...) (default "A") •••••••••••••••Error: response NOK, 500 Internal Server Error Usage: refresh [flags] Flags: -h, --help help for refresh •Error: can't execute Post "http://127.0.0.1:0/api/lists/refresh": dial tcp 127.0.0.1:0: connect: connection refused Usage: refresh [flags] Flags: -h, --help help for refresh •• Ran 21 of 21 Specs in 0.120 seconds SUCCESS! -- 21 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestCmd (0.12s) PASS coverage: 79.3% of statements ok github.com/0xERR0R/blocky/cmd 0.143s coverage: 79.3% of statements === RUN TestConfig Running Suite: Config Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/config ========================================================================================== Random Seed: 1658451997 Will run 70 of 70 specs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Ran 70 of 70 Specs in 0.006 seconds SUCCESS! -- 70 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestConfig (0.01s) PASS coverage: 87.0% of statements ok github.com/0xERR0R/blocky/config 0.017s coverage: 87.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 - /home/buildozer/aports/testing/blocky/src/blocky-0.19/lists ======================================================================================== Random Seed: 1658451997 Will run 22 of 22 specs •••••••••••••••••••••• Ran 22 of 22 Specs in 2.105 seconds SUCCESS! -- 22 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (2.11s) PASS coverage: 90.2% of statements ok github.com/0xERR0R/blocky/lists 2.115s 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 - /home/buildozer/aports/testing/blocky/src/blocky-0.19/querylog ============================================================================================== Random Seed: 1658452072 Will run 13 of 13 specs ••••••••••••• Ran 13 of 13 Specs in 0.032 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.045s coverage: 98.6% of statements === RUN TestRedisClient Running Suite: Redis Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/redis ======================================================================================== Random Seed: 1658451999 Will run 8 of 8 specs •••••••• Ran 8 of 8 Specs in 0.091 seconds SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestRedisClient (0.09s) PASS coverage: 65.6% of statements ok github.com/0xERR0R/blocky/redis 0.108s coverage: 65.6% of statements === RUN TestResolver Running Suite: Resolver Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/resolver ============================================================================================== Random Seed: 1658452001 Will run 180 of 180 specs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Ran 180 of 180 Specs in 7.057 seconds SUCCESS! -- 180 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (7.07s) PASS coverage: 98.1% of statements ok github.com/0xERR0R/blocky/resolver 7.083s coverage: 98.1% of statements === RUN TestDNSServer Running Suite: Server Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/server ========================================================================================== Random Seed: 1658451998 Will run 38 of 38 specs ••••••••••••••••••••••••••••••••••••• ------------------------------ • [SLOW TEST] [14.764 seconds] Running DNS server self-signed certificate creation should create self-signed certificate if key/cert files are not provided /home/buildozer/aports/testing/blocky/src/blocky-0.19/server/server_test.go:658 ------------------------------ Ran 38 of 38 Specs in 17.072 seconds SUCCESS! -- 38 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestDNSServer (17.07s) PASS coverage: 87.2% of statements ok github.com/0xERR0R/blocky/server 17.092s coverage: 87.2% of statements === RUN TestLists Running Suite: Util Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/util ====================================================================================== Random Seed: 1658451997 Will run 22 of 22 specs •••••••••••••••••••••• Ran 22 of 22 Specs in 0.001 seconds SUCCESS! -- 22 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (0.00s) PASS coverage: 98.5% of statements ok github.com/0xERR0R/blocky/util 0.010s coverage: 98.5% 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: 19.2 MB >>> blocky*: Compressing data... >>> blocky*: Create checksum... >>> blocky*: Create blocky-0.19-r1.apk >>> blocky: Build complete at Fri, 22 Jul 2022 01:07:53 +0000 elapsed time 0h 1m 38s >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Uninstalling dependencies... (1/2) Purging .makedepends-blocky (20220722.010617) (2/2) Purging go (1.18.4-r2) Executing busybox-1.35.0-r19.trigger OK: 333 MiB in 101 packages >>> blocky: Updating the testing/x86_64 repository index... >>> blocky: Signing the index...