>>> blocky: Building testing/blocky 0.19-r2 (using abuild 3.9.0-r3) started Thu, 04 Aug 2022 03:46:52 +0000 >>> blocky: Checking sanity of /home/buildozer/aports/testing/blocky/APKBUILD... >>> blocky: Analyzing dependencies... >>> blocky: Installing for build: build-base go (1/1) Installing .makedepends-blocky (20220804.034653) OK: 615 MiB in 96 packages >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Fetching https://distfiles.alpinelinux.org/distfiles/edge//blocky-0.19.tar.gz >>> 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: downloading github.com/abice/go-enum v0.4.0 go: downloading github.com/urfave/cli/v2 v2.4.0 go: downloading github.com/labstack/gommon v0.3.1 go: downloading github.com/Masterminds/sprig v2.22.0+incompatible go: downloading github.com/mitchellh/copystructure v1.1.2 go: downloading github.com/mattn/go-colorable v0.1.11 go: downloading golang.org/x/sys v0.0.0-20211103235746-7861aae1554b go: downloading github.com/mitchellh/reflectwalk v1.0.1 go generate ./... go: downloading github.com/go-chi/chi/v5 v5.0.7 go: downloading github.com/creasty/defaults v1.6.0 go: downloading github.com/avast/retry-go/v4 v4.0.5 go: downloading github.com/onsi/gomega v1.19.0 go: downloading github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b go: downloading gorm.io/driver/mysql v1.3.4 go: downloading github.com/prometheus/client_golang v1.12.2 go: downloading gorm.io/driver/postgres v1.3.7 go: downloading golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/go-chi/cors v1.2.1 go: downloading github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef go: downloading github.com/miekg/dns v1.1.49 go: downloading github.com/go-redis/redis/v8 v8.11.5 go: downloading gorm.io/gorm v1.23.5 go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2 go: downloading github.com/mroth/weightedrand v0.4.1 go: downloading github.com/stretchr/testify v1.7.2 go: downloading golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 go: downloading golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/go-sql-driver/mysql v1.6.0 go: downloading github.com/jackc/pgx/v4 v4.16.1 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/stretchr/objx v0.3.0 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading github.com/prometheus/common v0.32.1 go: downloading github.com/prometheus/procfs v0.7.3 go: downloading github.com/jackc/pgconn v1.12.1 go: downloading github.com/jackc/pgtype v1.11.0 go: downloading github.com/jackc/pgproto3/v2 v2.3.0 go: downloading github.com/jackc/pgio v1.0.0 go: downloading github.com/jackc/chunkreader/v2 v2.0.1 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b 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=20220804-034653" -o bin/blocky golang.org/x/net/internal/iana golang.org/x/sys/internal/unsafeheader 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/jinzhu/inflection github.com/jinzhu/now github.com/jackc/pgconn/internal/ctxwatch github.com/0xERR0R/blocky/web github.com/hako/durafmt github.com/avast/retry-go/v4 github.com/go-redis/redis/v8/internal/hscan gorm.io/gorm/utils golang.org/x/net/bpf github.com/jackc/pgx/v4/internal/sanitize golang.org/x/sys/unix github.com/0xERR0R/blocky/cache/expirationcache github.com/go-redis/redis/v8/internal/proto github.com/creasty/defaults github.com/stretchr/objx gorm.io/gorm/clause github.com/jackc/pgproto3/v2 github.com/go-redis/redis/v8/internal github.com/go-redis/redis/v8/internal/hashtag github.com/jackc/pgtype github.com/go-chi/cors github.com/go-chi/chi/v5 github.com/asaskevich/EventBus golang.org/x/net/publicsuffix github.com/stretchr/testify/assert gorm.io/gorm/logger github.com/go-redis/redis/v8/internal/pool github.com/0xERR0R/blocky/evt gorm.io/gorm/schema github.com/go-chi/chi/v5/middleware github.com/go-redis/redis/v8 github.com/stretchr/testify/mock github.com/jackc/pgconn gorm.io/gorm github.com/jackc/pgconn/stmtcache github.com/mattn/go-isatty github.com/sirupsen/logrus golang.org/x/term 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/ipv6 golang.org/x/net/ipv4 github.com/x-cray/logrus-prefixed-formatter github.com/0xERR0R/blocky/log gorm.io/gorm/migrator gorm.io/gorm/callbacks github.com/0xERR0R/blocky/cache/stringcache github.com/0xERR0R/blocky/lists github.com/miekg/dns github.com/prometheus/client_golang/prometheus gorm.io/driver/mysql github.com/prometheus/client_golang/prometheus/collectors github.com/prometheus/client_golang/prometheus/promhttp github.com/jackc/pgx/v4 github.com/jackc/pgx/v4/stdlib gorm.io/driver/postgres github.com/0xERR0R/blocky/config github.com/0xERR0R/blocky/model github.com/0xERR0R/blocky/util github.com/0xERR0R/blocky/api github.com/0xERR0R/blocky/metrics 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/v2 v2.1.4 go: downloading github.com/alicebob/miniredis/v2 v2.21.0 go: downloading gorm.io/driver/sqlite v1.3.2 go: downloading github.com/mattn/go-sqlite3 v1.14.12 go: downloading github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a ? 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: 1659584847 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.008s 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: 1659584847 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.26s) PASS coverage: 100.0% of statements ok github.com/0xERR0R/blocky/cache/expirationcache 0.266s 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: 1659584847 Will run 7 of 7 specs ••••••• Ran 7 of 7 Specs in 0.001 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: 1659584848 Will run 21 of 21 specs •••Error: unknown query type 'X' Usage: query [flags] Flags: -h, --help help for query -t, --type string query type (A, AAAA, ...) (default "A") ••blocky Version: undefined Build time: undefined ••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.134s coverage: 79.3% of statements === RUN TestConfig Running Suite: Config Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/config ========================================================================================== Random Seed: 1659584847 Will run 70 of 70 specs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Ran 70 of 70 Specs in 0.007 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: 1659584847 Will run 22 of 22 specs •••••••••••••••••••••• Ran 22 of 22 Specs in 2.244 seconds SUCCESS! -- 22 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestLists (2.25s) PASS coverage: 90.2% of statements ok github.com/0xERR0R/blocky/lists 2.256s 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: 1659584937 Will run 13 of 13 specs ••••••••••••• Ran 13 of 13 Specs in 0.033 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.043s coverage: 98.6% of statements === RUN TestRedisClient Running Suite: Redis Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/redis ======================================================================================== Random Seed: 1659584847 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: 66.7% of statements ok github.com/0xERR0R/blocky/redis 0.101s coverage: 66.7% of statements === RUN TestResolver Running Suite: Resolver Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/resolver ============================================================================================== Random Seed: 1659584849 Will run 180 of 180 specs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Ran 180 of 180 Specs in 7.125 seconds SUCCESS! -- 180 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestResolver (7.13s) PASS coverage: 98.1% of statements ok github.com/0xERR0R/blocky/resolver 7.150s coverage: 98.1% of statements === RUN TestDNSServer Running Suite: Server Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/server ========================================================================================== Random Seed: 1659584848 Will run 38 of 38 specs ••••••••••••••••••••••••••••••••••••• ------------------------------ • [SLOW TEST] [13.995 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 16.308 seconds SUCCESS! -- 38 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestDNSServer (16.31s) PASS coverage: 87.2% of statements ok github.com/0xERR0R/blocky/server 16.320s coverage: 87.2% of statements === RUN TestLists Running Suite: Util Suite - /home/buildozer/aports/testing/blocky/src/blocky-0.19/util ====================================================================================== Random Seed: 1659584847 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.007s 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-ppc64le.so.1 >>> blocky*: Package size: 19.0 MB >>> blocky*: Compressing data... >>> blocky*: Create checksum... >>> blocky*: Create blocky-0.19-r2.apk >>> blocky: Build complete at Thu, 04 Aug 2022 03:48:58 +0000 elapsed time 0h 2m 6s >>> blocky: Cleaning up srcdir >>> blocky: Cleaning up pkgdir >>> blocky: Uninstalling dependencies... (1/1) Purging .makedepends-blocky (20220804.034653) OK: 615 MiB in 95 packages >>> blocky: Updating the testing/ppc64le repository index... >>> blocky: Signing the index...