I: pbuilder: network access will be disabled during build I: Current time: Wed May 10 10:30:44 +14 2023 I: pbuilder-time-stamp: 1683664244 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration 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 23:12:17 2021 +14 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/23884/tmp/hooks/D01_modify_environment starting debug: Running on ff4a. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 10 10:31 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/23884/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/23884/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=c7ceb69a925c48ecbae4a4b8b69a056b LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=23884 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.RNchkP3I/pbuilderrc_MVSL --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RNchkP3I/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-go-resty-resty_2.6.0-1.dsc' SUDO_GID=113 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash -rwxr-xr-x 1 root root 133220 Sep 21 2022 date -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd -rwxr-xr-x 1 root root 68104 Sep 21 2022 df -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep -rwxr-xr-x 1 root root 67548 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed lrwxrwxrwx 1 root root 9 May 10 10:31 sh -> /bin/bash -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch -rwxr-xr-x 1 root root 67548 Sep 21 2022 true -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/23884/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf 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 ... 19329 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 98.3 MB of archives. After unpacking 553 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main armhf sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main armhf libmagic1 armhf 1:5.44-3 [96.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main armhf file armhf 1:5.44-3 [41.6 kB] Get: 5 http://deb.debian.org/debian bookworm/main armhf gettext-base armhf 0.21-12 [157 kB] Get: 6 http://deb.debian.org/debian bookworm/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main armhf groff-base armhf 1.22.4-10 [825 kB] Get: 8 http://deb.debian.org/debian bookworm/main armhf bsdextrautils armhf 2.38.1-5+b1 [78.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main armhf libpipeline1 armhf 1.5.7-1 [33.6 kB] Get: 10 http://deb.debian.org/debian bookworm/main armhf man-db armhf 2.11.2-2 [1351 kB] Get: 11 http://deb.debian.org/debian bookworm/main armhf m4 armhf 1.4.19-3 [265 kB] Get: 12 http://deb.debian.org/debian bookworm/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main armhf autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main armhf libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main armhf libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main armhf libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main armhf libelf1 armhf 0.188-2.1 [170 kB] Get: 24 http://deb.debian.org/debian bookworm/main armhf dwz armhf 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main armhf libicu72 armhf 72.1-3 [9048 kB] Get: 26 http://deb.debian.org/debian bookworm/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [591 kB] Get: 27 http://deb.debian.org/debian bookworm/main armhf gettext armhf 0.21-12 [1229 kB] Get: 28 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf dh-golang all 1.59 [27.8 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf golang-1.19-src all 1.19.8-2 [18.3 MB] Get: 33 http://deb.debian.org/debian bookworm/main armhf golang-1.19-go armhf 1.19.8-2 [56.9 MB] Get: 34 http://deb.debian.org/debian bookworm/main armhf golang-src all 2:1.19~1 [5756 B] Get: 35 http://deb.debian.org/debian bookworm/main armhf golang-go armhf 2:1.19~1 [45.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main armhf golang-any armhf 2:1.19~1 [5876 B] Get: 37 http://deb.debian.org/debian bookworm/main armhf golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] Fetched 98.3 MB in 11s (8958 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) 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_armhf.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.44-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_armhf.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_armhf.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_armhf.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_armhf.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_armhf.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_armhf.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:armhf. Preparing to unpack .../22-libelf1_0.188-2.1_armhf.deb ... Unpacking libelf1:armhf (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-3_armhf.deb ... Unpacking libicu72:armhf (72.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_armhf.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_armhf.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:armhf. Preparing to unpack .../34-golang-go_2%3a1.19~1_armhf.deb ... Unpacking golang-go:armhf (2:1.19~1) ... Selecting previously unselected package golang-any:armhf. Preparing to unpack .../35-golang-any_2%3a1.19~1_armhf.deb ... Unpacking golang-any:armhf (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:armhf (1.5.7-1) ... Setting up libicu72:armhf (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:armhf (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:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:armhf (0.188-2.1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.2) ... 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:armhf (2:1.19~1) ... Setting up golang-any:armhf (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) ... 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 Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/23884/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/23884/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/golang-github-go-resty-resty-2.6.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.6.0-1_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.6.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Aloïs Micard dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf 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 4 github.com/go-resty/resty internal/unsafeheader internal/goexperiment internal/goarch internal/goos internal/cpu internal/abi runtime/internal/syscall runtime/internal/math runtime/internal/sys internal/race sync/atomic unicode internal/bytealg runtime/internal/atomic unicode/utf8 internal/itoa math/bits container/list runtime math crypto/internal/subtle crypto/subtle crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding internal/reflectlite sync internal/testlog math/rand internal/singleflight runtime/cgo errors sort io internal/oserror strconv bytes strings syscall bufio reflect internal/safefilepath path hash hash/crc32 crypto crypto/internal/nistec/fiat internal/syscall/unix time internal/syscall/execenv crypto/internal/randutil crypto/rc4 vendor/golang.org/x/net/dns/dnsmessage internal/poll io/fs internal/fmtsort encoding/binary context embed vendor/golang.org/x/text/transform os crypto/cipher crypto/internal/edwards25519/field crypto/internal/nistec crypto/internal/edwards25519 crypto/internal/boring crypto/aes crypto/des fmt crypto/sha512 crypto/hmac crypto/md5 crypto/sha1 crypto/sha256 encoding/base64 internal/godebug internal/intern path/filepath net/netip encoding/pem vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field vendor/golang.org/x/crypto/chacha20poly1305 compress/flate math/big encoding/hex net net/url vendor/golang.org/x/crypto/curve25519 compress/gzip vendor/golang.org/x/crypto/hkdf encoding/json encoding/xml log crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/ed25519 crypto/rsa crypto/dsa vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule crypto/ecdsa vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal net/http/internal/ascii io/ioutil regexp/syntax vendor/golang.org/x/net/idna regexp net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 4 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: 79.062962ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:07 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.10s) === RUN TestClientAuthToken resty_test.go:404: Method: GET resty_test.go:405: Path: /profile resty_test.go:406: Content-Type: resty_test.go:412: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthToken (0.07s) === 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.08s) === RUN TestOnAfterMiddleware resty_test.go:460: Method: PUT resty_test.go:461: Path: /plaintext client_test.go:89: Request sent at: 2023-05-10 10:35:07.509321511 +1400 +14 m=+0.246527590 client_test.go:90: Response Received at: 2023-05-10 10:35:07.512393288 +1400 +14 m=+0.249599367 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:531: Method: GET 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.02s) === 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.01s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy --- PASS: TestClientProxy (0.00s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate --- PASS: TestClientSetRootCertificate (0.01s) === 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: 1.081189ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === 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: 2.372957ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: This is Gzip response testing resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test-gziped-empty-body resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 9.369328ms resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: resty_test.go:460: Method: GET resty_test.go:461: Path: /gzip-test-no-gziped-body resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 734.695µs resty_test.go:649: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:17 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestAutoGzip (0.01s) === 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.06s) === 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 (1.07s) --- PASS: TestClientOnResponseError/successful_request (0.06s) --- PASS: TestClientOnResponseError/http_status_error (0.06s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.41s) --- PASS: TestClientOnResponseError/after_response_error (0.08s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.46s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestSetContext resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 1.390933ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:18 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) === 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: 1.141854ms resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:35:18 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestSetContextWithError (0.00s) === 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:38651/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is context_test.go:125: Error: Get "http://127.0.0.1:43565/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is context_test.go:168: Error: Get "http://127.0.0.1:41761/": 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.62s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN TestGet resty_test.go:41: Method: GET resty_test.go:42: Path: / resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 2.181044ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGet (0.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: 1.974547ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === 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: 3.948802ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.01s) === RUN TestGetRelativePath resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 4.819703ms resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.01s) === 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.222964ms resty_test.go:649: Response Headers: map[Content-Length:[0] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: --- PASS: TestGet400Error (0.01s) === 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: 1.85934ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } resty_test.go:234: Method: POST 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.359725ms resty_test.go:649: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.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: 2.509454ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.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: 1.612596ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.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: 1.948298ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.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:236: Result Success: &{"success" "login successful"} resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 1.385391ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.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: 1.3886ms resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === 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: 1.268727ms resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) === 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: 1.260268ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.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: 1.410183ms resty_test.go:649: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.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: 1.409307ms resty_test.go:649: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: request_no=1683664524 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 1.257644ms resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === 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: 1.255894ms resty_test.go:649: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:234: Method: POST resty_test.go:235: Path: /login resty_test.go:236: RawQuery: request_no=1683664524 resty_test.go:237: Content-Type: application/xml resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 1.164603ms resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) === 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: 1.248893ms resty_test.go:649: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.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: 1.087022ms resty_test.go:649: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === 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: 1.059605ms resty_test.go:649: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) === 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: 64.175985ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.07s) === 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: 59.647361ms resty_test.go:649: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:24 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.06s) === 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.08s) === 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.07s) === 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=cb21ed25848bb88e4ab5396eef8702ce026a345ac16063e92edaae6b4b7a resty_test.go:327: FirstName: resty_test.go:328: LastName: resty_test.go:335: Name: test-img.png resty_test.go:336: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:340: Write name: test-img-1683664524.png --- PASS: TestMultiPartUploadFile (0.14s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=ddac96a6bb76277f7abb7b8082adc3b9ab98ed538d89990b8b7b109995f2 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-1683664524.png resty_test.go:335: Name: text-file.txt resty_test.go:336: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:340: Write name: text-file-1683664524.txt --- PASS: TestMultiPartUploadFiles (0.08s) === RUN TestMultiPartIoReaderFiles request_test.go:748: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=82aad47f9a3953c4206d97cced56a95fe9aafad15affa4e1bbfc8f43c2bb resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: test-img.png resty_test.go:336: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:340: Write name: test-img-1683664525.png resty_test.go:335: Name: text-file.txt resty_test.go:336: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:340: Write name: text-file-1683664525.txt --- PASS: TestMultiPartIoReaderFiles (0.09s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: multipart/form-data; boundary=a3638a66f2bbd83c6ae4a35bda6d1cae0aa2d1769d9fb1e69a479363092b 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=90eef41a2808d678f852cecc8863242bbd7db4f85deb605df25508699f83 resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: upload-file.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] resty_test.go:340: Write name: upload-file-1683664525.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:302: Method: POST resty_test.go:303: Path: /upload resty_test.go:304: Content-Type: multipart/form-data; boundary=1e4514abc7ff03ebae3f665416f5645192db12ffc3a093b8bba4a9001355 resty_test.go:327: FirstName: Jeevanandam resty_test.go:328: LastName: M resty_test.go:335: Name: upload-file-1.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] resty_test.go:340: Write name: upload-file-1-1683664525.json resty_test.go:335: Name: upload-file-2.json resty_test.go:336: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] resty_test.go:340: Write name: upload-file-2-1683664525.json --- PASS: TestMultiPartMultipartFields (0.00s) === RUN TestGetWithCookie resty_test.go:41: Method: GET resty_test.go:42: Path: /mypage2 resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 990.773µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === 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: 559.989µs resty_test.go:649: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === 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.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.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.52s) === 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: 2.717992ms resty_test.go:649: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.01s) === 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: 4.308129ms resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.01s) === 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: 3.759806ms resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.01s) === 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: 1.726927ms resty_test.go:649: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === 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.01s) === 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.05s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputPathDirNotExists (0.03s) === RUN TestOutputFileAbsPath resty_test.go:41: Method: GET resty_test.go:42: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.02s) === 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.00s) === 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: 945.274µs resty_test.go:649: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) === 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: 1.000982ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) === 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.07s) === 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.09s) === RUN TestHostHeaderOverride resty_test.go:41: Method: GET resty_test.go:42: Path: /host-header resty_test.go:647: Response Status: 200 OK resty_test.go:648: Response Time: 944.982µs resty_test.go:649: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) === 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: 1.019648ms resty_test.go:649: Response Headers: map[Content-Length:[96] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:25 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.00s) === 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=10209713d416850410ba7fabdcab7c0c5add9e0179f3be46b76f9abac540 resty_test.go:367: Method: POST resty_test.go:368: Path: /upload resty_test.go:369: Content-Type: multipart/form-data; boundary=92df849f8ef0442ead29146eabcfcfe7353a041ab527a17787262d4073df resty_test.go:302: Method: POST resty_test.go:303: Path: /profile resty_test.go:304: Content-Type: application/x-www-form-urlencoded 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.04s) === 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.00s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.26s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.25s) === 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: 2.744533ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:26 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === 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: 2.613285ms resty_test.go:649: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Tue, 09 May 2023 20:35:26 GMT]] resty_test.go:650: Response Cookies: [] resty_test.go:651: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === 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.57s) === 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 (33.01s) === 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.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.022988 seconds before retry 1 retry_test.go:345: Client has slept 5.022972 seconds before retry 2 retry_test.go:345: Client has slept 5.008277 seconds before retry 3 retry_test.go:345: Client has slept 5.028542 seconds before retry 4 retry_test.go:345: Client has slept 5.022816 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (30.13s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test 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.016581 seconds before retry 1 retry_test.go:393: Client has slept 3.012030 seconds before retry 2 retry_test.go:393: Client has slept 3.012584 seconds before retry 3 retry_test.go:393: Client has slept 3.011474 seconds before retry 4 retry_test.go:393: Client has slept 3.011985 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (18.08s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test 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.014540 seconds before retry 1 retry_test.go:441: Client has slept 3.014544 seconds before retry 4 retry_test.go:441: Client has slept 3.014984 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (18.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retrywaittime-test 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: TestClientRetryWaitCallbackSwitchToDefault (11.75s) === 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.31s) === RUN TestClientRetryErrorRecover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover resty_test.go:41: Method: GET resty_test.go:42: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.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 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.32s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) PASS ok github.com/go-resty/resty 188.931s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install --destdir=debian/golang-github-go-resty-resty-dev/ -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-go-resty-resty-dev' in '../golang-github-go-resty-resty-dev_2.6.0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-go-resty-resty_2.6.0-1_armhf.buildinfo dpkg-genchanges --build=binary -O../golang-github-go-resty-resty_2.6.0-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/23884/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/23884/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/23884 and its subdirectories I: Current time: Wed May 10 10:38:34 +14 2023 I: pbuilder-time-stamp: 1683664714