Diff of the two buildlogs: -- --- b1/build.log 2025-01-07 19:39:59.219576813 +0000 +++ b2/build.log 2025-01-07 19:47:44.610352519 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 7 07:34:32 -12 2025 -I: pbuilder-time-stamp: 1736278472 +I: Current time: Wed Jan 8 09:40:03 +14 2025 +I: pbuilder-time-stamp: 1736278803 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/2264208/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1539957/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Jan 7 19:40 /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/1539957/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1539957/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='270da2d6b15e41c09e668dd5e936b302' - 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='2264208' - PS1='# ' - PS2='> ' + INVOCATION_ID=ed6942e68a644215a81230553722e85c + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=1539957 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.uUlL5kd5/pbuilderrc_08du --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uUlL5kd5/b1 --logfile b1/build.log golang-github-henrybear327-go-proton-api_1.0.0-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.uUlL5kd5/pbuilderrc_q8zi --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uUlL5kd5/b2 --logfile b2/build.log golang-github-henrybear327-go-proton-api_1.0.0-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2264208/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1539957/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -277,7 +309,7 @@ Get: 121 http://deb.debian.org/debian unstable/main arm64 protoc-gen-go-grpc arm64 1.64.0-6+b1 [1192 kB] Get: 122 http://deb.debian.org/debian unstable/main arm64 golang-github-gin-contrib-sse-dev all 0.1.0-2 [6872 B] Get: 123 http://deb.debian.org/debian unstable/main arm64 golang-github-gin-gonic-gin-dev all 1.8.1-2 [107 kB] -Fetched 137 MB in 2s (61.5 MB/s) +Fetched 137 MB in 1s (110 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 ... 19966 files and directories currently installed.) @@ -784,7 +816,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/1539957/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1539957/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 @@ -820,56 +856,56 @@ 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 12 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/goos -internal/godebugs -internal/profilerecord -internal/byteorder -unicode/utf8 internal/goarch -internal/unsafeheader -unicode -internal/goexperiment -internal/itoa -crypto/subtle +internal/byteorder +internal/godebugs internal/coverage/rtcov +internal/goexperiment +internal/goos +internal/unsafeheader internal/race -internal/runtime/syscall -internal/cpu +internal/profilerecord sync/atomic -internal/asan -internal/abi +unicode internal/chacha8rand +internal/abi +internal/runtime/syscall runtime/internal/math -internal/msan +unicode/utf8 +internal/cpu runtime/internal/sys +internal/asan +internal/itoa +internal/msan math/bits crypto/internal/alias +crypto/subtle crypto/internal/boring/sig container/list cmp unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias -internal/bytealg math +vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding -internal/runtime/atomic log/internal github.com/ProtonMail/go-crypto/internal/byteutil image/color -golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal +golang.org/x/text/encoding/internal/identifier github.com/ProtonMail/gopenpgp/v2/constants golang.org/x/net/html/atom github.com/bradenaw/juniper/iterator github.com/bradenaw/juniper/xmath golang.org/x/exp/constraints +internal/bytealg +internal/runtime/atomic github.com/gin-gonic/gin/internal/bytesconv github.com/go-playground/locales/currency github.com/pelletier/go-toml/v2/internal/characters -google.golang.org/protobuf/internal/flags golang.org/x/exp/slices +google.golang.org/protobuf/internal/flags golang.org/x/exp/maps google.golang.org/grpc/serviceconfig google.golang.org/protobuf/internal/set @@ -877,263 +913,263 @@ internal/stringslite runtime internal/reflectlite +sync iter internal/weak -sync -maps slices +maps github.com/bradenaw/juniper/xslices internal/bisect -google.golang.org/protobuf/internal/pragma -internal/singleflight internal/testlog +internal/singleflight +google.golang.org/protobuf/internal/pragma runtime/cgo +internal/godebug errors -sort +math/rand +io internal/oserror -internal/godebug +strconv crypto/internal/edwards25519/field crypto/internal/nistec/fiat -strconv -io +sort +math/rand/v2 path -bytes +github.com/bradenaw/juniper/internal/heap +golang.org/x/crypto/cast5 +vendor/golang.org/x/net/dns/dnsmessage syscall -math/rand/v2 +google.golang.org/grpc/internal/grpcrand +google.golang.org/grpc/internal/buffer crypto/internal/edwards25519 -vendor/golang.org/x/net/dns/dnsmessage -reflect +bytes +strings hash crypto/internal/randutil -strings -math/rand -crypto/rc4 +hash/crc32 +hash/adler32 internal/concurrent +github.com/emersion/go-textwrapper +internal/saferio +unique +golang.org/x/text/internal/tag +github.com/bradenaw/juniper/xsort +hash/fnv crypto -crypto/cipher -hash/crc32 +reflect +crypto/rc4 github.com/ProtonMail/go-crypto/openpgp/errors -unique +net/http/internal/ascii +regexp/syntax +github.com/bradenaw/juniper/container/xheap crypto/md5 -golang.org/x/crypto/cast5 github.com/cloudflare/circl/sign -hash/adler32 -crypto/internal/boring bufio -crypto/des -github.com/ProtonMail/go-crypto/eax +crypto/cipher net/netip golang.org/x/text/transform -golang.org/x/text/internal/tag +vendor/golang.org/x/text/transform +crypto/internal/boring +crypto/des +github.com/ProtonMail/go-crypto/eax +golang.org/x/text/encoding +golang.org/x/text/runes +compress/bzip2 crypto/hmac crypto/sha256 crypto/aes crypto/sha512 -crypto/sha1 -vendor/golang.org/x/text/transform -golang.org/x/text/encoding vendor/golang.org/x/crypto/hkdf -compress/bzip2 +crypto/sha1 golang.org/x/crypto/hkdf image -golang.org/x/text/runes golang.org/x/text/encoding/internal -net/http/internal/ascii -regexp/syntax -github.com/bradenaw/juniper/internal/heap +html +net/http/internal/testcert golang.org/x/text/encoding/charmap golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/unicode +regexp time internal/syscall/unix internal/syscall/execenv image/internal/imageutil -github.com/bradenaw/juniper/xsort -github.com/emersion/go-textwrapper image/jpeg -github.com/bradenaw/juniper/container/xheap -internal/saferio -html -hash/fnv -net/http/internal/testcert -regexp -google.golang.org/grpc/internal/grpcrand -google.golang.org/grpc/internal/buffer -internal/fmtsort -encoding/binary context +io/fs github.com/emersion/go-vcard github.com/go-playground/locales google.golang.org/grpc/backoff -io/fs -internal/poll google.golang.org/grpc/keepalive -embed +internal/poll golang.org/x/text/encoding/ianaindex -internal/filepathlite github.com/bradenaw/juniper/stream google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync +embed +internal/filepathlite crypto/internal/nistec google.golang.org/protobuf/internal/editiondefaults -vendor/golang.org/x/crypto/internal/poly1305 +os +internal/fmtsort +encoding/binary +crypto/ecdh vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 golang.org/x/sys/unix github.com/ProtonMail/go-crypto/openpgp/aes/keywrap github.com/cloudflare/circl/internal/sha3 golang.org/x/crypto/blake2b -os +golang.org/x/crypto/curve25519 encoding/pem github.com/ProtonMail/go-crypto/openpgp/armor golang.org/x/crypto/argon2 vendor/golang.org/x/crypto/chacha20poly1305 -crypto/ecdh -golang.org/x/crypto/curve25519 +fmt vendor/golang.org/x/sys/cpu -path/filepath -io/ioutil golang.org/x/sys/cpu -google.golang.org/grpc/internal/envconfig -fmt +io/ioutil google.golang.org/protobuf/internal/detrand +google.golang.org/grpc/internal/envconfig +path/filepath net vendor/golang.org/x/crypto/sha3 golang.org/x/crypto/sha3 -math/big encoding/hex -net/url -encoding/json text/tabwriter -log -compress/flate mime +encoding/json mime/quotedprintable +compress/flate github.com/pkg/errors -github.com/ProtonMail/go-crypto/ocb +math/big +log +net/url golang.org/x/text/internal/language +github.com/ProtonMail/go-crypto/ocb vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/bidi github.com/ProtonMail/go-crypto/openpgp/internal/algorithm net/http/internal +compress/gzip +compress/zlib github.com/ProtonMail/go-crypto/openpgp/s2k github.com/ProtonMail/gopenpgp/v2/internal runtime/debug -compress/gzip -compress/zlib github.com/ProtonMail/gopenpgp/v2/armor +runtime/pprof golang.org/x/net/html golang.org/x/sync/errgroup encoding/xml github.com/bradenaw/juniper/parallel -runtime/pprof database/sql/driver +flag vendor/golang.org/x/text/secure/bidirule golang.org/x/text/internal/language/compact -flag github.com/pelletier/go-toml/v2/internal/danger -encoding/gob -golang.org/x/text/language -github.com/pelletier/go-toml/v2/unstable -github.com/sirupsen/logrus github.com/Masterminds/semver github.com/gin-gonic/gin/internal/json -vendor/golang.org/x/net/idna github.com/go-playground/universal-translator -golang.org/x/text/encoding/htmlindex github.com/leodido/go-urn -github.com/pelletier/go-toml/v2/internal/tracker +vendor/golang.org/x/net/idna +golang.org/x/text/language +github.com/pelletier/go-toml/v2/unstable +encoding/gob go/token text/template/parse -github.com/andybalholm/cascadia -google.golang.org/protobuf/internal/errors +github.com/sirupsen/logrus +github.com/pelletier/go-toml/v2/internal/tracker +github.com/ProtonMail/gluon/logging +golang.org/x/text/encoding/htmlindex +github.com/ProtonMail/gluon/async github.com/pelletier/go-toml/v2 +google.golang.org/protobuf/internal/errors crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/dsa -github.com/ProtonMail/gluon/logging +github.com/ProtonMail/go-crypto/openpgp/internal/encoding +github.com/cloudflare/circl/internal/conv +github.com/cronokirby/saferith +github.com/andybalholm/cascadia crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 +crypto/rsa github.com/ProtonMail/go-crypto/bitcurves -github.com/ProtonMail/gluon/async github.com/ProtonMail/go-crypto/brainpool -github.com/ProtonMail/go-crypto/openpgp/internal/encoding -github.com/cloudflare/circl/internal/conv +github.com/cloudflare/circl/math/fp25519 +github.com/cloudflare/circl/math/fp448 github.com/cloudflare/circl/math -crypto/rsa +github.com/cloudflare/circl/math/mlsbset github.com/ProtonMail/go-crypto/openpgp/elgamal github.com/ProtonMail/bcrypt -github.com/cronokirby/saferith -google.golang.org/protobuf/encoding/protowire -github.com/mattn/go-isatty -gopkg.in/yaml.v2 text/template -golang.org/x/text/unicode/bidi +google.golang.org/protobuf/encoding/protowire +github.com/cloudflare/circl/dh/x25519 vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/cloudflare/circl/math/fp25519 -github.com/cloudflare/circl/math/fp448 -github.com/cloudflare/circl/math/mlsbset -google.golang.org/protobuf/reflect/protoreflect -golang.org/x/text/unicode/norm -golang.org/x/net/http2/hpack -github.com/cloudflare/circl/dh/x25519 github.com/cloudflare/circl/sign/ed25519 -crypto/ecdsa +gopkg.in/yaml.v2 +github.com/mattn/go-isatty +google.golang.org/protobuf/reflect/protoreflect github.com/cloudflare/circl/dh/x448 github.com/cloudflare/circl/ecc/goldilocks -golang.org/x/text/secure/bidirule github.com/ProtonMail/go-crypto/openpgp/x25519 +golang.org/x/text/unicode/bidi +golang.org/x/text/unicode/norm +golang.org/x/net/http2/hpack golang.org/x/net/internal/timeseries -google.golang.org/grpc/internal/grpclog github.com/ProtonMail/go-crypto/openpgp/ed25519 -google.golang.org/grpc/attributes -google.golang.org/grpc/grpclog +crypto/ecdsa github.com/ProtonMail/go-crypto/openpgp/x448 +google.golang.org/grpc/internal/grpclog +google.golang.org/grpc/attributes google.golang.org/protobuf/internal/version -google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/grpc/internal/idle +google.golang.org/grpc/grpclog github.com/cloudflare/circl/sign/ed448 +golang.org/x/text/secure/bidirule +html/template +github.com/ProtonMail/go-crypto/openpgp/ed448 +github.com/ProtonMail/go-crypto/openpgp/internal/ecc +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/runtime/protoiface +google.golang.org/protobuf/internal/strs +google.golang.org/grpc/connectivity google.golang.org/protobuf/internal/descfmt -google.golang.org/grpc/internal/idle -google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text -github.com/ProtonMail/go-crypto/openpgp/ed448 -google.golang.org/grpc/connectivity -github.com/ProtonMail/go-crypto/openpgp/internal/ecc google.golang.org/protobuf/internal/encoding/json -html/template -golang.org/x/net/idna -google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/proto github.com/ProtonMail/go-crypto/openpgp/ecdh github.com/ProtonMail/go-crypto/openpgp/ecdsa github.com/ProtonMail/go-crypto/openpgp/eddsa +google.golang.org/protobuf/proto github.com/ProtonMail/go-crypto/openpgp/packet +golang.org/x/net/idna +google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext github.com/ProtonMail/go-crypto/openpgp google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl +crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy -crypto/x509 github.com/google/uuid -google.golang.org/grpc/internal github.com/go-playground/validator/v10 +google.golang.org/grpc/internal google.golang.org/grpc/internal/syscall google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/metadata @@ -1146,9 +1182,9 @@ github.com/emersion/go-message/textproto golang.org/x/net/http/httpguts google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/tap google.golang.org/grpc/internal/balancerload google.golang.org/grpc/stats -google.golang.org/grpc/tap github.com/ProtonMail/go-srp google.golang.org/grpc/encoding github.com/emersion/go-message @@ -1157,61 +1193,61 @@ google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/durationpb -google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/known/anypb google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty google.golang.org/genproto/googleapis/rpc/status -github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -google.golang.org/grpc/binarylog/grpc_binarylog_v1 +github.com/golang/protobuf/ptypes/duration google.golang.org/grpc/internal/status +google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog net/http/httptrace google.golang.org/grpc/internal/credentials google.golang.org/grpc/credentials net/http -google.golang.org/grpc/credentials/insecure -google.golang.org/grpc/resolver google.golang.org/grpc/internal/channelz +google.golang.org/grpc/resolver +google.golang.org/grpc/credentials/insecure google.golang.org/grpc/peer google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/unix +google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig -google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch +google.golang.org/grpc/internal/resolver github.com/ProtonMail/go-mime +net/http/httputil +github.com/PuerkitoBio/goquery +net/http/httptest net/http/cookiejar github.com/gin-contrib/sse -net/rpc golang.org/x/net/http2 golang.org/x/net/trace -net/http/httptest -net/http/httputil -github.com/PuerkitoBio/goquery +net/rpc golang.org/x/net/publicsuffix -github.com/ProtonMail/gopenpgp/v2/crypto github.com/go-resty/resty +github.com/ProtonMail/gopenpgp/v2/crypto github.com/ugorji/go/codec -github.com/ProtonMail/gopenpgp/v2/helper github.com/henrybear327/go-proton-api +github.com/ProtonMail/gopenpgp/v2/helper golang.org/x/net/http2/h2c google.golang.org/grpc/internal/transport google.golang.org/grpc github.com/henrybear327/go-proton-api/server/backend github.com/henrybear327/go-proton-api/server/proto -github.com/gin-gonic/gin/binding github.com/gin-gonic/gin/render +github.com/gin-gonic/gin/binding github.com/gin-gonic/gin github.com/henrybear327/go-proton-api/server dh_auto_test -O--builddirectory=_build -O--buildsystem=golang @@ -1222,13 +1258,13 @@ === RUN TestGroup --- PASS: TestGroup (0.01s) === RUN TestKeyring_Unlock -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" -time="2025-01-07T19:35:49Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" ---- PASS: TestKeyring_Unlock (3.34s) +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=1 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=2 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +time="2025-01-07T19:42:39Z" level=warning msg="Cannot unlock key" KeyID=3 error="gopenpgp: error in unlocking key: openpgp: invalid data: private key checksum failure" +--- PASS: TestKeyring_Unlock (5.02s) === RUN TestEncryptMessage_Simple --- PASS: TestEncryptMessage_Simple (0.00s) === RUN TestEncryptMessage_MultipleTextParts @@ -1251,16 +1287,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 (0.78s) - --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_detached_signature (0.01s) - --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_no_signature_(error) (0.01s) +--- PASS: TestSendDraftReq_AddMIMEPackage (2.26s) + --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_detached_signature (0.03s) + --- PASS: TestSendDraftReq_AddMIMEPackage/Clear_MIME_with_no_signature_(error) (0.03s) --- 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.01s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_detached_signature (0.02s) --- 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.01s) - --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_no_signature_(error) (0.01s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_missing_public_key_(error) (0.03s) + --- PASS: TestSendDraftReq_AddMIMEPackage/PGP_MIME_with_no_signature_(error) (0.02s) === RUN TestSendDraftReq_AddPackage === RUN TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature === RUN TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature @@ -1279,24 +1315,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 (0.92s) - --- PASS: TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature (0.01s) - --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature (0.01s) +--- PASS: TestSendDraftReq_AddPackage (2.19s) + --- PASS: TestSendDraftReq_AddPackage/internal_plain_text_with_detached_signature (0.02s) + --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_detached_signature (0.04s) --- 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.01s) + --- PASS: TestSendDraftReq_AddPackage/internal_rich_text_with_bad_recipient_content_type_(error) (0.03s) --- PASS: TestSendDraftReq_AddPackage/internal_with_multipart_(error) (0.00s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_encryption_(error) (0.01s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_pubkey_(error) (0.01s) - --- PASS: TestSendDraftReq_AddPackage/internal_without_signature_(error) (0.01s) - --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_without_signature (0.01s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_without_signature (0.01s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_signature (0.01s) - --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_bad_scheme_(error) (0.01s) - --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_with_signature_(error) (0.01s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_plain_text_with_signature (0.01s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_html_text_with_signature_(error) (0.01s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_encryption_(error) (0.03s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_pubkey_(error) (0.02s) + --- PASS: TestSendDraftReq_AddPackage/internal_without_signature_(error) (0.03s) + --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_without_signature (0.02s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_without_signature (0.03s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_signature (0.02s) + --- PASS: TestSendDraftReq_AddPackage/clear_plain_text_with_bad_scheme_(error) (0.03s) + --- PASS: TestSendDraftReq_AddPackage/clear_rich_text_with_signature_(error) (0.02s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_plain_text_with_signature (0.03s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_html_text_with_signature_(error) (0.02s) --- PASS: TestSendDraftReq_AddPackage/encrypted_mixed_text_with_signature_(error) (0.00s) - --- PASS: TestSendDraftReq_AddPackage/encrypted_for_outside_(error) (0.01s) + --- PASS: TestSendDraftReq_AddPackage/encrypted_for_outside_(error) (0.03s) === RUN TestDecrypt message_types_test.go:12: Skipping, expired GPG key --- SKIP: TestDecrypt (0.00s) @@ -1309,276 +1345,239 @@ === RUN TestPool_Process_Error --- PASS: TestPool_Process_Error (0.00s) === RUN TestPool_Process_Parallel ---- PASS: TestPool_Process_Parallel (0.30s) +--- PASS: TestPool_Process_Parallel (0.31s) === RUN TestPool_ProcessAll --- PASS: TestPool_ProcessAll (0.00s) === RUN TestAddress_Types ---- PASS: TestAddress_Types (7.19s) +--- PASS: TestAddress_Types (23.64s) === RUN TestAttachment_429Response -time="2025-01-07T19:36:01Z" level=warning msg="Too many requests, retrying after delay" after=16 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:43931/mail/v4/attachments/someID" -time="2025-01-07T19:36:17Z" level=warning msg="Too many requests, retrying after delay" after=17 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:43931/mail/v4/attachments/someID" -time="2025-01-07T19:36:34Z" 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:43931/mail/v4/attachments/someID" ---- PASS: TestAttachment_429Response (54.02s) +time="2025-01-07T19:43:14Z" level=warning msg="Too many requests, retrying after delay" after=11 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:44689/mail/v4/attachments/someID" +time="2025-01-07T19:43:25Z" 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:44689/mail/v4/attachments/someID" +time="2025-01-07T19:43:43Z" level=warning msg="Too many requests, retrying after delay" after=11 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:44689/mail/v4/attachments/someID" +--- PASS: TestAttachment_429Response (46.19s) === RUN TestAttachment_ContextCancelled -2025/01/07 19:36:55.193143 WARN RESTY Get "https://127.0.0.1:37421/mail/v4/attachments/someID": context canceled, Attempt 1 -2025/01/07 19:36:55.193180 ERROR RESTY Get "https://127.0.0.1:37421/mail/v4/attachments/someID": context canceled ---- PASS: TestAttachment_ContextCancelled (2.52s) +2025/01/07 19:43:58.897083 WARN RESTY Get "https://127.0.0.1:35281/mail/v4/attachments/someID": context canceled, Attempt 1 +2025/01/07 19:43:58.897108 ERROR RESTY Get "https://127.0.0.1:35281/mail/v4/attachments/someID": context canceled +--- PASS: TestAttachment_ContextCancelled (4.61s) === RUN TestAuth -2025/01/07 19:36:57.506326 WARN RESTY 401 DELETE https://127.0.0.1:37889/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:36:57.506352 ERROR RESTY 401 DELETE https://127.0.0.1:37889/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:36:57.506788 WARN RESTY 422 POST https://127.0.0.1:37889/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:36:57.506800 ERROR RESTY 422 POST https://127.0.0.1:37889/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestAuth (2.31s) +2025/01/07 19:44:05.718501 WARN RESTY 401 DELETE https://127.0.0.1:38729/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:05.718540 ERROR RESTY 401 DELETE https://127.0.0.1:38729/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:05.718721 WARN RESTY 422 POST https://127.0.0.1:38729/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:44:05.718726 ERROR RESTY 422 POST https://127.0.0.1:38729/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestAuth (6.82s) === RUN TestAuth_Refresh -2025/01/07 19:37:04.019552 WARN RESTY 401 GET https://127.0.0.1:34511/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:04.019590 ERROR RESTY 401 GET https://127.0.0.1:34511/core/v4/users: 401 Unauthorized (Code=0, Status=401) ---- PASS: TestAuth_Refresh (6.52s) +2025/01/07 19:44:13.138137 WARN RESTY 401 GET https://127.0.0.1:37871/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:13.138160 ERROR RESTY 401 GET https://127.0.0.1:37871/core/v4/users: 401 Unauthorized (Code=0, Status=401) +--- PASS: TestAuth_Refresh (7.43s) === RUN TestAuth_Refresh_Multi -2025/01/07 19:37:10.909331 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.909375 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.924991 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925028 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925449 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925465 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925506 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925529 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925531 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925551 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925737 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925745 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925807 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925828 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925869 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.925876 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.925997 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.926003 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.926124 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.926130 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.926319 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.926326 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:10.930109 WARN RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:10.930148 ERROR RESTY 401 GET https://127.0.0.1:37863/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:11 http: TLS handshake error from 127.0.0.1:60474: write tcp 127.0.0.1:37863->127.0.0.1:60474: use of closed network connection ---- PASS: TestAuth_Refresh_Multi (7.23s) +2025/01/07 19:44:23.577873 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.577889 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.577903 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.577906 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578071 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578077 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578094 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578096 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578226 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578231 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578245 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578247 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578360 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578364 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578380 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578382 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578489 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578493 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578510 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578512 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578623 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578627 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:23.578641 WARN RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:23.578644 ERROR RESTY 401 GET https://127.0.0.1:39847/core/v4/users: 401 Unauthorized (Code=0, Status=401) +--- PASS: TestAuth_Refresh_Multi (11.24s) === RUN TestAuth_Refresh_Deauth -2025/01/07 19:37:13.782835 WARN RESTY 401 GET https://127.0.0.1:36293/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:13.782860 ERROR RESTY 401 GET https://127.0.0.1:36293/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:13.783041 WARN RESTY 422 POST https://127.0.0.1:36293/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:37:13.783046 ERROR RESTY 422 POST https://127.0.0.1:36293/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestAuth_Refresh_Deauth (2.83s) +2025/01/07 19:44:30.051834 WARN RESTY 401 GET https://127.0.0.1:39697/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:44:30.051870 ERROR RESTY 401 GET https://127.0.0.1:39697/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:44:30.052065 WARN RESTY 422 POST https://127.0.0.1:39697/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:44:30.052070 ERROR RESTY 422 POST https://127.0.0.1:39697/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestAuth_Refresh_Deauth (5.97s) === RUN TestEventStreamer ---- PASS: TestEventStreamer (4.03s) +--- PASS: TestEventStreamer (7.19s) === RUN TestMaxEventMerge ---- PASS: TestMaxEventMerge (2.04s) +--- PASS: TestMaxEventMerge (4.54s) === RUN Test_HMAC --- PASS: Test_HMAC (0.00s) === RUN TestReportBug --- PASS: TestReportBug (0.01s) === RUN TestStatus -2025/01/07 19:37:20.163136 WARN RESTY Get "https://127.0.0.1:36375/tests/ping": dial failed (not allowed), Attempt 1 -2025/01/07 19:37:20.264013 WARN RESTY Get "https://127.0.0.1:36375/tests/ping": dial failed (not allowed), Attempt 2 -2025/01/07 19:37:20.367908 WARN RESTY Get "https://127.0.0.1:36375/tests/ping": dial failed (not allowed), Attempt 3 -2025/01/07 19:37:20.642588 WARN RESTY Get "https://127.0.0.1:36375/tests/ping": dial failed (not allowed), Attempt 4 -2025/01/07 19:37:20.642636 ERROR RESTY Get "https://127.0.0.1:36375/tests/ping": dial failed (not allowed) ---- PASS: TestStatus (0.50s) +2025/01/07 19:44:42.102571 WARN RESTY Get "https://127.0.0.1:41291/tests/ping": dial failed (not allowed), Attempt 1 +2025/01/07 19:44:42.205940 WARN RESTY Get "https://127.0.0.1:41291/tests/ping": dial failed (not allowed), Attempt 2 +2025/01/07 19:44:42.349976 WARN RESTY Get "https://127.0.0.1:41291/tests/ping": dial failed (not allowed), Attempt 3 +2025/01/07 19:44:42.553912 WARN RESTY Get "https://127.0.0.1:41291/tests/ping": dial failed (not allowed), Attempt 4 +2025/01/07 19:44:42.553942 ERROR RESTY Get "https://127.0.0.1:41291/tests/ping": dial failed (not allowed) +--- PASS: TestStatus (0.49s) === RUN TestStatus_NoDial -2025/01/07 19:37:20.659185 WARN RESTY Get "https://127.0.0.1:42725/tests/ping": dial failed (not allowed), Attempt 1 -2025/01/07 19:37:20.760038 WARN RESTY Get "https://127.0.0.1:42725/tests/ping": dial failed (not allowed), Attempt 2 -2025/01/07 19:37:20.863522 WARN RESTY Get "https://127.0.0.1:42725/tests/ping": dial failed (not allowed), Attempt 3 -2025/01/07 19:37:21.241251 WARN RESTY Get "https://127.0.0.1:42725/tests/ping": dial failed (not allowed), Attempt 4 -2025/01/07 19:37:21.241298 ERROR RESTY Get "https://127.0.0.1:42725/tests/ping": dial failed (not allowed) ---- PASS: TestStatus_NoDial (0.58s) +2025/01/07 19:44:42.586826 WARN RESTY Get "https://127.0.0.1:45399/tests/ping": dial failed (not allowed), Attempt 1 +2025/01/07 19:44:42.689920 WARN RESTY Get "https://127.0.0.1:45399/tests/ping": dial failed (not allowed), Attempt 2 +2025/01/07 19:44:42.821932 WARN RESTY Get "https://127.0.0.1:45399/tests/ping": dial failed (not allowed), Attempt 3 +2025/01/07 19:44:43.129922 WARN RESTY Get "https://127.0.0.1:45399/tests/ping": dial failed (not allowed), Attempt 4 +2025/01/07 19:44:43.129953 ERROR RESTY Get "https://127.0.0.1:45399/tests/ping": dial failed (not allowed) +--- PASS: TestStatus_NoDial (0.54s) === RUN TestStatus_NoRead -2025/01/07 19:37:21.257904 WARN RESTY Get "https://127.0.0.1:35563/tests/ping": read failed (not allowed), Attempt 1 -2025/01/07 19:37:21.376577 WARN RESTY Get "https://127.0.0.1:35563/tests/ping": read failed (not allowed), Attempt 2 -2025/01/07 19:37:21.549082 WARN RESTY Get "https://127.0.0.1:35563/tests/ping": read failed (not allowed), Attempt 3 -2025/01/07 19:37:21.843895 WARN RESTY Get "https://127.0.0.1:35563/tests/ping": read failed (not allowed), Attempt 4 -2025/01/07 19:37:21.843942 ERROR RESTY Get "https://127.0.0.1:35563/tests/ping": read failed (not allowed) ---- PASS: TestStatus_NoRead (0.60s) +2025/01/07 19:44:43.139950 WARN RESTY Get "https://127.0.0.1:44791/tests/ping": read failed (not allowed), Attempt 1 +2025/01/07 19:44:43.251621 WARN RESTY Get "https://127.0.0.1:44791/tests/ping": read failed (not allowed), Attempt 2 +2025/01/07 19:44:43.402498 WARN RESTY Get "https://127.0.0.1:44791/tests/ping": read failed (not allowed), Attempt 3 +2025/01/07 19:44:43.643382 WARN RESTY Get "https://127.0.0.1:44791/tests/ping": read failed (not allowed), Attempt 4 +2025/01/07 19:44:43.643409 ERROR RESTY Get "https://127.0.0.1:44791/tests/ping": read failed (not allowed) +2025/01/07 19:44:43 http: TLS handshake error from 127.0.0.1:45924: read tcp 127.0.0.1:44791->127.0.0.1:45924: use of closed network connection +--- PASS: TestStatus_NoRead (0.51s) === RUN TestStatus_NoWrite -2025/01/07 19:37:21.859895 WARN RESTY Get "https://127.0.0.1:36093/tests/ping": write failed (not allowed), Attempt 1 -2025/01/07 19:37:21.975633 WARN RESTY Get "https://127.0.0.1:36093/tests/ping": write failed (not allowed), Attempt 2 -2025/01/07 19:37:22.108521 WARN RESTY Get "https://127.0.0.1:36093/tests/ping": write failed (not allowed), Attempt 3 -2025/01/07 19:37:22.365786 WARN RESTY Get "https://127.0.0.1:36093/tests/ping": write failed (not allowed), Attempt 4 -2025/01/07 19:37:22.365823 ERROR RESTY Get "https://127.0.0.1:36093/tests/ping": write failed (not allowed) ---- PASS: TestStatus_NoWrite (0.52s) +2025/01/07 19:44:43.653362 WARN RESTY Get "https://127.0.0.1:44295/tests/ping": write failed (not allowed), Attempt 1 +2025/01/07 19:44:43.763378 WARN RESTY Get "https://127.0.0.1:44295/tests/ping": write failed (not allowed), Attempt 2 +2025/01/07 19:44:43.919395 WARN RESTY Get "https://127.0.0.1:44295/tests/ping": write failed (not allowed), Attempt 3 +2025/01/07 19:44:44.151338 WARN RESTY Get "https://127.0.0.1:44295/tests/ping": write failed (not allowed), Attempt 4 +2025/01/07 19:44:44.151358 ERROR RESTY Get "https://127.0.0.1:44295/tests/ping": write failed (not allowed) +2025/01/07 19:44:44 http: TLS handshake error from 127.0.0.1:45412: read tcp 127.0.0.1:44295->127.0.0.1:45412: use of closed network connection +--- PASS: TestStatus_NoWrite (0.51s) === RUN TestStatus_NoReadExistingConn -2025/01/07 19:37:26.824717 WARN RESTY Get "https://127.0.0.1:39083/core/v4/users": read failed (not allowed), Attempt 1 - - -2025/01/07 19:37:26 [Recovery] 2025/01/07 - 19:37:26 panic recovered: -write tcp 127.0.0.1:39083->127.0.0.1:52262: write: broken pipe -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/render/json.go:58 (0xa2dd5f) - JSON.Render: panic(err) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:910 (0xa617a7) - (*Context).Render: if err := r.Render(c.Writer); err != nil { -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:953 (0xa61bf7) - (*Context).JSON: c.Render(code, render.JSON{Data: obj}) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/users.go:17 (0xa9e253) - initRouter.(*Server).handleGetUsers.func8: c.JSON(http.StatusOK, gin.H{ -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:173 (0xa5db1f) - (*Context).Next: c.handlers[c.index](c) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/henrybear327/go-proton-api/server/router.go:242 (0xaa0123) - (*serverBuilder).build.(*Server).logCalls.func2: c.Next() -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:173 (0xa696eb) - (*Context).Next: c.handlers[c.index](c) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/recovery.go:101 (0xa696cc) - CustomRecoveryWithWriter.func1: c.Next() -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:173 (0xa68a93) - (*Context).Next: c.handlers[c.index](c) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/logger.go:240 (0xa68a70) - LoggerWithConfig.func1: c.Next() -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:173 (0xa696eb) - (*Context).Next: c.handlers[c.index](c) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/recovery.go:101 (0xa696cc) - CustomRecoveryWithWriter.func1: c.Next() -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/context.go:173 (0xa68037) - (*Context).Next: c.handlers[c.index](c) -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/gin.go:616 (0xa67d6c) - (*Engine).handleHTTPRequest: c.Next() -/build/reproducible-path/golang-github-henrybear327-go-proton-api-1.0.0/_build/src/github.com/gin-gonic/gin/gin.go:572 (0xa67993) - (*Engine).ServeHTTP: engine.handleHTTPRequest(c) -/usr/lib/go-1.23/src/net/http/server.go:3210 (0x7b9c2b) - serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) -/usr/lib/go-1.23/src/net/http/server.go:2092 (0x79afab) - (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) -/usr/lib/go-1.23/src/runtime/asm_arm64.s:1223 (0x47f043) - goexit: MOVD R0, R0 // NOP - -2025/01/07 19:37:26.939736 WARN RESTY Get "https://127.0.0.1:39083/core/v4/users": read failed (not allowed), Attempt 2 -2025/01/07 19:37:27.055895 WARN RESTY Get "https://127.0.0.1:39083/core/v4/users": read failed (not allowed), Attempt 3 -2025/01/07 19:37:27.286285 WARN RESTY Get "https://127.0.0.1:39083/core/v4/users": read failed (not allowed), Attempt 4 -2025/01/07 19:37:27.286338 ERROR RESTY Get "https://127.0.0.1:39083/core/v4/users": read failed (not allowed) ---- PASS: TestStatus_NoReadExistingConn (4.92s) +2025/01/07 19:44:48.986497 WARN RESTY Get "https://127.0.0.1:42189/core/v4/users": read failed (not allowed), Attempt 1 +2025/01/07 19:44:49.106502 WARN RESTY Get "https://127.0.0.1:42189/core/v4/users": read failed (not allowed), Attempt 2 +2025/01/07 19:44:49.291354 WARN RESTY Get "https://127.0.0.1:42189/core/v4/users": read failed (not allowed), Attempt 3 +2025/01/07 19:44:49.523377 WARN RESTY Get "https://127.0.0.1:42189/core/v4/users": read failed (not allowed), Attempt 4 +2025/01/07 19:44:49.523404 ERROR RESTY Get "https://127.0.0.1:42189/core/v4/users": read failed (not allowed) +2025/01/07 19:44:49 http: TLS handshake error from 127.0.0.1:40520: read tcp 127.0.0.1:42189->127.0.0.1:40520: use of closed network connection +--- PASS: TestStatus_NoReadExistingConn (5.37s) === RUN TestStatus_NoWriteExistingConn ---- PASS: TestStatus_NoWriteExistingConn (2.38s) +--- PASS: TestStatus_NoWriteExistingConn (7.46s) === RUN TestStatus_ContextCancel -2025/01/07 19:37:29.669891 WARN RESTY Get "https://127.0.0.1:41407/tests/ping": context canceled, Attempt 1 -2025/01/07 19:37:29.669945 ERROR RESTY Get "https://127.0.0.1:41407/tests/ping": context canceled +2025/01/07 19:44:56.980703 WARN RESTY Get "https://127.0.0.1:42911/tests/ping": context canceled, Attempt 1 +2025/01/07 19:44:56.980721 ERROR RESTY Get "https://127.0.0.1:42911/tests/ping": context canceled --- PASS: TestStatus_ContextCancel (0.00s) === RUN TestStatus_ContextTimeout -2025/01/07 19:37:29.671013 WARN RESTY Get "https://127.0.0.1:38789/tests/ping": context deadline exceeded, Attempt 1 -2025/01/07 19:37:29.671042 ERROR RESTY Get "https://127.0.0.1:38789/tests/ping": context deadline exceeded +2025/01/07 19:44:56.981298 WARN RESTY Get "https://127.0.0.1:46251/tests/ping": context deadline exceeded, Attempt 1 +2025/01/07 19:44:56.981311 ERROR RESTY Get "https://127.0.0.1:46251/tests/ping": context deadline exceeded --- PASS: TestStatus_ContextTimeout (0.00s) === RUN TestStatus_ServerDrop -2025/01/07 19:37:31 http: TLS handshake error from 127.0.0.1:56316: write: connection closed -2025/01/07 19:37:31.818883 WARN RESTY Get "https://127.0.0.1:43167/core/v4/users": read tcp 127.0.0.1:56316->127.0.0.1:43167: read: connection reset by peer, Attempt 1 -2025/01/07 19:37:31 http: TLS handshake error from 127.0.0.1:56320: write: connection closed -2025/01/07 19:37:31.933942 WARN RESTY Get "https://127.0.0.1:43167/core/v4/users": read tcp 127.0.0.1:56320->127.0.0.1:43167: read: connection reset by peer, Attempt 2 -2025/01/07 19:37:32 http: TLS handshake error from 127.0.0.1:56324: write: connection closed -2025/01/07 19:37:32.055912 WARN RESTY Get "https://127.0.0.1:43167/core/v4/users": read tcp 127.0.0.1:56324->127.0.0.1:43167: read: connection reset by peer, Attempt 3 -2025/01/07 19:37:32 http: TLS handshake error from 127.0.0.1:56334: write: connection closed -2025/01/07 19:37:32.337766 WARN RESTY Get "https://127.0.0.1:43167/core/v4/users": read tcp 127.0.0.1:56334->127.0.0.1:43167: read: connection reset by peer, Attempt 4 -2025/01/07 19:37:32.337809 ERROR RESTY Get "https://127.0.0.1:43167/core/v4/users": read tcp 127.0.0.1:56334->127.0.0.1:43167: read: connection reset by peer ---- PASS: TestStatus_ServerDrop (2.69s) +2025/01/07 19:45:04 http: TLS handshake error from 127.0.0.1:38196: write: connection closed +2025/01/07 19:45:04.085222 WARN RESTY Get "https://127.0.0.1:46411/core/v4/users": read tcp 127.0.0.1:38196->127.0.0.1:46411: read: connection reset by peer, Attempt 1 +2025/01/07 19:45:04 http: TLS handshake error from 127.0.0.1:38206: write: connection closed +2025/01/07 19:45:04.215302 WARN RESTY Get "https://127.0.0.1:46411/core/v4/users": read tcp 127.0.0.1:38206->127.0.0.1:46411: read: connection reset by peer, Attempt 2 +2025/01/07 19:45:04 http: TLS handshake error from 127.0.0.1:38222: write: connection closed +2025/01/07 19:45:04.355316 WARN RESTY Get "https://127.0.0.1:46411/core/v4/users": read tcp 127.0.0.1:38222->127.0.0.1:46411: read: connection reset by peer, Attempt 3 +2025/01/07 19:45:04 http: TLS handshake error from 127.0.0.1:38238: write: connection closed +2025/01/07 19:45:04.583203 WARN RESTY Get "https://127.0.0.1:46411/core/v4/users": read tcp 127.0.0.1:38238->127.0.0.1:46411: read: connection reset by peer, Attempt 4 +2025/01/07 19:45:04.583221 ERROR RESTY Get "https://127.0.0.1:46411/core/v4/users": read tcp 127.0.0.1:38238->127.0.0.1:46411: read: connection reset by peer +--- PASS: TestStatus_ServerDrop (7.63s) === RUN TestStatus_ServerHang -2025/01/07 19:37:35.578974 WARN RESTY Get "http://127.0.0.1:39915/core/v4/users": net/http: timeout awaiting response headers, Attempt 1 -2025/01/07 19:37:36.684779 WARN RESTY Get "http://127.0.0.1:39915/core/v4/users": net/http: timeout awaiting response headers, Attempt 2 -2025/01/07 19:37:37.853649 WARN RESTY Get "http://127.0.0.1:39915/core/v4/users": net/http: timeout awaiting response headers, Attempt 3 -2025/01/07 19:37:39.084818 WARN RESTY Get "http://127.0.0.1:39915/core/v4/users": net/http: timeout awaiting response headers, Attempt 4 -2025/01/07 19:37:39.084861 ERROR RESTY Get "http://127.0.0.1:39915/core/v4/users": net/http: timeout awaiting response headers ---- PASS: TestStatus_ServerHang (6.73s) +2025/01/07 19:45:13.177928 WARN RESTY Get "http://127.0.0.1:40593/core/v4/users": net/http: timeout awaiting response headers, Attempt 1 +2025/01/07 19:45:14.281941 WARN RESTY Get "http://127.0.0.1:40593/core/v4/users": net/http: timeout awaiting response headers, Attempt 2 +2025/01/07 19:45:15.477933 WARN RESTY Get "http://127.0.0.1:40593/core/v4/users": net/http: timeout awaiting response headers, Attempt 3 +2025/01/07 19:45:16.849944 WARN RESTY Get "http://127.0.0.1:40593/core/v4/users": net/http: timeout awaiting response headers, Attempt 4 +2025/01/07 19:45:16.849980 ERROR RESTY Get "http://127.0.0.1:40593/core/v4/users": net/http: timeout awaiting response headers +--- PASS: TestStatus_ServerHang (12.24s) === RUN TestConnectionReuse ---- PASS: TestConnectionReuse (0.01s) +--- PASS: TestConnectionReuse (0.03s) === RUN TestAuthRefresh ---- PASS: TestAuthRefresh (2.43s) +--- PASS: TestAuthRefresh (8.36s) === RUN TestHandleTooManyRequests -2025/01/07 19:37:41.537471 WARN RESTY 429 GET https://127.0.0.1:34425/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-01-07T19:37:41Z" level=warning msg="Too many requests, retrying after delay" after=2 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:34425/tests/ping" -2025/01/07 19:37:43.546231 WARN RESTY 429 GET https://127.0.0.1:34425/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-01-07T19:37:43Z" level=warning msg="Too many requests, retrying after delay" after=2 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:34425/tests/ping" -2025/01/07 19:37:45.550187 WARN RESTY 429 GET https://127.0.0.1:34425/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-01-07T19:37:45Z" level=warning msg="Too many requests, retrying after delay" after=4 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:34425/tests/ping" -2025/01/07 19:37:49.570259 WARN RESTY 429 GET https://127.0.0.1:34425/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-01-07T19:37:49Z" level=warning msg="Too many requests, retrying after delay" after=3 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:34425/tests/ping" ---- PASS: TestHandleTooManyRequests (11.06s) +2025/01/07 19:45:25.249265 WARN RESTY 429 GET https://127.0.0.1:33315/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 +time="2025-01-07T19:45:25Z" level=warning msg="Too many requests, retrying after delay" after=7 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:33315/tests/ping" +2025/01/07 19:45:32.282249 WARN RESTY 429 GET https://127.0.0.1:33315/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 +time="2025-01-07T19:45:32Z" 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:33315/tests/ping" +2025/01/07 19:45:38.310267 WARN RESTY 429 GET https://127.0.0.1:33315/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 +time="2025-01-07T19:45:38Z" level=warning msg="Too many requests, retrying after delay" after=2 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:33315/tests/ping" +2025/01/07 19:45:40.324234 WARN RESTY 429 GET https://127.0.0.1:33315/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 +time="2025-01-07T19:45:40Z" level=warning msg="Too many requests, retrying after delay" after=0 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:33315/tests/ping" +2025/01/07 19:45:40.426170 WARN RESTY 429 GET https://127.0.0.1:33315/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 2 +time="2025-01-07T19:45:40Z" level=warning msg="Too many requests, retrying after delay" after=3 method=GET pkg=go-proton-api status=429 url="https://127.0.0.1:33315/tests/ping" +--- PASS: TestHandleTooManyRequests (18.19s) === RUN TestHandleTooManyRequests503 -2025/01/07 19:37:52.602305 WARN RESTY 503 GET https://127.0.0.1:45845/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:37:52Z" level=warning msg="Too many requests, retrying after delay" after=3 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:45845/tests/ping" -2025/01/07 19:37:55.610107 WARN RESTY 503 GET https://127.0.0.1:45845/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:37:55Z" 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:45845/tests/ping" -2025/01/07 19:37:59.630474 WARN RESTY 503 GET https://127.0.0.1:45845/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:37:59Z" level=warning msg="Too many requests, retrying after delay" after=3 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:45845/tests/ping" -2025/01/07 19:38:02.645770 WARN RESTY 503 GET https://127.0.0.1:45845/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:38:02Z" 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:45845/tests/ping" ---- PASS: TestHandleTooManyRequests503 (15.08s) +2025/01/07 19:45:43.462851 WARN RESTY 503 GET https://127.0.0.1:38033/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:45:43Z" 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:38033/tests/ping" +2025/01/07 19:45:44.466284 WARN RESTY 503 GET https://127.0.0.1:38033/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:45:44Z" 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:38033/tests/ping" +2025/01/07 19:45:53.510326 WARN RESTY 503 GET https://127.0.0.1:38033/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:45:53Z" level=warning msg="Too many requests, retrying after delay" after=6 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:38033/tests/ping" +2025/01/07 19:45:59.538258 WARN RESTY 503 GET https://127.0.0.1:38033/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:45:59Z" 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:38033/tests/ping" +--- PASS: TestHandleTooManyRequests503 (20.12s) === RUN TestHandleTooManyRequests_Malformed -2025/01/07 19:38:07.671006 WARN RESTY 429 GET http://127.0.0.1:41435/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 -time="2025-01-07T19:38:07Z" level=warning msg="Too many requests, retrying after delay" after=18 method=GET pkg=go-proton-api status=429 url="http://127.0.0.1:41435/tests/ping" ---- PASS: TestHandleTooManyRequests_Malformed (18.09s) +2025/01/07 19:46:03.555021 WARN RESTY 429 GET http://127.0.0.1:39307/tests/ping: 429 Too Many Requests (Code=0, Status=429), Attempt 1 +time="2025-01-07T19:46:03Z" level=warning msg="Too many requests, retrying after delay" after=11 method=GET pkg=go-proton-api status=429 url="http://127.0.0.1:39307/tests/ping" +--- PASS: TestHandleTooManyRequests_Malformed (11.05s) === RUN TestHandleUnprocessableEntity -2025/01/07 19:38:25.758874 WARN RESTY 422 GET http://127.0.0.1:34545/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:38:25.758907 ERROR RESTY 422 GET http://127.0.0.1:34545/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422) +2025/01/07 19:46:14.606616 WARN RESTY 422 GET http://127.0.0.1:39389/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:46:14.606629 ERROR RESTY 422 GET http://127.0.0.1:39389/core/v4/addresses: 422 Unprocessable Entity (Code=0, Status=422) --- PASS: TestHandleUnprocessableEntity (0.00s) === RUN TestHandleDialFailure -2025/01/07 19:38:25.759371 WARN RESTY Get "http://127.0.0.1:33427/core/v4/addresses": simulating network error, Attempt 1 -2025/01/07 19:38:25.860163 WARN RESTY Get "http://127.0.0.1:33427/core/v4/addresses": simulating network error, Attempt 2 -2025/01/07 19:38:26.023213 WARN RESTY Get "http://127.0.0.1:33427/core/v4/addresses": simulating network error, Attempt 3 -2025/01/07 19:38:26.332018 WARN RESTY Get "http://127.0.0.1:33427/core/v4/addresses": simulating network error, Attempt 4 ---- PASS: TestHandleDialFailure (1.03s) +2025/01/07 19:46:14.606775 WARN RESTY Get "http://127.0.0.1:45717/core/v4/addresses": simulating network error, Attempt 1 +2025/01/07 19:46:14.709971 WARN RESTY Get "http://127.0.0.1:45717/core/v4/addresses": simulating network error, Attempt 2 +2025/01/07 19:46:14.905894 WARN RESTY Get "http://127.0.0.1:45717/core/v4/addresses": simulating network error, Attempt 3 +2025/01/07 19:46:15.137880 WARN RESTY Get "http://127.0.0.1:45717/core/v4/addresses": simulating network error, Attempt 4 +--- PASS: TestHandleDialFailure (1.28s) === RUN TestHandleTooManyDialFailures -2025/01/07 19:38:26.787807 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 1 -2025/01/07 19:38:26.888680 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 2 -2025/01/07 19:38:27.087907 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 3 -2025/01/07 19:38:27.405084 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 4 -2025/01/07 19:38:27.815416 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 5 -2025/01/07 19:38:29.031696 WARN RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error, Attempt 6 -2025/01/07 19:38:29.031745 ERROR RESTY Get "http://127.0.0.1:39323/core/v4/addresses": simulating network error ---- PASS: TestHandleTooManyDialFailures (2.24s) +2025/01/07 19:46:15.890622 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 1 +2025/01/07 19:46:15.994039 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 2 +2025/01/07 19:46:16.137874 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 3 +2025/01/07 19:46:16.361867 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 4 +2025/01/07 19:46:16.925815 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 5 +2025/01/07 19:46:18.457913 WARN RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error, Attempt 6 +2025/01/07 19:46:18.457938 ERROR RESTY Get "http://127.0.0.1:42625/core/v4/addresses": simulating network error +--- PASS: TestHandleTooManyDialFailures (2.57s) === RUN TestRetriesWithContextTimeout -2025/01/07 19:38:30.036933 WARN RESTY Get "http://127.0.0.1:41055/core/v4/addresses": context deadline exceeded, Attempt 1 -2025/01/07 19:38:30.036970 ERROR RESTY Get "http://127.0.0.1:41055/core/v4/addresses": context deadline exceeded ---- PASS: TestRetriesWithContextTimeout (1.01s) +2025/01/07 19:46:19.461976 WARN RESTY Get "http://127.0.0.1:39615/core/v4/addresses": context deadline exceeded, Attempt 1 +2025/01/07 19:46:19.462000 ERROR RESTY Get "http://127.0.0.1:39615/core/v4/addresses": context deadline exceeded +--- PASS: TestRetriesWithContextTimeout (1.00s) === RUN TestReturnErrNoConnection -2025/01/07 19:38:30.037209 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 1 -2025/01/07 19:38:30.137976 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 2 -2025/01/07 19:38:30.281991 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 3 -2025/01/07 19:38:30.512525 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 4 -2025/01/07 19:38:31.120766 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 5 -2025/01/07 19:38:32.633039 WARN RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error, Attempt 6 -2025/01/07 19:38:32.633080 ERROR RESTY Get "http://127.0.0.1:44751/core/v4/addresses": simulating network error ---- PASS: TestReturnErrNoConnection (2.60s) +2025/01/07 19:46:19.462188 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 1 +2025/01/07 19:46:19.565873 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 2 +2025/01/07 19:46:19.749864 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 3 +2025/01/07 19:46:20.093866 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 4 +2025/01/07 19:46:20.641878 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 5 +2025/01/07 19:46:21.554275 WARN RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error, Attempt 6 +2025/01/07 19:46:21.554311 ERROR RESTY Get "http://127.0.0.1:41999/core/v4/addresses": simulating network error +--- PASS: TestReturnErrNoConnection (2.09s) === RUN TestStatusCallbacks -2025/01/07 19:38:32.633967 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": dial failed (not allowed), Attempt 1 -2025/01/07 19:38:32.734506 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": dial failed (not allowed), Attempt 2 -2025/01/07 19:38:32.909167 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": dial failed (not allowed), Attempt 3 -2025/01/07 19:38:33.242470 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": dial failed (not allowed), Attempt 4 -2025/01/07 19:38:33.242517 ERROR RESTY Get "https://127.0.0.1:46217/tests/ping": dial failed (not allowed) -2025/01/07 19:38:33.274502 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": net/http: HTTP/1.x transport connection broken: malformed HTTP response "H", Attempt 1 -2025/01/07 19:38:33.390297 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": read failed (limit reached), Attempt 2 -2025/01/07 19:38:33.513222 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": read failed (limit reached), Attempt 3 -2025/01/07 19:38:33.838131 WARN RESTY Get "https://127.0.0.1:46217/tests/ping": read failed (limit reached), Attempt 4 -2025/01/07 19:38:33.838172 ERROR RESTY Get "https://127.0.0.1:46217/tests/ping": read failed (limit reached) +2025/01/07 19:46:21.554890 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": dial failed (not allowed), Attempt 1 +2025/01/07 19:46:21.657913 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": dial failed (not allowed), Attempt 2 +2025/01/07 19:46:21.817926 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": dial failed (not allowed), Attempt 3 +2025/01/07 19:46:22.117987 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": dial failed (not allowed), Attempt 4 +2025/01/07 19:46:22.118016 ERROR RESTY Get "https://127.0.0.1:41969/tests/ping": dial failed (not allowed) +2025/01/07 19:46:22.145299 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": net/http: HTTP/1.x transport connection broken: malformed HTTP response "H", Attempt 1 +2025/01/07 19:46:22.267353 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": read failed (limit reached), Attempt 2 +2025/01/07 19:46:22.415407 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": read failed (limit reached), Attempt 3 +2025/01/07 19:46:22.767463 WARN RESTY Get "https://127.0.0.1:41969/tests/ping": read failed (limit reached), Attempt 4 +2025/01/07 19:46:22.767484 ERROR RESTY Get "https://127.0.0.1:41969/tests/ping": read failed (limit reached) --- PASS: TestStatusCallbacks (1.22s) === RUN Test503IsReportedAsAPIError -2025/01/07 19:38:33.854316 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:38:33Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38949/core/v4/addresses" -2025/01/07 19:38:45.913539 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-01-07T19:38:45Z" 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:38949/core/v4/addresses" -2025/01/07 19:38:59.981240 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-01-07T19:38:59Z" 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:38949/core/v4/addresses" -2025/01/07 19:39:17.069250 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -time="2025-01-07T19:39:17Z" level=warning msg="Too many requests, retrying after delay" after=16 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38949/core/v4/addresses" -2025/01/07 19:39:33.145637 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 5 -time="2025-01-07T19:39:33Z" level=warning msg="Too many requests, retrying after delay" after=15 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:38949/core/v4/addresses" -2025/01/07 19:39:48.153605 WARN RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 6 -2025/01/07 19:39:48.153631 ERROR RESTY 503 GET http://127.0.0.1:38949/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503) ---- PASS: Test503IsReportedAsAPIError (74.30s) +2025/01/07 19:46:22.802194 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:46:22Z" level=warning msg="Too many requests, retrying after delay" after=15 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:34091/core/v4/addresses" +2025/01/07 19:46:37.874088 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 2 +time="2025-01-07T19:46:37Z" level=warning msg="Too many requests, retrying after delay" after=12 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:34091/core/v4/addresses" +2025/01/07 19:46:49.930072 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 3 +time="2025-01-07T19:46:49Z" 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:34091/core/v4/addresses" +2025/01/07 19:47:03.998059 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 4 +time="2025-01-07T19:47:03Z" level=warning msg="Too many requests, retrying after delay" after=13 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:34091/core/v4/addresses" +2025/01/07 19:47:17.066058 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 5 +time="2025-01-07T19:47:17Z" level=warning msg="Too many requests, retrying after delay" after=10 method=GET pkg=go-proton-api status=503 url="http://127.0.0.1:34091/core/v4/addresses" +2025/01/07 19:47:27.116157 WARN RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503), Attempt 6 +2025/01/07 19:47:27.116174 ERROR RESTY 503 GET http://127.0.0.1:34091/core/v4/addresses: 503 Service Unavailable (Code=0, Status=503) +--- PASS: Test503IsReportedAsAPIError (64.34s) === RUN TestNetCtl_ReadLimit --- PASS: TestNetCtl_ReadLimit (0.00s) === RUN TestNetCtl_WriteLimit --- PASS: TestNetCtl_WriteLimit (0.00s) === RUN TestNetError_DropOnWrite -2025/01/07 19:39:48 http: TLS handshake error from [::1]:36762: write: connection closed -2025/01/07 19:39:48.171964 WARN RESTY Get "https://[::]:44287/tests/ping": read tcp [::1]:36762->[::1]:44287: read: connection reset by peer, Attempt 1 -2025/01/07 19:39:48 http: TLS handshake error from [::1]:36764: write: connection closed -2025/01/07 19:39:48.287099 WARN RESTY Get "https://[::]:44287/tests/ping": read tcp [::1]:36764->[::1]:44287: read: connection reset by peer, Attempt 2 -2025/01/07 19:39:48 http: TLS handshake error from [::1]:36774: write: connection closed -2025/01/07 19:39:48.487832 WARN RESTY Get "https://[::]:44287/tests/ping": read tcp [::1]:36774->[::1]:44287: read: connection reset by peer, Attempt 3 -2025/01/07 19:39:48 http: TLS handshake error from [::1]:36784: write: connection closed -2025/01/07 19:39:48.726468 WARN RESTY Get "https://[::]:44287/tests/ping": read tcp [::1]:36784->[::1]:44287: read: connection reset by peer, Attempt 4 -2025/01/07 19:39:48.726505 ERROR RESTY Get "https://[::]:44287/tests/ping": read tcp [::1]:36784->[::1]:44287: read: connection reset by peer ---- PASS: TestNetError_DropOnWrite (0.57s) +2025/01/07 19:47:27 http: TLS handshake error from [::1]:60096: write: connection closed +2025/01/07 19:47:27.145900 WARN RESTY Get "https://[::]:45449/tests/ping": read tcp [::1]:60096->[::1]:45449: read: connection reset by peer, Attempt 1 +2025/01/07 19:47:27 http: TLS handshake error from [::1]:60098: write: connection closed +2025/01/07 19:47:27.263305 WARN RESTY Get "https://[::]:45449/tests/ping": read tcp [::1]:60098->[::1]:45449: read: connection reset by peer, Attempt 2 +2025/01/07 19:47:27 http: TLS handshake error from [::1]:60112: write: connection closed +2025/01/07 19:47:27.435253 WARN RESTY Get "https://[::]:45449/tests/ping": read tcp [::1]:60112->[::1]:45449: read: connection reset by peer, Attempt 3 +2025/01/07 19:47:27 http: TLS handshake error from [::1]:60114: write: connection closed +2025/01/07 19:47:27.759285 WARN RESTY Get "https://[::]:45449/tests/ping": read tcp [::1]:60114->[::1]:45449: read: connection reset by peer, Attempt 4 +2025/01/07 19:47:27.759301 ERROR RESTY Get "https://[::]:45449/tests/ping": read tcp [::1]:60114->[::1]:45449: read: connection reset by peer +--- PASS: TestNetError_DropOnWrite (0.64s) === RUN TestAPIError_DeserializeWithoutDetails --- PASS: TestAPIError_DeserializeWithoutDetails (0.00s) === RUN TestAPIError_DeserializeWithoutDetailsValue @@ -1588,115 +1587,116 @@ === RUN TestAPIError_DeserializeWithDetailsArray --- PASS: TestAPIError_DeserializeWithDetailsArray (0.00s) === RUN TestNetError_RouteInErrorMessage -2025/01/07 19:39:48.728001 WARN RESTY 400 GET http://127.0.0.1:38021/internal/quark/test/ping?strInput=: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/01/07 19:39:48.728029 ERROR RESTY 400 GET http://127.0.0.1:38021/internal/quark/test/ping?strInput=: 400 Bad Request (Code=0, Status=400) +2025/01/07 19:47:27.759966 WARN RESTY 400 GET http://127.0.0.1:38969/internal/quark/test/ping?strInput=: 400 Bad Request (Code=0, Status=400), Attempt 1 +2025/01/07 19:47:27.759977 ERROR RESTY 400 GET http://127.0.0.1:38969/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 242.843s +ok github.com/henrybear327/go-proton-api 293.390s === RUN TestServer_Quark_CreateUser ---- PASS: TestServer_Quark_CreateUser (2.23s) +--- PASS: TestServer_Quark_CreateUser (4.04s) === RUN TestServer_Quark_CreateAddress ---- PASS: TestServer_Quark_CreateAddress (0.92s) +--- PASS: TestServer_Quark_CreateAddress (1.03s) === RUN TestServer_LoginLogout -2025/01/07 19:35:50.012221 WARN RESTY 401 DELETE https://127.0.0.1:39283/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:35:50.012267 ERROR RESTY 401 DELETE https://127.0.0.1:39283/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:35:50.012977 WARN RESTY 422 POST https://127.0.0.1:39283/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:35:50.013010 ERROR RESTY 422 POST https://127.0.0.1:39283/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServer_LoginLogout (0.76s) +2025/01/07 19:42:41.527181 WARN RESTY 401 DELETE https://127.0.0.1:41539/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:42:41.527211 ERROR RESTY 401 DELETE https://127.0.0.1:41539/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:42:41.527414 WARN RESTY 422 POST https://127.0.0.1:41539/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:42:41.527420 ERROR RESTY 422 POST https://127.0.0.1:41539/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServer_LoginLogout (1.77s) === RUN TestServerMulti -2025/01/07 19:35:51.272832 WARN RESTY 401 GET https://127.0.0.1:41899/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:35:51.272886 ERROR RESTY 401 GET https://127.0.0.1:41899/core/v4/users: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:35:51.273408 WARN RESTY 422 POST https://127.0.0.1:41899/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:35:51.273440 ERROR RESTY 422 POST https://127.0.0.1:41899/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServerMulti (1.26s) +2025/01/07 19:42:43.695797 WARN RESTY 401 GET https://127.0.0.1:41373/core/v4/users: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:42:43.695826 ERROR RESTY 401 GET https://127.0.0.1:41373/core/v4/users: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:42:43.696015 WARN RESTY 422 POST https://127.0.0.1:41373/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:42:43.696020 ERROR RESTY 422 POST https://127.0.0.1:41373/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServerMulti (2.17s) === RUN TestServer_Ping -2025/01/07 19:35:51.276895 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 1 -2025/01/07 19:35:51.377769 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 2 -2025/01/07 19:35:51.498485 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 3 -2025/01/07 19:35:51.717837 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 4 -2025/01/07 19:35:51.717877 ERROR RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed) -2025/01/07 19:35:51.733779 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:35:51Z" 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:40335/tests/ping" -2025/01/07 19:36:09.744846 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-01-07T19:36:09Z" level=warning msg="Too many requests, retrying after delay" after=11 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:40335/tests/ping" -2025/01/07 19:36:20.795449 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-01-07T19:36:20Z" 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:40335/tests/ping" -2025/01/07 19:36:34.857672 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -2025/01/07 19:36:34.857698 ERROR RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503) -2025/01/07 19:36:34.858017 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 1 -2025/01/07 19:36:34.958862 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 2 -2025/01/07 19:36:35.138059 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 3 -2025/01/07 19:36:35.461952 WARN RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed), Attempt 4 -2025/01/07 19:36:35.461994 ERROR RESTY Get "https://127.0.0.1:40335/tests/ping": dial failed (not allowed) -2025/01/07 19:36:35.477375 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 -time="2025-01-07T19:36:35Z" 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:40335/tests/ping" -2025/01/07 19:36:47.532832 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 -time="2025-01-07T19:36:47Z" 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:40335/tests/ping" -2025/01/07 19:36:59.585558 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 -time="2025-01-07T19:36:59Z" 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:40335/tests/ping" -2025/01/07 19:37:11.640807 WARN RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 -2025/01/07 19:37:11.640847 ERROR RESTY 503 GET https://127.0.0.1:40335/tests/ping: 503 Service Unavailable (Code=0, Status=503) ---- PASS: TestServer_Ping (80.37s) +2025/01/07 19:42:43.697499 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 1 +2025/01/07 19:42:43.797938 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 2 +2025/01/07 19:42:43.926012 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 3 +2025/01/07 19:42:44.234120 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 4 +2025/01/07 19:42:44.234155 ERROR RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed) +2025/01/07 19:42:44.251983 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:42:44Z" 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:44987/tests/ping" +2025/01/07 19:42:58.318170 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 +time="2025-01-07T19:42:58Z" level=warning msg="Too many requests, retrying after delay" after=16 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:44987/tests/ping" +2025/01/07 19:43:14.394345 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 +time="2025-01-07T19:43:14Z" level=warning msg="Too many requests, retrying after delay" after=15 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:44987/tests/ping" +2025/01/07 19:43:29.466139 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 +2025/01/07 19:43:29.466158 ERROR RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503) +2025/01/07 19:43:29.466282 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 1 +2025/01/07 19:43:29.569984 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 2 +2025/01/07 19:43:29.733922 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 3 +2025/01/07 19:43:29.977922 WARN RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed), Attempt 4 +2025/01/07 19:43:29.977957 ERROR RESTY Get "https://127.0.0.1:44987/tests/ping": dial failed (not allowed) +2025/01/07 19:43:29.998653 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 1 +time="2025-01-07T19:43:29Z" 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:44987/tests/ping" +2025/01/07 19:43:48.086159 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 2 +time="2025-01-07T19:43:48Z" 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:44987/tests/ping" +2025/01/07 19:44:05.170120 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 3 +time="2025-01-07T19:44:05Z" level=warning msg="Too many requests, retrying after delay" after=19 method=GET pkg=go-proton-api status=503 url="https://127.0.0.1:44987/tests/ping" +2025/01/07 19:44:24.262106 WARN RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503), Attempt 4 +2025/01/07 19:44:24.262124 ERROR RESTY 503 GET https://127.0.0.1:44987/tests/ping: 503 Service Unavailable (Code=0, Status=503) +--- PASS: TestServer_Ping (100.57s) === RUN TestServer_Bool ---- PASS: TestServer_Bool (0.94s) +--- PASS: TestServer_Bool (1.79s) === RUN TestServer_Messages ---- PASS: TestServer_Messages (1.33s) +--- PASS: TestServer_Messages (2.28s) === RUN TestServer_GetMessageMetadataPage ---- PASS: TestServer_GetMessageMetadataPage (1.12s) +--- PASS: TestServer_GetMessageMetadataPage (2.36s) === RUN TestServer_MessageFilter ---- PASS: TestServer_MessageFilter (1.19s) +2025/01/07 19:44:33 http: TLS handshake error from 127.0.0.1:59692: write tcp 127.0.0.1:40077->127.0.0.1:59692: use of closed network connection +--- PASS: TestServer_MessageFilter (2.40s) === RUN TestServer_MessageFilterDesc ---- PASS: TestServer_MessageFilterDesc (0.92s) +--- PASS: TestServer_MessageFilterDesc (1.50s) === RUN TestServer_MessageIDs ---- PASS: TestServer_MessageIDs (3.07s) +--- PASS: TestServer_MessageIDs (5.19s) === RUN TestServer_MessagesDelete ---- PASS: TestServer_MessagesDelete (1.32s) +--- PASS: TestServer_MessagesDelete (2.31s) === RUN TestServer_MessagesDeleteAfterUpdate ---- PASS: TestServer_MessagesDeleteAfterUpdate (1.31s) +--- PASS: TestServer_MessagesDeleteAfterUpdate (2.26s) === RUN TestServer_Events ---- PASS: TestServer_Events (3.74s) +--- PASS: TestServer_Events (4.04s) === RUN TestServer_Events_Multi ---- PASS: TestServer_Events_Multi (8.05s) +--- PASS: TestServer_Events_Multi (19.65s) === RUN TestServer_Events_Refresh ---- PASS: TestServer_Events_Refresh (1.81s) +--- PASS: TestServer_Events_Refresh (3.28s) === RUN TestServer_Events_UserSettings ---- PASS: TestServer_Events_UserSettings (1.81s) +--- PASS: TestServer_Events_UserSettings (3.16s) === RUN TestServer_RevokeUser -2025/01/07 19:37:39.143216 WARN RESTY 401 DELETE https://127.0.0.1:38797/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 -2025/01/07 19:37:39.143246 ERROR RESTY 401 DELETE https://127.0.0.1:38797/auth/v4: 401 Unauthorized (Code=0, Status=401) -2025/01/07 19:37:39.145128 WARN RESTY 422 POST https://127.0.0.1:38797/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 -2025/01/07 19:37:39.145170 ERROR RESTY 422 POST https://127.0.0.1:38797/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) ---- PASS: TestServer_RevokeUser (0.91s) +2025/01/07 19:45:16.991026 WARN RESTY 401 DELETE https://127.0.0.1:38239/auth/v4: 401 Unauthorized (Code=0, Status=401), Attempt 1 +2025/01/07 19:45:16.991053 ERROR RESTY 401 DELETE https://127.0.0.1:38239/auth/v4: 401 Unauthorized (Code=0, Status=401) +2025/01/07 19:45:16.991228 WARN RESTY 422 POST https://127.0.0.1:38239/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422), Attempt 1 +2025/01/07 19:45:16.991234 ERROR RESTY 422 POST https://127.0.0.1:38239/auth/v4/refresh: 422 Unprocessable Entity (Code=0, Status=422) +--- PASS: TestServer_RevokeUser (2.50s) === RUN TestServer_Calls ---- PASS: TestServer_Calls (0.80s) +--- PASS: TestServer_Calls (2.60s) === RUN TestServer_Calls_Status -2025/01/07 19:37:40.759808 WARN RESTY 422 GET https://127.0.0.1:33903/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422), Attempt 1 -2025/01/07 19:37:40.759850 ERROR RESTY 422 GET https://127.0.0.1:33903/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422) ---- PASS: TestServer_Calls_Status (0.81s) +2025/01/07 19:45:22.542386 WARN RESTY 422 GET https://127.0.0.1:42761/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422), Attempt 1 +2025/01/07 19:45:22.542413 ERROR RESTY 422 GET https://127.0.0.1:42761/mail/v4/messages/no%20such%20message%20ID: Message no such message ID not found (Code=2001, Status=422) +--- PASS: TestServer_Calls_Status (2.95s) === RUN TestServer_Calls_Request ---- PASS: TestServer_Calls_Request (0.82s) +--- PASS: TestServer_Calls_Request (2.78s) === RUN TestServer_Calls_Response ---- PASS: TestServer_Calls_Response (0.89s) +--- PASS: TestServer_Calls_Response (2.26s) === RUN TestServer_Calls_Cookies ---- PASS: TestServer_Calls_Cookies (0.86s) +--- PASS: TestServer_Calls_Cookies (2.32s) === RUN TestServer_Calls_Manager --- PASS: TestServer_Calls_Manager (0.02s) === RUN TestServer_CreateMessage ---- PASS: TestServer_CreateMessage (0.87s) +--- PASS: TestServer_CreateMessage (2.72s) === RUN TestServer_UpdateDraft ---- PASS: TestServer_UpdateDraft (1.94s) +--- PASS: TestServer_UpdateDraft (3.62s) === RUN TestServer_SendMessage ---- PASS: TestServer_SendMessage (0.98s) +--- PASS: TestServer_SendMessage (2.49s) === RUN TestServer_AuthDelete ---- PASS: TestServer_AuthDelete (0.83s) +--- PASS: TestServer_AuthDelete (2.49s) === RUN TestServer_ForceUpgrade -2025/01/07 19:37:48.259235 WARN RESTY 400 POST https://127.0.0.1:41235/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/01/07 19:37:48.259263 ERROR RESTY 400 POST https://127.0.0.1:41235/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.29s) +2025/01/07 19:45:42.306732 WARN RESTY 400 POST https://127.0.0.1:44735/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/01/07 19:45:42.306758 ERROR RESTY 400 POST https://127.0.0.1:44735/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.07s) === RUN TestServer_Import ---- PASS: TestServer_Import (1.05s) +--- PASS: TestServer_Import (2.75s) === RUN TestServer_Import_Dedup ---- PASS: TestServer_Import_Dedup (0.97s) +--- PASS: TestServer_Import_Dedup (2.72s) === RUN TestServer_Labels === RUN TestServer_Labels/received_flag,_no_actions === RUN TestServer_Labels/sent_flag,_no_actions @@ -1727,34 +1727,34 @@ === 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 (1.09s) +--- PASS: TestServer_Labels (2.35s) --- 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/scheduled_flag,_no_actions (0.01s) --- 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/received_flag,_add_inbox_then_add_archive (0.01s) --- 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/received_flag,_add_inbox_then_remove_inbox (0.03s) --- 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/received_flag,_add_inbox_then_remove_archive (0.01s) --- 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_then_remove_inbox_then_add_archive (0.00s) - --- PASS: TestServer_Labels/sent_flag,_add_sent_then_remove_sent_then_add_archive (0.00s) + --- 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/sent_flag,_add_starred (0.00s) + --- PASS: TestServer_Labels/sent_flag,_add_starred (0.01s) --- PASS: TestServer_Labels/scheduled_flag,_add_starred (0.00s) --- PASS: TestServer_Labels/received_flag,_add_inbox,_add_starred,_remove_inbox (0.00s) --- PASS: TestServer_Labels/sent_flag,_add_sent,_add_starred,_remove_sent (0.00s) - --- PASS: TestServer_Labels/scheduled_flag,_add_scheduled,_add_starred,_remove_scheduled (0.00s) + --- 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/scheduled_flag,_add_trash,_remove_trash (0.03s) --- PASS: TestServer_Labels/received_flag,_add_inbox,_add_trash,_remove_inbox (0.00s) --- PASS: TestServer_Labels/scheduled_&_sent_flags,_add_scheduled,_add_sent (0.00s) === RUN TestServer_Import_FlagsAndLabels @@ -1771,13 +1771,13 @@ === 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 (0.99s) +--- PASS: TestServer_Import_FlagsAndLabels (2.37s) --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_no_label (0.00s) - --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_inbox (0.00s) + --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_inbox (0.01s) --- PASS: TestServer_Import_FlagsAndLabels/sent_flag_-->_sent (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/received_flag_-->_sent (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/sent_flag_-->_inbox (0.00s) - --- PASS: TestServer_Import_FlagsAndLabels/no_flag_-->_drafts (0.00s) + --- PASS: TestServer_Import_FlagsAndLabels/no_flag_-->_drafts (0.01s) --- PASS: TestServer_Import_FlagsAndLabels/forbidden:_received_flag_-->_All_Mail (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/forbidden:_sent_flag_-->_All_Mail (0.00s) --- PASS: TestServer_Import_FlagsAndLabels/forbidden:_received_flag_-->_inbox_and_all_mail (0.00s) @@ -1786,13 +1786,13 @@ --- 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 (1.14s) +--- PASS: TestServer_PublicKeys (3.49s) === RUN TestServer_Proxy ---- PASS: TestServer_Proxy (1.28s) +--- PASS: TestServer_Proxy (3.30s) === RUN TestServer_Proxy_Cache ---- PASS: TestServer_Proxy_Cache (2.01s) +--- PASS: TestServer_Proxy_Cache (6.55s) === RUN TestServer_Proxy_AuthDelete ---- PASS: TestServer_Proxy_AuthDelete (1.39s) +--- PASS: TestServer_Proxy_AuthDelete (4.91s) === RUN TestServer_RealProxy server_test.go:1484: skipping test, set the username and password to run --- SKIP: TestServer_RealProxy (0.00s) @@ -1800,107 +1800,87 @@ server_test.go:1515: skipping test, set the username and password to run --- SKIP: TestServer_RealProxy_Cache (0.00s) === RUN TestServer_Messages_Fetch -2025/01/07 19:38:00.102347 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/71c80f3a-7ac9-4830-91a2-87a8ba5eab46": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.175731 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/de039eb0-7b68-49e5-85f8-96796cfc16c5": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.178949 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/81cc1ff1-ff93-4aa5-a82a-fc40ef5b25f6": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.179103 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/3eec9d03-b853-42e0-bd13-7f0dbea4c049": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.179737 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/4ed49d0f-479a-4a4f-99fd-eb4103a1a35f": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.179944 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/d2f80b8d-cc3d-4ba3-b813-47ab05fff3f3": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180047 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/287f4870-8a81-4962-80d5-9ff57a0adedb": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180159 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/bd23df6e-42b6-4cbf-8771-2ec04a6d474c": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180297 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/7785ac2a-b27a-407f-b3ce-53e69e83c91c": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180435 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/713364ad-4045-4897-9677-871261c178ec": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180533 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/cadb8268-042d-4a80-858d-68c2e8254702": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.180611 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/5e65c694-9042-4e2f-8e86-14d98649f638": read failed (limit reached), Attempt 1 -2025/01/07 19:38:00.203326 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/71c80f3a-7ac9-4830-91a2-87a8ba5eab46": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.277430 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/de039eb0-7b68-49e5-85f8-96796cfc16c5": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.280093 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/81cc1ff1-ff93-4aa5-a82a-fc40ef5b25f6": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.280213 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/3eec9d03-b853-42e0-bd13-7f0dbea4c049": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.280427 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/287f4870-8a81-4962-80d5-9ff57a0adedb": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.280575 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/4ed49d0f-479a-4a4f-99fd-eb4103a1a35f": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.280794 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/d2f80b8d-cc3d-4ba3-b813-47ab05fff3f3": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.281020 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/5e65c694-9042-4e2f-8e86-14d98649f638": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.281176 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/bd23df6e-42b6-4cbf-8771-2ec04a6d474c": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.281297 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/7785ac2a-b27a-407f-b3ce-53e69e83c91c": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.281525 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/713364ad-4045-4897-9677-871261c178ec": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.281800 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/cadb8268-042d-4a80-858d-68c2e8254702": read failed (limit reached), Attempt 2 -2025/01/07 19:38:00.375894 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/71c80f3a-7ac9-4830-91a2-87a8ba5eab46": readLoopPeekFailLocked: read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.389525 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/3eec9d03-b853-42e0-bd13-7f0dbea4c049": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.392152 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/de039eb0-7b68-49e5-85f8-96796cfc16c5": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.405879 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/287f4870-8a81-4962-80d5-9ff57a0adedb": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.416517 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/5e65c694-9042-4e2f-8e86-14d98649f638": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.421132 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/bd23df6e-42b6-4cbf-8771-2ec04a6d474c": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.423735 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/81cc1ff1-ff93-4aa5-a82a-fc40ef5b25f6": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.431355 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/cadb8268-042d-4a80-858d-68c2e8254702": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.436971 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/713364ad-4045-4897-9677-871261c178ec": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.438470 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/d2f80b8d-cc3d-4ba3-b813-47ab05fff3f3": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.459133 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/4ed49d0f-479a-4a4f-99fd-eb4103a1a35f": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.477836 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/7785ac2a-b27a-407f-b3ce-53e69e83c91c": read failed (limit reached), Attempt 3 -2025/01/07 19:38:00.612130 WARN RESTY Get "http://127.0.0.1:45245/mail/v4/messages/3eec9d03-b853-42e0-bd13-7f0dbea4c049": read failed (limit reached), Attempt 4 -2025/01/07 19:38:00.612166 ERROR RESTY Get "http://127.0.0.1:45245/mail/v4/messages/3eec9d03-b853-42e0-bd13-7f0dbea4c049": read failed (limit reached) -2025/01/07 19:38:00.612215 ERROR RESTY context canceled -2025/01/07 19:38:00.612232 ERROR RESTY context canceled -2025/01/07 19:38:00.612231 ERROR RESTY context canceled -2025/01/07 19:38:00.612253 ERROR RESTY context canceled -2025/01/07 19:38:00.612267 ERROR RESTY context canceled -2025/01/07 19:38:00.612241 ERROR RESTY context canceled -2025/01/07 19:38:00.612284 ERROR RESTY context canceled -2025/01/07 19:38:00.612296 ERROR RESTY context canceled -2025/01/07 19:38:00.612270 ERROR RESTY context canceled -2025/01/07 19:38:00.612280 ERROR RESTY context canceled -2025/01/07 19:38:00.612287 ERROR RESTY context canceled ---- PASS: TestServer_Messages_Fetch (2.58s) +2025/01/07 19:46:18.250596 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/04473ad1-d288-4e3c-a037-695cfa76c3c9": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.266697 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/a288f28c-45b7-4f7e-a33b-519f1bcd8cc8": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.266724 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/90ea8c0f-d162-43d1-bcd6-4791971d83f0": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.306253 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/cc73754d-2173-4c5d-aab7-8b120237801c": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.351361 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/04473ad1-d288-4e3c-a037-695cfa76c3c9": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.351796 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/dd7ad8cb-66ac-44a7-903c-1e1eea325898": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.351973 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/1308303d-8b3b-4b22-a17a-394a26a374af": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.357912 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/c1aa8138-2b36-4d2e-931f-5e7eba224d14": read failed (limit reached), Attempt 1 +2025/01/07 19:46:18.370218 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/90ea8c0f-d162-43d1-bcd6-4791971d83f0": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.370410 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/a288f28c-45b7-4f7e-a33b-519f1bcd8cc8": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.410158 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/cc73754d-2173-4c5d-aab7-8b120237801c": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.454290 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/1308303d-8b3b-4b22-a17a-394a26a374af": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.454393 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/dd7ad8cb-66ac-44a7-903c-1e1eea325898": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.462180 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/c1aa8138-2b36-4d2e-931f-5e7eba224d14": read failed (limit reached), Attempt 2 +2025/01/07 19:46:18.502143 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/90ea8c0f-d162-43d1-bcd6-4791971d83f0": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.530163 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/04473ad1-d288-4e3c-a037-695cfa76c3c9": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.530372 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/a288f28c-45b7-4f7e-a33b-519f1bcd8cc8": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.558142 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/1308303d-8b3b-4b22-a17a-394a26a374af": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.598184 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/cc73754d-2173-4c5d-aab7-8b120237801c": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.618141 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/c1aa8138-2b36-4d2e-931f-5e7eba224d14": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.634123 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/dd7ad8cb-66ac-44a7-903c-1e1eea325898": read failed (limit reached), Attempt 3 +2025/01/07 19:46:18.726145 WARN RESTY Get "http://127.0.0.1:36697/mail/v4/messages/90ea8c0f-d162-43d1-bcd6-4791971d83f0": read failed (limit reached), Attempt 4 +2025/01/07 19:46:18.726177 ERROR RESTY Get "http://127.0.0.1:36697/mail/v4/messages/90ea8c0f-d162-43d1-bcd6-4791971d83f0": read failed (limit reached) +2025/01/07 19:46:18.726200 ERROR RESTY context canceled +2025/01/07 19:46:18.726205 ERROR RESTY context canceled +2025/01/07 19:46:18.726210 ERROR RESTY context canceled +2025/01/07 19:46:18.726216 ERROR RESTY context canceled +2025/01/07 19:46:18.726221 ERROR RESTY context canceled +2025/01/07 19:46:18.726227 ERROR RESTY context canceled +--- PASS: TestServer_Messages_Fetch (8.82s) === RUN TestServer_Status -2025/01/07 19:38:01.934537 WARN RESTY Get "http://127.0.0.1:43571/core/v4/users": read failed (not allowed), Attempt 1 -2025/01/07 19:38:02.036058 WARN RESTY Get "http://127.0.0.1:43571/core/v4/users": read failed (not allowed), Attempt 2 -2025/01/07 19:38:02.170388 WARN RESTY Get "http://127.0.0.1:43571/core/v4/users": read failed (not allowed), Attempt 3 -2025/01/07 19:38:02.457519 WARN RESTY Get "http://127.0.0.1:43571/core/v4/users": read failed (not allowed), Attempt 4 -2025/01/07 19:38:02.457575 ERROR RESTY Get "http://127.0.0.1:43571/core/v4/users": read failed (not allowed) ---- PASS: TestServer_Status (1.70s) +2025/01/07 19:46:23.696040 WARN RESTY Get "http://127.0.0.1:34345/core/v4/users": read failed (not allowed), Attempt 1 +2025/01/07 19:46:23.798123 WARN RESTY Get "http://127.0.0.1:34345/core/v4/users": read failed (not allowed), Attempt 2 +2025/01/07 19:46:23.962144 WARN RESTY Get "http://127.0.0.1:34345/core/v4/users": read failed (not allowed), Attempt 3 +2025/01/07 19:46:24.302162 WARN RESTY Get "http://127.0.0.1:34345/core/v4/users": read failed (not allowed), Attempt 4 +2025/01/07 19:46:24.302190 ERROR RESTY Get "http://127.0.0.1:34345/core/v4/users": read failed (not allowed) +--- PASS: TestServer_Status (4.73s) === RUN TestServer_Labels_Duplicates -2025/01/07 19:38:03.287101 WARN RESTY 409 POST https://127.0.0.1:43515/core/v4/labels: 409 Conflict (Code=0, Status=409), Attempt 1 -2025/01/07 19:38:03.287144 ERROR RESTY 409 POST https://127.0.0.1:43515/core/v4/labels: 409 Conflict (Code=0, Status=409) ---- PASS: TestServer_Labels_Duplicates (0.83s) +2025/01/07 19:46:26.588410 WARN RESTY 409 POST https://127.0.0.1:33775/core/v4/labels: 409 Conflict (Code=0, Status=409), Attempt 1 +2025/01/07 19:46:26.588438 ERROR RESTY 409 POST https://127.0.0.1:33775/core/v4/labels: 409 Conflict (Code=0, Status=409) +--- PASS: TestServer_Labels_Duplicates (2.29s) === RUN TestServer_Labels_Duplicates_Update -2025/01/07 19:38:04.119913 WARN RESTY 409 PUT https://127.0.0.1:35361/core/v4/labels/794f5491-ab67-4eb9-84bf-1483c2158edf: 409 Conflict (Code=0, Status=409), Attempt 1 -2025/01/07 19:38:04.119957 ERROR RESTY 409 PUT https://127.0.0.1:35361/core/v4/labels/794f5491-ab67-4eb9-84bf-1483c2158edf: 409 Conflict (Code=0, Status=409) ---- PASS: TestServer_Labels_Duplicates_Update (0.83s) +2025/01/07 19:46:27.822226 WARN RESTY 409 PUT https://127.0.0.1:32957/core/v4/labels/78cd4ba7-a1c1-4010-a113-a2a57e56d334: 409 Conflict (Code=0, Status=409), Attempt 1 +2025/01/07 19:46:27.822253 ERROR RESTY 409 PUT https://127.0.0.1:32957/core/v4/labels/78cd4ba7-a1c1-4010-a113-a2a57e56d334: 409 Conflict (Code=0, Status=409) +--- PASS: TestServer_Labels_Duplicates_Update (1.23s) === RUN TestServer_Labels_Subfolders ---- PASS: TestServer_Labels_Subfolders (0.84s) +--- PASS: TestServer_Labels_Subfolders (1.83s) === RUN TestServer_Labels_Subfolders_Reassign ---- PASS: TestServer_Labels_Subfolders_Reassign (0.85s) +--- PASS: TestServer_Labels_Subfolders_Reassign (1.54s) === RUN TestServer_Labels_Subfolders_DeleteParentWithChildren ---- PASS: TestServer_Labels_Subfolders_DeleteParentWithChildren (0.79s) +--- PASS: TestServer_Labels_Subfolders_DeleteParentWithChildren (1.46s) === RUN TestServer_AddressCreateDelete ---- PASS: TestServer_AddressCreateDelete (0.96s) +--- PASS: TestServer_AddressCreateDelete (1.02s) === RUN TestServer_AddressOrder ---- PASS: TestServer_AddressOrder (1.04s) +--- PASS: TestServer_AddressOrder (1.36s) === RUN TestServer_MailSettings ---- PASS: TestServer_MailSettings (0.80s) +--- PASS: TestServer_MailSettings (2.06s) === RUN TestServer_UserSettings -2025/01/07 19:38:10.203314 WARN RESTY 500 PUT https://127.0.0.1:35387/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500), Attempt 1 -2025/01/07 19:38:10.203360 ERROR RESTY 500 PUT https://127.0.0.1:35387/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500) -2025/01/07 19:38:10.203917 WARN RESTY 500 PUT https://127.0.0.1:35387/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500), Attempt 1 -2025/01/07 19:38:10.203948 ERROR RESTY 500 PUT https://127.0.0.1:35387/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500) ---- PASS: TestServer_UserSettings (0.81s) +2025/01/07 19:46:39.296979 WARN RESTY 500 PUT https://127.0.0.1:40935/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500), Attempt 1 +2025/01/07 19:46:39.297012 ERROR RESTY 500 PUT https://127.0.0.1:40935/core/v4/settings/telemetry: 500 Internal Server Error (Code=0, Status=500) +2025/01/07 19:46:39.297155 WARN RESTY 500 PUT https://127.0.0.1:40935/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500), Attempt 1 +2025/01/07 19:46:39.297160 ERROR RESTY 500 PUT https://127.0.0.1:40935/core/v4/settings/crashreports: 500 Internal Server Error (Code=0, Status=500) +--- PASS: TestServer_UserSettings (2.20s) === RUN TestServer_Domains ---- PASS: TestServer_Domains (0.02s) +--- PASS: TestServer_Domains (0.01s) === RUN TestServer_StatusHooks -2025/01/07 19:38:11.048336 WARN RESTY 400 GET https://127.0.0.1:35695/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400), Attempt 1 -2025/01/07 19:38:11.048365 ERROR RESTY 400 GET https://127.0.0.1:35695/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400) ---- PASS: TestServer_StatusHooks (0.83s) +2025/01/07 19:46:40.792651 WARN RESTY 400 GET https://127.0.0.1:40883/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400), Attempt 1 +2025/01/07 19:46:40.792677 ERROR RESTY 400 GET https://127.0.0.1:40883/core/v4/addresses: Request failed with status 400 (Code=2001, Status=400) +--- PASS: TestServer_StatusHooks (1.48s) === RUN TestServer_SendDataEvent -2025/01/07 19:38:11.839041 WARN RESTY 400 POST https://127.0.0.1:43627/data/v1/stats: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/01/07 19:38:11.839081 ERROR RESTY 400 POST https://127.0.0.1:43627/data/v1/stats: 400 Bad Request (Code=0, Status=400) ---- PASS: TestServer_SendDataEvent (0.79s) +2025/01/07 19:46:42.651212 WARN RESTY 400 POST https://127.0.0.1:34751/data/v1/stats: 400 Bad Request (Code=0, Status=400), Attempt 1 +2025/01/07 19:46:42.651240 ERROR RESTY 400 POST https://127.0.0.1:34751/data/v1/stats: 400 Bad Request (Code=0, Status=400) +--- PASS: TestServer_SendDataEvent (1.86s) === RUN TestServer_SendDataEventMultiple -2025/01/07 19:38:12.680550 WARN RESTY 400 POST https://127.0.0.1:33341/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400), Attempt 1 -2025/01/07 19:38:12.680580 ERROR RESTY 400 POST https://127.0.0.1:33341/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400) ---- PASS: TestServer_SendDataEventMultiple (0.84s) +2025/01/07 19:46:44.845555 WARN RESTY 400 POST https://127.0.0.1:32869/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400), Attempt 1 +2025/01/07 19:46:44.845582 ERROR RESTY 400 POST https://127.0.0.1:32869/data/v1/stats/multiple: 400 Bad Request (Code=0, Status=400) +--- PASS: TestServer_SendDataEventMultiple (2.19s) === RUN TestServer_GetMessageGroupCount ---- PASS: TestServer_GetMessageGroupCount (1.00s) +--- PASS: TestServer_GetMessageGroupCount (2.48s) PASS -ok github.com/henrybear327/go-proton-api/server 147.798s +ok github.com/henrybear327/go-proton-api/server 252.964s === RUN TestID --- PASS: TestID (0.00s) === RUN Test_mergeUpdates @@ -1914,7 +1894,7 @@ --- 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 0.163s +ok github.com/henrybear327/go-proton-api/server/backend 0.312s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1941,12 +1921,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1539957/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1539957/tmp/hooks/B01_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/2264208 and its subdirectories -I: Current time: Tue Jan 7 07:39:57 -12 2025 -I: pbuilder-time-stamp: 1736278797 +I: removing directory /srv/workspace/pbuilder/1539957 and its subdirectories +I: Current time: Wed Jan 8 09:47:43 +14 2025 +I: pbuilder-time-stamp: 1736279263