Diff of the two buildlogs: -- --- b1/build.log 2024-01-07 23:49:55.444309532 +0000 +++ b2/build.log 2024-01-07 23:54:06.189884157 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 11:46:04 -12 2024 -I: pbuilder-time-stamp: 1704671164 +I: Current time: Sun Feb 9 20:12:58 +14 2025 +I: pbuilder-time-stamp: 1739081578 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -26,49 +26,81 @@ dpkg-source: info: unpacking golang-github-go-resty-resty_2.6.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2110138/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/546804/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Feb 9 06:13 /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/546804/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/546804/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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(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='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='77591af103b64bd8a53f7323127a7eb2' - 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='2110138' - PS1='# ' - PS2='> ' + INVOCATION_ID=98a0d874592c4173a59b034f3cd2fd45 + 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=546804 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.ACACwSxf/pbuilderrc_3wF8 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ACACwSxf/b1 --logfile b1/build.log golang-github-go-resty-resty_2.6.0-1.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.104: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.ACACwSxf/pbuilderrc_leYs --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ACACwSxf/b2 --logfile b2/build.log golang-github-go-resty-resty_2.6.0-1.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.104:3128 I: uname -a - Linux codethink04-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 7104 -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash @@ -126,15 +158,15 @@ -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 23:46 run-parts + -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Feb 9 06:13 sh -> /bin/bash -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty -rwsr-xr-x 1 root root 133312 Mar 23 2023 su -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync -rwxr-xr-x 1 root root 539896 Apr 6 2023 tar - -rwxr-xr-x 1 root root 67904 Jul 28 23:46 tempfile + -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch -rwxr-xr-x 1 root root 68384 Sep 20 2022 true -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server @@ -154,7 +186,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/2110138/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/546804/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +267,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] -Fetched 98.3 MB in 0s (240 MB/s) +Fetched 98.3 MB in 1s (127 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 18171 files and directories currently installed.) @@ -406,7 +438,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.6.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-go-resty-resty_2.6.0-1_source.changes +I: user script /srv/workspace/pbuilder/546804/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/546804/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.6.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-go-resty-resty_2.6.0-1_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.6.0-1 dpkg-buildpackage: info: source distribution unstable @@ -425,31 +461,31 @@ dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/go-resty/resty -internal/unsafeheader +internal/goarch internal/goexperiment internal/goos -unicode/utf8 -math/bits -internal/goarch internal/race -unicode -internal/itoa -runtime/internal/syscall internal/cpu sync/atomic -container/list -crypto/internal/subtle +internal/unsafeheader +runtime/internal/syscall +unicode +unicode/utf8 +internal/itoa internal/abi runtime/internal/math runtime/internal/sys +math/bits +container/list +crypto/internal/subtle crypto/subtle -math crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding +math runtime/internal/atomic internal/bytealg runtime @@ -463,19 +499,19 @@ sort io strconv -vendor/golang.org/x/net/dns/dnsmessage +internal/oserror internal/safefilepath path -internal/oserror crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage syscall bytes strings hash crypto/internal/randutil hash/crc32 -crypto reflect +crypto crypto/rc4 vendor/golang.org/x/text/transform bufio @@ -492,43 +528,43 @@ encoding/binary embed os -encoding/base64 -crypto/internal/edwards25519/field -vendor/golang.org/x/crypto/internal/poly1305 crypto/cipher -crypto/md5 crypto/internal/nistec +crypto/internal/edwards25519/field +crypto/md5 +encoding/base64 +vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field encoding/pem crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/sha512 +fmt +internal/godebug +path/filepath +io/ioutil crypto/aes +crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 -internal/godebug -fmt -path/filepath -io/ioutil -vendor/golang.org/x/crypto/hkdf internal/intern -vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/hkdf net/netip -net -compress/flate +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url +compress/flate math/big vendor/golang.org/x/crypto/curve25519 log -encoding/xml encoding/json -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack mime +encoding/xml +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/unicode/norm +net mime/quotedprintable net/http/internal vendor/golang.org/x/text/unicode/bidi @@ -536,18 +572,18 @@ vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/internal/boring/bbig +crypto/elliptic encoding/asn1 crypto/dsa crypto/rand -crypto/elliptic crypto/ed25519 crypto/rsa -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa vendor/golang.org/x/net/http/httpproxy -crypto/x509 net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -565,11 +601,11 @@ resty_test.go:435: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:40: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 13.391516ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:42 GMT]] + resty_test.go:648: Response Time: 6.62708ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 09 Feb 2025 06:13:49 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientBasicAuth (0.02s) +--- PASS: TestClientBasicAuth (0.01s) === RUN TestClientAuthToken resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -589,8 +625,8 @@ === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext - client_test.go:89: Request sent at: 2024-01-07 23:46:42.453807612 +0000 UTC m=+0.041131914 - client_test.go:90: Response Received at: 2024-01-07 23:46:42.454456496 +0000 UTC m=+0.041780838 + client_test.go:89: Request sent at: 2025-02-09 06:13:49.708858765 +0000 UTC m=+0.024686561 + client_test.go:90: Response Received at: 2025-02-09 06:13:49.709210925 +0000 UTC m=+0.025038721 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:531: Method: GET @@ -635,7 +671,7 @@ resty_test.go:532: Path: /redirect-20 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-1 ---- PASS: TestClientRedirectPolicy (0.01s) +--- PASS: TestClientRedirectPolicy (0.00s) === RUN TestClientTimeout resty_test.go:41: Method: GET resty_test.go:42: Path: /set-timeout-test @@ -664,8 +700,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 588.204µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:52 GMT]] + resty_test.go:648: Response Time: 791.64µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:13:59 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) @@ -715,22 +751,22 @@ resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 2.256893ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:52 GMT]] + resty_test.go:648: Response Time: 2.01916ms + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:13:59 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: This is Gzip response testing resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test-gziped-empty-body resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 644.804µs - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:52 GMT]] + resty_test.go:648: Response Time: 452.04µs + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:13:59 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test-no-gziped-body resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 192.041µs - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:52 GMT]] + resty_test.go:648: Response Time: 359.72µs + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:13:59 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestAutoGzip (0.00s) @@ -788,7 +824,7 @@ resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.87s) - --- PASS: TestClientOnResponseError/successful_request (0.02s) + --- PASS: TestClientOnResponseError/successful_request (0.01s) --- PASS: TestClientOnResponseError/http_status_error (0.01s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.40s) @@ -800,8 +836,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 847.365µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:53 GMT]] + resty_test.go:648: Response Time: 667.64µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:00 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) @@ -809,8 +845,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage resty_test.go:647: Response Status: 400 Bad Request - resty_test.go:648: Response Time: 1.025886ms - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sun, 07 Jan 2024 23:46:53 GMT]] + resty_test.go:648: Response Time: 639.68µs + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sun, 09 Feb 2025 06:14:00 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestSetContextWithError (0.00s) @@ -818,21 +854,21 @@ context_test.go:57: Server: GET / context_test.go:62: Server: wrote 30 bytes context_test.go:63: Server: err is - context_test.go:82: Error: Get "http://127.0.0.1:37835/": context canceled + context_test.go:82: Error: Get "http://127.0.0.1:37925/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is - context_test.go:125: Error: Get "http://127.0.0.1:33973/": context canceled + context_test.go:125: Error: Get "http://127.0.0.1:33431/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is - context_test.go:168: Error: Get "http://127.0.0.1:38265/": context canceled ---- PASS: TestSetContextCancelWithError (0.00s) + context_test.go:168: Error: Get "http://127.0.0.1:40221/": context canceled +--- PASS: TestSetContextCancelWithError (0.01s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / @@ -842,15 +878,15 @@ context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / ---- PASS: TestClientRetryWithSetContext (5.56s) +--- PASS: TestClientRetryWithSetContext (5.51s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN TestGet resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 558.123µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 323.48µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGet (0.00s) @@ -860,8 +896,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 530.963µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 273.56µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) @@ -869,8 +905,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 657.244µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 236.84µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) @@ -878,8 +914,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 348.402µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 245.64µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) @@ -887,8 +923,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage resty_test.go:647: Response Status: 400 Bad Request - resty_test.go:648: Response Time: 315.762µs - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 250.4µs + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestGet400Error (0.00s) @@ -898,8 +934,8 @@ resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json; charset=utf-8 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 2.765015ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 401.32µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } resty_test.go:234: Method: POST @@ -908,8 +944,8 @@ resty_test.go:237: Content-Type: application/json; charset=utf-8 resty_test.go:148: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:647: Response Status: 400 Bad Request - resty_test.go:648: Response Time: 208.361µs - resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 106.44µs + resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) @@ -919,8 +955,8 @@ resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json; charset=utf-8 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 397.922µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 4.66548ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) @@ -930,8 +966,8 @@ resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json; charset=utf-8 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 565.443µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 425.2µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) @@ -942,8 +978,8 @@ resty_test.go:237: Content-Type: application/json; charset=utf-8 request_test.go:214: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 443.562µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 323.6µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) @@ -954,8 +990,8 @@ resty_test.go:237: Content-Type: application/json-rpc request_test.go:236: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 707.524µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 304.52µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) @@ -966,8 +1002,8 @@ resty_test.go:237: Content-Type: application/json; charset=utf-8 request_test.go:261: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized - resty_test.go:648: Response Time: 506.243µs - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 311.56µs + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) @@ -978,8 +1014,8 @@ resty_test.go:237: Content-Type: application/json; charset=utf-8 request_test.go:283: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized - resty_test.go:648: Response Time: 387.602µs - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 298.96µs + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) @@ -990,8 +1026,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:303: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 341.082µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 403.52µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) @@ -1002,8 +1038,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:324: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 330.882µs - resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 4.58936ms + resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) @@ -1016,19 +1052,19 @@ resty_test.go:237: Content-Type: application/json request_test.go:378: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 413.482µs - resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 361.16µs + resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login - resty_test.go:236: RawQuery: request_no=1704671218 + resty_test.go:236: RawQuery: request_no=1739081646 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 419.963µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 354.44µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) @@ -1041,19 +1077,19 @@ resty_test.go:237: Content-Type: application/xml resty_test.go:173: Error: XML syntax error on line 1: element closed by resty_test.go:647: Response Status: 400 Bad Request - resty_test.go:648: Response Time: 530.523µs - resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 358.28µs + resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login - resty_test.go:236: RawQuery: request_no=1704671218 + resty_test.go:236: RawQuery: request_no=1739081646 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 392.882µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 338.92µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) @@ -1064,8 +1100,8 @@ resty_test.go:237: Content-Type: application/xml request_test.go:478: Result Success: &{"" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 599.923µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 351.44µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) @@ -1076,8 +1112,8 @@ resty_test.go:237: Content-Type: application/xml request_test.go:499: Result Error: &{"" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized - resty_test.go:648: Response Time: 520.763µs - resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 305.28µs + resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) @@ -1088,11 +1124,11 @@ resty_test.go:237: Content-Type: application/xml request_test.go:517: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 1.299207ms - resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 28.192ms + resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful ---- PASS: TestPostXMLStructInvalidResponseXml (0.00s) +--- PASS: TestPostXMLStructInvalidResponseXml (0.03s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth @@ -1102,8 +1138,8 @@ resty_test.go:435: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:550: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 10.965262ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT]] + resty_test.go:648: Response Time: 7.83436ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.01s) @@ -1114,8 +1150,8 @@ resty_test.go:435: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:569: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized - resty_test.go:648: Response Time: 8.637169ms - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:58 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 8.86572ms + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.01s) @@ -1158,82 +1194,82 @@ === RUN TestMultiPartUploadFile resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=8083f90281637157aad61b253674eb54785da3f5e3e3cdd43f935cd9438e + resty_test.go:304: Content-Type: multipart/form-data; boundary=882f1a37ccabf903939ba2311710cdd3af06f822528842b45ee413604980 resty_test.go:327: FirstName: resty_test.go:328: LastName: resty_test.go:335: Name: test-img.png resty_test.go:336: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:340: Write name: test-img-1704671219.png ---- PASS: TestMultiPartUploadFile (0.02s) + resty_test.go:340: Write name: test-img-1739081646.png +--- PASS: TestMultiPartUploadFile (0.07s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=8122d12f98d5c9d4e39e27539612604c2c02f5c3575ec01e605b29011dc5 + resty_test.go:304: Content-Type: multipart/form-data; boundary=2027c9db6eb631d1d6fd0bf28504899a9e77bfbd60779025d331af25c395 resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: test-img.png resty_test.go:336: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:340: Write name: test-img-1704671219.png + resty_test.go:340: Write name: test-img-1739081646.png resty_test.go:335: Name: text-file.txt resty_test.go:336: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] - resty_test.go:340: Write name: text-file-1704671219.txt ---- PASS: TestMultiPartUploadFiles (0.02s) + resty_test.go:340: Write name: text-file-1739081646.txt +--- PASS: TestMultiPartUploadFiles (0.06s) === RUN TestMultiPartIoReaderFiles request_test.go:748: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=59d906ef2c320a123ac124867540f7b37cff4ab8a13498341cf39fe33d01 + resty_test.go:304: Content-Type: multipart/form-data; boundary=44735a793548265851741e01f9e46d0297273c5d70abc6cb6d7a2eb74192 resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: test-img.png resty_test.go:336: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:340: Write name: test-img-1704671219.png + resty_test.go:340: Write name: test-img-1739081646.png resty_test.go:335: Name: text-file.txt resty_test.go:336: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] - resty_test.go:340: Write name: text-file-1704671219.txt ---- PASS: TestMultiPartIoReaderFiles (0.02s) + resty_test.go:340: Write name: text-file-1739081646.txt +--- PASS: TestMultiPartIoReaderFiles (0.08s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:302: Method: POST resty_test.go:303: Path: /profile - resty_test.go:304: Content-Type: multipart/form-data; boundary=de83d5c248fde8ac767ec164e6aa6455caefc260a8afa5f6ece1b50cb4fe + resty_test.go:304: Content-Type: multipart/form-data; boundary=f6026c143ecdacc23b5ff9b73015d8b9fcac61e50c8dc5ced878852dc428 resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: resty_test.go:313: Zip Code: 00001 ---- PASS: TestMultiPartFormData (0.00s) +--- PASS: TestMultiPartFormData (0.01s) === RUN TestMultiPartMultipartField resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=5c7a2f3879a3b99d191983724b962ea93756bcf881df7beaf476fd0e3c06 + resty_test.go:304: Content-Type: multipart/form-data; boundary=06bd7ee0c72ae907bd90c2bd842a6e11c522f972e385644bdf98c625a12b resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: upload-file.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] - resty_test.go:340: Write name: upload-file-1704671219.json + resty_test.go:340: Write name: upload-file-1739081646.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=8c61c984f642bb64184335d0310d73e6433c1ba6b9cfb60c062e1beb451b + resty_test.go:304: Content-Type: multipart/form-data; boundary=1130a721781146aa30c1c66de2ca660a73d3576518fe13abec32af589e1b resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: upload-file-1.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] - resty_test.go:340: Write name: upload-file-1-1704671219.json + resty_test.go:340: Write name: upload-file-1-1739081646.json resty_test.go:335: Name: upload-file-2.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] - resty_test.go:340: Write name: upload-file-2-1704671219.json ---- PASS: TestMultiPartMultipartFields (0.00s) + resty_test.go:340: Write name: upload-file-2-1739081646.json +--- PASS: TestMultiPartMultipartFields (0.01s) === RUN TestGetWithCookie resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 448.243µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 365.12µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) @@ -1243,8 +1279,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 1.387208ms - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 80.36µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:06 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) @@ -1285,7 +1321,7 @@ resty_test.go:532: Path: /redirect-9 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-10 ---- PASS: TestHTTPAutoRedirectUpTo10 (0.00s) +--- PASS: TestHTTPAutoRedirectUpTo10 (0.01s) === RUN TestHostCheckRedirectPolicy resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-1 @@ -1327,8 +1363,8 @@ === CONT TestSendMethod resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext ---- PASS: TestSendMethod (0.00s) - --- PASS: TestSendMethod/send-get (0.00s) +--- PASS: TestSendMethod (0.03s) + --- PASS: TestSendMethod/send-get (0.01s) --- PASS: TestSendMethod/send-options (0.00s) --- PASS: TestSendMethod/send-patch (0.00s) --- PASS: TestSendMethod/send-put (0.00s) @@ -1336,7 +1372,7 @@ resty_test.go:302: Method: PUT resty_test.go:303: Path: /raw-upload resty_test.go:304: Content-Type: image/png ---- PASS: TestRawFileUploadByBody (0.51s) +--- PASS: TestRawFileUploadByBody (0.62s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient @@ -1350,8 +1386,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:1217: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 633.483µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 375.24µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) @@ -1362,8 +1398,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:1245: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted - resty_test.go:648: Response Time: 569.284µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 366.68µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) @@ -1374,8 +1410,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:1270: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted - resty_test.go:648: Response Time: 728.724µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 306.72µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) @@ -1386,8 +1422,8 @@ resty_test.go:237: Content-Type: application/json request_test.go:1292: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted - resty_test.go:648: Response Time: 673.644µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 270.56µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) @@ -1410,21 +1446,21 @@ === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png ---- PASS: TestOutputFileWithBaseDirAndRelativePath (0.00s) +--- PASS: TestOutputFileWithBaseDirAndRelativePath (0.01s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png ---- PASS: TestOutputPathDirNotExists (0.00s) +--- PASS: TestOutputPathDirNotExists (0.02s) === RUN TestOutputFileAbsPath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png ---- PASS: TestOutputFileAbsPath (0.01s) +--- PASS: TestOutputFileAbsPath (0.03s) === RUN TestContextInternal resty_test.go:41: Method: GET resty_test.go:42: Path: / ---- PASS: TestContextInternal (0.00s) +--- PASS: TestContextInternal (0.02s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService @@ -1443,8 +1479,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /v1/users/sample@sample.com/100002/details resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 454.562µs - resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 257.8µs + resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) @@ -1456,8 +1492,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 475.362µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 214µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) @@ -1474,13 +1510,13 @@ resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: image/png ---- PASS: TestRequestFileUploadAsReader (0.02s) +--- PASS: TestRequestFileUploadAsReader (0.14s) === RUN TestHostHeaderOverride resty_test.go:41: Method: GET resty_test.go:42: Path: /host-header resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 562.923µs - resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 352.16µs + resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) @@ -1488,11 +1524,11 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: /v1/users/sample@sample.com/100002/https://example.com resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 633.763µs - resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:46:59 GMT]] + resty_test.go:648: Response Time: 8.2568ms + resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/https:%2F%2Fexample.com ---- PASS: TestPathParamURLInput (0.00s) +--- PASS: TestPathParamURLInput (0.01s) === RUN TestTraceInfo resty_test.go:41: Method: GET resty_test.go:42: Path: / @@ -1526,10 +1562,10 @@ === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:367: Method: POST resty_test.go:368: Path: /upload - resty_test.go:369: Content-Type: multipart/form-data; boundary=10f4fa5361998171522fe02cd5bf5aa13e6c0f3715724eada3eaff4962a8 + resty_test.go:369: Content-Type: multipart/form-data; boundary=59d886fee8afefccd80dd842fdf203fb251d2ec581bf4cd0affef0c3cc9a resty_test.go:367: Method: POST resty_test.go:368: Path: /upload - resty_test.go:369: Content-Type: multipart/form-data; boundary=77ade22cb961cec5a2271eb58584abccb0060e8e0a147414588e905a0733 + resty_test.go:369: Content-Type: multipart/form-data; boundary=d79b4023710a10527e78a1c16da2fbd26341b19a440f6970b0e8c2b9be33 resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded @@ -1558,7 +1594,7 @@ resty_test.go:311: LastName: resty_test.go:312: City: resty_test.go:313: Zip Code: ---- PASS: TestDebugLoggerRequestBodyTooLarge (0.01s) +--- PASS: TestDebugLoggerRequestBodyTooLarge (0.03s) === RUN TestPostMapTemporaryRedirect resty_test.go:234: Method: POST resty_test.go:235: Path: /redirect @@ -1576,7 +1612,7 @@ === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition ---- PASS: TestConditionalBackoffCondition (0.22s) +--- PASS: TestConditionalBackoffCondition (0.30s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff @@ -1585,8 +1621,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 788.125µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:47:00 GMT]] + resty_test.go:648: Response Time: 350.4µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) @@ -1594,8 +1630,8 @@ resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 711.764µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 07 Jan 2024 23:47:00 GMT]] + resty_test.go:648: Response Time: 263.28µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 09 Feb 2025 06:14:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) @@ -1608,7 +1644,7 @@ resty_test.go:42: Path: /set-retrycount-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test ---- PASS: TestClientRetryGet (15.64s) +--- PASS: TestClientRetryGet (15.71s) === RUN TestClientRetryWait resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1622,7 +1658,7 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWait (33.34s) +--- PASS: TestClientRetryWait (35.80s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1636,7 +1672,7 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWaitMaxInfinite (18.07s) +--- PASS: TestClientRetryWaitMaxInfinite (18.08s) === RUN TestClientRetryWaitCallbackError resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1654,12 +1690,12 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test - retry_test.go:345: Client has slept 5.023276 seconds before retry 1 - retry_test.go:345: Client has slept 5.023992 seconds before retry 2 - retry_test.go:345: Client has slept 5.024570 seconds before retry 3 - retry_test.go:345: Client has slept 5.027330 seconds before retry 4 - retry_test.go:345: Client has slept 5.012342 seconds before retry 5 ---- PASS: TestClientRetryWaitCallback (30.11s) + retry_test.go:345: Client has slept 5.026526 seconds before retry 1 + retry_test.go:345: Client has slept 5.024721 seconds before retry 2 + retry_test.go:345: Client has slept 5.024019 seconds before retry 3 + retry_test.go:345: Client has slept 5.024119 seconds before retry 4 + retry_test.go:345: Client has slept 5.023860 seconds before retry 5 +--- PASS: TestClientRetryWaitCallback (30.15s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1673,11 +1709,11 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test - retry_test.go:393: Client has slept 3.014588 seconds before retry 1 - retry_test.go:393: Client has slept 3.014746 seconds before retry 2 - retry_test.go:393: Client has slept 3.013091 seconds before retry 3 - retry_test.go:393: Client has slept 3.015916 seconds before retry 4 - retry_test.go:393: Client has slept 3.012300 seconds before retry 5 + retry_test.go:393: Client has slept 3.013136 seconds before retry 1 + retry_test.go:393: Client has slept 3.014393 seconds before retry 2 + retry_test.go:393: Client has slept 3.016073 seconds before retry 3 + retry_test.go:393: Client has slept 3.015970 seconds before retry 4 + retry_test.go:393: Client has slept 3.015950 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (18.09s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:41: Method: GET @@ -1692,11 +1728,10 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test - retry_test.go:441: Client has slept 3.012431 seconds before retry 1 - retry_test.go:441: Client has slept 3.014162 seconds before retry 3 - retry_test.go:441: Client has slept 3.014130 seconds before retry 4 - retry_test.go:441: Client has slept 3.013964 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooLong (18.07s) + retry_test.go:441: Client has slept 3.014915 seconds before retry 3 + retry_test.go:441: Client has slept 3.012104 seconds before retry 4 + retry_test.go:441: Client has slept 3.013104 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooLong (18.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1710,7 +1745,7 @@ resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWaitCallbackSwitchToDefault (11.90s) +--- PASS: TestClientRetryWaitCallbackSwitchToDefault (11.98s) === RUN TestClientRetryCancel resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1737,7 +1772,7 @@ resty_test.go:237: Content-Type: application/json resty_test.go:259: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] retry_test.go:569: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] ---- PASS: TestClientRetryPost (1.02s) +--- PASS: TestClientRetryPost (1.27s) === RUN TestClientRetryErrorRecover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover @@ -1749,7 +1784,7 @@ resty_test.go:42: Path: /set-retrycount-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test ---- PASS: TestClientRetryCount (9.13s) +--- PASS: TestClientRetryCount (9.12s) === RUN TestClientErrorRetry resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover @@ -1763,13 +1798,13 @@ resty_test.go:42: Path: /set-retrycount-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test ---- PASS: TestClientRetryHook (12.24s) +--- PASS: TestClientRetryHook (12.33s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) PASS -ok github.com/go-resty/resty 187.544s +ok github.com/go-resty/resty 191.111s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1796,12 +1831,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/546804/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/546804/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/2110138 and its subdirectories -I: Current time: Sun Jan 7 11:49:54 -12 2024 -I: pbuilder-time-stamp: 1704671394 +I: removing directory /srv/workspace/pbuilder/546804 and its subdirectories +I: Current time: Sun Feb 9 20:17:05 +14 2025 +I: pbuilder-time-stamp: 1739081825