Thu Jan 11 06:23:48 UTC 2024 I: starting to build golang-github-go-resty-resty/bookworm/amd64 on jenkins on '2024-01-11 06:23' Thu Jan 11 06:23:48 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_5/12767/console.log Thu Jan 11 06:23:48 UTC 2024 I: Downloading source for bookworm/golang-github-go-resty-resty=2.6.0-1 --2024-01-11 06:23:48-- http://cdn-fastly.deb.debian.org/debian/pool/main/g/golang-github-go-resty-resty/golang-github-go-resty-resty_2.6.0-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2310 (2.3K) [text/prs.lines.tag] Saving to: ‘golang-github-go-resty-resty_2.6.0-1.dsc’ 0K .. 100% 371M=0s 2024-01-11 06:23:48 (371 MB/s) - ‘golang-github-go-resty-resty_2.6.0-1.dsc’ saved [2310/2310] Thu Jan 11 06:23:48 UTC 2024 I: golang-github-go-resty-resty_2.6.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.6.0-1 Maintainer: Debian Go Packaging Team Uploaders: Aloïs Micard Homepage: https://github.com/go-resty/resty Standards-Version: 4.6.0 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: d0c6557e2815445cda5c4dc40a5f6238d5e52d79 2642994 golang-github-go-resty-resty_2.6.0.orig.tar.gz 33fb64b0643248e9f9529805086b99231765005b 2988 golang-github-go-resty-resty_2.6.0-1.debian.tar.xz Checksums-Sha256: 95278348a9bd07bd2955cd5dc19ee7ba7e3af88d142fd902de0a33af511d0082 2642994 golang-github-go-resty-resty_2.6.0.orig.tar.gz 4dbfc72fe57a107c859b258e7eaddcde64040fa24109c558521f9bbcdfa3d7d6 2988 golang-github-go-resty-resty_2.6.0-1.debian.tar.xz Files: d953bb626db888a4faeda0ac2c0aa9dd 2642994 golang-github-go-resty-resty_2.6.0.orig.tar.gz 72b85d268e0cce3c7212d954f540c1c2 2988 golang-github-go-resty-resty_2.6.0-1.debian.tar.xz Go-Import-Path: github.com/go-resty/resty -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEECYc16JDXWgmzZBaOGg64LwcfXv4FAmEjZnEQHGFsb2lzQG1p Y2FyZC5sdQAKCRAaDrgvBx9e/k7XD/4/7OPr3wo/JwuKsCA+2RlKo865n83ejJio x560+8fAIsJnjqMkb1SyD6vbh+lJ//vKL+mbHShG4mSRhT2cz7xCuuCEialFeWUf QHfKTwi83XuoC4qZku40POn3KKT5VubBs4uWOkcfW4gC35w0yKR4Yp95S1toQJxd awXb4pD1vUw0Zd6JrDPHESovWc2uemMD3+COQePHecGMuTOypRvgksBIlHc9Ozlb gWcdHbjotpRW+1zKlmMm9yNz3da5GVwmkUYh1GMUjK44+BIAn9i6h5Q9KESyOxi5 NxlTcDVQ9SVoNRkF/Ha5emvtT03rzTftxkw7SUYz5CqHhj3c6e6sctwekjsQa5tO qhSC+Jv8xt55DJeZPc56zGk76TQGX/UTHZ/0BXnbMWU/3X6syzaLfJRsysQGP9ex gC7PWIfxQxzM6YpM7+47eQsxX/ZEZm35en9MmNhXhxBEy1ZSYeNNeeUsPlVPhSxF DRkL9nD5wWzA+Y6y5U/NAjLQnU62JduyUwveRtVJmiM6zBa9VUzyCRTv/ioYeCiJ sx8un7Mu3V6/ejG7ex0e0TdPaNuuHC3qo8Gt/18WsIRr2m/Ime0wSQO5H7N972uF Cu4+4fWb+A9MYXhEFFz11L9323c8w3ychRdUwjZVHpmncSFplcKCvw0iE/vnD/PX Wwq4CzMfsA== =ah5Y -----END PGP SIGNATURE----- Thu Jan 11 06:23:48 UTC 2024 I: Checking whether the package is not for us Thu Jan 11 06:23:48 UTC 2024 I: Starting 1st build on remote node ionos11-amd64.debian.net. Thu Jan 11 06:23:48 UTC 2024 I: Preparing to do remote build '1' on ionos11-amd64.debian.net. Thu Jan 11 06:28:47 UTC 2024 I: Deleting $TMPDIR on ionos11-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Wed Jan 10 18:23:51 -12 2024 I: pbuilder-time-stamp: 1704954231 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-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.6.0-1.dsc] 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 Mon Aug 23 09:12:17 2021 gpgv: using RSA key 098735E890D75A09B364168E1A0EB82F071F5EFE gpgv: issuer "alois@micard.lu" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-go-resty-resty_2.6.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.6.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.6.0.orig.tar.gz 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/1297517/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 parallel=15 ' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='a74772cec339408097bdeff088c37926' 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='1297517' 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.BIs6fuJh/pbuilderrc_7YAq --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.BIs6fuJh/b1 --logfile b1/build.log golang-github-go-resty-resty_2.6.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://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 39224 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 27 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 39224 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 23 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep -rwxr-xr-x 1 root root 85600 Mar 23 2023 findmnt -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 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 98136 Apr 10 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 2023 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 23 2023 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 23 2023 more -rwsr-xr-x 1 root root 59704 Mar 23 2023 mount -rwxr-xr-x 1 root root 18744 Mar 23 2023 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 23 2023 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar -rwxr-xr-x 1 root root 14520 Jul 28 23:46 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 23 2023 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 23 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 19 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/1297517/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 ... 18148 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.19-go{a} golang-1.19-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} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{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, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 105 MB of archives. After unpacking 587 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 11 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 24 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.3~deb12u1 [687 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 dh-golang all 1.59 [27.8 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 golang-1.19-src all 1.19.8-2 [18.3 MB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 golang-1.19-go amd64 1.19.8-2 [62.7 MB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 golang-src all 2:1.19~1 [5756 B] Get: 35 http://deb.debian.org/debian bookworm/main amd64 golang-go amd64 2:1.19~1 [45.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 golang-any amd64 2:1.19~1 [5876 B] Get: 37 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] Fetched 105 MB in 4s (23.6 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 ... 18148 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-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 .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../22-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package dh-golang. Preparing to unpack .../30-dh-golang_1.59_all.deb ... Unpacking dh-golang (1.59) ... Selecting previously unselected package golang-1.19-src. Preparing to unpack .../31-golang-1.19-src_1.19.8-2_all.deb ... Unpacking golang-1.19-src (1.19.8-2) ... Selecting previously unselected package golang-1.19-go. Preparing to unpack .../32-golang-1.19-go_1.19.8-2_amd64.deb ... Unpacking golang-1.19-go (1.19.8-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../33-golang-src_2%3a1.19~1_all.deb ... Unpacking golang-src (2:1.19~1) ... Selecting previously unselected package golang-go:amd64. Preparing to unpack .../34-golang-go_2%3a1.19~1_amd64.deb ... Unpacking golang-go:amd64 (2:1.19~1) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../35-golang-any_2%3a1.19~1_amd64.deb ... Unpacking golang-any:amd64 (2:1.19~1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../36-golang-golang-x-sys-dev_0.3.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.3.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../37-golang-golang-x-text-dev_0.7.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.7.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../38-golang-golang-x-net-dev_1%3a0.7.0+dfsg-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.7.0+dfsg-1) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up golang-golang-x-sys-dev (0.3.0-1) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up golang-1.19-src (1.19.8-2) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up golang-golang-x-text-dev (0.7.0-1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ... Setting up golang-1.19-go (1.19.8-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up golang-go:amd64 (2:1.19~1) ... Setting up golang-any:amd64 (2:1.19~1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-golang-x-net-dev (1:0.7.0+dfsg-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Setting up dh-golang (1.59) ... Processing triggers for libc-bin (2.36-9+deb12u3) ... 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.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 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 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 15 github.com/go-resty/resty internal/goarch internal/race internal/goexperiment internal/cpu internal/goos runtime/internal/atomic runtime/internal/syscall unicode/utf8 internal/unsafeheader unicode internal/abi sync/atomic math/bits crypto/internal/subtle runtime/internal/math internal/itoa container/list crypto/subtle runtime/internal/sys crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding internal/bytealg math runtime internal/reflectlite sync internal/testlog internal/singleflight math/rand runtime/cgo errors sort io internal/oserror internal/safefilepath path strconv crypto/internal/nistec/fiat vendor/golang.org/x/net/dns/dnsmessage syscall bytes hash strings crypto/internal/randutil hash/crc32 reflect crypto crypto/rc4 vendor/golang.org/x/text/transform bufio net/http/internal/ascii regexp/syntax internal/syscall/unix time internal/syscall/execenv regexp internal/poll io/fs context embed internal/fmtsort encoding/binary os crypto/cipher crypto/internal/nistec crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 crypto/md5 vendor/golang.org/x/crypto/curve25519/internal/field encoding/base64 encoding/pem crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 internal/godebug fmt io/ioutil path/filepath crypto/aes crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 internal/intern vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/hkdf net/netip vendor/golang.org/x/crypto/chacha20poly1305 net compress/flate encoding/hex net/url vendor/golang.org/x/crypto/curve25519 encoding/xml encoding/json log mime vendor/golang.org/x/net/http2/hpack math/big mime/quotedprintable vendor/golang.org/x/text/unicode/norm net/http/internal vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/dsa crypto/ed25519 crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 15 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: 18.735319ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:34 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.02s) === 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.01s) === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext client_test.go:89: Request sent at: 2024-01-11 06:25:34.094985587 +0000 UTC m=+0.044961788 client_test.go:90: Response Received at: 2024-01-11 06:25:34.095599904 +0000 UTC m=+0.045576095 --- 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.02s) === 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: 4.185684ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:44 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === RUN TestClientSetHeaderVerbatim --- PASS: TestClientSetHeaderVerbatim (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.00s) === 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.01s) === RUN TestAutoGzip resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 15.097302ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25: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: 15.225208ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25: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: 270.733µs resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:44 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestAutoGzip (0.03s) === 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.00s) === 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.01s) --- PASS: TestClientOnResponseError/http_status_error (0.01s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.42s) --- 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: 871.266µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:45 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) === 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: 589.274µs resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Thu, 11 Jan 2024 06:25:45 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:33033/": 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:34161/": context canceled --- PASS: TestSetContextCancelRetry (0.01s) === 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:34571/": 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.67s) === 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: 575.757µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGet (0.00s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 2.852213ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 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: 600.418µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 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: 465.042µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 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: 435.708µs resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Thu, 11 Jan 2024 06:25:50 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: 537.934µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25: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 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: 1.626958ms resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25: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) === 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: 656.256µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 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: 567.746µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 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:214: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 4.547078ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.01s) === 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:236: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 4.254023ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) === 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:261: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 700.968µs resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 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:283: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 570.552µs resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 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:303: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 494.284µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 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:324: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 2.393867ms resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === 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:378: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 498.746µs resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Thu, 11 Jan 2024 06:25: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=1704954350 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 522.857µs resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25:50 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: 549.233µs resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25: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=1704954350 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 4.734093ms resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.01s) === 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:478: Result Success: &{"" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 655.763µs resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) === 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:499: Result Error: &{"" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 692.413µs resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25:50 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === 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:517: Result Success: &{"" ""} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 920.962µs resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Thu, 11 Jan 2024 06:25:50 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:550: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 21.411072ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:50 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.03s) === 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:569: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:647: Response Status: 401 Unauthorized resty_test.go:648: Response Time: 22.726746ms resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25: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) === 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.02s) === 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.00s) === RUN TestMultiPartUploadFile resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=0035afd244bfc17c19db9fadb286584397fe9ba04f23b26ff1e8fc3f7b84 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-1704954350.png --- PASS: TestMultiPartUploadFile (0.09s) === 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=9c98a5f2f8db10b7be660c6be80409b1292ea74df4e6baba67d79cf5c73b 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-1704954351.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-1704954351.txt --- PASS: TestMultiPartUploadFiles (0.12s) === 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=bb03257f10f08d5f532dec226022215dc8e3ecd7329c92e8db0913f40dcc 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-1704954351.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-1704954351.txt --- PASS: TestMultiPartIoReaderFiles (0.05s) === 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=a866c7fad4c5d90e836d4dec42c779ce1011658e8cf74fa4127dd28dec59 resty_test.go:310: FirstName: Jeevanandam resty_test.go:311: LastName: M resty_test.go:312: City: resty_test.go:313: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.00s) === RUN TestMultiPartMultipartField resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=1c94e25832cacfa3d15f641629803ed82148430cf09afa3b00b7da7bb42f 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-1704954351.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=bcd51daf16f3f1d558262c0fc5a676b9f94f05aa29ea635e4bba68cf5757 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-1704954351.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-1704954351.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: 856.145µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === 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: 153.151µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === RUN TestPutPlainString resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext --- PASS: TestPutPlainString (0.00s) === RUN TestPutJSONString resty_test.go:460: Method: PUT resty_test.go:461: Path: /json --- PASS: TestPutJSONString (0.00s) === RUN TestPutXMLString resty_test.go:460: Method: PUT resty_test.go:461: Path: /xml --- PASS: TestPutXMLString (0.00s) === 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.00s) === 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.00s) === 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.01s) --- PASS: TestSendMethod/send-get (0.00s) --- 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.53s) === 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:1217: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 570.142µs resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:51 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:1245: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 420.65µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:51 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:1270: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 376.526µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:51 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:1292: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:647: Response Status: 202 Accepted resty_test.go:648: Response Time: 339.594µs resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Thu, 11 Jan 2024 06:25:51 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.01s) === 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 TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.02s) === 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.01s) === RUN TestOutputFileAbsPath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.01s) === RUN TestContextInternal resty_test.go:41: Method: GET resty_test.go:42: Path: / --- PASS: TestContextInternal (0.00s) === 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.01s) === 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: 439.635µs resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25: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) === 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: 338.216µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:51 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.02s) === 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: 693.667µs resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:51 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) === 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: 753.993µs resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25: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) === 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.01s) === 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.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: multipart/form-data; boundary=576a27b151f8e213889fe655d23205a6ca100ddaed63c4a98705a5083938 resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: multipart/form-data; boundary=33ede32d6b865e9a46c653da044032b20e9e34f48007a0dae1fc00c0c836 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.06s) === 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.24s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.21s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff --- PASS: TestOnRetryBackoff (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: 624.993µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:52 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === 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: 502.786µs resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 11 Jan 2024 06:25:52 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.50s) === 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 (38.16s) === 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.09s) === RUN TestClientRetryWaitCallbackError resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.00s) === 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:345: Client has slept 5.022361 seconds before retry 1 retry_test.go:345: Client has slept 5.028182 seconds before retry 2 retry_test.go:345: Client has slept 5.023797 seconds before retry 3 retry_test.go:345: Client has slept 5.012030 seconds before retry 4 retry_test.go:345: Client has slept 5.024226 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (30.14s) === 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:393: Client has slept 3.011168 seconds before retry 1 retry_test.go:393: Client has slept 3.012017 seconds before retry 2 retry_test.go:393: Client has slept 3.012061 seconds before retry 3 retry_test.go:393: Client has slept 3.015951 seconds before retry 4 retry_test.go:393: Client has slept 3.016019 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (18.08s) === 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:441: Client has slept 3.007796 seconds before retry 1 retry_test.go:441: Client has slept 3.012046 seconds before retry 2 retry_test.go:441: Client has slept 3.015979 seconds before retry 3 retry_test.go:441: Client has slept 3.016062 seconds before retry 4 retry_test.go:441: Client has slept 3.012166 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (18.10s) === 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:497: Client has slept 1.007393 seconds before retry 1 --- FAIL: TestClientRetryWaitCallbackSwitchToDefault (10.03s) === 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:569: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (1.02s) === RUN TestClientRetryErrorRecover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.11s) === 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 TestClientErrorRetry 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: TestClientErrorRetry (0.10s) === RUN TestClientRetryHook 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: TestClientRetryHook (12.23s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) FAIL FAIL github.com/go-resty/resty 191.160s FAIL dh_auto_test: error: cd _build && go test -vet=off -v -p 15 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/1297517 and its subdirectories Thu Jan 11 06:28:48 UTC 2024 W: No second build log, what happened?