>>> rest-server: Building community/rest-server 0.12.0-r2 (using abuild 3.11.0_rc13-r0) started Tue, 02 May 2023 21:34:08 +0000 >>> rest-server: Checking sanity of /home/buildozer/aports/community/rest-server/APKBUILD... >>> rest-server: Analyzing dependencies... >>> rest-server: Installing for build: build-base go (1/2) Installing go (1.20.4-r0) (2/2) Installing .makedepends-rest-server (20230502.213409) Executing busybox-1.36.0-r8.trigger OK: 541 MiB in 100 packages >>> rest-server: Cleaning up srcdir >>> rest-server: Cleaning up pkgdir >>> rest-server: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/rest-server-0.12.0-2.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 270k 100 270k 0 0 2324k 0 --:--:-- --:--:-- --:--:-- 2333k >>> rest-server: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/rest-server-0.12.0-2.tar.gz >>> rest-server: Checking sha512sums... rest-server-0.12.0-2.tar.gz: OK rest-server.confd: OK rest-server.initd: OK >>> rest-server: Unpacking /var/cache/distfiles/v3.18/rest-server-0.12.0-2.tar.gz... go: downloading github.com/spf13/cobra v1.7.0 go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading github.com/prometheus/client_golang v1.15.0 go: downloading golang.org/x/crypto v0.8.0 go: downloading github.com/gorilla/handlers v1.5.1 go: downloading github.com/minio/sha256-simd v1.0.0 go: downloading github.com/miolini/datacounter v1.0.3 go: downloading github.com/felixge/httpsnoop v1.0.3 go: downloading github.com/klauspost/cpuid/v2 v2.2.3 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/prometheus/client_model v0.3.0 go: downloading github.com/prometheus/common v0.42.0 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading google.golang.org/protobuf v1.30.0 go: downloading github.com/prometheus/procfs v0.9.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading golang.org/x/sys v0.7.0 internal/itoa unicode/utf8 unicode/utf16 internal/nettrace vendor/golang.org/x/crypto/internal/alias crypto/internal/alias encoding internal/unsafeheader internal/coverage/rtcov internal/goarch crypto/internal/boring/sig sync/atomic internal/goos internal/cpu internal/race internal/goexperiment runtime/internal/syscall runtime/internal/atomic vendor/golang.org/x/crypto/cryptobyte/asn1 math/bits google.golang.org/protobuf/internal/flags container/list unicode runtime/internal/math internal/abi runtime/internal/sys google.golang.org/protobuf/internal/set math internal/bytealg runtime crypto/subtle internal/reflectlite runtime/metrics sync internal/testlog internal/godebug internal/singleflight google.golang.org/protobuf/internal/pragma runtime/cgo math/rand internal/intern errors sort internal/oserror internal/safefilepath path io vendor/golang.org/x/net/dns/dnsmessage strconv crypto/internal/nistec/fiat syscall github.com/beorn7/perks/quantile crypto/internal/randutil hash text/tabwriter bytes strings hash/fnv hash/crc32 vendor/golang.org/x/text/transform crypto crypto/rc4 golang.org/x/crypto/blowfish net/netip reflect net/http/internal/ascii github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg bufio regexp/syntax internal/syscall/execenv internal/syscall/unix time regexp crypto/internal/nistec context io/fs internal/poll os internal/fmtsort encoding/binary encoding/base64 crypto/internal/edwards25519/field crypto/md5 github.com/cespare/xxhash/v2 crypto/cipher vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix encoding/pem google.golang.org/protobuf/internal/detrand io/ioutil github.com/prometheus/procfs/internal/util os/signal path/filepath fmt net crypto/internal/edwards25519 crypto/internal/boring vendor/golang.org/x/crypto/chacha20 crypto/des crypto/hmac crypto/sha512 crypto/sha256 crypto/sha1 crypto/ecdh crypto/aes vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex log encoding/csv net/url github.com/prometheus/procfs/internal/fs net/http/internal google.golang.org/protobuf/internal/errors google.golang.org/protobuf/internal/version mime/quotedprintable go/token vendor/golang.org/x/net/http2/hpack runtime/debug mime flag text/template/parse compress/flate encoding/json math/big vendor/golang.org/x/text/unicode/norm google.golang.org/protobuf/encoding/protowire vendor/golang.org/x/text/unicode/bidi google.golang.org/protobuf/reflect/protoreflect github.com/klauspost/cpuid/v2 compress/gzip runtime/pprof vendor/golang.org/x/text/secure/bidirule text/template google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/genid google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text github.com/prometheus/common/model github.com/minio/sha256-simd google.golang.org/protobuf/proto vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/encoding/defval crypto/internal/bigmod crypto/dsa crypto/internal/boring/bbig crypto/elliptic crypto/rand encoding/asn1 crypto/ed25519 golang.org/x/crypto/bcrypt crypto/rsa google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 github.com/spf13/pflag github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls github.com/spf13/cobra google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/descriptorpb github.com/golang/protobuf/ptypes/timestamp google.golang.org/protobuf/reflect/protodesc net/http/httptrace github.com/coreos/go-systemd/v22/activation net/http github.com/golang/protobuf/proto github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/client_model/go github.com/prometheus/client_golang/prometheus/internal expvar github.com/felixge/httpsnoop github.com/restic/rest-server/quota github.com/miolini/datacounter github.com/prometheus/common/expfmt github.com/restic/rest-server/repo github.com/gorilla/handlers github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp github.com/restic/rest-server github.com/restic/rest-server/cmd/rest-server === RUN TestJoin === RUN TestJoin/#00 === RUN TestJoin/#01 === RUN TestJoin/#02 === RUN TestJoin/#03 === RUN TestJoin/#04 === RUN TestJoin/#05 === RUN TestJoin/#06 === RUN TestJoin/#07 === RUN TestJoin/#08 --- PASS: TestJoin (0.00s) --- PASS: TestJoin/#00 (0.00s) --- PASS: TestJoin/#01 (0.00s) --- PASS: TestJoin/#02 (0.00s) --- PASS: TestJoin/#03 (0.00s) --- PASS: TestJoin/#04 (0.00s) --- PASS: TestJoin/#05 (0.00s) --- PASS: TestJoin/#06 (0.00s) --- PASS: TestJoin/#07 (0.00s) --- PASS: TestJoin/#08 (0.00s) === RUN TestResticAppendOnlyHandler 2023/05/02 21:34:33 POST /?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-3637547387 2023/05/02 21:34:33 POST /parent1/sub1/?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-3637547387/parent1/sub1 2023/05/02 21:34:33 POST /parent1/?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-3637547387/parent1 2023/05/02 21:34:33 POST /parent2/?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-3637547387/parent2 === RUN TestResticAppendOnlyHandler/#00 handlers_test.go:271: request 0: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/config: no such file or directory handlers_test.go:271: request 1: POST /config 2023/05/02 21:34:33 POST /config 2023/05/02 21:34:33 saveConfig() handlers_test.go:271: request 2: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 3: POST /config 2023/05/02 21:34:33 POST /config 2023/05/02 21:34:33 saveConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/config: file exists handlers_test.go:271: request 4: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 5: DELETE /config 2023/05/02 21:34:33 DELETE /config 2023/05/02 21:34:33 deleteConfig() handlers_test.go:271: request 6: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() === RUN TestResticAppendOnlyHandler/#01 handlers_test.go:271: request 0: GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/data/50/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory handlers_test.go:271: request 1: POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 file content does not match hash handlers_test.go:271: request 2: POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:271: request 3: GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 4: POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() handlers_test.go:271: request 5: GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 6: DELETE /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 DELETE /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 deleteBlob() handlers_test.go:271: request 7: GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() === RUN TestResticAppendOnlyHandler/#02 handlers_test.go:271: request 0: GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory handlers_test.go:271: request 1: POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 file content does not match hash handlers_test.go:271: request 2: POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:271: request 3: GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 4: POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() handlers_test.go:271: request 5: DELETE /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 DELETE /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 deleteBlob() handlers_test.go:271: request 6: GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/locks/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory === RUN TestResticAppendOnlyHandler/#03 handlers_test.go:271: request 0: GET /parent1/sub1/config 2023/05/02 21:34:33 GET /parent1/sub1/config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/sub1/config: no such file or directory handlers_test.go:271: request 1: POST /parent1/sub1/config 2023/05/02 21:34:33 POST /parent1/sub1/config 2023/05/02 21:34:33 saveConfig() handlers_test.go:271: request 2: GET /parent1/sub1/config 2023/05/02 21:34:33 GET /parent1/sub1/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 3: POST /parent1/sub1/config 2023/05/02 21:34:33 POST /parent1/sub1/config 2023/05/02 21:34:33 saveConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/sub1/config: file exists handlers_test.go:271: request 4: GET /parent1/sub1/config 2023/05/02 21:34:33 GET /parent1/sub1/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 5: DELETE /parent1/sub1/config 2023/05/02 21:34:33 DELETE /parent1/sub1/config 2023/05/02 21:34:33 deleteConfig() handlers_test.go:271: request 6: GET /parent1/sub1/config 2023/05/02 21:34:33 GET /parent1/sub1/config 2023/05/02 21:34:33 getConfig() === RUN TestResticAppendOnlyHandler/#04 handlers_test.go:271: request 0: GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/sub1/data/50/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory handlers_test.go:271: request 1: POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 file content does not match hash handlers_test.go:271: request 2: POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:271: request 3: GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 4: POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() handlers_test.go:271: request 5: GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 6: DELETE /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 DELETE /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 deleteBlob() handlers_test.go:271: request 7: GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/sub1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() === RUN TestResticAppendOnlyHandler/#05 handlers_test.go:271: request 0: GET /parent1/config 2023/05/02 21:34:33 GET /parent1/config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/config: no such file or directory handlers_test.go:271: request 1: POST /parent1/config 2023/05/02 21:34:33 POST /parent1/config 2023/05/02 21:34:33 saveConfig() handlers_test.go:271: request 2: GET /parent1/config 2023/05/02 21:34:33 GET /parent1/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 3: POST /parent1/config 2023/05/02 21:34:33 POST /parent1/config 2023/05/02 21:34:33 saveConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/config: file exists handlers_test.go:271: request 4: GET /parent1/config 2023/05/02 21:34:33 GET /parent1/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 5: DELETE /parent1/config 2023/05/02 21:34:33 DELETE /parent1/config 2023/05/02 21:34:33 deleteConfig() handlers_test.go:271: request 6: GET /parent1/config 2023/05/02 21:34:33 GET /parent1/config 2023/05/02 21:34:33 getConfig() === RUN TestResticAppendOnlyHandler/#06 handlers_test.go:271: request 0: GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent1/data/50/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory handlers_test.go:271: request 1: POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 file content does not match hash handlers_test.go:271: request 2: POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:271: request 3: GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 4: POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() handlers_test.go:271: request 5: GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 6: DELETE /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 DELETE /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 deleteBlob() handlers_test.go:271: request 7: GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent1/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() === RUN TestResticAppendOnlyHandler/#07 handlers_test.go:271: request 0: GET /parent2/config 2023/05/02 21:34:33 GET /parent2/config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent2/config: no such file or directory handlers_test.go:271: request 1: POST /parent2/config 2023/05/02 21:34:33 POST /parent2/config 2023/05/02 21:34:33 saveConfig() handlers_test.go:271: request 2: GET /parent2/config 2023/05/02 21:34:33 GET /parent2/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 3: POST /parent2/config 2023/05/02 21:34:33 POST /parent2/config 2023/05/02 21:34:33 saveConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent2/config: file exists handlers_test.go:271: request 4: GET /parent2/config 2023/05/02 21:34:33 GET /parent2/config 2023/05/02 21:34:33 getConfig() handlers_test.go:271: request 5: DELETE /parent2/config 2023/05/02 21:34:33 DELETE /parent2/config 2023/05/02 21:34:33 deleteConfig() handlers_test.go:271: request 6: GET /parent2/config 2023/05/02 21:34:33 GET /parent2/config 2023/05/02 21:34:33 getConfig() === RUN TestResticAppendOnlyHandler/#08 handlers_test.go:271: request 0: GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-3637547387/parent2/data/50/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08: no such file or directory handlers_test.go:271: request 1: POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 file content does not match hash handlers_test.go:271: request 2: POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:271: request 3: GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 4: POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 POST /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 saveBlob() handlers_test.go:271: request 5: GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() handlers_test.go:271: request 6: DELETE /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 DELETE /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 deleteBlob() handlers_test.go:271: request 7: GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 GET /parent2/data/50c1a300f672b9e06e1e2955cc461da5ed7e52e27ef676f8cbea30bd30c0bf08 2023/05/02 21:34:33 getBlob() --- PASS: TestResticAppendOnlyHandler (0.06s) --- PASS: TestResticAppendOnlyHandler/#00 (0.00s) --- PASS: TestResticAppendOnlyHandler/#01 (0.00s) --- PASS: TestResticAppendOnlyHandler/#02 (0.00s) --- PASS: TestResticAppendOnlyHandler/#03 (0.00s) --- PASS: TestResticAppendOnlyHandler/#04 (0.00s) --- PASS: TestResticAppendOnlyHandler/#05 (0.00s) --- PASS: TestResticAppendOnlyHandler/#06 (0.00s) --- PASS: TestResticAppendOnlyHandler/#07 (0.00s) --- PASS: TestResticAppendOnlyHandler/#08 (0.00s) === RUN TestResticHandler 2023/05/02 21:34:33 POST /?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-1929116498 === RUN TestResticHandler/#00 handlers_test.go:325: request 0: POST /config 2023/05/02 21:34:33 POST /config 2023/05/02 21:34:33 saveConfig() handlers_test.go:325: request 1: DELETE /config 2023/05/02 21:34:33 DELETE /config 2023/05/02 21:34:33 deleteConfig() handlers_test.go:325: request 2: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-1929116498/config: no such file or directory handlers_test.go:325: request 3: DELETE /config 2023/05/02 21:34:33 DELETE /config 2023/05/02 21:34:33 deleteConfig() === RUN TestResticHandler/#01 handlers_test.go:325: request 0: POST /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 POST /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. handlers_test.go:325: request 1: DELETE /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 DELETE /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 deleteBlob() handlers_test.go:325: request 2: GET /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 GET /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 getBlob() 2023/05/02 21:34:33 open /tmp/rest-server-test-1929116498/data/c4/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a: no such file or directory handlers_test.go:325: request 3: DELETE /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 DELETE /data/c4e237a1e1c11e74deea3706a08c62c32e74199c03473e6b6cf29649a9a0212a 2023/05/02 21:34:33 deleteBlob() --- PASS: TestResticHandler (0.01s) --- PASS: TestResticHandler/#00 (0.00s) --- PASS: TestResticHandler/#01 (0.00s) === RUN TestResticErrorHandler 2023/05/02 21:34:33 POST /?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-961885345 2023/05/02 21:34:33 POST /config 2023/05/02 21:34:33 saveConfig() === RUN TestResticErrorHandler/#00 handlers_test.go:375: request 0: GET /config 2023/05/02 21:34:33 GET /config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-961885345/config: permission denied 2023/05/02 21:34:33 ERROR: open /tmp/rest-server-test-961885345/config: permission denied === RUN TestResticErrorHandler/#01 handlers_test.go:375: request 0: GET /parent4/config 2023/05/02 21:34:33 GET /parent4/config 2023/05/02 21:34:33 getConfig() 2023/05/02 21:34:33 open /tmp/rest-server-test-961885345/parent4/config: no such file or directory --- PASS: TestResticErrorHandler (0.02s) --- PASS: TestResticErrorHandler/#00 (0.00s) --- PASS: TestResticErrorHandler/#01 (0.00s) === RUN TestListWithUnexpectedFiles 2023/05/02 21:34:33 POST /?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-569038860 2023/05/02 21:34:33 GET /data/ 2023/05/02 21:34:33 listBlobs() 2023/05/02 21:34:33 listBlobsV2() 2023/05/02 21:34:33 GET /data/ 2023/05/02 21:34:33 listBlobs() 2023/05/02 21:34:33 listBlobsV2() --- PASS: TestListWithUnexpectedFiles (0.04s) === RUN TestSplitURLPath === RUN TestSplitURLPath/test-0 === RUN TestSplitURLPath/test-1 === RUN TestSplitURLPath/test-2 === RUN TestSplitURLPath/test-3 === RUN TestSplitURLPath/test-4 === RUN TestSplitURLPath/test-5 === RUN TestSplitURLPath/test-6 === RUN TestSplitURLPath/test-7 === RUN TestSplitURLPath/test-8 === RUN TestSplitURLPath/test-9 === RUN TestSplitURLPath/test-10 === RUN TestSplitURLPath/test-11 === RUN TestSplitURLPath/test-12 === RUN TestSplitURLPath/test-13 === RUN TestSplitURLPath/test-14 === RUN TestSplitURLPath/test-15 === RUN TestSplitURLPath/test-16 === RUN TestSplitURLPath/test-17 === RUN TestSplitURLPath/test-18 === RUN TestSplitURLPath/test-19 === RUN TestSplitURLPath/test-20 === RUN TestSplitURLPath/test-21 === RUN TestSplitURLPath/test-22 === RUN TestSplitURLPath/test-23 === RUN TestSplitURLPath/test-24 === RUN TestSplitURLPath/test-25 === RUN TestSplitURLPath/test-26 --- PASS: TestSplitURLPath (0.00s) --- PASS: TestSplitURLPath/test-0 (0.00s) --- PASS: TestSplitURLPath/test-1 (0.00s) --- PASS: TestSplitURLPath/test-2 (0.00s) --- PASS: TestSplitURLPath/test-3 (0.00s) --- PASS: TestSplitURLPath/test-4 (0.00s) --- PASS: TestSplitURLPath/test-5 (0.00s) --- PASS: TestSplitURLPath/test-6 (0.00s) --- PASS: TestSplitURLPath/test-7 (0.00s) --- PASS: TestSplitURLPath/test-8 (0.00s) --- PASS: TestSplitURLPath/test-9 (0.00s) --- PASS: TestSplitURLPath/test-10 (0.00s) --- PASS: TestSplitURLPath/test-11 (0.00s) --- PASS: TestSplitURLPath/test-12 (0.00s) --- PASS: TestSplitURLPath/test-13 (0.00s) --- PASS: TestSplitURLPath/test-14 (0.00s) --- PASS: TestSplitURLPath/test-15 (0.00s) --- PASS: TestSplitURLPath/test-16 (0.00s) --- PASS: TestSplitURLPath/test-17 (0.00s) --- PASS: TestSplitURLPath/test-18 (0.00s) --- PASS: TestSplitURLPath/test-19 (0.00s) --- PASS: TestSplitURLPath/test-20 (0.00s) --- PASS: TestSplitURLPath/test-21 (0.00s) --- PASS: TestSplitURLPath/test-22 (0.00s) --- PASS: TestSplitURLPath/test-23 (0.00s) --- PASS: TestSplitURLPath/test-24 (0.00s) --- PASS: TestSplitURLPath/test-25 (0.00s) --- PASS: TestSplitURLPath/test-26 (0.00s) === RUN TestAbortedRequest 2023/05/02 21:34:33 POST /?create=true 2023/05/02 21:34:33 createRepo() 2023/05/02 21:34:33 Creating repository directories in /tmp/rest-server-test-2869360833 handlers_test.go:528: start first upload 2023/05/02 21:34:33 POST /data/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c 2023/05/02 21:34:33 saveBlob() handlers_test.go:542: delete file 2023/05/02 21:34:33 DELETE /data/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c 2023/05/02 21:34:33 deleteBlob() handlers_test.go:547: upload again 2023/05/02 21:34:33 POST /data/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c 2023/05/02 21:34:33 saveBlob() 2023/05/02 21:34:33 WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected. 2023/05/02 21:34:33 unexpected EOF handlers_test.go:532: first upload done, response 400 (400 Bad Request) 2023/05/02 21:34:33 GET /data/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c 2023/05/02 21:34:33 getBlob() --- PASS: TestAbortedRequest (0.01s) === RUN TestValidate 2023/05/02 21:34:33 Invalid htpasswd entry for restic. 2023/05/02 21:34:33 Invalid htpasswd entry for restic. 2023/05/02 21:34:33 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. 2023/05/02 21:34:34 Invalid htpasswd entry for restic. --- PASS: TestValidate (0.08s) PASS ok github.com/restic/rest-server 0.240s === RUN TestTLSSettings === RUN TestTLSSettings/#00 === RUN TestTLSSettings/#01 === RUN TestTLSSettings/#02 === RUN TestTLSSettings/#03 === RUN TestTLSSettings/#04 === RUN TestTLSSettings/#05 === RUN TestTLSSettings/#06 --- PASS: TestTLSSettings (0.00s) --- PASS: TestTLSSettings/#00 (0.00s) --- PASS: TestTLSSettings/#01 (0.00s) --- PASS: TestTLSSettings/#02 (0.00s) --- PASS: TestTLSSettings/#03 (0.00s) --- PASS: TestTLSSettings/#04 (0.00s) --- PASS: TestTLSSettings/#05 (0.00s) --- PASS: TestTLSSettings/#06 (0.00s) === RUN TestGetHandler 2023/05/02 21:34:33 Loaded htpasswd file /tmp/rest-server-test4075261089/custom1245742911 2023/05/02 21:34:33 Loaded htpasswd file /tmp/rest-server-test4075261089/.htpasswd --- PASS: TestGetHandler (0.00s) PASS ok github.com/restic/rest-server/cmd/rest-server 0.010s >>> rest-server: Entering fakeroot... >>> rest-server-doc*: Running split function doc... >>> rest-server-doc*: Preparing subpackage rest-server-doc... >>> rest-server-doc*: Running postcheck for rest-server-doc >>> rest-server-openrc*: Running split function openrc... >>> rest-server-openrc*: Preparing subpackage rest-server-openrc... >>> rest-server-openrc*: Running postcheck for rest-server-openrc >>> rest-server*: Running postcheck for rest-server >>> rest-server*: Preparing package rest-server... >>> rest-server*: Stripping binaries >>> rest-server*: Script found. /bin/sh added as a dependency for rest-server-0.12.0-r2.apk >>> rest-server*: Adding .pre-install >>> rest-server-doc*: Scanning shared objects >>> rest-server-openrc*: Scanning shared objects >>> rest-server*: Scanning shared objects >>> rest-server-doc*: Tracing dependencies... >>> rest-server-doc*: Package size: 32.0 KB >>> rest-server-doc*: Compressing data... >>> rest-server-doc*: Create checksum... >>> rest-server-doc*: Create rest-server-doc-0.12.0-r2.apk >>> rest-server-openrc*: Tracing dependencies... >>> rest-server-openrc*: Package size: 24.0 KB >>> rest-server-openrc*: Compressing data... >>> rest-server-openrc*: Create checksum... >>> rest-server-openrc*: Create rest-server-openrc-0.12.0-r2.apk >>> rest-server*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 >>> rest-server*: Package size: 9.7 MB >>> rest-server*: Compressing data... >>> rest-server*: Create checksum... >>> rest-server*: Create rest-server-0.12.0-r2.apk >>> rest-server: Build complete at Tue, 02 May 2023 21:34:35 +0000 elapsed time 0h 0m 27s >>> rest-server: Cleaning up srcdir >>> rest-server: Cleaning up pkgdir >>> rest-server: Uninstalling dependencies... (1/2) Purging .makedepends-rest-server (20230502.213409) (2/2) Purging go (1.20.4-r0) Executing busybox-1.36.0-r8.trigger OK: 373 MiB in 98 packages >>> rest-server: Updating the community/x86 repository index... >>> rest-server: Signing the index...