Diff of the two buildlogs: -- --- b1/build.log 2025-04-18 09:20:51.386406420 +0000 +++ b2/build.log 2025-04-18 09:41:42.599851749 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 17 21:07:49 -12 2025 -I: pbuilder-time-stamp: 1744967269 +I: Current time: Fri Apr 18 23:21:01 +14 2025 +I: pbuilder-time-stamp: 1744968061 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying skip-TestDecrypt.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10735/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 18 09:21 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8d0067ac09dc462f9935e87d396f7fdb' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='10735' - PS1='# ' - PS2='> ' + INVOCATION_ID=13de62b32ae441889f5cfe6e9e4518b1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3507 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gCMXPjO9/pbuilderrc_nUWT --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gCMXPjO9/b1 --logfile b1/build.log golang-github-henrybear327-go-proton-api_1.0.0-4.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gCMXPjO9/pbuilderrc_5BPm --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gCMXPjO9/b2 --logfile b2/build.log golang-github-henrybear327-go-proton-api_1.0.0-4.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10735/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -276,7 +308,7 @@ Get: 120 http://deb.debian.org/debian trixie/main armhf protoc-gen-go-grpc armhf 1.64.0-6+b2 [1531 kB] Get: 121 http://deb.debian.org/debian trixie/main armhf golang-github-gin-contrib-sse-dev all 0.1.0-2 [6872 B] Get: 122 http://deb.debian.org/debian trixie/main armhf golang-github-gin-gonic-gin-dev all 1.8.1-2 [107 kB] -Fetched 133 MB in 2s (53.2 MB/s) +Fetched 133 MB in 9s (15.1 MB/s) Preconfiguring packages ... Selecting previously unselected package golang-golang-x-sys-dev. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19566 files and directories currently installed.) @@ -779,7 +811,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-henrybear327-go-proton-api_1.0.0-4_source.changes +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-henrybear327-go-proton-api_1.0.0-4_source.changes dpkg-buildpackage: info: source package golang-github-henrybear327-go-proton-api dpkg-buildpackage: info: source version 1.0.0-4 dpkg-buildpackage: info: source distribution unstable @@ -814,17 +850,17 @@ dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang make[1]: Leaving directory '/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0' dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/henrybear327/go-proton-api github.com/henrybear327/go-proton-api/server github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/henrybear327/go-proton-api github.com/henrybear327/go-proton-api/server github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto internal/goarch -internal/cpu +internal/unsafeheader internal/byteorder +internal/coverage/rtcov +internal/cpu internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -833,24 +869,23 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite sync/atomic math/bits +internal/runtime/exithook unicode unicode/utf8 -internal/race -internal/runtime/maps -internal/sync internal/itoa -math crypto/internal/fips140/alias +math crypto/internal/fips140deps/byteorder +internal/race crypto/internal/fips140deps/cpu cmp +internal/runtime/maps +internal/sync crypto/internal/boring/sig container/list -runtime unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -863,8 +898,8 @@ golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal github.com/ProtonMail/gopenpgp/v2/constants -golang.org/x/net/html/atom github.com/bradenaw/juniper/iterator +golang.org/x/net/html/atom github.com/bradenaw/juniper/xmath golang.org/x/exp/constraints github.com/gin-gonic/gin/internal/bytesconv @@ -872,12 +907,13 @@ github.com/go-playground/locales/currency github.com/pelletier/go-toml/v2/internal/characters google.golang.org/protobuf/internal/flags -google.golang.org/grpc/serviceconfig golang.org/x/exp/maps +google.golang.org/grpc/serviceconfig google.golang.org/protobuf/internal/set -iter +runtime internal/reflectlite sync +iter crypto/internal/fips140/subtle slices crypto/subtle @@ -886,46 +922,62 @@ github.com/bradenaw/juniper/xslices errors sort -internal/bisect +internal/oserror io +strconv +internal/bisect internal/godebug bytes strings -internal/oserror syscall hash -strconv -bufio crypto/internal/fips140deps/godebug +crypto +path +internal/testlog +math/rand/v2 +reflect +bufio crypto/internal/fips140 crypto/internal/fips140/sha256 -crypto crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -path +crypto/internal/randutil +math/rand crypto/internal/fips140/hmac -internal/testlog crypto/internal/fips140/check -math/rand/v2 -time crypto/internal/fips140/aes -internal/syscall/unix -internal/syscall/execenv -crypto/internal/randutil crypto/sha3 -crypto/internal/fips140/nistec/fiat +time +internal/syscall/execenv +internal/syscall/unix crypto/internal/fips140hash +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field -reflect +crypto/internal/impl +crypto/internal/fips140/bigmod +crypto/internal/fips140/edwards25519 context io/fs -internal/filepathlite internal/poll +internal/filepathlite +crypto/internal/fips140/hkdf +crypto/internal/fips140/tls12 +internal/fmtsort +crypto/internal/fips140/tls13 +encoding/binary +crypto/tls/internal/fips140tls +vendor/golang.org/x/net/dns/dnsmessage os +vendor/golang.org/x/crypto/internal/poly1305 +encoding/base64 +internal/singleflight +unique +encoding/pem crypto/internal/fips140/nistec -internal/fmtsort +runtime/cgo +net/netip crypto/internal/sysrand -fmt crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm @@ -936,62 +988,46 @@ crypto/sha256 crypto/aes crypto/des -math/rand -crypto/internal/impl -crypto/internal/fips140/bigmod -math/big +fmt crypto/sha512 +crypto/internal/fips140/ed25519 crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa crypto/ecdh -crypto/internal/fips140/edwards25519 -crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem -crypto/internal/fips140/tls12 -crypto/internal/fips140/ed25519 -crypto/internal/fips140/tls13 -encoding/binary +vendor/golang.org/x/crypto/chacha20 +math/big +vendor/golang.org/x/crypto/chacha20poly1305 crypto/md5 crypto/rc4 crypto/internal/fips140/rsa +crypto/sha1 +encoding/hex +net/url +net +path/filepath +encoding/json +compress/flate crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand -vendor/golang.org/x/crypto/chacha20 crypto/ed25519 -vendor/golang.org/x/crypto/internal/poly1305 -crypto/rsa -vendor/golang.org/x/crypto/chacha20poly1305 crypto/internal/hpke -crypto/sha1 +crypto/rsa vendor/golang.org/x/crypto/cryptobyte -crypto/tls/internal/fips140tls crypto/dsa -encoding/hex -encoding/base64 -crypto/x509/pkix -encoding/pem -vendor/golang.org/x/net/dns/dnsmessage crypto/ecdsa -internal/singleflight -unique -net/netip -runtime/cgo -net/url -path/filepath -encoding/json -compress/flate +crypto/x509/pkix hash/crc32 -compress/gzip text/tabwriter -runtime/pprof +compress/gzip golang.org/x/sys/unix -net -github.com/ProtonMail/gluon/logging -github.com/ProtonMail/gluon/async +runtime/pprof log mime +github.com/ProtonMail/gluon/logging +github.com/ProtonMail/gluon/async mime/quotedprintable github.com/ProtonMail/go-crypto/openpgp/errors github.com/ProtonMail/go-crypto/openpgp/armor @@ -999,107 +1035,107 @@ github.com/ProtonMail/go-crypto/eax github.com/ProtonMail/go-crypto/ocb golang.org/x/crypto/cast5 -github.com/ProtonMail/go-crypto/openpgp/internal/algorithm github.com/ProtonMail/go-crypto/bitcurves -github.com/sirupsen/logrus +github.com/ProtonMail/go-crypto/openpgp/internal/algorithm github.com/ProtonMail/go-crypto/brainpool github.com/ProtonMail/go-crypto/openpgp/internal/encoding golang.org/x/crypto/cryptobyte -github.com/cloudflare/circl/internal/conv github.com/cloudflare/circl/math +github.com/cloudflare/circl/sign +github.com/cloudflare/circl/internal/sha3 +compress/bzip2 +github.com/cloudflare/circl/internal/conv +github.com/sirupsen/logrus github.com/cloudflare/circl/math/fp25519 github.com/cloudflare/circl/math/fp448 github.com/cloudflare/circl/dh/x25519 github.com/cloudflare/circl/dh/x448 -github.com/cloudflare/circl/sign github.com/cloudflare/circl/sign/ed25519 github.com/cloudflare/circl/math/mlsbset -github.com/cloudflare/circl/ecc/goldilocks -github.com/cloudflare/circl/internal/sha3 -github.com/ProtonMail/go-crypto/openpgp/ed25519 -compress/bzip2 -github.com/cloudflare/circl/sign/ed448 hash/adler32 -github.com/ProtonMail/go-crypto/openpgp/internal/ecc -github.com/ProtonMail/go-crypto/openpgp/ed448 +github.com/cloudflare/circl/ecc/goldilocks compress/zlib github.com/ProtonMail/go-crypto/openpgp/elgamal +github.com/ProtonMail/go-crypto/openpgp/ed25519 golang.org/x/crypto/blake2b -github.com/ProtonMail/go-crypto/openpgp/ecdh -github.com/ProtonMail/go-crypto/openpgp/ecdsa -github.com/ProtonMail/go-crypto/openpgp/eddsa -golang.org/x/crypto/argon2 golang.org/x/crypto/hkdf github.com/ProtonMail/go-crypto/openpgp/x25519 +crypto/x509 +net/textproto +github.com/cloudflare/circl/sign/ed448 +golang.org/x/crypto/argon2 +github.com/ProtonMail/go-crypto/openpgp/internal/ecc +github.com/ProtonMail/go-crypto/openpgp/ed448 +github.com/ProtonMail/gluon/rfc822 github.com/ProtonMail/go-crypto/openpgp/s2k github.com/ProtonMail/go-crypto/openpgp/x448 image +github.com/ProtonMail/go-crypto/openpgp/ecdh +github.com/ProtonMail/go-crypto/openpgp/ecdsa +github.com/ProtonMail/go-crypto/openpgp/eddsa +github.com/ProtonMail/bcrypt golang.org/x/sys/cpu +github.com/cronokirby/saferith golang.org/x/crypto/sha3 -crypto/x509 -net/textproto image/internal/imageutil image/jpeg -github.com/ProtonMail/gluon/rfc822 -github.com/ProtonMail/go-crypto/openpgp/packet -github.com/ProtonMail/bcrypt -github.com/cronokirby/saferith github.com/pkg/errors golang.org/x/crypto/curve25519 golang.org/x/text/transform -crypto/tls +golang.org/x/text/internal/tag +golang.org/x/text/internal/language +github.com/ProtonMail/go-crypto/openpgp/packet golang.org/x/text/encoding golang.org/x/text/encoding/internal golang.org/x/text/encoding/charmap -github.com/ProtonMail/go-crypto/openpgp -github.com/ProtonMail/go-crypto/openpgp/clearsign -github.com/ProtonMail/go-srp +crypto/tls golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean +github.com/ProtonMail/go-crypto/openpgp golang.org/x/text/encoding/simplifiedchinese +github.com/ProtonMail/go-crypto/openpgp/clearsign +github.com/ProtonMail/go-srp golang.org/x/text/encoding/traditionalchinese golang.org/x/text/runes -golang.org/x/text/internal/tag golang.org/x/text/encoding/unicode -golang.org/x/text/internal/language +golang.org/x/text/internal/language/compact +golang.org/x/text/language io/ioutil mime/multipart vendor/golang.org/x/text/transform +golang.org/x/text/encoding/htmlindex vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm -golang.org/x/text/internal/language/compact -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack -golang.org/x/text/language net/http/httptrace +vendor/golang.org/x/text/unicode/norm net/http/internal net/http/internal/ascii -golang.org/x/text/encoding/htmlindex net/mail -vendor/golang.org/x/net/idna regexp/syntax +vendor/golang.org/x/text/secure/bidirule github.com/ProtonMail/gopenpgp/v2/internal -github.com/ProtonMail/gopenpgp/v2/armor runtime/debug +github.com/ProtonMail/gopenpgp/v2/armor golang.org/x/net/html -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy -regexp -net/http github.com/bradenaw/juniper/internal/heap github.com/bradenaw/juniper/xsort github.com/bradenaw/juniper/container/xheap github.com/bradenaw/juniper/stream +regexp golang.org/x/sync/errgroup github.com/bradenaw/juniper/parallel -github.com/andybalholm/cascadia +vendor/golang.org/x/net/idna github.com/emersion/go-message/textproto github.com/emersion/go-textwrapper -github.com/emersion/go-message github.com/emersion/go-vcard -encoding/xml +github.com/emersion/go-message +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy +github.com/andybalholm/cascadia embed +encoding/xml database/sql/driver +net/http github.com/google/uuid golang.org/x/text/encoding/ianaindex github.com/Masterminds/semver @@ -1109,55 +1145,54 @@ github.com/go-playground/universal-translator github.com/leodido/go-urn github.com/pelletier/go-toml/v2/internal/danger +internal/saferio github.com/pelletier/go-toml/v2/unstable +encoding/gob github.com/go-playground/validator/v10 github.com/pelletier/go-toml/v2/internal/tracker github.com/pelletier/go-toml/v2 -internal/saferio -encoding/gob go/token html text/template/parse -github.com/ProtonMail/go-mime -github.com/PuerkitoBio/goquery -github.com/ProtonMail/gopenpgp/v2/crypto -net/http/cookiejar -golang.org/x/net/publicsuffix -github.com/go-resty/resty -github.com/gin-contrib/sse -text/template hash/fnv +google.golang.org/protobuf/internal/pragma +gopkg.in/yaml.v2 google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect -github.com/henrybear327/go-proton-api -html/template +text/template google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/reflect/protoregistry -net/rpc google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/proto -gopkg.in/yaml.v2 -github.com/ugorji/go/codec github.com/mattn/go-isatty +html/template golang.org/x/text/unicode/bidi +google.golang.org/protobuf/proto golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack +net/http/internal/testcert +golang.org/x/net/internal/timeseries +github.com/ProtonMail/go-mime +github.com/PuerkitoBio/goquery +net/http/cookiejar +github.com/ProtonMail/gopenpgp/v2/crypto +golang.org/x/net/publicsuffix +github.com/go-resty/resty +github.com/gin-contrib/sse +net/rpc +golang.org/x/net/idna net/http/httputil +github.com/ugorji/go/codec github.com/ProtonMail/gopenpgp/v2/helper -golang.org/x/net/idna -github.com/henrybear327/go-proton-api/server/backend golang.org/x/net/http/httpguts golang.org/x/net/http2 -net/http/internal/testcert +github.com/henrybear327/go-proton-api net/http/httptest -golang.org/x/net/internal/timeseries golang.org/x/net/trace google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpclog @@ -1169,68 +1204,69 @@ google.golang.org/grpc/internal google.golang.org/grpc/internal/channelz golang.org/x/net/http2/h2c -google.golang.org/grpc/metadata google.golang.org/grpc/channelz +google.golang.org/grpc/metadata google.golang.org/grpc/resolver google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/credentials/insecure -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer -google.golang.org/grpc/encoding +google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer/base +google.golang.org/grpc/encoding google.golang.org/protobuf/internal/descfmt google.golang.org/grpc/balancer/roundrobin google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/encoding/text -github.com/gin-gonic/gin/binding -github.com/gin-gonic/gin/render google.golang.org/protobuf/internal/protolazy -google.golang.org/protobuf/internal/encoding/defval -github.com/gin-gonic/gin -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/version google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/balancer/gracefulswitch +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc +github.com/henrybear327/go-proton-api/server/backend google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync google.golang.org/grpc/internal/idle google.golang.org/grpc/internal/metadata google.golang.org/protobuf/internal/encoding/json -github.com/henrybear327/go-proton-api/server google.golang.org/grpc/internal/serviceconfig -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/encoding/protojson -google.golang.org/protobuf/internal/impl google.golang.org/grpc/internal/resolver google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/encoding/protojson google.golang.org/grpc/peer google.golang.org/grpc/stats +google.golang.org/protobuf/internal/impl google.golang.org/grpc/tap google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/resolver/dns +github.com/gin-gonic/gin/render +github.com/gin-gonic/gin/binding +github.com/gin-gonic/gin +github.com/henrybear327/go-proton-api/server google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/known/anypb google.golang.org/grpc/encoding/proto -github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -google.golang.org/protobuf/types/known/anypb google.golang.org/grpc/internal/pretty -google.golang.org/grpc/binarylog/grpc_binarylog_v1 +github.com/golang/protobuf/ptypes/duration google.golang.org/genproto/googleapis/rpc/status +google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog @@ -1238,25 +1274,25 @@ google.golang.org/grpc github.com/henrybear327/go-proton-api/server/proto dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/henrybear327/go-proton-api github.com/henrybear327/go-proton-api/server github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto + cd _build && go test -vet=off -v -p 4 github.com/henrybear327/go-proton-api github.com/henrybear327/go-proton-api/server github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto === RUN TestFuture --- PASS: TestFuture (0.00s) === RUN TestGroup --- PASS: TestGroup (0.01s) === RUN TestKeyring_Unlock -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-04-18T09:12:26Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" ---- PASS: TestKeyring_Unlock (20.50s) +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-04-18T09:32:08Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +--- PASS: TestKeyring_Unlock (45.71s) === RUN TestEncryptMessage_Simple --- PASS: TestEncryptMessage_Simple (0.01s) === RUN TestEncryptMessage_MultipleTextParts --- PASS: TestEncryptMessage_MultipleTextParts (0.01s) === RUN TestEncryptMessage_Attachment ---- PASS: TestEncryptMessage_Attachment (0.01s) +--- PASS: TestEncryptMessage_Attachment (0.02s) === RUN Test_chunkSized === RUN Test_chunkSized/limit_by_length === RUN Test_chunkSized/limit_by_size @@ -1273,16 +1309,16 @@ === RUN TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_rich_text_(error) === RUN TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_missing_public_key_(error) === RUN TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_no_signature_(error) ---- PASS: TestSendDraftReq_AddMIMEPackage (9.28s) - --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_detached_signature (0.05s) - --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_no_signature_(error) (0.05s) +--- PASS: TestSendDraftReq_AddMIMEPackage (12.44s) + --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_detached_signature (0.10s) + --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_no_signature_(error) (0.10s) --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_plain_text_(error) (0.00s) --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_rich_text_(error) (0.00s) - --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_detached_signature (0.05s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_detached_signature (0.12s) --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_plain_text_(error) (0.00s) --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_rich_text_(error) (0.00s) - --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_missing_public_key_(error) (0.05s) - --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_no_signature_(error) (0.05s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_missing_public_key_(error) (0.11s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_no_signature_(error) (0.11s) === RUN TestSendDraftReq_AddPackage === RUN TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature === RUN TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature @@ -1301,24 +1337,24 @@ === RUN TestSendDraftReq_AddPackage/encrypted_html_text_with_signature_(error) === RUN TestSendDraftReq_AddPackage/encrypted_mixed_text_with_signature_(error) === RUN TestSendDraftReq_AddPackage/encrypted_for_outside_(error) ---- PASS: TestSendDraftReq_AddPackage (4.30s) - --- PASS: TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature (0.05s) - --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature (0.05s) +--- PASS: TestSendDraftReq_AddPackage (7.64s) + --- PASS: TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature (0.14s) + --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature (0.16s) --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_bad_package_content_type_(error) (0.00s) - --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_bad_recipient_content_type_(error) (0.05s) + --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_bad_recipient_content_type_(error) (0.15s) --- PASS: TestSendDraftReq_AddPackage/internal_with_multipart_(error) (0.00s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_encryption_(error) (0.05s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_pubkey_(error) (0.05s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_signature_(error) (0.05s) - --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_without_signature (0.05s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_without_signature (0.05s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_signature (0.05s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_bad_scheme_(error) (0.05s) - --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_with_signature_(error) (0.05s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_plain_text_with_signature (0.05s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_html_text_with_signature_(error) (0.05s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_encryption_(error) (0.16s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_pubkey_(error) (0.11s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_signature_(error) (0.09s) + --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_without_signature (0.10s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_without_signature (0.10s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_signature (0.10s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_bad_scheme_(error) (0.10s) + --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_with_signature_(error) (0.10s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_plain_text_with_signature (0.10s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_html_text_with_signature_(error) (0.12s) --- PASS: TestSendDraftReq_AddPackage/encrypted_mixed_text_with_signature_(error) (0.00s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_for_outside_(error) (0.05s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_for_outside_(error) (0.11s) === RUN TestDecrypt message_types_test.go:12: Skipping, expired GPG key --- SKIP: TestDecrypt (0.00s) @@ -1331,357 +1367,360 @@ === RUN TestPool_Process_Error --- PASS: TestPool_Process_Error (0.00s) === RUN TestPool_Process_Parallel ---- PASS: TestPool_Process_Parallel (0.81s) +--- PASS: TestPool_Process_Parallel (0.82s) === RUN TestPool_ProcessAll --- PASS: TestPool_ProcessAll (0.00s) === RUN TestAddress_Types ---- PASS: TestAddress_Types (47.36s) +--- PASS: TestAddress_Types (77.82s) === RUN TestAttachment_429Response -time="2025-04-18T09:13:42Z" level=warning msg="Too many requests, retrying after delay" after=13 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:45305/mail/v4/attachments/someID" -time="2025-04-18T09:13:55Z" level=warning msg="Too many requests, retrying after delay" after=14 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:45305/mail/v4/attachments/someID" -time="2025-04-18T09:14:09Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:45305/mail/v4/attachments/someID" ---- PASS: TestAttachment_429Response (53.46s) +time="2025-04-18T09:34:08Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:38017/mail/v4/attachments/someID" +time="2025-04-18T09:34:20Z" level=warning msg="Too many requests, retrying after delay" after=18 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:38017/mail/v4/attachments/someID" +time="2025-04-18T09:34:39Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:38017/mail/v4/attachments/someID" +--- PASS: TestAttachment_429Response (63.74s) === RUN TestAttachment_ContextCancelled -2025/04/18 09:14:41.636011 WARN RESTY Get "https://127.0.0.1:40665/mail/v4/attachments/someID": context canceled, Attempt 1 -2025/04/18 09:14:41.636094 ERROR RESTY Get "https://127.0.0.1:40665/mail/v4/attachments/someID": context canceled ---- PASS: TestAttachment_ContextCancelled (19.93s) +2025/04/18 09:35:21.990070 WARN RESTY Get "https://127.0.0.1:32971/mail/v4/attachments/someID": context canceled, Attempt 1 +2025/04/18 09:35:21.990171 ERROR RESTY Get "https://127.0.0.1:32971/mail/v4/attachments/someID": context canceled +--- PASS: TestAttachment_ContextCancelled (30.79s) === RUN TestAuth -2025/04/18 09:15:01.779249 WARN RESTY 401 DELETE https://127.0.0.1:37857/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:01.779332 ERROR RESTY 401 DELETE https://127.0.0.1:37857/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:01.780288 WARN RESTY 422 POST https://127.0.0.1:37857/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:15:01.780332 ERROR RESTY 422 POST https://127.0.0.1:37857/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestAuth (20.15s) +2025/04/18 09:36:15.172432 WARN RESTY 401 DELETE https://127.0.0.1:34533/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:36:15.172506 ERROR RESTY 401 DELETE https://127.0.0.1:34533/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:36:15.173499 WARN RESTY 422 POST https://127.0.0.1:34533/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:36:15.173557 ERROR RESTY 422 POST https://127.0.0.1:34533/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestAuth (53.18s) === RUN TestAuth_Refresh -2025/04/18 09:15:17.343579 WARN RESTY 401 GET https://127.0.0.1:44207/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:17.343659 ERROR RESTY 401 GET https://127.0.0.1:44207/core/v4/users: 401 Unauthorized (Code=0, Status=401) ---- PASS: TestAuth_Refresh (15.57s) +2025/04/18 09:36:51.183890 WARN RESTY 401 GET https://127.0.0.1:46489/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:36:51.183989 ERROR RESTY 401 GET https://127.0.0.1:46489/core/v4/users: 401 Unauthorized (Code=0, Status=401) +--- PASS: TestAuth_Refresh (36.03s) === RUN TestAuth_Refresh_Multi -2025/04/18 09:15:34.755558 WARN RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:34.755621 ERROR RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:34.755734 WARN RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:34.755751 ERROR RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:34.756546 WARN RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:34.756572 ERROR RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:34.756732 WARN RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:34.756762 ERROR RESTY 401 GET https://127.0.0.1:35901/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:35 http: TLS handshake error from 127.0.0.1:51126: write tcp 127.0.0.1:35901->127.0.0.1:51126: use of closed network connection -2025/04/18 09:15:35 http: TLS handshake error from 127.0.0.1:51122: write tcp 127.0.0.1:35901->127.0.0.1:51122: use of closed network connection ---- PASS: TestAuth_Refresh_Multi (18.02s) +2025/04/18 09:37:33.575175 WARN RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:37:33.575229 ERROR RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:37:33.575815 WARN RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:37:33.575861 ERROR RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:37:33.576400 WARN RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:37:33.576428 ERROR RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:37:33.576858 WARN RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:37:33.576886 ERROR RESTY 401 GET https://127.0.0.1:46823/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:37:35 http: TLS handshake error from 127.0.0.1:57534: write tcp 127.0.0.1:46823->127.0.0.1:57534: use of closed network connection +--- PASS: TestAuth_Refresh_Multi (44.02s) === RUN TestAuth_Refresh_Deauth -2025/04/18 09:15:48.983745 WARN RESTY 401 GET https://127.0.0.1:33123/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:15:48.983821 ERROR RESTY 401 GET https://127.0.0.1:33123/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:15:48.984703 WARN RESTY 422 POST https://127.0.0.1:33123/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:15:48.984750 ERROR RESTY 422 POST https://127.0.0.1:33123/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestAuth_Refresh_Deauth (13.92s) +2025/04/18 09:38:23.291929 WARN RESTY 401 GET https://127.0.0.1:37801/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:23.291987 ERROR RESTY 401 GET https://127.0.0.1:37801/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:23.292915 WARN RESTY 422 POST https://127.0.0.1:37801/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:23.292962 ERROR RESTY 422 POST https://127.0.0.1:37801/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestAuth_Refresh_Deauth (48.36s) === RUN TestEventStreamer -2025/04/18 09:16:09.810525 WARN RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:16:09.810596 ERROR RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:16:09.811478 WARN RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:16:09.811516 ERROR RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) -2025/04/18 09:16:10.811372 WARN RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:16:10.811424 ERROR RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:16:10.812348 WARN RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:16:10.812418 ERROR RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) -2025/04/18 09:16:11.849932 WARN RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:16:11.849986 ERROR RESTY 401 GET https://127.0.0.1:38673/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:16:11.850820 WARN RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:16:11.850861 ERROR RESTY 422 POST https://127.0.0.1:38673/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestEventStreamer (23.35s) +2025/04/18 09:38:53.735299 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:53.735367 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:53.736462 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:53.736498 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:54.739144 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:54.739206 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:54.740174 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:54.740208 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:55.743194 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:55.743257 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:55.744144 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:55.744174 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:56.748310 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:56.748367 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:56.749418 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:56.749453 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:57.755302 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:57.755367 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:57.756562 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:57.756605 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:58.763279 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:58.763342 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:58.764381 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:58.764414 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:38:59.845417 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:59.845629 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:59.847063 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:59.847134 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +2025/04/18 09:39:00.778429 WARN RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:39:00.778482 ERROR RESTY 401 GET https://127.0.0.1:36443/core/v4/events/Cw==: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:39:00.779462 WARN RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:39:00.779520 ERROR RESTY 422 POST https://127.0.0.1:36443/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestEventStreamer (37.33s) === RUN TestMaxEventMerge ---- PASS: TestMaxEventMerge (20.67s) +--- PASS: TestMaxEventMerge (26.40s) === RUN Test_HMAC --- PASS: Test_HMAC (0.00s) === RUN TestReportBug ---- PASS: TestReportBug (0.04s) +--- PASS: TestReportBug (0.06s) === RUN TestStatus -2025/04/18 09:16:33.384469 WARN RESTY Get "https://127.0.0.1:36931/tests/ping": dial failed (not allowed), Attempt 1 -2025/04/18 09:16:33.485444 WARN RESTY Get "https://127.0.0.1:36931/tests/ping": dial failed (not allowed), Attempt 2 -2025/04/18 09:16:33.660674 WARN RESTY Get "https://127.0.0.1:36931/tests/ping": dial failed (not allowed), Attempt 3 -2025/04/18 09:16:33.990048 WARN RESTY Get "https://127.0.0.1:36931/tests/ping": dial failed (not allowed), Attempt 4 -2025/04/18 09:16:33.990103 ERROR RESTY Get "https://127.0.0.1:36931/tests/ping": dial failed (not allowed) +2025/04/18 09:39:27.443395 WARN RESTY Get "https://127.0.0.1:34043/tests/ping": dial failed (not allowed), Attempt 1 +2025/04/18 09:39:27.544320 WARN RESTY Get "https://127.0.0.1:34043/tests/ping": dial failed (not allowed), Attempt 2 +2025/04/18 09:39:27.683256 WARN RESTY Get "https://127.0.0.1:34043/tests/ping": dial failed (not allowed), Attempt 3 +2025/04/18 09:39:28.002709 WARN RESTY Get "https://127.0.0.1:34043/tests/ping": dial failed (not allowed), Attempt 4 +2025/04/18 09:39:28.002760 ERROR RESTY Get "https://127.0.0.1:34043/tests/ping": dial failed (not allowed) --- PASS: TestStatus (0.68s) === RUN TestStatus_NoDial -2025/04/18 09:16:34.027679 WARN RESTY Get "https://127.0.0.1:34153/tests/ping": dial failed (not allowed), Attempt 1 -2025/04/18 09:16:34.128644 WARN RESTY Get "https://127.0.0.1:34153/tests/ping": dial failed (not allowed), Attempt 2 -2025/04/18 09:16:34.301827 WARN RESTY Get "https://127.0.0.1:34153/tests/ping": dial failed (not allowed), Attempt 3 -2025/04/18 09:16:34.693601 WARN RESTY Get "https://127.0.0.1:34153/tests/ping": dial failed (not allowed), Attempt 4 -2025/04/18 09:16:34.693654 ERROR RESTY Get "https://127.0.0.1:34153/tests/ping": dial failed (not allowed) ---- PASS: TestStatus_NoDial (0.67s) +2025/04/18 09:39:28.060915 WARN RESTY Get "https://127.0.0.1:39343/tests/ping": dial failed (not allowed), Attempt 1 +2025/04/18 09:39:28.162374 WARN RESTY Get "https://127.0.0.1:39343/tests/ping": dial failed (not allowed), Attempt 2 +2025/04/18 09:39:28.313074 WARN RESTY Get "https://127.0.0.1:39343/tests/ping": dial failed (not allowed), Attempt 3 +2025/04/18 09:39:28.604758 WARN RESTY Get "https://127.0.0.1:39343/tests/ping": dial failed (not allowed), Attempt 4 +2025/04/18 09:39:28.604795 ERROR RESTY Get "https://127.0.0.1:39343/tests/ping": dial failed (not allowed) +--- PASS: TestStatus_NoDial (0.55s) === RUN TestStatus_NoRead -2025/04/18 09:16:34.730824 WARN RESTY Get "https://127.0.0.1:39765/tests/ping": read failed (not allowed), Attempt 1 -2025/04/18 09:16:34.866224 WARN RESTY Get "https://127.0.0.1:39765/tests/ping": readLoopPeekFailLocked: read failed (not allowed), Attempt 2 -2025/04/18 09:16:35.094212 WARN RESTY Get "https://127.0.0.1:39765/tests/ping": read failed (not allowed), Attempt 3 -2025/04/18 09:16:35.436594 WARN RESTY Get "https://127.0.0.1:39765/tests/ping": read failed (not allowed), Attempt 4 -2025/04/18 09:16:35.436640 ERROR RESTY Get "https://127.0.0.1:39765/tests/ping": read failed (not allowed) ---- PASS: TestStatus_NoRead (0.74s) +2025/04/18 09:39:28.661440 WARN RESTY Get "https://127.0.0.1:41191/tests/ping": read failed (not allowed), Attempt 1 +2025/04/18 09:39:28.815886 WARN RESTY Get "https://127.0.0.1:41191/tests/ping": read failed (not allowed), Attempt 2 +2025/04/18 09:39:29.002054 WARN RESTY Get "https://127.0.0.1:41191/tests/ping": read failed (not allowed), Attempt 3 +2025/04/18 09:39:29.352461 WARN RESTY Get "https://127.0.0.1:41191/tests/ping": read failed (not allowed), Attempt 4 +2025/04/18 09:39:29.352519 ERROR RESTY Get "https://127.0.0.1:41191/tests/ping": read failed (not allowed) +--- PASS: TestStatus_NoRead (0.75s) === RUN TestStatus_NoWrite -2025/04/18 09:16:35.473744 WARN RESTY Get "https://127.0.0.1:44811/tests/ping": write failed (not allowed), Attempt 1 -2025/04/18 09:16:35.609050 WARN RESTY Get "https://127.0.0.1:44811/tests/ping": write failed (not allowed), Attempt 2 -2025/04/18 09:16:35.796224 WARN RESTY Get "https://127.0.0.1:44811/tests/ping": write failed (not allowed), Attempt 3 -2025/04/18 09:16:36.188760 WARN RESTY Get "https://127.0.0.1:44811/tests/ping": write failed (not allowed), Attempt 4 -2025/04/18 09:16:36.188822 ERROR RESTY Get "https://127.0.0.1:44811/tests/ping": write failed (not allowed) ---- PASS: TestStatus_NoWrite (0.75s) +2025/04/18 09:39:29.409035 WARN RESTY Get "https://127.0.0.1:35419/tests/ping": write failed (not allowed), Attempt 1 +2025/04/18 09:39:29.564299 WARN RESTY Get "https://127.0.0.1:35419/tests/ping": write failed (not allowed), Attempt 2 +2025/04/18 09:39:29.819063 WARN RESTY Get "https://127.0.0.1:35419/tests/ping": write failed (not allowed), Attempt 3 +2025/04/18 09:39:30.212515 WARN RESTY Get "https://127.0.0.1:35419/tests/ping": write failed (not allowed), Attempt 4 +2025/04/18 09:39:30.212568 ERROR RESTY Get "https://127.0.0.1:35419/tests/ping": write failed (not allowed) +--- PASS: TestStatus_NoWrite (0.86s) === RUN TestStatus_NoReadExistingConn -2025/04/18 09:16:48.376629 WARN RESTY Get "https://127.0.0.1:41375/core/v4/users": read failed (not allowed), Attempt 1 -2025/04/18 09:16:48.513356 WARN RESTY Get "https://127.0.0.1:41375/core/v4/users": read failed (not allowed), Attempt 2 -2025/04/18 09:16:48.657693 WARN RESTY Get "https://127.0.0.1:41375/core/v4/users": read failed (not allowed), Attempt 3 -2025/04/18 09:16:48.989847 WARN RESTY Get "https://127.0.0.1:41375/core/v4/users": read failed (not allowed), Attempt 4 -2025/04/18 09:16:48.989912 ERROR RESTY Get "https://127.0.0.1:41375/core/v4/users": read failed (not allowed) ---- PASS: TestStatus_NoReadExistingConn (12.80s) +2025/04/18 09:40:01.214535 WARN RESTY Post "https://127.0.0.1:45529/auth/v4": net/http: timeout awaiting response headers, Attempt 1 +2025/04/18 09:40:02.084153 WARN RESTY 401 POST https://127.0.0.1:45529/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 2 +2025/04/18 09:40:02.084204 ERROR RESTY 401 POST https://127.0.0.1:45529/auth/v4: 401 Unauthorized (Code=0, Status=401) + manager_status_test.go:187: + Error Trace: /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/manager_status_test.go:187 + Error: Received unexpected error: + 401 POST https://127.0.0.1:45529/auth/v4: 401 Unauthorized (Code=0, Status=401) + Test: TestStatus_NoReadExistingConn +--- FAIL: TestStatus_NoReadExistingConn (31.87s) === RUN TestStatus_NoWriteExistingConn ---- PASS: TestStatus_NoWriteExistingConn (18.75s) + manager_status_test.go:224: + Error Trace: /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/manager_status_test.go:224 + Error: Received unexpected error: + Post "https://127.0.0.1:35991/auth/v4/info": net/http: timeout awaiting response headers + Test: TestStatus_NoWriteExistingConn +--- FAIL: TestStatus_NoWriteExistingConn (19.29s) === RUN TestStatus_ContextCancel -2025/04/18 09:17:07.740120 WARN RESTY Get "https://127.0.0.1:35757/tests/ping": context canceled, Attempt 1 -2025/04/18 09:17:07.740184 ERROR RESTY Get "https://127.0.0.1:35757/tests/ping": context canceled +2025/04/18 09:40:21.382100 WARN RESTY Get "https://127.0.0.1:37101/tests/ping": context canceled, Attempt 1 +2025/04/18 09:40:21.382173 ERROR RESTY Get "https://127.0.0.1:37101/tests/ping": context canceled --- PASS: TestStatus_ContextCancel (0.00s) === RUN TestStatus_ContextTimeout -2025/04/18 09:17:07.742231 WARN RESTY Get "https://127.0.0.1:41833/tests/ping": context deadline exceeded, Attempt 1 -2025/04/18 09:17:07.742269 ERROR RESTY Get "https://127.0.0.1:41833/tests/ping": context deadline exceeded +2025/04/18 09:40:21.386182 WARN RESTY Get "https://127.0.0.1:33413/tests/ping": context deadline exceeded, Attempt 1 +2025/04/18 09:40:21.386293 ERROR RESTY Get "https://127.0.0.1:33413/tests/ping": context deadline exceeded --- PASS: TestStatus_ContextTimeout (0.00s) === RUN TestStatus_ServerDrop -2025/04/18 09:17:28 http: TLS handshake error from 127.0.0.1:39548: write: connection closed -2025/04/18 09:17:28.099135 WARN RESTY Get "https://127.0.0.1:36375/core/v4/users": read tcp 127.0.0.1:39548->127.0.0.1:36375: read: connection reset by peer, Attempt 1 -2025/04/18 09:17:28 http: TLS handshake error from 127.0.0.1:39554: write: connection closed -2025/04/18 09:17:28.233185 WARN RESTY Get "https://127.0.0.1:36375/core/v4/users": read tcp 127.0.0.1:39554->127.0.0.1:36375: read: connection reset by peer, Attempt 2 -2025/04/18 09:17:28 http: TLS handshake error from 127.0.0.1:39556: write: connection closed -2025/04/18 09:17:28.441459 WARN RESTY Get "https://127.0.0.1:36375/core/v4/users": read tcp 127.0.0.1:39556->127.0.0.1:36375: read: connection reset by peer, Attempt 3 -2025/04/18 09:17:28 http: TLS handshake error from 127.0.0.1:39558: write: connection closed -2025/04/18 09:17:28.771410 WARN RESTY Get "https://127.0.0.1:36375/core/v4/users": read tcp 127.0.0.1:39558->127.0.0.1:36375: read: connection reset by peer, Attempt 4 -2025/04/18 09:17:28.771469 ERROR RESTY Get "https://127.0.0.1:36375/core/v4/users": read tcp 127.0.0.1:39558->127.0.0.1:36375: read: connection reset by peer ---- PASS: TestStatus_ServerDrop (21.07s) +2025/04/18 09:40:53 http: TLS handshake error from 127.0.0.1:42666: write: connection closed +2025/04/18 09:40:53.930314 WARN RESTY Get "https://127.0.0.1:33343/core/v4/users": read tcp 127.0.0.1:42666->127.0.0.1:33343: read: connection reset by peer, Attempt 1 +2025/04/18 09:40:54 http: TLS handshake error from 127.0.0.1:42674: write: connection closed +2025/04/18 09:40:54.094173 WARN RESTY Get "https://127.0.0.1:33343/core/v4/users": read tcp 127.0.0.1:42674->127.0.0.1:33343: read: connection reset by peer, Attempt 2 +2025/04/18 09:40:54 http: TLS handshake error from 127.0.0.1:42682: write: connection closed +2025/04/18 09:40:54.353049 WARN RESTY Get "https://127.0.0.1:33343/core/v4/users": read tcp 127.0.0.1:42682->127.0.0.1:33343: read: connection reset by peer, Attempt 3 +2025/04/18 09:40:54 http: TLS handshake error from 127.0.0.1:42694: write: connection closed +2025/04/18 09:40:54.693527 WARN RESTY Get "https://127.0.0.1:33343/core/v4/users": read tcp 127.0.0.1:42694->127.0.0.1:33343: read: connection reset by peer, Attempt 4 +2025/04/18 09:40:54.693602 ERROR RESTY Get "https://127.0.0.1:33343/core/v4/users": read tcp 127.0.0.1:42694->127.0.0.1:33343: read: connection reset by peer +--- PASS: TestStatus_ServerDrop (33.38s) === RUN TestStatus_ServerHang -2025/04/18 09:17:49.921140 WARN RESTY Get "http://127.0.0.1:46491/core/v4/users": net/http: timeout awaiting response headers, Attempt 1 -2025/04/18 09:17:51.026855 WARN RESTY Get "http://127.0.0.1:46491/core/v4/users": net/http: timeout awaiting response headers, Attempt 2 -2025/04/18 09:17:52.217718 WARN RESTY Get "http://127.0.0.1:46491/core/v4/users": net/http: timeout awaiting response headers, Attempt 3 -2025/04/18 09:17:53.514725 WARN RESTY Get "http://127.0.0.1:46491/core/v4/users": net/http: timeout awaiting response headers, Attempt 4 -2025/04/18 09:17:53.514797 ERROR RESTY Get "http://127.0.0.1:46491/core/v4/users": net/http: timeout awaiting response headers ---- PASS: TestStatus_ServerHang (24.71s) -=== RUN TestConnectionReuse ---- PASS: TestConnectionReuse (0.04s) -=== RUN TestAuthRefresh ---- PASS: TestAuthRefresh (12.66s) -=== RUN TestHandleTooManyRequests -2025/04/18 09:18:06.256843 WARN RESTY 429 GET https://127.0.0.1:39143/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-04-18T09:18:06Z" level=warning msg="Too many requests, retrying after delay" after=5 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:39143/tests/ping" -2025/04/18 09:18:11.258925 WARN RESTY 429 GET https://127.0.0.1:39143/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-04-18T09:18:11Z" level=warning msg="Too many requests, retrying after delay" after=6 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:39143/tests/ping" -2025/04/18 09:18:17.289768 WARN RESTY 429 GET https://127.0.0.1:39143/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-04-18T09:18:17Z" level=warning msg="Too many requests, retrying after delay" after=5 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:39143/tests/ping" -2025/04/18 09:18:22.315511 WARN RESTY 429 GET https://127.0.0.1:39143/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-04-18T09:18:22Z" level=warning msg="Too many requests, retrying after delay" after=8 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:39143/tests/ping" ---- PASS: TestHandleTooManyRequests (24.11s) -=== RUN TestHandleTooManyRequests503 -2025/04/18 09:18:30.365435 WARN RESTY 503 GET https://127.0.0.1:37577/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:18:30Z" level=warning msg="Too many requests, retrying after delay" after=9 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:37577/tests/ping" -2025/04/18 09:18:39.408295 WARN RESTY 503 GET https://127.0.0.1:37577/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:18:39Z" level=warning msg="Too many requests, retrying after delay" after=0 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:37577/tests/ping" -2025/04/18 09:18:39.509824 WARN RESTY 503 GET https://127.0.0.1:37577/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-04-18T09:18:39Z" level=warning msg="Too many requests, retrying after delay" after=1 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:37577/tests/ping" -2025/04/18 09:18:40.511687 WARN RESTY 503 GET https://127.0.0.1:37577/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:18:40Z" level=warning msg="Too many requests, retrying after delay" after=5 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:37577/tests/ping" -2025/04/18 09:18:45.536174 WARN RESTY 503 GET https://127.0.0.1:37577/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:18:45Z" level=warning msg="Too many requests, retrying after delay" after=4 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:37577/tests/ping" ---- PASS: TestHandleTooManyRequests503 (19.23s) -=== RUN TestHandleTooManyRequests_Malformed -2025/04/18 09:18:49.556917 WARN RESTY 429 GET http://127.0.0.1:42923/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-04-18T09:18:49Z" level=warning msg="Too many requests, retrying after delay" after=14 method=GET pkg=go-proton-api status=429 url="http://127.0.0.1:42923/tests/ping" ---- PASS: TestHandleTooManyRequests_Malformed (14.07s) -=== RUN TestHandleUnprocessableEntity -2025/04/18 09:19:03.628434 WARN RESTY 422 GET http://127.0.0.1:36337/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:19:03.628483 ERROR RESTY 422 GET http://127.0.0.1:36337/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestHandleUnprocessableEntity (0.00s) -=== RUN TestHandleDialFailure -2025/04/18 09:19:03.629091 WARN RESTY Get "http://127.0.0.1:39719/core/v4/addresses": simulating network error, Attempt 1 -2025/04/18 09:19:03.729982 WARN RESTY Get "http://127.0.0.1:39719/core/v4/addresses": simulating network error, Attempt 2 -2025/04/18 09:19:03.874354 WARN RESTY Get "http://127.0.0.1:39719/core/v4/addresses": simulating network error, Attempt 3 -2025/04/18 09:19:04.129979 WARN RESTY Get "http://127.0.0.1:39719/core/v4/addresses": simulating network error, Attempt 4 ---- PASS: TestHandleDialFailure (0.96s) -=== RUN TestHandleTooManyDialFailures -2025/04/18 09:19:04.593068 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 1 -2025/04/18 09:19:04.693874 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 2 -2025/04/18 09:19:04.880730 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 3 -2025/04/18 09:19:05.140311 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 4 -2025/04/18 09:19:05.714433 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 5 -2025/04/18 09:19:06.650113 WARN RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error, Attempt 6 -2025/04/18 09:19:06.650174 ERROR RESTY Get "http://127.0.0.1:44121/core/v4/addresses": simulating network error ---- PASS: TestHandleTooManyDialFailures (2.06s) -=== RUN TestRetriesWithContextTimeout -2025/04/18 09:19:07.651059 WARN RESTY Get "http://127.0.0.1:37251/core/v4/addresses": context deadline exceeded, Attempt 1 -2025/04/18 09:19:07.651123 ERROR RESTY Get "http://127.0.0.1:37251/core/v4/addresses": context deadline exceeded ---- PASS: TestRetriesWithContextTimeout (1.00s) -=== RUN TestReturnErrNoConnection -2025/04/18 09:19:07.652823 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 1 -2025/04/18 09:19:07.753689 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 2 -2025/04/18 09:19:07.871604 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 3 -2025/04/18 09:19:08.110566 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 4 -2025/04/18 09:19:08.638220 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 5 -2025/04/18 09:19:09.981204 WARN RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error, Attempt 6 -2025/04/18 09:19:09.981268 ERROR RESTY Get "http://127.0.0.1:43141/core/v4/addresses": simulating network error ---- PASS: TestReturnErrNoConnection (2.33s) -=== RUN TestStatusCallbacks -2025/04/18 09:19:09.983780 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": dial failed (not allowed), Attempt 1 -2025/04/18 09:19:10.084672 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": dial failed (not allowed), Attempt 2 -2025/04/18 09:19:10.191614 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": dial failed (not allowed), Attempt 3 -2025/04/18 09:19:10.429622 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": dial failed (not allowed), Attempt 4 -2025/04/18 09:19:10.429680 ERROR RESTY Get "https://127.0.0.1:46459/tests/ping": dial failed (not allowed) -2025/04/18 09:19:10.500478 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": net/http: HTTP/1.x transport connection broken: malformed HTTP response "H", Attempt 1 -2025/04/18 09:19:10.636077 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": read failed (limit reached), Attempt 2 -2025/04/18 09:19:10.866915 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": readLoopPeekFailLocked: read failed (limit reached), Attempt 3 -2025/04/18 09:19:11.178113 WARN RESTY Get "https://127.0.0.1:46459/tests/ping": readLoopPeekFailLocked: read failed (limit reached), Attempt 4 -2025/04/18 09:19:11.178174 ERROR RESTY Get "https://127.0.0.1:46459/tests/ping": readLoopPeekFailLocked: read failed (limit reached) ---- PASS: TestStatusCallbacks (1.23s) -=== RUN Test503IsReportedAsAPIError -2025/04/18 09:19:11.214852 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:19:11Z" level=warning msg="Too many requests, retrying after delay" after=11 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38155/core/v4/addresses" -2025/04/18 09:19:22.216042 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-04-18T09:19:22Z" level=warning msg="Too many requests, retrying after delay" after=19 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38155/core/v4/addresses" -2025/04/18 09:19:41.216988 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-04-18T09:19:41Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38155/core/v4/addresses" -2025/04/18 09:19:58.218100 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -time="2025-04-18T09:19:58Z" level=warning msg="Too many requests, retrying after delay" after=18 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38155/core/v4/addresses" -2025/04/18 09:20:16.220399 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 5 -time="2025-04-18T09:20:16Z" level=warning msg="Too many requests, retrying after delay" after=14 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38155/core/v4/addresses" -2025/04/18 09:20:30.222061 WARN RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 6 -2025/04/18 09:20:30.222116 ERROR RESTY 503 GET http://127.0.0.1:38155/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503) ---- PASS: Test503IsReportedAsAPIError (79.01s) -=== RUN TestNetCtl_ReadLimit ---- PASS: TestNetCtl_ReadLimit (0.00s) -=== RUN TestNetCtl_WriteLimit ---- PASS: TestNetCtl_WriteLimit (0.00s) -=== RUN TestNetError_DropOnWrite -2025/04/18 09:20:30 http: TLS handshake error from [::1]:40736: write: connection closed -2025/04/18 09:20:30.262427 WARN RESTY Get "https://[::]:42485/tests/ping": read tcp [::1]:40736->[::1]:42485: read: connection reset by peer, Attempt 1 -2025/04/18 09:20:30 http: TLS handshake error from [::1]:40752: write: connection closed -2025/04/18 09:20:30.396721 WARN RESTY Get "https://[::]:42485/tests/ping": read tcp [::1]:40752->[::1]:42485: read: connection reset by peer, Attempt 2 -2025/04/18 09:20:30 http: TLS handshake error from [::1]:40768: write: connection closed -2025/04/18 09:20:30.622158 WARN RESTY Get "https://[::]:42485/tests/ping": read tcp [::1]:40768->[::1]:42485: read: connection reset by peer, Attempt 3 -2025/04/18 09:20:30 http: TLS handshake error from [::1]:40784: write: connection closed -2025/04/18 09:20:30.937539 WARN RESTY Get "https://[::]:42485/tests/ping": read tcp [::1]:40784->[::1]:42485: read: connection reset by peer, Attempt 4 -2025/04/18 09:20:30.937607 ERROR RESTY Get "https://[::]:42485/tests/ping": read tcp [::1]:40784->[::1]:42485: read: connection reset by peer ---- PASS: TestNetError_DropOnWrite (0.71s) -=== RUN TestAPIError_DeserializeWithoutDetails ---- PASS: TestAPIError_DeserializeWithoutDetails (0.00s) -=== RUN TestAPIError_DeserializeWithoutDetailsValue ---- PASS: TestAPIError_DeserializeWithoutDetailsValue (0.00s) -=== RUN TestAPIError_DeserializeWithDetailsObject ---- PASS: TestAPIError_DeserializeWithDetailsObject (0.00s) -=== RUN TestAPIError_DeserializeWithDetailsArray ---- PASS: TestAPIError_DeserializeWithDetailsArray (0.00s) -=== RUN TestNetError_RouteInErrorMessage -2025/04/18 09:20:30.940004 WARN RESTY 400 GET http://127.0.0.1:38125/internal/quark/test/ping?strInput=: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/04/18 09:20:30.940043 ERROR RESTY 400 GET http://127.0.0.1:38125/internal/quark/test/ping?strInput=: 400 Bad Request (Code=0, Status=400) ---- PASS: TestNetError_RouteInErrorMessage (0.00s) -PASS -ok github.com/henrybear327/go-proton-api 506.450s +panic: test timed out after 10m0s + running tests: + TestStatus_ServerHang (28s) + +goroutine 1258 [running]: +testing.(*M).startAlarm.func1() + /usr/lib/go-1.24/src/testing/testing.go:2484 +0x3a4 +created by time.goFunc + /usr/lib/go-1.24/src/time/sleep.go:215 +0x2c + +goroutine 1 [chan receive]: +testing.(*T).Run(0x227e248, {0x92936e, 0x15}, 0x971200) + /usr/lib/go-1.24/src/testing/testing.go:1859 +0x468 +testing.runTests.func1(0x227e248) + /usr/lib/go-1.24/src/testing/testing.go:2279 +0x48 +testing.tRunner(0x227e248, 0x2235d98) + /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 +testing.runTests(0x22e6750, {0xfd3968, 0x39, 0x39}, {0xc1f8a570ba4f5bbb, 0x8c6cd3d0d0, 0xff03b8}) + /usr/lib/go-1.24/src/testing/testing.go:2277 +0x448 +testing.(*M).Run(0x209da40) + /usr/lib/go-1.24/src/testing/testing.go:2142 +0x5f8 +go.uber.org/goleak.VerifyTestMain({0xa5c2d8, 0x209da40}, {0x2069f4c, 0x1, 0x1}) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/go.uber.org/goleak/testmain.go:53 +0x34 +github.com/henrybear327/go-proton-api.TestMain(0x209da40) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/main_test.go:10 +0x4c +main.main() + _testmain.go:161 +0xcc + +goroutine 1268 [runnable]: +crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus(0x2049368, 0x0, 0x24a0a50) + /usr/lib/go-1.24/src/crypto/internal/fips140/bigmod/nat.go:698 +0x16c +crypto/internal/fips140/bigmod.(*Nat).montgomeryMul(0x2049368, 0x2049368, 0x2049368, 0x24a0a50) + /usr/lib/go-1.24/src/crypto/internal/fips140/bigmod/nat.go:862 +0x93c +crypto/internal/fips140/bigmod.(*Nat).Exp(0x2049368, 0x2049374, {0x24a6b80, 0x80, 0x80}, 0x24a0a50) + /usr/lib/go-1.24/src/crypto/internal/fips140/bigmod/nat.go:1016 +0xa8c +crypto/internal/fips140/rsa.millerRabinIteration(0x2581398, {0x24a6c00, 0x80, 0x80}) + /usr/lib/go-1.24/src/crypto/internal/fips140/rsa/keygen.go:366 +0x1d8 +crypto/internal/fips140/rsa.isPrime({0x2194c80, 0x80, 0x80}) + /usr/lib/go-1.24/src/crypto/internal/fips140/rsa/keygen.go:276 +0x274 +crypto/internal/fips140/rsa.randomPrime({0xa5d4c8, 0x20445a8}, 0x400) + /usr/lib/go-1.24/src/crypto/internal/fips140/rsa/keygen.go:204 +0x1a4 +crypto/internal/fips140/rsa.GenerateKey({0xa5d4c8, 0x20445a8}, 0x800) + /usr/lib/go-1.24/src/crypto/internal/fips140/rsa/keygen.go:31 +0x104 +crypto/rsa.GenerateKey({0xa5d4c8, 0x20445a8}, 0x800) + /usr/lib/go-1.24/src/crypto/rsa/rsa.go:329 +0x16c +github.com/ProtonMail/go-crypto/openpgp.newDecrypter(0x2049ac8) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/go-crypto/openpgp/key_generation.go:340 +0x188 +github.com/ProtonMail/go-crypto/openpgp.(*Entity).addEncryptionSubkey(0x21f01c0, 0x2049ac8, {0x0, 0xedf941526, 0xff03b8}, 0x0) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/go-crypto/openpgp/key_generation.go:237 +0x38 +github.com/ProtonMail/go-crypto/openpgp.NewEntity({0x915718, 0x4}, {0x0, 0x0}, {0x2248570, 0x11}, 0x2049ac8) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/go-crypto/openpgp/key_generation.go:79 +0x3b0 +github.com/ProtonMail/gopenpgp/v2/crypto.generateKey({0x915718, 0x4}, {0x2248570, 0x11}, {0x914e8b, 0x3}, 0x800, {0x0, 0x0, 0x0}, ...) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/gopenpgp/v2/crypto/key.go:479 +0x4cc +github.com/ProtonMail/gopenpgp/v2/crypto.GenerateKey(...) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/gopenpgp/v2/crypto/key.go:82 +github.com/ProtonMail/gopenpgp/v2/helper.GenerateKey({0x915718, 0x4}, {0x2248570, 0x11}, {0x22a63c0, 0x20, 0x20}, {0x914e8b, 0x3}, 0x800) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/gopenpgp/v2/helper/key.go:42 +0xac +github.com/henrybear327/go-proton-api/server/backend.(*Backend).createAddress.func1(0x20a0638) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/backend/backend.go:226 +0x100 +github.com/henrybear327/go-proton-api/server/backend.withAcc[...](0x22ec508, {0x2029080, 0x24}, 0x2049d44) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/backend/backend.go:512 +0x114 +github.com/henrybear327/go-proton-api/server/backend.(*Backend).createAddress(0x22ec508, {0x2029080, 0x24}, {0x2248570, 0x11}, {0x915714, 0x4, 0x4}, 0x1, 0x1, ...) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/backend/backend.go:217 +0x9c +github.com/henrybear327/go-proton-api/server/backend.(*Backend).CreateAddress(...) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/backend/backend.go:209 +github.com/henrybear327/go-proton-api/server.(*Server).CreateUser(0x20b4600, {0x915718, 0x4}, {0x915714, 0x4, 0x4}) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/server.go:115 +0x110 +github.com/henrybear327/go-proton-api_test.TestStatus_ServerHang(0x24f4c68) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/manager_status_test.go:356 +0x1f4 +testing.tRunner(0x24f4c68, 0x971200) + /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 +created by testing.(*T).Run in goroutine 1 + /usr/lib/go-1.24/src/testing/testing.go:1851 +0x448 + +goroutine 1269 [IO wait]: +internal/poll.runtime_pollWait(0xb530fe40, 0x72) + /usr/lib/go-1.24/src/runtime/netpoll.go:351 +0x54 +internal/poll.(*pollDesc).wait(0x2228b08, 0x72, 0x0) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:84 +0x30 +internal/poll.(*pollDesc).waitRead(...) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:89 +internal/poll.(*FD).Accept(0x2228af0) + /usr/lib/go-1.24/src/internal/poll/fd_unix.go:620 +0x284 +net.(*netFD).accept(0x2228af0) + /usr/lib/go-1.24/src/net/fd_unix.go:172 +0x20 +net.(*TCPListener).accept(0x257f0e0) + /usr/lib/go-1.24/src/net/tcpsock_posix.go:159 +0x20 +net.(*TCPListener).Accept(0x257f0e0) + /usr/lib/go-1.24/src/net/tcpsock.go:380 +0x30 +github.com/henrybear327/go-proton-api.(*Listener).Accept(0x20b4580) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/netctl.go:47 +0x50 +net/http.(*Server).Serve(0x22e5088, {0xa5f9e8, 0x20b4580}) + /usr/lib/go-1.24/src/net/http/server.go:3424 +0x2dc +net/http/httptest.(*Server).goServe.func1() + /usr/lib/go-1.24/src/net/http/httptest/server.go:311 +0x64 +created by net/http/httptest.(*Server).goServe in goroutine 1268 + /usr/lib/go-1.24/src/net/http/httptest/server.go:309 +0x74 +FAIL github.com/henrybear327/go-proton-api 603.214s === RUN TestServer_Quark_CreateUser ---- PASS: TestServer_Quark_CreateUser (14.72s) +--- PASS: TestServer_Quark_CreateUser (35.26s) === RUN TestServer_Quark_CreateAddress ---- PASS: TestServer_Quark_CreateAddress (5.16s) +--- PASS: TestServer_Quark_CreateAddress (12.06s) === RUN TestServer_LoginLogout -2025/04/18 09:12:30.154587 WARN RESTY 401 DELETE https://127.0.0.1:43899/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:12:30.154664 ERROR RESTY 401 DELETE https://127.0.0.1:43899/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:12:30.155644 WARN RESTY 422 POST https://127.0.0.1:43899/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:12:30.155683 ERROR RESTY 422 POST https://127.0.0.1:43899/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServer_LoginLogout (4.92s) +2025/04/18 09:32:23.766570 WARN RESTY 401 DELETE https://127.0.0.1:38681/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:32:23.766628 ERROR RESTY 401 DELETE https://127.0.0.1:38681/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:32:23.767754 WARN RESTY 422 POST https://127.0.0.1:38681/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:32:23.767788 ERROR RESTY 422 POST https://127.0.0.1:38681/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServer_LoginLogout (12.97s) === RUN TestServerMulti -2025/04/18 09:12:38.716200 WARN RESTY 401 GET https://127.0.0.1:38203/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:12:38.716265 ERROR RESTY 401 GET https://127.0.0.1:38203/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:12:38.717073 WARN RESTY 422 POST https://127.0.0.1:38203/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:12:38.717112 ERROR RESTY 422 POST https://127.0.0.1:38203/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServerMulti (8.56s) +2025/04/18 09:32:46.101916 WARN RESTY 401 GET https://127.0.0.1:44265/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:32:46.101970 ERROR RESTY 401 GET https://127.0.0.1:44265/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:32:46.102854 WARN RESTY 422 POST https://127.0.0.1:44265/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:32:46.102891 ERROR RESTY 422 POST https://127.0.0.1:44265/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServerMulti (22.34s) === RUN TestServer_Ping -2025/04/18 09:12:38.723656 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 1 -2025/04/18 09:12:38.824591 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 2 -2025/04/18 09:12:38.942575 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 3 -2025/04/18 09:12:39.294721 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 4 -2025/04/18 09:12:39.294793 ERROR RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed) -2025/04/18 09:12:39.330880 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:12:39Z" level=warning msg="Too many requests, retrying after delay" after=10 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:12:49.342239 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-04-18T09:12:49Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:13:06.364893 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-04-18T09:13:06Z" level=warning msg="Too many requests, retrying after delay" after=13 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:13:19.410044 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -2025/04/18 09:13:19.410101 ERROR RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503) -2025/04/18 09:13:19.410620 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 1 -2025/04/18 09:13:19.511569 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 2 -2025/04/18 09:13:19.626473 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 3 -2025/04/18 09:13:19.968526 WARN RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed), Attempt 4 -2025/04/18 09:13:19.968585 ERROR RESTY Get "https://127.0.0.1:34571/tests/ping": dial failed (not allowed) -2025/04/18 09:13:20.005327 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-04-18T09:13:20Z" level=warning msg="Too many requests, retrying after delay" after=18 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:13:38.086343 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-04-18T09:13:38Z" level=warning msg="Too many requests, retrying after delay" after=18 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:13:56.087577 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-04-18T09:13:56Z" level=warning msg="Too many requests, retrying after delay" after=14 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:34571/tests/ping" -2025/04/18 09:14:10.153451 WARN RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -2025/04/18 09:14:10.153511 ERROR RESTY 503 GET https://127.0.0.1:34571/tests/ping: 503 Service Unavailable (Code=0, Status=503) ---- PASS: TestServer_Ping (91.43s) +2025/04/18 09:32:46.112243 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 1 +2025/04/18 09:32:46.213019 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 2 +2025/04/18 09:32:46.348895 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 3 +2025/04/18 09:32:46.595716 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 4 +2025/04/18 09:32:46.595777 ERROR RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed) +2025/04/18 09:32:46.691138 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-04-18T09:32:46Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:33:03.699264 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 +time="2025-04-18T09:33:03Z" level=warning msg="Too many requests, retrying after delay" after=10 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:33:13.744045 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 +time="2025-04-18T09:33:13Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:33:30.827549 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 +2025/04/18 09:33:30.827585 ERROR RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503) +2025/04/18 09:33:30.828073 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 1 +2025/04/18 09:33:30.929252 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 2 +2025/04/18 09:33:31.121542 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 3 +2025/04/18 09:33:31.458432 WARN RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed), Attempt 4 +2025/04/18 09:33:31.458503 ERROR RESTY Get "https://127.0.0.1:43599/tests/ping": dial failed (not allowed) +2025/04/18 09:33:31.522961 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-04-18T09:33:31Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:33:48.607132 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 +time="2025-04-18T09:33:48Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:34:00.660510 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 +time="2025-04-18T09:34:00Z" level=warning msg="Too many requests, retrying after delay" after=14 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:43599/tests/ping" +2025/04/18 09:34:14.707934 WARN RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 +2025/04/18 09:34:14.707994 ERROR RESTY 503 GET https://127.0.0.1:43599/tests/ping: 503 Service Unavailable (Code=0, Status=503) +--- PASS: TestServer_Ping (88.60s) === RUN TestServer_Bool ---- PASS: TestServer_Bool (4.94s) +--- PASS: TestServer_Bool (9.52s) === RUN TestServer_Messages ---- PASS: TestServer_Messages (5.80s) +--- PASS: TestServer_Messages (11.49s) === RUN TestServer_GetMessageMetadataPage ---- PASS: TestServer_GetMessageMetadataPage (5.87s) +--- PASS: TestServer_GetMessageMetadataPage (11.79s) === RUN TestServer_MessageFilter -2025/04/18 09:14:32 http: TLS handshake error from 127.0.0.1:38386: write tcp 127.0.0.1:36231->127.0.0.1:38386: use of closed network connection -2025/04/18 09:14:32 http: TLS handshake error from 127.0.0.1:38382: write tcp 127.0.0.1:36231->127.0.0.1:38382: use of closed network connection -2025/04/18 09:14:32 http: TLS handshake error from 127.0.0.1:38398: write tcp 127.0.0.1:36231->127.0.0.1:38398: use of closed network connection ---- PASS: TestServer_MessageFilter (5.98s) +2025/04/18 09:35:00 http: TLS handshake error from 127.0.0.1:55786: read tcp 127.0.0.1:43673->127.0.0.1:55786: use of closed network connection +2025/04/18 09:35:00 http: TLS handshake error from 127.0.0.1:55772: write tcp 127.0.0.1:43673->127.0.0.1:55772: use of closed network connection +2025/04/18 09:35:00 http: TLS handshake error from 127.0.0.1:55802: write tcp 127.0.0.1:43673->127.0.0.1:55802: use of closed network connection +2025/04/18 09:35:00 http: TLS handshake error from 127.0.0.1:55812: write tcp 127.0.0.1:43673->127.0.0.1:55812: use of closed network connection +2025/04/18 09:35:00 http: TLS handshake error from 127.0.0.1:55822: write tcp 127.0.0.1:43673->127.0.0.1:55822: use of closed network connection +--- PASS: TestServer_MessageFilter (13.23s) === RUN TestServer_MessageFilterDesc -2025/04/18 09:14:37 http: TLS handshake error from 127.0.0.1:45602: write tcp 127.0.0.1:45907->127.0.0.1:45602: use of closed network connection ---- PASS: TestServer_MessageFilterDesc (5.08s) +2025/04/18 09:35:12 http: TLS handshake error from 127.0.0.1:45564: write tcp 127.0.0.1:45901->127.0.0.1:45564: use of closed network connection +--- PASS: TestServer_MessageFilterDesc (11.45s) === RUN TestServer_MessageIDs ---- PASS: TestServer_MessageIDs (13.58s) +--- PASS: TestServer_MessageIDs (32.29s) === RUN TestServer_MessagesDelete -2025/04/18 09:14:57 http: TLS handshake error from 127.0.0.1:53102: read tcp 127.0.0.1:36803->127.0.0.1:53102: use of closed network connection ---- PASS: TestServer_MessagesDelete (6.28s) +--- PASS: TestServer_MessagesDelete (14.20s) === RUN TestServer_MessagesDeleteAfterUpdate ---- PASS: TestServer_MessagesDeleteAfterUpdate (6.03s) +--- PASS: TestServer_MessagesDeleteAfterUpdate (14.01s) === RUN TestServer_Events ---- PASS: TestServer_Events (7.95s) +--- PASS: TestServer_Events (14.11s) === RUN TestServer_Events_Multi ---- PASS: TestServer_Events_Multi (47.21s) +--- PASS: TestServer_Events_Multi (109.58s) === RUN TestServer_Events_Refresh ---- PASS: TestServer_Events_Refresh (5.75s) +--- PASS: TestServer_Events_Refresh (10.64s) === RUN TestServer_Events_UserSettings ---- PASS: TestServer_Events_UserSettings (5.75s) +--- PASS: TestServer_Events_UserSettings (11.36s) === RUN TestServer_RevokeUser -2025/04/18 09:16:15.124555 WARN RESTY 401 DELETE https://127.0.0.1:43085/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/04/18 09:16:15.124619 ERROR RESTY 401 DELETE https://127.0.0.1:43085/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/04/18 09:16:15.125682 WARN RESTY 422 POST https://127.0.0.1:43085/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/04/18 09:16:15.125745 ERROR RESTY 422 POST https://127.0.0.1:43085/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServer_RevokeUser (4.75s) +2025/04/18 09:38:51.140882 WARN RESTY 401 DELETE https://127.0.0.1:42841/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/04/18 09:38:51.140979 ERROR RESTY 401 DELETE https://127.0.0.1:42841/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/04/18 09:38:51.143180 WARN RESTY 422 POST https://127.0.0.1:42841/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/04/18 09:38:51.143238 ERROR RESTY 422 POST https://127.0.0.1:42841/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServer_RevokeUser (12.77s) === RUN TestServer_Calls ---- PASS: TestServer_Calls (4.75s) +--- PASS: TestServer_Calls (9.42s) === RUN TestServer_Calls_Status -2025/04/18 09:16:24.618418 WARN RESTY 422 GET https://127.0.0.1:39077/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422), Attempt 1 -2025/04/18 09:16:24.618479 ERROR RESTY 422 GET https://127.0.0.1:39077/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422) ---- PASS: TestServer_Calls_Status (4.75s) +2025/04/18 09:39:11.729818 WARN RESTY 422 GET https://127.0.0.1:34019/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422), Attempt 1 +2025/04/18 09:39:11.729876 ERROR RESTY 422 GET https://127.0.0.1:34019/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422) +--- PASS: TestServer_Calls_Status (11.17s) === RUN TestServer_Calls_Request ---- PASS: TestServer_Calls_Request (4.74s) +--- PASS: TestServer_Calls_Request (9.75s) === RUN TestServer_Calls_Response ---- PASS: TestServer_Calls_Response (4.74s) +--- PASS: TestServer_Calls_Response (8.99s) === RUN TestServer_Calls_Cookies ---- PASS: TestServer_Calls_Cookies (4.74s) +--- PASS: TestServer_Calls_Cookies (8.76s) === RUN TestServer_Calls_Manager ---- PASS: TestServer_Calls_Manager (0.04s) +--- PASS: TestServer_Calls_Manager (0.07s) === RUN TestServer_CreateMessage ---- PASS: TestServer_CreateMessage (4.95s) +--- PASS: TestServer_CreateMessage (9.47s) === RUN TestServer_UpdateDraft ---- PASS: TestServer_UpdateDraft (5.95s) +--- PASS: TestServer_UpdateDraft (10.62s) === RUN TestServer_SendMessage ---- PASS: TestServer_SendMessage (4.95s) +--- PASS: TestServer_SendMessage (9.45s) === RUN TestServer_AuthDelete ---- PASS: TestServer_AuthDelete (4.74s) +--- PASS: TestServer_AuthDelete (9.20s) === RUN TestServer_ForceUpgrade -2025/04/18 09:17:00.428839 WARN RESTY 400 POST https://127.0.0.1:39207/auth/v4/info: This version of the app is no longer supported, please update to continue using the app (Code=5003, Status=400), Attempt 1 -2025/04/18 09:17:00.428907 ERROR RESTY 400 POST https://127.0.0.1:39207/auth/v4/info: This version of the app is no longer supported, please update to continue using the app (Code=5003, Status=400) ---- PASS: TestServer_ForceUpgrade (0.94s) +2025/04/18 09:40:19.587999 WARN RESTY 400 POST https://127.0.0.1:34223/auth/v4/info: This version of the app is no longer supported, please update to continue using the app (Code=5003, Status=400), Attempt 1 +2025/04/18 09:40:19.588069 ERROR RESTY 400 POST https://127.0.0.1:34223/auth/v4/info: This version of the app is no longer supported, please update to continue using the app (Code=5003, Status=400) +--- PASS: TestServer_ForceUpgrade (1.55s) === RUN TestServer_Import ---- PASS: TestServer_Import (4.96s) +--- PASS: TestServer_Import (11.30s) === RUN TestServer_Import_Dedup ---- PASS: TestServer_Import_Dedup (4.99s) +--- PASS: TestServer_Import_Dedup (11.57s) === RUN TestServer_Labels === RUN TestServer_Labels/received_flag,_no_actions === RUN TestServer_Labels/sent_flag,_no_actions @@ -1712,36 +1751,36 @@ === RUN TestServer_Labels/scheduled_flag,_add_trash,_remove_trash === RUN TestServer_Labels/received_flag,_add_inbox,_add_trash,_remove_inbox === RUN TestServer_Labels/scheduled_&_sent_flags,_add_scheduled,_add_sent ---- PASS: TestServer_Labels (5.13s) +--- PASS: TestServer_Labels (10.89s) --- PASS: TestServer_Labels/received_flag,_no_actions (0.00s) --- PASS: TestServer_Labels/sent_flag,_no_actions (0.00s) --- PASS: TestServer_Labels/scheduled_flag,_no_actions (0.00s) - --- PASS: TestServer_Labels/received_flag,_add_inbox (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_sent (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled (0.00s) - --- PASS: TestServer_Labels/received_flag,_add_inbox_then_add_archive (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_sent_then_add_archive (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_add_archive (0.00s) - --- PASS: TestServer_Labels/received_flag,_add_inbox_then_remove_inbox (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_sent (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_scheduled (0.00s) - --- PASS: TestServer_Labels/received_flag,_add_inbox_then_remove_archive (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_archive (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_archive (0.00s) + --- PASS: TestServer_Labels/received_flag,_add_inbox (0.01s) + --- PASS: TestServer_Labels/sent_flag,_add_sent (0.01s) + --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled (0.01s) + --- PASS: TestServer_Labels/received_flag,_add_inbox_then_add_archive (0.01s) + --- PASS: TestServer_Labels/sent_flag,_add_sent_then_add_archive (0.01s) + --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_add_archive (0.01s) + --- PASS: TestServer_Labels/received_flag,_add_inbox_then_remove_inbox (0.01s) + --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_sent (0.01s) + --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_scheduled (0.01s) + --- PASS: TestServer_Labels/received_flag,_add_inbox_then_remove_archive (0.01s) + --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_archive (0.01s) + --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_archive (0.01s) --- PASS: TestServer_Labels/received_flag,_add_inbox_then_remove_inbox_then_add_archive (0.01s) --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_sent_then_add_archive (0.01s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_scheduled_then_add_archive (0.00s) - --- PASS: TestServer_Labels/received_flag,_add_starred (0.00s) + --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled_then_remove_scheduled_then_add_archive (0.01s) + --- PASS: TestServer_Labels/received_flag,_add_starred (0.01s) --- PASS: TestServer_Labels/sent_flag,_add_starred (0.00s) --- PASS: TestServer_Labels/scheduled_flag,_add_starred (0.00s) --- PASS: TestServer_Labels/received_flag,_add_inbox,_add_starred,_remove_inbox (0.01s) --- PASS: TestServer_Labels/sent_flag,_add_sent,_add_starred,_remove_sent (0.01s) --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled,_add_starred,_remove_scheduled (0.01s) - --- PASS: TestServer_Labels/received_flag,_add_trash,_remove_trash (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_trash,_remove_trash (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_trash,_remove_trash (0.00s) + --- PASS: TestServer_Labels/received_flag,_add_trash,_remove_trash (0.01s) + --- PASS: TestServer_Labels/sent_flag,_add_trash,_remove_trash (0.01s) + --- PASS: TestServer_Labels/scheduled_flag,_add_trash,_remove_trash (0.01s) --- PASS: TestServer_Labels/received_flag,_add_inbox,_add_trash,_remove_inbox (0.01s) - --- PASS: TestServer_Labels/scheduled_&_sent_flags,_add_scheduled,_add_sent (0.00s) + --- PASS: TestServer_Labels/scheduled_&_sent_flags,_add_scheduled,_add_sent (0.01s) === RUN TestServer_Import_FlagsAndLabels === RUN TestServer_Import_FlagsAndLabels/received_flag_-->_no_label === RUN TestServer_Import_FlagsAndLabels/received_flag_-->_inbox @@ -1756,7 +1795,7 @@ === RUN TestServer_Import_FlagsAndLabels/forbidden:_received_flag_-->_inbox_and_sent === RUN TestServer_Import_FlagsAndLabels/forbidden:_sent_flag_-->_inbox_and_sent === RUN TestServer_Import_FlagsAndLabels/forbidden:_received_flag_-->_inbox_and_archive ---- PASS: TestServer_Import_FlagsAndLabels (4.97s) +--- PASS: TestServer_Import_FlagsAndLabels (10.48s) --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_no_label (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_inbox (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/sent_flag_-->_sent (0.00s) @@ -1771,89 +1810,172 @@ --- PASS: TestServer_Import_FlagsAndLabels/forbidden:_sent_flag_-->_inbox_and_sent (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/forbidden:_received_flag_-->_inbox_and_archive (0.00s) === RUN TestServer_PublicKeys ---- PASS: TestServer_PublicKeys (5.64s) +--- PASS: TestServer_PublicKeys (13.12s) === RUN TestServer_Proxy ---- PASS: TestServer_Proxy (8.63s) -=== RUN TestServer_Proxy_Cache ---- PASS: TestServer_Proxy_Cache (13.79s) -=== RUN TestServer_Proxy_AuthDelete ---- PASS: TestServer_Proxy_AuthDelete (8.63s) -=== RUN TestServer_RealProxy - server_test.go:1484: skipping test, set the username and password to run ---- SKIP: TestServer_RealProxy (0.00s) -=== RUN TestServer_RealProxy_Cache - server_test.go:1515: skipping test, set the username and password to run ---- SKIP: TestServer_RealProxy_Cache (0.00s) -=== RUN TestServer_Messages_Fetch -2025/04/18 09:18:06.876635 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/c457cccc-515c-47ff-a297-5fbd6350fc80": read failed (limit reached), Attempt 1 -2025/04/18 09:18:06.876880 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/255e6646-5a75-4471-b5a5-a17d7fd82fa9": read failed (limit reached), Attempt 1 -2025/04/18 09:18:06.877071 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/b58c3fc2-bcd1-4db3-8035-6b56b931ab47": read failed (limit reached), Attempt 1 -2025/04/18 09:18:06.881181 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/92eeb3a3-e961-4a3f-97de-4bd512ad874d": read failed (limit reached), Attempt 1 -2025/04/18 09:18:06.977377 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/c457cccc-515c-47ff-a297-5fbd6350fc80": read failed (limit reached), Attempt 2 -2025/04/18 09:18:06.977760 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/b58c3fc2-bcd1-4db3-8035-6b56b931ab47": read failed (limit reached), Attempt 2 -2025/04/18 09:18:06.977995 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/255e6646-5a75-4471-b5a5-a17d7fd82fa9": read failed (limit reached), Attempt 2 -2025/04/18 09:18:06.982743 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/92eeb3a3-e961-4a3f-97de-4bd512ad874d": read failed (limit reached), Attempt 2 -2025/04/18 09:18:07.096721 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/255e6646-5a75-4471-b5a5-a17d7fd82fa9": read failed (limit reached), Attempt 3 -2025/04/18 09:18:07.102191 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/b58c3fc2-bcd1-4db3-8035-6b56b931ab47": read failed (limit reached), Attempt 3 -2025/04/18 09:18:07.105746 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/92eeb3a3-e961-4a3f-97de-4bd512ad874d": read failed (limit reached), Attempt 3 -2025/04/18 09:18:07.155517 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/c457cccc-515c-47ff-a297-5fbd6350fc80": read failed (limit reached), Attempt 3 -2025/04/18 09:18:07.310748 WARN RESTY Get "http://127.0.0.1:46587/mail/v4/messages/b58c3fc2-bcd1-4db3-8035-6b56b931ab47": read failed (limit reached), Attempt 4 -2025/04/18 09:18:07.310815 ERROR RESTY Get "http://127.0.0.1:46587/mail/v4/messages/b58c3fc2-bcd1-4db3-8035-6b56b931ab47": read failed (limit reached) -2025/04/18 09:18:07.310857 ERROR RESTY context canceled -2025/04/18 09:18:07.310882 ERROR RESTY context canceled -2025/04/18 09:18:07.310864 ERROR RESTY context canceled ---- PASS: TestServer_Messages_Fetch (10.49s) -=== RUN TestServer_Status -2025/04/18 09:18:16.157348 WARN RESTY Get "http://127.0.0.1:46603/core/v4/users": read failed (not allowed), Attempt 1 -2025/04/18 09:18:16.258721 WARN RESTY Get "http://127.0.0.1:46603/core/v4/users": read failed (not allowed), Attempt 2 -2025/04/18 09:18:16.442414 WARN RESTY Get "http://127.0.0.1:46603/core/v4/users": read failed (not allowed), Attempt 3 -2025/04/18 09:18:16.670285 WARN RESTY Get "http://127.0.0.1:46603/core/v4/users": read failed (not allowed), Attempt 4 -2025/04/18 09:18:16.670346 ERROR RESTY Get "http://127.0.0.1:46603/core/v4/users": read failed (not allowed) ---- PASS: TestServer_Status (9.02s) -=== RUN TestServer_Labels_Duplicates -2025/04/18 09:18:21.411661 WARN RESTY 409 POST https://127.0.0.1:33605/core/v4/labels: 409 Conflict (Code=0, Status=409), Attempt 1 -2025/04/18 09:18:21.411728 ERROR RESTY 409 POST https://127.0.0.1:33605/core/v4/labels: 409 Conflict (Code=0, Status=409) ---- PASS: TestServer_Labels_Duplicates (4.74s) -=== RUN TestServer_Labels_Duplicates_Update -2025/04/18 09:18:26.150314 WARN RESTY 409 PUT https://127.0.0.1:42631/core/v4/labels/18f9f313-0daa-46ae-9d07-f9dabdc2f930: 409 Conflict (Code=0, Status=409), Attempt 1 -2025/04/18 09:18:26.150379 ERROR RESTY 409 PUT https://127.0.0.1:42631/core/v4/labels/18f9f313-0daa-46ae-9d07-f9dabdc2f930: 409 Conflict (Code=0, Status=409) ---- PASS: TestServer_Labels_Duplicates_Update (4.74s) -=== RUN TestServer_Labels_Subfolders ---- PASS: TestServer_Labels_Subfolders (4.74s) -=== RUN TestServer_Labels_Subfolders_Reassign ---- PASS: TestServer_Labels_Subfolders_Reassign (4.74s) -=== RUN TestServer_Labels_Subfolders_DeleteParentWithChildren ---- PASS: TestServer_Labels_Subfolders_DeleteParentWithChildren (4.74s) -=== RUN TestServer_AddressCreateDelete ---- PASS: TestServer_AddressCreateDelete (4.94s) -=== RUN TestServer_AddressOrder ---- PASS: TestServer_AddressOrder (5.32s) -=== RUN TestServer_MailSettings ---- PASS: TestServer_MailSettings (4.74s) -=== RUN TestServer_UserSettings -2025/04/18 09:19:00.117941 WARN RESTY 500 PUT https://127.0.0.1:44069/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500), Attempt 1 -2025/04/18 09:19:00.118015 ERROR RESTY 500 PUT https://127.0.0.1:44069/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500) -2025/04/18 09:19:00.118884 WARN RESTY 500 PUT https://127.0.0.1:44069/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500), Attempt 1 -2025/04/18 09:19:00.118930 ERROR RESTY 500 PUT https://127.0.0.1:44069/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500) ---- PASS: TestServer_UserSettings (4.74s) -=== RUN TestServer_Domains ---- PASS: TestServer_Domains (0.04s) -=== RUN TestServer_StatusHooks -2025/04/18 09:19:04.895139 WARN RESTY 400 GET https://127.0.0.1:46321/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400), Attempt 1 -2025/04/18 09:19:04.895203 ERROR RESTY 400 GET https://127.0.0.1:46321/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400) ---- PASS: TestServer_StatusHooks (4.74s) -=== RUN TestServer_SendDataEvent -2025/04/18 09:19:09.633553 WARN RESTY 400 POST https://127.0.0.1:39319/data/v1/stats: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/04/18 09:19:09.633607 ERROR RESTY 400 POST https://127.0.0.1:39319/data/v1/stats: 400 Bad Request (Code=0, Status=400) ---- PASS: TestServer_SendDataEvent (4.74s) -=== RUN TestServer_SendDataEventMultiple -2025/04/18 09:19:14.376395 WARN RESTY 400 POST https://127.0.0.1:41381/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/04/18 09:19:14.376463 ERROR RESTY 400 POST https://127.0.0.1:41381/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400) ---- PASS: TestServer_SendDataEventMultiple (4.74s) -=== RUN TestServer_GetMessageGroupCount ---- PASS: TestServer_GetMessageGroupCount (4.95s) -PASS -ok github.com/henrybear327/go-proton-api/server 434.838s +panic: test timed out after 10m0s + running tests: + TestServer_Proxy (7s) + +goroutine 6805 [running]: +testing.(*M).startAlarm.func1() + /usr/lib/go-1.24/src/testing/testing.go:2484 +0x3a4 +created by time.goFunc + /usr/lib/go-1.24/src/time/sleep.go:215 +0x2c + +goroutine 1 [chan receive]: +testing.(*T).Run(0x1c03448, {0x935ce5, 0x10}, 0x98299c) + /usr/lib/go-1.24/src/testing/testing.go:1859 +0x468 +testing.runTests.func1(0x1c03448) + /usr/lib/go-1.24/src/testing/testing.go:2279 +0x48 +testing.tRunner(0x1c03448, 0x1c49d98) + /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 +testing.runTests(0x1efcb10, {0xfe38f8, 0x37, 0x37}, {0xc1f8a570dc12f537, 0x8c8a358ac5, 0x1000330}) + /usr/lib/go-1.24/src/testing/testing.go:2277 +0x448 +testing.(*M).Run(0x1d1a140) + /usr/lib/go-1.24/src/testing/testing.go:2142 +0x5f8 +go.uber.org/goleak.VerifyTestMain({0xa708f0, 0x1d1a140}, {0x1e88f4c, 0x1, 0x1}) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/go.uber.org/goleak/testmain.go:53 +0x34 +github.com/henrybear327/go-proton-api/server.TestMain(0x1d1a140) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/main_test.go:10 +0x4c +main.main() + _testmain.go:155 +0xcc + +goroutine 6791 [runnable]: +sync.(*Pool).Put(0xfffdf8, {0x91d9f0, 0x1efc000}) + /usr/lib/go-1.24/src/sync/pool.go:99 +0xa4 +math/big.putNat(...) + /usr/lib/go-1.24/src/math/big/nat.go:643 +math/big.nat.divBasic({0x1efe120, 0x41, 0x45}, {0x1ef3d40, 0x81, 0x85}, {0x1ea9440, 0x40, 0x84}) + /usr/lib/go-1.24/src/math/big/natdiv.go:711 +0x3a8 +math/big.nat.divLarge({0x1efe120, 0x40, 0x45}, {0x1ef3d40, 0x40, 0x85}, {0x1d69500, 0x80, 0x184}, {0x20b9560, ...}) + /usr/lib/go-1.24/src/math/big/natdiv.go:616 +0x290 +math/big.nat.div({0x1efe120, 0x40, 0x45}, {0x1ef3d40, 0x40, 0x85}, {0x1d69500, 0x80, 0x184}, {0x20b9560, ...}) + /usr/lib/go-1.24/src/math/big/natdiv.go:538 +0x29c +math/big.nat.probablyPrimeLucas({0x20b9560, 0x40, 0x44}) + /usr/lib/go-1.24/src/math/big/prime.go:271 +0x908 +math/big.(*Int).ProbablyPrime(0x1c49b0c, 0xa) + /usr/lib/go-1.24/src/math/big/prime.go:78 +0x2c0 +github.com/ProtonMail/go-srp.checkParams(0x800, 0x20ba740, 0x1c49c3c, 0x20ba750) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/go-srp/srp.go:279 +0x374 +github.com/ProtonMail/go-srp.(*Auth).GenerateProofs(0x218f3e0, 0x800) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/ProtonMail/go-srp/srp.go:429 +0x128 +github.com/henrybear327/go-proton-api.(*Manager).NewClientWithLogin(0x221f7a0, {0xa74c88, 0x221e6f0}, {0x927acc, 0x4}, {0x927ad0, 0x4, 0x4}) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/manager_auth.go:42 +0x108 +github.com/henrybear327/go-proton-api/server.withUser({0xa74c88, 0x221e6f0}, 0x38dc6c8, 0x1d90480, 0x221f7a0, {0x927acc, 0x4}, {0x927ad0, 0x4}, 0x1c49ed0) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/server_test.go:2134 +0xf4 +github.com/henrybear327/go-proton-api/server.TestServer_Proxy.func1({0xa74c88, 0x221e6f0}, 0x1d90480, 0x221f7a0) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/server_test.go:1372 +0xf8 +github.com/henrybear327/go-proton-api/server.withServer(0x38dc6c8, 0x1c49f78, {0x0, 0x0, 0x0}) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/server_test.go:2127 +0x2c0 +github.com/henrybear327/go-proton-api/server.TestServer_Proxy(0x38dc6c8) + /build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/server_test.go:1365 +0x44 +testing.tRunner(0x38dc6c8, 0x98299c) + /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 +created by testing.(*T).Run in goroutine 1 + /usr/lib/go-1.24/src/testing/testing.go:1851 +0x448 + +goroutine 6803 [select]: +net/http.(*persistConn).writeLoop(0x1d83768) + /usr/lib/go-1.24/src/net/http/transport.go:2590 +0xc0 +created by net/http.(*Transport).dialConn in goroutine 6793 + /usr/lib/go-1.24/src/net/http/transport.go:1945 +0x175c + +goroutine 6792 [IO wait]: +internal/poll.runtime_pollWait(0xb47a4978, 0x72) + /usr/lib/go-1.24/src/runtime/netpoll.go:351 +0x54 +internal/poll.(*pollDesc).wait(0x220e6f8, 0x72, 0x0) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:84 +0x30 +internal/poll.(*pollDesc).waitRead(...) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:89 +internal/poll.(*FD).Accept(0x220e6e0) + /usr/lib/go-1.24/src/internal/poll/fd_unix.go:620 +0x284 +net.(*netFD).accept(0x220e6e0) + /usr/lib/go-1.24/src/net/fd_unix.go:172 +0x20 +net.(*TCPListener).accept(0x221e720) + /usr/lib/go-1.24/src/net/tcpsock_posix.go:159 +0x20 +net.(*TCPListener).Accept(0x221e720) + /usr/lib/go-1.24/src/net/tcpsock.go:380 +0x30 +crypto/tls.(*listener).Accept(0x2126930) + /usr/lib/go-1.24/src/crypto/tls/tls.go:67 +0x28 +net/http.(*Server).Serve(0x1d831e8, {0xa74148, 0x2126930}) + /usr/lib/go-1.24/src/net/http/server.go:3424 +0x2dc +net/http/httptest.(*Server).goServe.func1() + /usr/lib/go-1.24/src/net/http/httptest/server.go:311 +0x64 +created by net/http/httptest.(*Server).goServe in goroutine 6791 + /usr/lib/go-1.24/src/net/http/httptest/server.go:309 +0x74 + +goroutine 6385 [IO wait]: +internal/poll.runtime_pollWait(0xb5983ef0, 0x72) + /usr/lib/go-1.24/src/runtime/netpoll.go:351 +0x54 +internal/poll.(*pollDesc).wait(0x1dee068, 0x72, 0x0) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:84 +0x30 +internal/poll.(*pollDesc).waitRead(...) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:89 +internal/poll.(*FD).Read(0x1dee050, {0x1fee000, 0x240, 0x240}) + /usr/lib/go-1.24/src/internal/poll/fd_unix.go:165 +0x22c +net.(*netFD).Read(0x1dee050, {0x1fee000, 0x240, 0x240}) + /usr/lib/go-1.24/src/net/fd_posix.go:55 +0x38 +net.(*conn).Read(0x1c92030, {0x1fee000, 0x240, 0x240}) + /usr/lib/go-1.24/src/net/net.go:194 +0x48 +crypto/tls.(*atLeastReader).Read(0x20ba510, {0x1fee000, 0x240, 0x240}) + /usr/lib/go-1.24/src/crypto/tls/conn.go:809 +0x78 +bytes.(*Buffer).ReadFrom(0x2032a94, {0xa71890, 0x20ba510}) + /usr/lib/go-1.24/src/bytes/buffer.go:211 +0xa4 +crypto/tls.(*Conn).readFromUntil(0x2032908, {0xa71600, 0x1c92030}, 0x5) + /usr/lib/go-1.24/src/crypto/tls/conn.go:831 +0xd4 +crypto/tls.(*Conn).readRecordOrCCS(0x2032908, 0x0) + /usr/lib/go-1.24/src/crypto/tls/conn.go:629 +0x134 +crypto/tls.(*Conn).readRecord(...) + /usr/lib/go-1.24/src/crypto/tls/conn.go:591 +crypto/tls.(*Conn).Read(0x2032908, {0x1fa3000, 0x1000, 0x1000}) + /usr/lib/go-1.24/src/crypto/tls/conn.go:1385 +0x14c +net/http.(*connReader).Read(0x21c2120, {0x1fa3000, 0x1000, 0x1000}) + /usr/lib/go-1.24/src/net/http/server.go:798 +0x170 +bufio.(*Reader).fill(0x218f110) + /usr/lib/go-1.24/src/bufio/bufio.go:113 +0x10c +bufio.(*Reader).Peek(0x218f110, 0x4) + /usr/lib/go-1.24/src/bufio/bufio.go:152 +0x68 +net/http.(*conn).serve(0x1d116e0, {0xa74c6c, 0x1eea1f8}) + /usr/lib/go-1.24/src/net/http/server.go:2137 +0x8a4 +created by net/http.(*Server).Serve in goroutine 6792 + /usr/lib/go-1.24/src/net/http/server.go:3454 +0x430 + +goroutine 6802 [IO wait]: +internal/poll.runtime_pollWait(0xb59841b0, 0x72) + /usr/lib/go-1.24/src/runtime/netpoll.go:351 +0x54 +internal/poll.(*pollDesc).wait(0x220e928, 0x72, 0x0) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:84 +0x30 +internal/poll.(*pollDesc).waitRead(...) + /usr/lib/go-1.24/src/internal/poll/fd_poll_runtime.go:89 +internal/poll.(*FD).Read(0x220e910, {0x1d68e00, 0x700, 0x700}) + /usr/lib/go-1.24/src/internal/poll/fd_unix.go:165 +0x22c +net.(*netFD).Read(0x220e910, {0x1d68e00, 0x700, 0x700}) + /usr/lib/go-1.24/src/net/fd_posix.go:55 +0x38 +net.(*conn).Read(0x2212e58, {0x1d68e00, 0x700, 0x700}) + /usr/lib/go-1.24/src/net/net.go:194 +0x48 +crypto/tls.(*atLeastReader).Read(0x20ba550, {0x1d68e00, 0x700, 0x700}) + /usr/lib/go-1.24/src/crypto/tls/conn.go:809 +0x78 +bytes.(*Buffer).ReadFrom(0x2092614, {0xa71890, 0x20ba550}) + /usr/lib/go-1.24/src/bytes/buffer.go:211 +0xa4 +crypto/tls.(*Conn).readFromUntil(0x2092488, {0xa71600, 0x2212e58}, 0x5) + /usr/lib/go-1.24/src/crypto/tls/conn.go:831 +0xd4 +crypto/tls.(*Conn).readRecordOrCCS(0x2092488, 0x0) + /usr/lib/go-1.24/src/crypto/tls/conn.go:629 +0x134 +crypto/tls.(*Conn).readRecord(...) + /usr/lib/go-1.24/src/crypto/tls/conn.go:591 +crypto/tls.(*Conn).Read(0x2092488, {0x200d000, 0x1000, 0x1000}) + /usr/lib/go-1.24/src/crypto/tls/conn.go:1385 +0x14c +net/http.(*persistConn).Read(0x1d83768, {0x200d000, 0x1000, 0x1000}) + /usr/lib/go-1.24/src/net/http/transport.go:2122 +0x16c +bufio.(*Reader).fill(0x218f050) + /usr/lib/go-1.24/src/bufio/bufio.go:113 +0x10c +bufio.(*Reader).Peek(0x218f050, 0x1) + /usr/lib/go-1.24/src/bufio/bufio.go:152 +0x68 +net/http.(*persistConn).readLoop(0x1d83768) + /usr/lib/go-1.24/src/net/http/transport.go:2275 +0x158 +created by net/http.(*Transport).dialConn in goroutine 6793 + /usr/lib/go-1.24/src/net/http/transport.go:1944 +0x170c +FAIL github.com/henrybear327/go-proton-api/server 603.793s === RUN TestID --- PASS: TestID (0.00s) === RUN Test_mergeUpdates @@ -1867,40 +1989,24 @@ --- PASS: Test_mergeUpdates/replace_with_updated (0.00s) --- PASS: Test_mergeUpdates/replace_with_delete (0.00s) PASS -ok github.com/henrybear327/go-proton-api/server/backend 1.165s +ok github.com/henrybear327/go-proton-api/server/backend 1.572s ? github.com/henrybear327/go-proton-api/server/proto [no test files] - create-stamp debian/debhelper-build-stamp - dh_testroot -O--builddirectory=_build -O--buildsystem=golang - dh_prep -O--builddirectory=_build -O--buildsystem=golang - dh_auto_install --destdir=debian/golang-github-henrybear327-go-proton-api-dev/ -O--builddirectory=_build -O--buildsystem=golang - dh_installdocs -O--builddirectory=_build -O--buildsystem=golang - dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang - dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang - dh_perl -O--builddirectory=_build -O--buildsystem=golang - dh_link -O--builddirectory=_build -O--buildsystem=golang - dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang - dh_compress -O--builddirectory=_build -O--buildsystem=golang - dh_fixperms -O--builddirectory=_build -O--buildsystem=golang - dh_missing -O--builddirectory=_build -O--buildsystem=golang - dh_installdeb -O--builddirectory=_build -O--buildsystem=golang - dh_golang -O--builddirectory=_build -O--buildsystem=golang - dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang - dh_md5sums -O--builddirectory=_build -O--buildsystem=golang - dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'golang-github-henrybear327-go-proton-api-dev' in '../golang-github-henrybear327-go-proton-api-dev_1.0.0-4_all.deb'. - dpkg-genbuildinfo --build=binary -O../golang-github-henrybear327-go-proton-api_1.0.0-4_armhf.buildinfo - dpkg-genchanges --build=binary -O../golang-github-henrybear327-go-proton-api_1.0.0-4_armhf.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: not including original source code in upload +FAIL +dh_auto_test: error: cd _build && go test -vet=off -v -p 4 github.com/henrybear327/go-proton-api github.com/henrybear327/go-proton-api/server github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto returned exit code 1 +make: *** [debian/rules:14: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Fri Apr 18 09:41:26 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 2.0G 0 2.0G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/3507/tmp/hooks/C01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/10735 and its subdirectories -I: Current time: Thu Apr 17 21:20:47 -12 2025 -I: pbuilder-time-stamp: 1744968047 +I: removing directory /srv/workspace/pbuilder/3507 and its subdirectories