Diff of the two buildlogs: -- --- b1/build.log 2023-05-09 20:30:14.599319674 +0000 +++ b2/build.log 2023-05-09 20:38:38.057304236 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 9 08:23:54 -12 2023 -I: pbuilder-time-stamp: 1683663834 +I: Current time: Wed May 10 10:30:44 +14 2023 +I: pbuilder-time-stamp: 1683664244 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-go-resty-resty_2.6.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.6.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Aug 22 21:12:17 2021 -12 +gpgv: Signature made Mon Aug 23 23:12:17 2021 +14 gpgv: using RSA key 098735E890D75A09B364168E1A0EB82F071F5EFE gpgv: issuer "alois@micard.lu" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ 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/344/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23884/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 10 10:31 /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/23884/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23884/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='19c09f0338ce4ad586740e428a641080' - 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='344' - PS1='# ' - PS2='> ' + INVOCATION_ID=c7ceb69a925c48ecbae4a4b8b69a056b + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=23884 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.RNchkP3I/pbuilderrc_xNoz --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.RNchkP3I/b1 --logfile b1/build.log golang-github-go-resty-resty_2.6.0-1.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.RNchkP3I/pbuilderrc_MVSL --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.RNchkP3I/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-go-resty-resty_2.6.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux jtx1a 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/344/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 10 10:31 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -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/23884/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 armhf golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] -Fetched 98.3 MB in 13s (7435 kB/s) +Fetched 98.3 MB in 11s (8958 kB/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 ... 19329 files and directories currently installed.) @@ -405,8 +437,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/23884/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/23884/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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 @@ -424,27 +467,27 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang 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 3 github.com/go-resty/resty -internal/goarch -internal/cpu + cd _build && go install -trimpath -v -p 4 github.com/go-resty/resty internal/unsafeheader -internal/abi internal/goexperiment +internal/goarch internal/goos +internal/cpu +internal/abi +runtime/internal/syscall runtime/internal/math runtime/internal/sys -runtime/internal/syscall -internal/bytealg -runtime/internal/atomic internal/race sync/atomic unicode +internal/bytealg +runtime/internal/atomic unicode/utf8 -runtime internal/itoa math/bits -math container/list +runtime +math crypto/internal/subtle crypto/subtle crypto/internal/boring/sig @@ -462,14 +505,14 @@ errors sort io +internal/oserror strconv bytes strings -reflect +syscall bufio -internal/oserror +reflect internal/safefilepath -syscall path hash hash/crc32 @@ -477,87 +520,87 @@ crypto/internal/nistec/fiat internal/syscall/unix time -internal/fmtsort internal/syscall/execenv -encoding/binary +crypto/internal/randutil +crypto/rc4 +vendor/golang.org/x/net/dns/dnsmessage internal/poll io/fs +internal/fmtsort +encoding/binary context -crypto/cipher +embed +vendor/golang.org/x/text/transform os +crypto/cipher +crypto/internal/edwards25519/field crypto/internal/nistec +crypto/internal/edwards25519 crypto/internal/boring crypto/aes crypto/des -crypto/internal/randutil +fmt crypto/sha512 -crypto/internal/edwards25519/field crypto/hmac -fmt crypto/md5 -crypto/internal/edwards25519 -crypto/rc4 crypto/sha1 crypto/sha256 encoding/base64 internal/godebug +internal/intern +path/filepath +net/netip encoding/pem -vendor/golang.org/x/net/dns/dnsmessage +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/curve25519/internal/field +vendor/golang.org/x/crypto/chacha20poly1305 compress/flate math/big -compress/gzip encoding/hex -internal/intern -net/netip -net/url -path/filepath net -vendor/golang.org/x/crypto/chacha20 +net/url +vendor/golang.org/x/crypto/curve25519 +compress/gzip +vendor/golang.org/x/crypto/hkdf +encoding/json +encoding/xml +log crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/ed25519 crypto/rsa -vendor/golang.org/x/crypto/cryptobyte crypto/dsa +vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -crypto/ecdsa -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/curve25519/internal/field -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/curve25519 -encoding/json -encoding/xml -embed -vendor/golang.org/x/text/transform -log vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/secure/bidirule +crypto/ecdsa vendor/golang.org/x/net/http2/hpack mime -vendor/golang.org/x/net/idna -crypto/x509 -net/textproto mime/quotedprintable -mime/multipart -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy net/http/internal net/http/internal/ascii io/ioutil regexp/syntax -crypto/tls +vendor/golang.org/x/net/idna regexp +net/textproto +vendor/golang.org/x/net/http/httpproxy +crypto/x509 +vendor/golang.org/x/net/http/httpguts +mime/multipart +crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/go-resty/resty + cd _build && go test -vet=off -v -p 4 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:404: Method: POST resty_test.go:405: Path: /login @@ -565,17 +608,17 @@ 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: 31.158663ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:26:37 GMT]] + resty_test.go:648: Response Time: 79.062962ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientBasicAuth (0.03s) +--- PASS: TestClientBasicAuth (0.10s) === RUN TestClientAuthToken resty_test.go:404: Method: GET resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF ---- PASS: TestClientAuthToken (0.03s) +--- PASS: TestClientAuthToken (0.07s) === RUN TestClientAuthScheme resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -585,12 +628,12 @@ resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF ---- PASS: TestClientAuthScheme (0.04s) +--- PASS: TestClientAuthScheme (0.08s) === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext - client_test.go:89: Request sent at: 2023-05-09 08:26:37.678639453 -1200 -12 m=+0.104942140 - client_test.go:90: Response Received at: 2023-05-09 08:26:37.679649123 -1200 -12 m=+0.105951758 + client_test.go:89: Request sent at: 2023-05-10 10:35:07.509321511 +1400 +14 m=+0.246527590 + client_test.go:90: Response Received at: 2023-05-10 10:35:07.512393288 +1400 +14 m=+0.249599367 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:531: Method: GET @@ -635,7 +678,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.02s) === RUN TestClientTimeout resty_test.go:41: Method: GET resty_test.go:42: Path: /set-timeout-test @@ -645,7 +688,7 @@ resty_test.go:42: Path: /set-timeout-test-with-sequence resty_test.go:41: Method: GET resty_test.go:42: Path: /set-timeout-test-with-sequence ---- PASS: TestClientTimeoutWithinThreshold (4.02s) +--- PASS: TestClientTimeoutWithinThreshold (4.01s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy @@ -653,7 +696,7 @@ === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate ---- PASS: TestClientSetRootCertificate (0.00s) +--- PASS: TestClientSetRootCertificate (0.01s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString @@ -664,8 +707,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: 1.331486ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:47 GMT]] + resty_test.go:648: Response Time: 1.081189ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) @@ -688,11 +731,11 @@ resty_test.go:235: Path: /login resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json ---- PASS: TestClientPreRequestHook (0.01s) +--- PASS: TestClientPreRequestHook (0.00s) === RUN TestClientAllowsGetMethodPayload resty_test.go:41: Method: GET resty_test.go:42: Path: /get-method-payload-test ---- PASS: TestClientAllowsGetMethodPayload (0.01s) +--- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest @@ -710,30 +753,30 @@ resty_test.go:42: Path: /long-text resty_test.go:41: Method: GET resty_test.go:42: Path: /long-json ---- PASS: TestDebugBodySizeLimit (0.02s) +--- PASS: TestDebugBodySizeLimit (0.01s) === RUN TestAutoGzip 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: 4.852466ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:47 GMT]] + resty_test.go:648: Response Time: 2.372957ms + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 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: 15.398319ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:47 GMT]] + resty_test.go:648: Response Time: 9.369328ms + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 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: 1.528462ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:47 GMT]] + resty_test.go:648: Response Time: 734.695µs + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: ---- PASS: TestAutoGzip (0.03s) +--- PASS: TestAutoGzip (0.01s) === RUN TestLogCallbacks resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -743,7 +786,7 @@ resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request ---- PASS: TestLogCallbacks (0.10s) +--- PASS: TestLogCallbacks (0.06s) === RUN TestNewWithLocalAddr resty_test.go:41: Method: GET resty_test.go:42: Path: / @@ -787,21 +830,21 @@ resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF ---- PASS: TestClientOnResponseError (1.15s) - --- PASS: TestClientOnResponseError/successful_request (0.08s) - --- PASS: TestClientOnResponseError/http_status_error (0.08s) +--- PASS: TestClientOnResponseError (1.07s) + --- PASS: TestClientOnResponseError/successful_request (0.06s) + --- PASS: TestClientOnResponseError/http_status_error (0.06s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) - --- PASS: TestClientOnResponseError/before_request_error_retry (0.40s) - --- PASS: TestClientOnResponseError/after_response_error (0.09s) - --- PASS: TestClientOnResponseError/after_response_error_retry (0.49s) + --- PASS: TestClientOnResponseError/before_request_error_retry (0.41s) + --- PASS: TestClientOnResponseError/after_response_error (0.08s) + --- PASS: TestClientOnResponseError/after_response_error_retry (0.46s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestSetContext 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: 2.739951ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:49 GMT]] + resty_test.go:648: Response Time: 1.390933ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:18 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) @@ -809,8 +852,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.481172ms - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:26:49 GMT]] + resty_test.go:648: Response Time: 1.141854ms + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:35:18 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestSetContextWithError (0.00s) @@ -818,20 +861,20 @@ 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:42267/": context canceled + context_test.go:82: Error: Get "http://127.0.0.1:38651/": 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:38125/": context canceled + context_test.go:125: Error: Get "http://127.0.0.1:43565/": 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:38377/": context canceled + context_test.go:168: Error: Get "http://127.0.0.1:41761/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET @@ -842,26 +885,26 @@ context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / ---- PASS: TestClientRetryWithSetContext (5.54s) +--- PASS: TestClientRetryWithSetContext (5.62s) === 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: 4.083833ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 2.181044ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response ---- PASS: TestGet (0.01s) +--- PASS: TestGet (0.00s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent 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: 2.607037ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.974547ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) @@ -869,17 +912,17 @@ 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: 2.45704ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 3.948802ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response ---- PASS: TestGetClientParamRequestParam (0.00s) +--- PASS: TestGetClientParamRequestParam (0.01s) === RUN TestGetRelativePath 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: 3.493531ms - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 4.819703ms + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.01s) @@ -887,8 +930,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: 3.53775ms - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 4.222964ms + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestGet400Error (0.01s) @@ -898,8 +941,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: 4.245445ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.85934ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 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,33 +951,33 @@ 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: 2.948385ms - resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.359725ms + resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 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.01s) +--- PASS: TestPostJSONStringSuccess (0.00s) === RUN TestPostJSONBytesSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login 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: 8.388757ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 2.509454ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONBytesSuccess (0.01s) +--- PASS: TestPostJSONBytesSuccess (0.00s) === RUN TestPostJSONBytesIoReader resty_test.go:234: Method: POST resty_test.go:235: Path: /login 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: 3.110934ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.612596ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONBytesIoReader (0.01s) +--- PASS: TestPostJSONBytesIoReader (0.00s) === RUN TestPostJSONStructSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login @@ -942,11 +985,11 @@ 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: 3.646289ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.948298ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONStructSuccess (0.01s) +--- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login @@ -954,11 +997,11 @@ 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: 4.29633ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.385391ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONRPCStructSuccess (0.01s) +--- PASS: TestPostJSONRPCStructSuccess (0.00s) === RUN TestPostJSONStructInvalidLogin resty_test.go:234: Method: POST resty_test.go:235: Path: /login @@ -966,8 +1009,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: 2.599745ms - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.3886ms + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) @@ -978,8 +1021,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: 2.857657ms - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.268727ms + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) @@ -990,11 +1033,11 @@ 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: 4.098521ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.260268ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONMapSuccess (0.01s) +--- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:234: Method: POST resty_test.go:235: Path: /login @@ -1002,11 +1045,11 @@ 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: 2.592506ms - resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.410183ms + resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } ---- PASS: TestPostJSONMapInvalidResponseJson (0.01s) +--- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 @@ -1016,19 +1059,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: 2.676879ms - resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.409307ms + resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Tue, 09 May 2023 20:35:24 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=1683664014 + resty_test.go:236: RawQuery: request_no=1683664524 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 1.797937ms - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.257644ms + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) @@ -1041,19 +1084,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: 2.30798ms - resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.255894ms + resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 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=1683664014 + resty_test.go:236: RawQuery: request_no=1683664524 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 2.168503ms - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.164603ms + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) @@ -1064,11 +1107,11 @@ 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: 2.878543ms - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.248893ms + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful ---- PASS: TestPostXMLStructSuccess (0.01s) +--- PASS: TestPostXMLStructSuccess (0.00s) === RUN TestPostXMLStructInvalidLogin resty_test.go:234: Method: POST resty_test.go:235: Path: /login @@ -1076,8 +1119,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: 2.737191ms - resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 1.087022ms + resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) @@ -1088,8 +1131,8 @@ 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: 2.187773ms - resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 1.059605ms + resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) @@ -1102,11 +1145,11 @@ 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: 90.120632ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT]] + resty_test.go:648: Response Time: 64.175985ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestRequestBasicAuth (0.09s) +--- PASS: TestRequestBasicAuth (0.07s) === RUN TestRequestBasicAuthFail resty_test.go:404: Method: POST resty_test.go:405: Path: /login @@ -1114,11 +1157,11 @@ 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: 83.165809ms - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:26:54 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 59.647361ms + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 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.09s) +--- PASS: TestRequestBasicAuthFail (0.06s) === RUN TestRequestAuthToken resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -1158,48 +1201,48 @@ === RUN TestMultiPartUploadFile resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=b31a5a7582ef698ff434be75ad298e17593181057323306bdd754618ba65 + resty_test.go:304: Content-Type: multipart/form-data; boundary=cb21ed25848bb88e4ab5396eef8702ce026a345ac16063e92edaae6b4b7a 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-1683664018.png ---- PASS: TestMultiPartUploadFile (2.96s) + resty_test.go:340: Write name: test-img-1683664524.png +--- PASS: TestMultiPartUploadFile (0.14s) === 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=98cb56bb7b3d7db497a711ab2b099c78103311eb9b8483ab17c9c5e2582f + resty_test.go:304: Content-Type: multipart/form-data; boundary=ddac96a6bb76277f7abb7b8082adc3b9ab98ed538d89990b8b7b109995f2 resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M - 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-1683664018.txt 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-1683664018.png ---- PASS: TestMultiPartUploadFiles (0.44s) + resty_test.go:340: Write name: test-img-1683664524.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-1683664524.txt +--- PASS: TestMultiPartUploadFiles (0.08s) === 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=a2ed9d2dac5c51109e45a6fdfce577fbd9e5ca48c49f73ee7a4a405d4766 + resty_test.go:304: Content-Type: multipart/form-data; boundary=82aad47f9a3953c4206d97cced56a95fe9aafad15affa4e1bbfc8f43c2bb 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-1683664018.png + resty_test.go:340: Write name: test-img-1683664525.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-1683664018.txt ---- PASS: TestMultiPartIoReaderFiles (0.16s) + resty_test.go:340: Write name: text-file-1683664525.txt +--- PASS: TestMultiPartIoReaderFiles (0.09s) === 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=5ee6fdbd8f53c90b94585bd313bccfa6e7cfaafd0c48479186135038050d + resty_test.go:304: Content-Type: multipart/form-data; boundary=a3638a66f2bbd83c6ae4a35bda6d1cae0aa2d1769d9fb1e69a479363092b resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: @@ -1208,32 +1251,32 @@ === RUN TestMultiPartMultipartField resty_test.go:302: Method: POST resty_test.go:303: Path: /upload - resty_test.go:304: Content-Type: multipart/form-data; boundary=34983bbf34d7f19596e135d2105722906f443649473293be06d2a1b201de + resty_test.go:304: Content-Type: multipart/form-data; boundary=90eef41a2808d678f852cecc8863242bbd7db4f85deb605df25508699f83 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-1683664018.json + resty_test.go:340: Write name: upload-file-1683664525.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=d2c1a16906249ba346cb0a85ac93c2b30caf233fd4fb6993ee0bca740636 + resty_test.go:304: Content-Type: multipart/form-data; boundary=1e4514abc7ff03ebae3f665416f5645192db12ffc3a093b8bba4a9001355 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-1683664018.json + resty_test.go:340: Write name: upload-file-1-1683664525.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-1683664018.json + resty_test.go:340: Write name: upload-file-2-1683664525.json --- PASS: TestMultiPartMultipartFields (0.00s) === 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: 740.351µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:58 GMT]] + resty_test.go:648: Response Time: 990.773µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) @@ -1243,8 +1286,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: 331.088µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:58 GMT]] + resty_test.go:648: Response Time: 559.989µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) @@ -1285,7 +1328,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 @@ -1336,7 +1379,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.57s) +--- PASS: TestRawFileUploadByBody (0.52s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient @@ -1350,11 +1393,11 @@ 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: 1.525389ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 2.717992ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestDetectContentTypeForPointer (0.00s) +--- PASS: TestDetectContentTypeForPointer (0.01s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:234: Method: POST resty_test.go:235: Path: /users @@ -1362,11 +1405,11 @@ 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: 1.552472ms - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 4.308129ms + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } ---- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) +--- PASS: TestDetectContentTypeForPointerWithSlice (0.01s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap @@ -1374,11 +1417,11 @@ 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: 1.29456ms - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 3.759806ms + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } ---- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) +--- PASS: TestDetectContentTypeForPointerWithSliceMap (0.01s) === RUN TestDetectContentTypeForSlice resty_test.go:234: Method: POST resty_test.go:235: Path: /users @@ -1386,8 +1429,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: 2.520684ms - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 1.726927ms + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) @@ -1410,17 +1453,17 @@ === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png ---- PASS: TestOutputFileWithBaseDirAndRelativePath (0.24s) +--- PASS: TestOutputFileWithBaseDirAndRelativePath (0.05s) === 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.05s) +--- PASS: TestOutputPathDirNotExists (0.03s) === RUN TestOutputFileAbsPath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png ---- PASS: TestOutputFileAbsPath (0.04s) +--- PASS: TestOutputFileAbsPath (0.02s) === RUN TestContextInternal resty_test.go:41: Method: GET resty_test.go:42: Path: / @@ -1443,8 +1486,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: 1.769292ms - resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 945.274µs + resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 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 +1499,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: 1.538098ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 1.000982ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) @@ -1466,7 +1509,7 @@ resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF ---- PASS: TestRequestOverridesClientAuthorizationHeader (0.06s) +--- PASS: TestRequestOverridesClientAuthorizationHeader (0.07s) === RUN TestRequestFileUploadAsReader resty_test.go:367: Method: POST resty_test.go:368: Path: /upload @@ -1474,13 +1517,13 @@ resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: image/png ---- PASS: TestRequestFileUploadAsReader (0.27s) +--- PASS: TestRequestFileUploadAsReader (0.09s) === 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: 1.528046ms - resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 944.982µs + resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) @@ -1488,8 +1531,8 @@ 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: 1.278988ms - resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:26:59 GMT]] + resty_test.go:648: Response Time: 1.019648ms + resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 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) @@ -1522,14 +1565,14 @@ resty_test.go:42: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.00s) === RUN TestTraceInfoOnTimeout ---- PASS: TestTraceInfoOnTimeout (0.01s) +--- PASS: TestTraceInfoOnTimeout (0.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:367: Method: POST resty_test.go:368: Path: /upload - resty_test.go:369: Content-Type: multipart/form-data; boundary=08445b33ba26f1f3baa1bf9c682a1ae8d545e307e52995e01325a3c55aa9 + resty_test.go:369: Content-Type: multipart/form-data; boundary=10209713d416850410ba7fabdcab7c0c5add9e0179f3be46b76f9abac540 resty_test.go:367: Method: POST resty_test.go:368: Path: /upload - resty_test.go:369: Content-Type: multipart/form-data; boundary=3f59a1ffca7fec9c6d1d80933c0d0d40744ab6a23d54515292f6141c41e9 + resty_test.go:369: Content-Type: multipart/form-data; boundary=92df849f8ef0442ead29146eabcfcfe7353a041ab527a17787262d4073df resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded @@ -1572,11 +1615,11 @@ === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestBackoffSuccess ---- PASS: TestBackoffSuccess (0.27s) +--- PASS: TestBackoffSuccess (0.26s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition ---- PASS: TestConditionalBackoffCondition (0.28s) +--- PASS: TestConditionalBackoffCondition (0.25s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff @@ -1585,8 +1628,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: 1.045815ms - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:27:00 GMT]] + resty_test.go:648: Response Time: 2.744533ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:26 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) @@ -1594,8 +1637,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: 846.183µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:27:00 GMT]] + resty_test.go:648: Response Time: 2.613285ms + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:26 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) @@ -1608,7 +1651,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.61s) +--- PASS: TestClientRetryGet (15.57s) === RUN TestClientRetryWait resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1622,7 +1665,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 (35.77s) +--- PASS: TestClientRetryWait (33.01s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1636,7 +1679,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.05s) +--- PASS: TestClientRetryWaitMaxInfinite (18.07s) === RUN TestClientRetryWaitCallbackError resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1654,10 +1697,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.027679 seconds before retry 2 - retry_test.go:345: Client has slept 5.027494 seconds before retry 3 - retry_test.go:345: Client has slept 5.027787 seconds before retry 4 ---- PASS: TestClientRetryWaitCallback (30.09s) + retry_test.go:345: Client has slept 5.022988 seconds before retry 1 + retry_test.go:345: Client has slept 5.022972 seconds before retry 2 + retry_test.go:345: Client has slept 5.008277 seconds before retry 3 + retry_test.go:345: Client has slept 5.028542 seconds before retry 4 + retry_test.go:345: Client has slept 5.022816 seconds before retry 5 +--- PASS: TestClientRetryWaitCallback (30.13s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1671,11 +1716,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:393: Client has slept 3.016854 seconds before retry 2 - retry_test.go:393: Client has slept 3.017164 seconds before retry 3 - retry_test.go:393: Client has slept 3.017316 seconds before retry 4 - retry_test.go:393: Client has slept 3.017212 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooShort (18.09s) + retry_test.go:393: Client has slept 3.016581 seconds before retry 1 + retry_test.go:393: Client has slept 3.012030 seconds before retry 2 + retry_test.go:393: Client has slept 3.012584 seconds before retry 3 + retry_test.go:393: Client has slept 3.011474 seconds before retry 4 + retry_test.go:393: Client has slept 3.011985 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooShort (18.08s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1689,12 +1735,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.007879 seconds before retry 1 - retry_test.go:441: Client has slept 3.007116 seconds before retry 2 - retry_test.go:441: Client has slept 3.013403 seconds before retry 3 - retry_test.go:441: Client has slept 3.011174 seconds before retry 4 - retry_test.go:441: Client has slept 3.010986 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooLong (18.07s) + retry_test.go:441: Client has slept 3.014540 seconds before retry 1 + retry_test.go:441: Client has slept 3.014544 seconds before retry 4 + retry_test.go:441: Client has slept 3.014984 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooLong (18.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1708,7 +1752,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 (12.18s) +--- PASS: TestClientRetryWaitCallbackSwitchToDefault (11.75s) === RUN TestClientRetryCancel resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1735,13 +1779,13 @@ 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.30s) +--- PASS: TestClientRetryPost (1.31s) === RUN TestClientRetryErrorRecover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover ---- PASS: TestClientRetryErrorRecover (0.11s) +--- PASS: TestClientRetryErrorRecover (0.10s) === RUN TestClientRetryCount resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test @@ -1753,7 +1797,7 @@ resty_test.go:42: Path: /set-retry-error-recover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover ---- PASS: TestClientErrorRetry (0.11s) +--- PASS: TestClientErrorRetry (0.10s) === RUN TestClientRetryHook resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test @@ -1761,13 +1805,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.26s) +--- PASS: TestClientRetryHook (12.32s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) PASS -ok github.com/go-resty/resty 195.823s +ok github.com/go-resty/resty 188.931s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1794,12 +1838,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/23884/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23884/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/344 and its subdirectories -I: Current time: Tue May 9 08:30:04 -12 2023 -I: pbuilder-time-stamp: 1683664204 +I: removing directory /srv/workspace/pbuilder/23884 and its subdirectories +I: Current time: Wed May 10 10:38:34 +14 2023 +I: pbuilder-time-stamp: 1683664714