Diff of the two buildlogs: -- --- b1/build.log 2023-04-29 11:37:56.565217751 +0000 +++ b2/build.log 2023-04-29 11:41:48.351049516 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 28 23:33:19 -12 2023 -I: pbuilder-time-stamp: 1682767999 +I: Current time: Sat Jun 1 08:00:57 +14 2024 +I: pbuilder-time-stamp: 1717178457 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -18,7 +17,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 @@ -28,136 +27,169 @@ 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/28252/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/61835/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 Jun 1 08:01 /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/61835/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/61835/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='28252' - PS1='# ' - PS2='> ' + INVOCATION_ID=610a00b5dd3f482b8df0e8565e70e013 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=61835 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.4tRFJW9k/pbuilderrc_vRz5 --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.4tRFJW9k/b1 --logfile b1/build.log golang-github-go-resty-resty_2.6.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - http_proxy='http://78.137.99.97: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.4tRFJW9k/pbuilderrc_wJD6 --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.4tRFJW9k/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-go-resty-resty_2.6.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 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 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 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 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 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 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 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 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 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 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 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/28252/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 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 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 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 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 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 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 1 08:01 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/61835/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -238,7 +270,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main i386 golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 38 http://deb.debian.org/debian bookworm/main i386 golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 39 http://deb.debian.org/debian bookworm/main i386 golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] -Fetched 104 MB in 3s (31.1 MB/s) +Fetched 104 MB in 2s (68.0 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 ... 19604 files and directories currently installed.) @@ -408,8 +440,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/61835/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/61835/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 @@ -427,130 +470,130 @@ 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 8 github.com/go-resty/resty -internal/unsafeheader + cd _build && go install -trimpath -v -p 15 github.com/go-resty/resty internal/goexperiment +unicode/utf8 +internal/itoa internal/goarch -internal/cpu -runtime/internal/atomic +internal/unsafeheader internal/goos -sync/atomic +crypto/internal/subtle +math/bits +container/list internal/race +runtime/internal/atomic runtime/internal/syscall -unicode/utf8 +sync/atomic unicode internal/abi +internal/cpu runtime/internal/math runtime/internal/sys -internal/itoa -math/bits -container/list -crypto/internal/subtle crypto/subtle crypto/internal/boring/sig -internal/bytealg unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding math +internal/bytealg runtime internal/reflectlite sync -internal/testlog internal/singleflight +internal/testlog math/rand runtime/cgo errors sort io -strconv internal/oserror internal/safefilepath path +strconv +vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat syscall -vendor/golang.org/x/net/dns/dnsmessage -bytes -strings -reflect hash +bytes crypto/internal/randutil -crypto/rc4 +strings hash/crc32 -crypto vendor/golang.org/x/text/transform -internal/syscall/unix -time -internal/syscall/execenv +crypto +crypto/rc4 +reflect net/http/internal/ascii bufio regexp/syntax -io/fs +internal/syscall/execenv +internal/syscall/unix +time +regexp +crypto/internal/nistec context +io/fs internal/poll -crypto/internal/nistec -regexp embed -os internal/fmtsort encoding/binary -internal/godebug -fmt -path/filepath -io/ioutil -internal/intern -crypto/cipher -crypto/internal/edwards25519/field -crypto/md5 +os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 -net/netip -encoding/pem vendor/golang.org/x/crypto/curve25519/internal/field +crypto/cipher +crypto/md5 +crypto/internal/edwards25519/field +encoding/pem crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/sha512 -crypto/aes crypto/hmac +crypto/aes crypto/sha1 +crypto/sha512 crypto/sha256 -vendor/golang.org/x/crypto/chacha20poly1305 +fmt +internal/godebug +path/filepath +io/ioutil vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +internal/intern +net/netip net encoding/hex -net/url -compress/flate vendor/golang.org/x/crypto/curve25519 -math/big -encoding/json -encoding/xml +net/url log -vendor/golang.org/x/text/unicode/norm +compress/flate vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/bidi mime -compress/gzip +encoding/xml mime/quotedprintable net/http/internal +encoding/json +math/big +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/bidi +compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/internal/boring/bbig -crypto/elliptic +crypto/dsa crypto/rand +crypto/elliptic encoding/asn1 -crypto/dsa crypto/ed25519 crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -560,7 +603,7 @@ 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 8 github.com/go-resty/resty + cd _build && go test -vet=off -v -p 15 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:404: Method: POST resty_test.go:405: Path: /login @@ -568,8 +611,8 @@ 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: 22.996315ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:37 GMT]] + resty_test.go:648: Response Time: 14.295615ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Fri, 31 May 2024 18:01:34 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.02s) @@ -578,7 +621,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: TestClientAuthToken (0.02s) +--- PASS: TestClientAuthToken (0.01s) === RUN TestClientAuthScheme resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -588,12 +631,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.02s) +--- PASS: TestClientAuthScheme (0.01s) === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext - client_test.go:89: Request sent at: 2023-04-28 23:34:37.507120407 -1200 -12 m=+0.070050194 - client_test.go:90: Response Received at: 2023-04-28 23:34:37.507574999 -1200 -12 m=+0.070504784 + client_test.go:89: Request sent at: 2024-06-01 08:01:34.246995917 +1400 +14 m=+0.045290564 + client_test.go:90: Response Received at: 2024-06-01 08:01:34.247420772 +1400 +14 m=+0.045715403 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:531: Method: GET @@ -667,8 +710,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: 567.279µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:47 GMT]] + resty_test.go:648: Response Time: 440.394µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:44 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) @@ -718,22 +761,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: 1.024615ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:47 GMT]] + resty_test.go:648: Response Time: 765.322µs + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:44 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: 2.748286ms - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:47 GMT]] + resty_test.go:648: Response Time: 1.765401ms + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:44 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: 333.384µs - resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:47 GMT]] + resty_test.go:648: Response Time: 342.495µs + resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:44 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestAutoGzip (0.00s) @@ -790,21 +833,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 (0.89s) +--- PASS: TestClientOnResponseError (0.87s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/http_status_error (0.02s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.40s) - --- PASS: TestClientOnResponseError/after_response_error (0.02s) - --- PASS: TestClientOnResponseError/after_response_error_retry (0.43s) + --- PASS: TestClientOnResponseError/after_response_error (0.01s) + --- PASS: TestClientOnResponseError/after_response_error_retry (0.42s) === 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: 498.798µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:48 GMT]] + resty_test.go:648: Response Time: 524.137µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:45 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) @@ -812,8 +855,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.980302ms - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sat, 29 Apr 2023 11:34:48 GMT]] + resty_test.go:648: Response Time: 368.149µs + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Fri, 31 May 2024 18:01:45 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestSetContextWithError (0.00s) @@ -821,20 +864,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:39955/": context canceled + context_test.go:82: Error: Get "http://127.0.0.1:44243/": 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:37589/": context canceled + context_test.go:125: Error: Get "http://127.0.0.1:34911/": 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:38169/": context canceled + context_test.go:168: Error: Get "http://127.0.0.1:45461/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET @@ -845,15 +888,15 @@ context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / ---- PASS: TestClientRetryWithSetContext (5.54s) +--- 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: 568.754µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 438.403µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGet (0.00s) @@ -863,8 +906,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: 532.036µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 382.964µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) @@ -872,8 +915,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: 456.822µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 436.359µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) @@ -881,8 +924,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: 421.245µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 430.478µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) @@ -890,8 +933,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: 427.567µs - resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 371.092µs + resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestGet400Error (0.00s) @@ -901,8 +944,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: 497.827µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 452.995µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } resty_test.go:234: Method: POST @@ -911,8 +954,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: 582.785µs - resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 368.804µs + resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 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) @@ -922,8 +965,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: 410.045µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 393.799µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) @@ -933,8 +976,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: 468.786µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 346.026µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) @@ -945,8 +988,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: 468.686µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 370.293µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) @@ -957,8 +1000,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: 511.201µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 414.834µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) @@ -969,8 +1012,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: 464.556µs - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 396.03µs + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) @@ -981,8 +1024,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: 475.155µs - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 363.622µs + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) @@ -993,8 +1036,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: 512.433µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 392.584µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) @@ -1005,8 +1048,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: 367.481µs - resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 451.204µs + resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) @@ -1019,19 +1062,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: 457.173µs - resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 421.373µs + resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Fri, 31 May 2024 18:01:50 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=1682768094 + resty_test.go:236: RawQuery: request_no=1717178510 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 580.844µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 479.371µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) @@ -1044,19 +1087,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: 636.395µs - resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 504.965µs + resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 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=1682768094 + resty_test.go:236: RawQuery: request_no=1717178510 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK - resty_test.go:648: Response Time: 530.213µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 466.452µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) @@ -1067,8 +1110,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: 552.934µs - resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 432.88µs + resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) @@ -1079,8 +1122,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: 460.757µs - resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 441.846µs + resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) @@ -1091,8 +1134,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: 674.18µs - resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 429.585µs + resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) @@ -1105,8 +1148,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: 22.55101ms - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 14.378964ms + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.02s) @@ -1117,17 +1160,17 @@ 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: 21.197073ms - resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:648: Response Time: 14.084296ms + resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 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.02s) +--- PASS: TestRequestBasicAuthFail (0.01s) === RUN TestRequestAuthToken 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-Request ---- PASS: TestRequestAuthToken (0.02s) +--- PASS: TestRequestAuthToken (0.01s) === RUN TestRequestAuthScheme resty_test.go:404: Method: GET resty_test.go:405: Path: /profile @@ -1161,48 +1204,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=0555a3fe4e64a3a45103edeea33796d3f59da0ca61a3f66d7ad9726dc1f4 + resty_test.go:304: Content-Type: multipart/form-data; boundary=3873d3aee9c854f214f5edb0dc4a23749876c190db3d7225db7454082e09 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-1682768094.png ---- PASS: TestMultiPartUploadFile (0.03s) + resty_test.go:340: Write name: test-img-1717178510.png +--- PASS: TestMultiPartUploadFile (0.04s) === 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=943e66302662aca82e3af93759261101b08555463fd19ac413556af11104 + resty_test.go:304: Content-Type: multipart/form-data; boundary=74bbbe7ff8910a6dffc0c0ec77ee8e65f835e541bd894063791b3de52b1b 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-1682768094.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-1682768094.png + resty_test.go:340: Write name: test-img-1717178510.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-1717178510.txt --- PASS: TestMultiPartUploadFiles (0.04s) === 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=cefd2cc1a9758af75865b442b7a310164be03673b75f5be856f489fd337c + resty_test.go:304: Content-Type: multipart/form-data; boundary=636cc896923a9e56b824abbc699e440683ada663e4adc6f3d3de976e6ddf 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-1682768094.png + resty_test.go:340: Write name: test-img-1717178510.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-1682768094.txt + resty_test.go:340: Write name: text-file-1717178510.txt --- PASS: TestMultiPartIoReaderFiles (0.04s) === 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=b3a5eedc60790706259055b5144b7833024c8f69f4d257c8b9f370af907f + resty_test.go:304: Content-Type: multipart/form-data; boundary=03fbc8872588e446cb6adb605a7d372bc379a2d79262b3fa70d5ed953798 resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: @@ -1211,32 +1254,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=ed1691809702d9318ecaead2c2af83041ac63dace292dafdfec2c4a55bf5 + resty_test.go:304: Content-Type: multipart/form-data; boundary=6e923752d86aef7840cb6b0e8587d3f672c525ee27f9ce81e8449834a3d3 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-1682768094.json + resty_test.go:340: Write name: upload-file-1717178510.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=e8d31ba08e546ca1478c59b9e09c8f51b05cb65d42b7ec9865deb3ef6b87 + resty_test.go:304: Content-Type: multipart/form-data; boundary=0723723ea2faa29999962e0022cf4f37c46defd65a1980bcd263054db78e 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-1682768094.json + resty_test.go:340: Write name: upload-file-1-1717178510.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-1682768094.json + resty_test.go:340: Write name: upload-file-2-1717178510.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: 547.276µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 394.024µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) @@ -1246,8 +1289,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: 310.37µs - resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 230.457µs + resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) @@ -1353,8 +1396,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: 852.622µs - resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 601.767µs + resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) @@ -1365,8 +1408,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: 629.812µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 482.76µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) @@ -1377,8 +1420,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: 552.118µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 504.481µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) @@ -1389,8 +1432,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: 682.22µs - resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 575.103µs + resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) @@ -1446,8 +1489,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: 339.36µs - resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 353.822µs + resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 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) @@ -1459,8 +1502,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: 443.8µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 388.952µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) @@ -1469,7 +1512,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.02s) +--- PASS: TestRequestOverridesClientAuthorizationHeader (0.01s) === RUN TestRequestFileUploadAsReader resty_test.go:367: Method: POST resty_test.go:368: Path: /upload @@ -1477,13 +1520,13 @@ resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: image/png ---- PASS: TestRequestFileUploadAsReader (0.05s) +--- PASS: TestRequestFileUploadAsReader (0.03s) === 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: 491.031µs - resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 349.334µs + resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) @@ -1491,8 +1534,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: 461.946µs - resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:54 GMT]] + resty_test.go:648: Response Time: 403.868µs + resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 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) @@ -1529,10 +1572,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=f89bcfba8ff1560068d6edd8212313fddf33833d25eec85d79137b7a4c3f + resty_test.go:369: Content-Type: multipart/form-data; boundary=93de825b85a8574c8de4a9c0e3bd60d44489f74fc16cde8b6b3d93e5e78e resty_test.go:367: Method: POST resty_test.go:368: Path: /upload - resty_test.go:369: Content-Type: multipart/form-data; boundary=146aa42c15f178564d8d50002d81bacc68ff056f6e6754aabb0c33c0ab51 + resty_test.go:369: Content-Type: multipart/form-data; boundary=68520077c0986521c221feabd4fb6f49ce0080445c57e2d999be8e7e1d58 resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded @@ -1575,11 +1618,11 @@ === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestBackoffSuccess ---- PASS: TestBackoffSuccess (0.21s) +--- PASS: TestBackoffSuccess (0.22s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition ---- PASS: TestConditionalBackoffCondition (0.28s) +--- PASS: TestConditionalBackoffCondition (0.22s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff @@ -1588,8 +1631,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: 715.622µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:55 GMT]] + resty_test.go:648: Response Time: 431.205µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) @@ -1597,8 +1640,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: 897.048µs - resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 29 Apr 2023 11:34:55 GMT]] + resty_test.go:648: Response Time: 428.355µs + resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 31 May 2024 18:01:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) @@ -1625,7 +1668,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.17s) +--- PASS: TestClientRetryWait (35.88s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1639,7 +1682,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.08s) +--- PASS: TestClientRetryWaitMaxInfinite (18.06s) === RUN TestClientRetryWaitCallbackError resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1657,12 +1700,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.024204 seconds before retry 1 - retry_test.go:345: Client has slept 5.024083 seconds before retry 2 - retry_test.go:345: Client has slept 5.023941 seconds before retry 3 - retry_test.go:345: Client has slept 5.023941 seconds before retry 4 - retry_test.go:345: Client has slept 5.024034 seconds before retry 5 ---- PASS: TestClientRetryWaitCallback (30.15s) + retry_test.go:345: Client has slept 5.024506 seconds before retry 1 + retry_test.go:345: Client has slept 5.023789 seconds before retry 2 + retry_test.go:345: Client has slept 5.024071 seconds before retry 3 + retry_test.go:345: Client has slept 5.024540 seconds before retry 4 + retry_test.go:345: Client has slept 5.020722 seconds before retry 5 +--- PASS: TestClientRetryWaitCallback (30.14s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1676,12 +1719,9 @@ 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.010801 seconds before retry 1 - retry_test.go:393: Client has slept 3.012010 seconds before retry 2 - retry_test.go:393: Client has slept 3.014522 seconds before retry 3 - retry_test.go:393: Client has slept 3.013958 seconds before retry 4 - retry_test.go:393: Client has slept 3.011470 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooShort (18.08s) + retry_test.go:393: Client has slept 3.014721 seconds before retry 1 + retry_test.go:393: Client has slept 3.014595 seconds before retry 3 +--- PASS: TestClientRetryWaitCallbackTooShort (18.05s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1695,12 +1735,9 @@ 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.009715 seconds before retry 1 - retry_test.go:441: Client has slept 3.013909 seconds before retry 2 - retry_test.go:441: Client has slept 3.012067 seconds before retry 3 - retry_test.go:441: Client has slept 3.011906 seconds before retry 4 - retry_test.go:441: Client has slept 3.012004 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooLong (18.07s) + retry_test.go:441: Client has slept 3.014516 seconds before retry 4 + retry_test.go:441: Client has slept 3.014498 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooLong (18.03s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1714,7 +1751,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.20s) +--- PASS: TestClientRetryWaitCallbackSwitchToDefault (10.85s) === RUN TestClientRetryCancel resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test @@ -1741,7 +1778,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.07s) +--- PASS: TestClientRetryPost (1.26s) === RUN TestClientRetryErrorRecover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover @@ -1753,7 +1790,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.12s) +--- PASS: TestClientRetryCount (9.13s) === RUN TestClientErrorRetry resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover @@ -1767,13 +1804,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.25s) +--- PASS: TestClientRetryHook (12.24s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) PASS -ok github.com/go-resty/resty 189.955s +ok github.com/go-resty/resty 189.180s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1800,12 +1837,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/61835/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/61835/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/28252 and its subdirectories -I: Current time: Fri Apr 28 23:37:55 -12 2023 -I: pbuilder-time-stamp: 1682768275 +I: removing directory /srv/workspace/pbuilder/61835 and its subdirectories +I: Current time: Sat Jun 1 08:04:47 +14 2024 +I: pbuilder-time-stamp: 1717178687