Tue Jan 9 16:16:55 UTC 2024 I: starting to build golang-github-go-resty-resty/bullseye/amd64 on jenkins on '2024-01-09 16:16' Tue Jan 9 16:16:55 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_20/9463/console.log Tue Jan 9 16:16:55 UTC 2024 I: Downloading source for bullseye/golang-github-go-resty-resty=2.4.0-1 --2024-01-09 16:16:55-- http://cdn-fastly.deb.debian.org/debian/pool/main/g/golang-github-go-resty-resty/golang-github-go-resty-resty_2.4.0-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2304 (2.2K) [text/prs.lines.tag] Saving to: ‘golang-github-go-resty-resty_2.4.0-1.dsc’ 0K .. 100% 326M=0s 2024-01-09 16:16:55 (326 MB/s) - ‘golang-github-go-resty-resty_2.4.0-1.dsc’ saved [2304/2304] Tue Jan 9 16:16:55 UTC 2024 I: golang-github-go-resty-resty_2.4.0-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: golang-github-go-resty-resty Binary: golang-github-go-resty-resty-dev Architecture: all Version: 2.4.0-1 Maintainer: Debian Go Packaging Team Uploaders: Aloïs Micard Homepage: https://github.com/go-resty/resty Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper-compat (= 13), dh-golang Build-Depends-Indep: golang-any, golang-golang-x-net-dev Package-List: golang-github-go-resty-resty-dev deb devel optional arch=all Checksums-Sha1: d20a61f9578040bbe960cd8db839045b80eaac2d 2641869 golang-github-go-resty-resty_2.4.0.orig.tar.gz 8402aff121e66277b82d1afa171d200557d80324 2944 golang-github-go-resty-resty_2.4.0-1.debian.tar.xz Checksums-Sha256: 1b54f7a646c00417756a557e43a8eca3941e0815cd0ad27221c959820b18f1c1 2641869 golang-github-go-resty-resty_2.4.0.orig.tar.gz 283954dcfc3e18682d91445d573a6651808275704114eb950dd5c64ca4f501ef 2944 golang-github-go-resty-resty_2.4.0-1.debian.tar.xz Files: 7c915fa4e849840b5a4436cdd11d066d 2641869 golang-github-go-resty-resty_2.4.0.orig.tar.gz 0ae92c273a0a242c9fcf74a093fd4a87 2944 golang-github-go-resty-resty_2.4.0-1.debian.tar.xz Go-Import-Path: github.com/go-resty/resty -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEECYc16JDXWgmzZBaOGg64LwcfXv4FAl//8ZkQHGFsb2lzQG1p Y2FyZC5sdQAKCRAaDrgvBx9e/nOFD/sFwZBnpQAluk6wfD1fDyjl6OYAqMNHhyrJ Q2ubkFZ8T1tjCohRXy24FgxSqRjVabIisegF6S36i8qNgxykKetR9qSrY+IvheMd oYygB16H5sk/8DHRRe6aZou6pc3Lgf+C1atQcq6ASyqkdcUtjwjwC1hEYdVTey9s JVK03tKrM9/pp8KLy4y82l8CzteSg4P+K7riphT0cbhsB3ZO3kEm6pUadRysZRKX euXZg5am6p3dIGg4tMcy4j6yhQYqKKwka3GF33Jlqe9Cux6hPfF/pZOyDJox4oX+ CiGI/C9JBDi/iFpgWH9JMGMNgErDw9rNfBtksIOB7nk8qWW6m5KWmfPC5BTuiXui YlRzZd68RCpRPVUZRa+BKcVeR+KvheqJwIuA3pnNyfBhPRZgtW73jTJKXq0aUQLz 9ipK9FjrDtWYayOeFDizQQPEowAWdYjSOAzKXcfFFdhgrbGdziPzyIW7/5XqC3iB qh69oEgykKPjhIFdc9RZR4j/90ZP7lzqe60H0ejwQa5Soc9RdBuSF628sWUci4O/ 39VWO9LsV6DOIpH43xMwKNJUiw05kQQJjdzIAmAPDzRmzG7k+7TkS3ZL7sa53xSY G8m2mbGmt66bRoUS7t9wpojjImhhfLiPiEXJMW8Y/7zY8YVUGT+ci+iBw+v4shvx H9ZNeir67Q== =bTjr -----END PGP SIGNATURE----- Tue Jan 9 16:16:55 UTC 2024 I: Checking whether the package is not for us Tue Jan 9 16:16:55 UTC 2024 I: Starting 1st build on remote node ionos15-amd64.debian.net. Tue Jan 9 16:16:55 UTC 2024 I: Preparing to do remote build '1' on ionos15-amd64.debian.net. Tue Jan 9 16:22:05 UTC 2024 I: Deleting $TMPDIR on ionos15-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Mon Feb 10 10:40:10 -12 2025 I: pbuilder-time-stamp: 1739227210 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-go-resty-resty_2.4.0-1.dsc] I: copying [./golang-github-go-resty-resty_2.4.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.4.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.AkemNyWn/trustedkeys.kbx': General error gpgv: Signature made Thu Jan 14 07:24:09 2021 gpgv: using RSA key 098735E890D75A09B364168E1A0EB82F071F5EFE gpgv: issuer "alois@micard.lu" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./golang-github-go-resty-resty_2.4.0-1.dsc dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.4.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.4.0.orig.tar.gz dpkg-source: info: unpacking golang-github-go-resty-resty_2.4.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2850079/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' DISTRIBUTION='bullseye' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='3604ca67e7394c39a1d255f7548decd5' 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='2850079' PS1='# ' PS2='> ' 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.ao1QncnI/pbuilderrc_w5tA --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ao1QncnI/b1 --logfile b1/build.log golang-github-go-resty-resty_2.4.0-1.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://85.184.249.68:3128' I: uname -a Linux ionos15-amd64 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash -rwxr-xr-x 1 root root 113664 Sep 24 2020 date -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd -rwxr-xr-x 1 root root 93936 Sep 24 2020 df -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir -rwxr-xr-x 1 root root 84440 Jan 20 2022 dmesg lrwxrwxrwx 1 root root 8 Nov 7 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 7 2019 domainname -> hostname -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep -rwxr-xr-x 1 root root 39680 Sep 24 2020 false -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 203072 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 98048 Apr 10 2022 gzip -rwxr-xr-x 1 root root 22600 Nov 7 2019 hostname -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln -rwxr-xr-x 1 root root 56952 Feb 7 2020 login -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp -rwxr-xr-x 1 root root 59632 Jan 20 2022 more -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv lrwxrwxrwx 1 root root 8 Nov 7 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Feb 8 15:47 sh -> dash -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty -rwsr-xr-x 1 root root 71912 Jan 20 2022 su -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch -rwxr-xr-x 1 root root 39680 Sep 24 2020 true -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl lrwxrwxrwx 1 root root 8 Nov 7 2019 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 5898 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 8049 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/2850079/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-golang-x-net-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 17743 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.15-go{a} golang-1.15-src{a} golang-any{a} golang-go{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-text-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf wget 0 packages upgraded, 40 newly installed, 0 to remove and 0 not upgraded. Need to get 84.4 MB of archives. After unpacking 476 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8+deb11u1 [145 kB] Get: 2 http://deb.debian.org/debian bullseye/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 3 http://deb.debian.org/debian bullseye/main amd64 groff-base amd64 1.22.4-6 [936 kB] Get: 4 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get: 5 http://deb.debian.org/debian bullseye/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get: 6 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3+deb11u1 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3+deb11u1 [128 kB] Get: 9 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3+deb11u1 [69.2 kB] Get: 10 http://deb.debian.org/debian bullseye/main amd64 gettext-base amd64 0.21-4 [175 kB] Get: 11 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get: 12 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB] Get: 13 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main amd64 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main amd64 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main amd64 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main amd64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main amd64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB] Get: 25 http://deb.debian.org/debian bullseye/main amd64 dwz amd64 0.13+20210201-1 [175 kB] Get: 26 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get: 27 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u4 [693 kB] Get: 28 http://deb.debian.org/debian bullseye/main amd64 gettext amd64 0.21-4 [1311 kB] Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 dh-golang all 1.51 [24.6 kB] Get: 33 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-src amd64 1.15.15-1~deb11u4 [13.9 MB] Get: 34 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-go amd64 1.15.15-1~deb11u4 [47.4 MB] Get: 35 http://deb.debian.org/debian bullseye/main amd64 golang-src amd64 2:1.15~1 [4856 B] Get: 36 http://deb.debian.org/debian bullseye/main amd64 golang-go amd64 2:1.15~1 [23.9 kB] Get: 37 http://deb.debian.org/debian bullseye/main amd64 golang-any amd64 2:1.15~1 [4976 B] Get: 38 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-sys-dev all 0.0~git20210124.22da62e-1 [308 kB] Get: 39 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-text-dev all 0.3.6-1 [3857 kB] Get: 40 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Fetched 84.4 MB in 2s (39.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 17743 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8+deb11u1_amd64.deb ... Unpacking bsdextrautils (2.36.1-8+deb11u1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3+deb11u1_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3+deb11u1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../07-libmagic1_1%3a5.39-3+deb11u1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3+deb11u1) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3+deb11u1_amd64.deb ... Unpacking file (1:5.39-3+deb11u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.183-1_amd64.deb ... Unpacking libelf1:amd64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_amd64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../25-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7+deb11u4_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_amd64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.51_all.deb ... Unpacking dh-golang (1.51) ... Selecting previously unselected package golang-1.15-src. Preparing to unpack .../32-golang-1.15-src_1.15.15-1~deb11u4_amd64.deb ... Unpacking golang-1.15-src (1.15.15-1~deb11u4) ... Selecting previously unselected package golang-1.15-go. Preparing to unpack .../33-golang-1.15-go_1.15.15-1~deb11u4_amd64.deb ... Unpacking golang-1.15-go (1.15.15-1~deb11u4) ... Selecting previously unselected package golang-src:amd64. Preparing to unpack .../34-golang-src_2%3a1.15~1_amd64.deb ... Unpacking golang-src:amd64 (2:1.15~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../35-golang-go_2%3a1.15~1_amd64.deb ... Unpacking golang-go (2:1.15~1) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../36-golang-any_2%3a1.15~1_amd64.deb ... Unpacking golang-any:amd64 (2:1.15~1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../37-golang-golang-x-sys-dev_0.0~git20210124.22da62e-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../38-golang-golang-x-text-dev_0.3.6-1_all.deb ... Unpacking golang-golang-x-text-dev (0.3.6-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../39-golang-golang-x-net-dev_1%3a0.0+git20210119.5f4716e+dfsg-4_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Setting up libpipeline1:amd64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8+deb11u1) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:amd64 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3+deb11u1) ... Setting up golang-1.15-src (1.15.15-1~deb11u4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Setting up libmagic1:amd64 (1:5.39-3+deb11u1) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3+deb11u1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up sensible-utils (0.0.14) ... Setting up golang-golang-x-text-dev (0.3.6-1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up golang-src:amd64 (2:1.15~1) ... Setting up golang-1.15-go (1.15.15-1~deb11u4) ... Setting up libelf1:amd64 (0.183-1) ... Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up golang-go (2:1.15~1) ... Setting up m4 (1.4.18-5) ... Setting up golang-any:amd64 (2:1.15~1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Setting up dh-golang (1.51) ... Processing triggers for libc-bin (2.31-13+deb11u6) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.4.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.4.0-1_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.4.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Aloïs Micard dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang 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 16 github.com/go-resty/resty internal/unsafeheader runtime/internal/sys internal/race sync/atomic unicode/utf8 unicode math/bits crypto/internal/subtle container/list crypto/subtle internal/nettrace vendor/golang.org/x/crypto/cryptobyte/asn1 unicode/utf16 runtime/cgo vendor/golang.org/x/crypto/internal/subtle runtime/internal/atomic internal/cpu encoding runtime/internal/math internal/bytealg internal/testlog math runtime internal/reflectlite sync internal/singleflight math/rand errors sort io strconv internal/oserror vendor/golang.org/x/net/dns/dnsmessage syscall strings hash bytes crypto/internal/randutil hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf crypto crypto/rc4 reflect vendor/golang.org/x/text/transform bufio path regexp/syntax internal/syscall/unix internal/syscall/execenv time regexp context internal/poll internal/fmtsort encoding/binary os crypto/md5 crypto/sha1 crypto/sha512 crypto/sha256 crypto/cipher crypto/ed25519/internal/edwards25519 vendor/golang.org/x/crypto/poly1305 encoding/base64 encoding/pem vendor/golang.org/x/crypto/chacha20 crypto/des crypto/aes path/filepath fmt net io/ioutil vendor/golang.org/x/sys/cpu compress/flate encoding/hex log vendor/golang.org/x/crypto/curve25519 encoding/json encoding/xml net/url net/http/internal mime/quotedprintable vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/text/unicode/norm math/big vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/elliptic encoding/asn1 crypto/rand crypto/dsa crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa net/textproto crypto/x509 vendor/golang.org/x/net/http/httpproxy 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 16 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:404: Method: POST resty_test.go:405: Path: /login resty_test.go:406: Content-Type: 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: 6.731677ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:22 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.01s) === 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.01s) === RUN TestClientAuthScheme 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 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: TestClientAuthScheme (0.00s) === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext client_test.go:89: Request sent at: 2025-02-10 22:42:22.58477587 +0000 UTC m=+0.019774653 client_test.go:90: Response Received at: 2025-02-10 22:42:22.58923358 +0000 UTC m=+0.024232332 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-1 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-2 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-3 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-4 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-5 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-6 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-7 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-8 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-9 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-10 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-11 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-12 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-13 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-14 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-15 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-16 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-17 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-18 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-19 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-20 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-1 --- PASS: TestClientRedirectPolicy (0.00s) === RUN TestClientTimeout resty_test.go:41: Method: GET resty_test.go:42: Path: /set-timeout-test --- PASS: TestClientTimeout (6.02s) === RUN TestClientTimeoutWithinThreshold resty_test.go:41: Method: GET 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.03s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy --- PASS: TestClientProxy (0.00s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate --- PASS: TestClientSetRootCertificate (0.00s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString --- PASS: TestClientSetRootCertificateFromString (0.00s) === RUN TestClientSetRootCertificateFromStringErrorTls --- PASS: TestClientSetRootCertificateFromStringErrorTls (0.00s) === RUN TestClientOnBeforeRequestModification 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: 544.98µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:32 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === RUN TestClientSetTransport --- PASS: TestClientSetTransport (0.00s) === RUN TestClientSetScheme --- PASS: TestClientSetScheme (0.00s) === RUN TestClientSetCookieJar --- PASS: TestClientSetCookieJar (0.00s) === RUN TestClientOptions --- PASS: TestClientOptions (0.00s) === RUN TestClientPreRequestHook 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 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 --- PASS: TestClientPreRequestHook (0.02s) === RUN TestClientAllowsGetMethodPayload resty_test.go:41: Method: GET resty_test.go:42: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest --- PASS: TestClientNewRequest (0.00s) === RUN TestDebugBodySizeLimit resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: /no-content resty_test.go:41: Method: GET resty_test.go:42: Path: /json resty_test.go:41: Method: GET resty_test.go:42: Path: /json-invalid resty_test.go:41: Method: GET resty_test.go:42: Path: /long-text resty_test.go:41: Method: GET resty_test.go:42: Path: /long-json --- PASS: TestDebugBodySizeLimit (0.00s) === 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: 109.244423ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:32 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: 36.507262ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:32 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: 173.86µs resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:32 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestAutoGzip (0.15s) === RUN TestLogCallbacks 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 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: TestLogCallbacks (0.02s) === RUN TestNewWithLocalAddr resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestNewWithLocalAddr (0.01s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === CONT TestClientOnResponseError 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 === RUN TestClientOnResponseError/http_status_error === CONT TestClientOnResponseError 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 BAD === RUN TestClientOnResponseError/before_request_error === RUN TestClientOnResponseError/before_request_error_retry === RUN TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError 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 === RUN TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError 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 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 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 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: TestClientOnResponseError (0.88s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/http_status_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.41s) --- PASS: TestClientOnResponseError/after_response_error (0.01s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.44s) === 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: 37.818524ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:33 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.04s) === RUN TestSetContextWithError 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: 581.185µs resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Mon, 10 Feb 2025 22:42:33 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestSetContextWithError (0.00s) === RUN TestSetContextCancel 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:44581/": 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:37917/": 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:38643/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / --- PASS: TestClientRetryWithSetContext (5.66s) === 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: 559.978µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGet (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: 442.836µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === RUN TestGetClientParamRequestParam 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: 482.979µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) === 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: 536.412µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) === RUN TestGet400Error 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: 4.542728ms resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestGet400Error (0.00s) === RUN TestPostJSONStringSuccess 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: 588.067µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } 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: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: 227.416µs resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 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) === 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: 480.781µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- 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: 486.071µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) === RUN TestPostJSONStructSuccess 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 request_test.go:204: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 534.995µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: ct=rpc resty_test.go:237: Content-Type: application/json-rpc request_test.go:226: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 8.425501ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.01s) === RUN TestPostJSONStructInvalidLogin 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 request_test.go:251: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 633.221µs resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === RUN TestPostJSONErrorRFC7807 resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: ct=problem resty_test.go:237: Content-Type: application/json; charset=utf-8 request_test.go:273: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 595.133µs resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) === RUN TestPostJSONMapSuccess 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 request_test.go:293: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 597.114µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson 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 request_test.go:314: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 7.485684ms resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.01s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 resty_test.go:234: Method: POST resty_test.go:235: Path: /login-json-html resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json request_test.go:368: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 8.038269ms resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.01s) === RUN TestPostXMLStringSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: request_no=1739227359 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 611.246µs resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: 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: 495.403µs resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 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=1739227359 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 413.761µs resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) === RUN TestPostXMLStructSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/xml request_test.go:468: Result Success: &{"" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 4.729529ms resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.01s) === RUN TestPostXMLStructInvalidLogin resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/xml request_test.go:489: Result Error: &{"" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 7.363432ms resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.01s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/xml request_test.go:507: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 728.599µs resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth resty_test.go:404: Method: POST resty_test.go:405: Path: /login resty_test.go:406: Content-Type: resty_test.go:435: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:540: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 10.728895ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.01s) === RUN TestRequestBasicAuthFail resty_test.go:404: Method: POST resty_test.go:405: Path: /login resty_test.go:406: Content-Type: resty_test.go:435: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:559: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 11.206859ms resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:39 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.01s) === 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.01s) === RUN TestRequestAuthScheme 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: TestRequestAuthScheme (0.01s) === RUN TestFormData resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: Los Angeles resty_test.go:313: Zip Code: 00001 --- PASS: TestFormData (0.00s) === RUN TestMultiValueFormData resty_test.go:302: Method: POST resty_test.go:303: Path: /search resty_test.go:304: Content-Type: resty_test.go:319: Received Form Encoded values: search_criteria=book&search_criteria=glass&search_criteria=pencil --- PASS: TestMultiValueFormData (0.00s) === RUN TestFormDataDisableWarn resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: Los Angeles resty_test.go:313: Zip Code: 00001 --- PASS: TestFormDataDisableWarn (0.01s) === RUN TestMultiPartUploadFile resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=1a7a21f0f9067fb9337eba1f7022a0406008fb7017e09a5a74ef615782d3 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-1739227359.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=fcfb4cb7abf6f9c2299d0f9f5ea129934f74b5b04a08a85e67f40b2007e8 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-1739227359.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-1739227359.txt --- PASS: TestMultiPartUploadFiles (0.15s) === RUN TestMultiPartIoReaderFiles request_test.go:738: 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=7a4e6fae0cf8e65263d844d705de8b63a866a76f37e69a695664716a14ef 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-1739227359.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-1739227359.png --- PASS: TestMultiPartIoReaderFiles (0.14s) === 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=ba456579a4d0e1a52b998b234278e8ef26711bdb16cd0a769c3199b3df77 resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: resty_test.go:313: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.03s) === RUN TestMultiPartMultipartField resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=a06c460b8264eed0d73fc7fa64104974692704df56dd8b806ed4577d6be8 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-1739227359.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=9f8bf554e42d25b9f767e2aead26f99872cb1e254b01cef843d61ae019dc 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-1739227360.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-1739227360.json --- PASS: TestMultiPartMultipartFields (0.02s) === 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: 11.22146ms resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.01s) === RUN TestGetWithCookies resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 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: 7.830007ms resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.02s) === RUN TestPutPlainString resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext --- PASS: TestPutPlainString (0.01s) === RUN TestPutJSONString resty_test.go:460: Method: PUT resty_test.go:461: Path: /json --- PASS: TestPutJSONString (0.01s) === RUN TestPutXMLString resty_test.go:460: Method: PUT resty_test.go:461: Path: /xml --- PASS: TestPutXMLString (0.01s) === RUN TestOnBeforeMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext --- PASS: TestOnBeforeMiddleware (0.00s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-1 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-2 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-3 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-4 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-5 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-6 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-7 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-8 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-9 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-10 --- PASS: TestHTTPAutoRedirectUpTo10 (0.01s) === RUN TestHostCheckRedirectPolicy resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-1 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-2 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-3 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-4 resty_test.go:531: Method: GET resty_test.go:532: Path: /redirect-host-check-5 --- PASS: TestHostCheckRedirectPolicy (0.00s) === RUN TestHeadMethod resty_test.go:41: Method: HEAD resty_test.go:42: Path: / --- PASS: TestHeadMethod (0.00s) === RUN TestOptionsMethod resty_test.go:460: Method: OPTIONS resty_test.go:461: Path: /options --- PASS: TestOptionsMethod (0.00s) === RUN TestPatchMethod resty_test.go:460: Method: PATCH resty_test.go:461: Path: /patch --- PASS: TestPatchMethod (0.03s) === RUN TestSendMethod === RUN TestSendMethod/send-get === CONT TestSendMethod resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test === RUN TestSendMethod/send-options === CONT TestSendMethod resty_test.go:460: Method: OPTIONS resty_test.go:461: Path: /options === RUN TestSendMethod/send-patch === CONT TestSendMethod resty_test.go:460: Method: PATCH resty_test.go:461: Path: /patch === RUN TestSendMethod/send-put === CONT TestSendMethod resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext --- PASS: TestSendMethod (0.03s) --- PASS: TestSendMethod/send-get (0.02s) --- PASS: TestSendMethod/send-options (0.00s) --- PASS: TestSendMethod/send-patch (0.00s) --- PASS: TestSendMethod/send-put (0.00s) === RUN TestRawFileUploadByBody resty_test.go:302: Method: PUT resty_test.go:303: Path: /raw-upload resty_test.go:304: Content-Type: image/png --- PASS: TestRawFileUploadByBody (0.59s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient --- PASS: TestGetClient (0.00s) === RUN TestIncorrectURL --- PASS: TestIncorrectURL (0.00s) === RUN TestDetectContentTypeForPointer 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 request_test.go:1207: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 633.439µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:234: Method: POST resty_test.go:235: Path: /users resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json request_test.go:1235: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 513.893µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json request_test.go:1260: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 420.783µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) === RUN TestDetectContentTypeForSlice resty_test.go:234: Method: POST resty_test.go:235: Path: /users resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json request_test.go:1282: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 368.853µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === RUN TestMultiParamsQueryString resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestMultiParamsQueryString (0.02s) === RUN TestSetQueryStringTypical resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestSetQueryStringTypical (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.03s) === 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.03s) === RUN TestOutputFileAbsPath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.03s) === RUN TestContextInternal resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestContextInternal (0.01s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestRequestDoNotParseResponse (0.02s) === RUN TestRequestExpectContentTypeTest resty_test.go:460: Method: GET resty_test.go:461: Path: /json-no-set --- PASS: TestRequestExpectContentTypeTest (0.00s) === RUN TestGetPathParamAndPathParams 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: 329.482µs resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:40 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) === RUN TestReportMethodSupportsPayload resty_test.go:460: Method: REPORT resty_test.go:461: Path: /report --- PASS: TestReportMethodSupportsPayload (0.00s) === RUN TestRequestQueryStringOrder 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: 485.216µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:40 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) === RUN TestRequestOverridesClientAuthorizationHeader 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: TestRequestOverridesClientAuthorizationHeader (0.01s) === RUN TestRequestFileUploadAsReader resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: image/png resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: image/png --- PASS: TestRequestFileUploadAsReader (0.15s) === 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: 7.468811ms resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:41 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.01s) === RUN TestPathParamURLInput 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: 7.276246ms resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:41 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.01s) === RUN TestTraceInfo resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: /json resty_test.go:41: Method: GET resty_test.go:42: Path: /long-text resty_test.go:41: Method: GET resty_test.go:42: Path: /long-json resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: /json resty_test.go:41: Method: GET resty_test.go:42: Path: /long-text resty_test.go:41: Method: GET resty_test.go:42: Path: /long-json --- PASS: TestTraceInfo (0.02s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:41: Method: GET resty_test.go:42: Path: /json resty_test.go:41: Method: GET resty_test.go:42: Path: /long-text resty_test.go:41: Method: GET resty_test.go:42: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.00s) === RUN TestTraceInfoOnTimeout --- PASS: TestTraceInfoOnTimeout (0.01s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: multipart/form-data; boundary=40f3c4d5bf018d67f032c238b0ec2b221e3a2047c66d6424633bc63b2abc resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: multipart/form-data; boundary=f905954e788eb09b07fdd6aff407bf23316ff928c09f3c5133e4b9306099 resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded resty_test.go:310: FirstName: Alex resty_test.go:311: LastName: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC resty_test.go:312: City: resty_test.go:313: Zip Code: 00001 resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded resty_test.go:310: FirstName: Alex resty_test.go:311: LastName: C resty_test.go:312: City: resty_test.go:313: Zip Code: 00001 resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: text/plain; charset=utf-8 resty_test.go:310: FirstName: resty_test.go:311: LastName: resty_test.go:312: City: resty_test.go:313: Zip Code: resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/json resty_test.go:310: FirstName: resty_test.go:311: LastName: resty_test.go:312: City: resty_test.go:313: Zip Code: --- PASS: TestDebugLoggerRequestBodyTooLarge (0.11s) === RUN TestPostMapTemporaryRedirect resty_test.go:234: Method: POST resty_test.go:235: Path: /redirect resty_test.go:236: RawQuery: resty_test.go:237: Content-Type: application/json 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 --- PASS: TestPostMapTemporaryRedirect (0.01s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.22s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.21s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestConditionalGet 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: 5.413263ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:41 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.01s) === RUN TestConditionalGetDefaultClient 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: 381.929µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 10 Feb 2025 22:42:41 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === RUN TestClientRetryGet resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrycount-test resty_test.go:41: Method: GET 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.62s) === RUN TestClientRetryWait resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test --- PASS: TestClientRetryWait (32.11s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxInfinite (18.07s) === RUN TestClientRetryWaitCallbackError resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.01s) === RUN TestClientRetryWaitCallback resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET 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:328: Client has slept 5.011967 seconds before retry 1 retry_test.go:328: Client has slept 5.016021 seconds before retry 2 retry_test.go:328: Client has slept 5.016093 seconds before retry 3 retry_test.go:328: Client has slept 5.011910 seconds before retry 4 retry_test.go:328: Client has slept 5.016061 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (30.08s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET 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:376: Client has slept 3.015993 seconds before retry 1 retry_test.go:376: Client has slept 3.016024 seconds before retry 2 retry_test.go:376: Client has slept 3.012442 seconds before retry 3 retry_test.go:376: Client has slept 3.011529 seconds before retry 4 retry_test.go:376: Client has slept 3.016063 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (18.09s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET 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:424: Client has slept 3.015857 seconds before retry 1 retry_test.go:424: Client has slept 3.020034 seconds before retry 2 retry_test.go:424: Client has slept 3.015991 seconds before retry 3 retry_test.go:424: Client has slept 3.011829 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (18.08s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test resty_test.go:41: Method: GET 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:480: Client has slept 1.008246 seconds before retry 1 --- FAIL: TestClientRetryWaitCallbackSwitchToDefault (9.77s) === RUN TestClientRetryCancel resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test --- PASS: TestClientRetryCancel (2.01s) === RUN TestClientRetryPost resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap resty_test.go:236: RawQuery: status=500 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"}}] resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap resty_test.go:236: RawQuery: status=500 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"}}] resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap resty_test.go:236: RawQuery: status=500 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"}}] resty_test.go:234: Method: POST resty_test.go:235: Path: /usersmap resty_test.go:236: RawQuery: status=500 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:552: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (1.44s) === 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.10s) === RUN TestClientRetryCount resty_test.go:41: Method: GET 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) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) FAIL FAIL github.com/go-resty/resty 173.645s FAIL dh_auto_test: error: cd _build && go test -vet=off -v -p 16 github.com/go-resty/resty returned exit code 1 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package 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/2850079 and its subdirectories Tue Jan 9 16:22:06 UTC 2024 W: No second build log, what happened?