I: pbuilder: network access will be disabled during build I: Current time: Sun May 5 13:18:21 +14 2024 I: pbuilder-time-stamp: 1714864701 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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.10.0-1.dsc] I: copying [./golang-github-go-resty-resty_2.10.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.10.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Nov 9 08:00:31 2023 gpgv: using EDDSA key 9185D4F57767AEEE6C55D41E7F44FA25EA5514CB gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-go-resty-resty_2.10.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.10.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0.orig.tar.gz dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3004939/tmp/hooks/D01_modify_environment starting debug: Running on ionos11-amd64. 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 4 23:18 /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/3004939/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3004939/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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=fe7db7053fe34307b2e161be1e039dee LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=3004939 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.ElFieYtv/pbuilderrc_S20L --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ElFieYtv/b2 --logfile b2/build.log golang-github-go-resty-resty_2.10.0-1.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 3 08:24 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3004939/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, golang-golang-x-time-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 ... 19695 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. pbuilder-satisfydepends-dummy depends on golang-golang-x-time-dev; however: Package golang-golang-x-time-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.22-go{a} golang-1.22-src{a} golang-any{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-golang-x-time-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{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, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 69.7 MB of archives. After unpacking 363 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.21-14+b1 [161 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-3+b1 [1180 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40-8 [92.8 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.7-2 [38.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.12.1-1 [1411 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.21-14 [496 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libsub-override-perl all 0.10-1 [10.6 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.191-1+b1 [189 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.9.14+dfsg-1.3+b3 [692 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.21-14+b1 [1301 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 dh-golang all 1.62 [24.7 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 golang-1.22-src all 1.22.2-2 [18.8 MB] Get: 33 http://deb.debian.org/debian trixie/main amd64 golang-1.22-go amd64 1.22.2-2 [24.7 MB] Get: 34 http://deb.debian.org/debian trixie/main amd64 golang-src all 2:1.22~3 [5020 B] Get: 35 http://deb.debian.org/debian trixie/main amd64 golang-go amd64 2:1.22~3 [44.2 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 golang-any amd64 2:1.22~3 [5104 B] Get: 37 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-sys-dev all 0.19.0-1 [402 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-term-dev all 0.19.0-1 [14.7 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-text-dev all 0.14.0-2 [4001 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-crypto-dev all 1:0.22.0-1 [1672 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-net-dev all 1:0.24.0+dfsg-1 [895 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] Fetched 69.7 MB in 3s (20.7 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 ... 19695 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-14+b1_amd64.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-3+b1_amd64.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40-8_amd64.deb ... Unpacking bsdextrautils (2.40-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.7-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.12.1-1_amd64.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... 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-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... 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 libelf1t64:amd64. Preparing to unpack .../22-libelf1t64_0.191-1+b1_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-4+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-4+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-14+b1_amd64.deb ... Unpacking gettext (0.21-14+b1) ... 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.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package dh-golang. Preparing to unpack .../30-dh-golang_1.62_all.deb ... Unpacking dh-golang (1.62) ... Selecting previously unselected package golang-1.22-src. Preparing to unpack .../31-golang-1.22-src_1.22.2-2_all.deb ... Unpacking golang-1.22-src (1.22.2-2) ... Selecting previously unselected package golang-1.22-go. Preparing to unpack .../32-golang-1.22-go_1.22.2-2_amd64.deb ... Unpacking golang-1.22-go (1.22.2-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../33-golang-src_2%3a1.22~3_all.deb ... Unpacking golang-src (2:1.22~3) ... Selecting previously unselected package golang-go:amd64. Preparing to unpack .../34-golang-go_2%3a1.22~3_amd64.deb ... Unpacking golang-go:amd64 (2:1.22~3) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../35-golang-any_2%3a1.22~3_amd64.deb ... Unpacking golang-any:amd64 (2:1.22~3) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../36-golang-golang-x-sys-dev_0.19.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.19.0-1) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../37-golang-golang-x-term-dev_0.19.0-1_all.deb ... Unpacking golang-golang-x-term-dev (0.19.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../38-golang-golang-x-text-dev_0.14.0-2_all.deb ... Unpacking golang-golang-x-text-dev (0.14.0-2) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../39-golang-golang-x-crypto-dev_1%3a0.22.0-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.22.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../40-golang-golang-x-net-dev_1%3a0.24.0+dfsg-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.24.0+dfsg-1) ... Selecting previously unselected package golang-golang-x-time-dev. Preparing to unpack .../41-golang-golang-x-time-dev_0.5.0-1_all.deb ... Unpacking golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-golang-x-time-dev (0.5.0-1) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.40-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up golang-golang-x-sys-dev (0.19.0-1) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up golang-golang-x-term-dev (0.19.0-1) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... Setting up autotools-dev (20220109.1) ... Setting up golang-1.22-src (1.22.2-2) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up golang-golang-x-text-dev (0.14.0-2) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up golang-golang-x-crypto-dev (1:0.22.0-1) ... Setting up golang-src (2:1.22~3) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.3+b3) ... 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-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up golang-1.22-go (1.22.2-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-golang-x-net-dev (1:0.24.0+dfsg-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3+b1) ... Setting up golang-go:amd64 (2:1.22~3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:amd64 (2:1.22~3) ... Setting up debhelper (13.15.3) ... Setting up dh-golang (1.62) ... Processing triggers for libc-bin (2.37-19) ... 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: user script /srv/workspace/pbuilder/3004939/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/3004939/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.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.10.0-1_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Shengjing Zhu 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 20 github.com/go-resty/resty internal/itoa unicode crypto/internal/alias container/list internal/goexperiment internal/unsafeheader internal/goos internal/godebugs sync/atomic internal/coverage/rtcov unicode/utf8 crypto/internal/boring/sig cmp unicode/utf16 internal/goarch runtime/internal/atomic vendor/golang.org/x/crypto/cryptobyte/asn1 internal/cpu math/bits crypto/subtle runtime/internal/syscall internal/race internal/nettrace vendor/golang.org/x/crypto/internal/alias encoding log/internal internal/chacha8rand internal/abi runtime/internal/math runtime/internal/sys slices internal/bytealg math runtime internal/reflectlite sync internal/testlog internal/bisect internal/singleflight runtime/cgo errors internal/godebug sort io internal/oserror internal/safefilepath strconv path crypto/internal/nistec/fiat vendor/golang.org/x/net/dns/dnsmessage internal/intern math/rand syscall bytes hash crypto/internal/randutil strings hash/crc32 crypto net/netip reflect crypto/rc4 vendor/golang.org/x/text/transform bufio net/http/internal/ascii regexp/syntax regexp internal/syscall/unix time internal/syscall/execenv context io/fs internal/poll internal/fmtsort encoding/binary embed os crypto/md5 crypto/internal/nistec crypto/cipher crypto/internal/edwards25519/field encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 encoding/pem crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/sha512 crypto/hmac crypto/sha1 crypto/aes crypto/sha256 vendor/golang.org/x/crypto/hkdf crypto/ecdh path/filepath vendor/golang.org/x/sys/cpu fmt net vendor/golang.org/x/crypto/chacha20poly1305 compress/flate net/url encoding/xml encoding/json log math/big encoding/hex vendor/golang.org/x/net/http2/hpack net/http/internal mime mime/quotedprintable vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/secure/bidirule compress/gzip vendor/golang.org/x/net/idna crypto/rand crypto/internal/bigmod crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/dsa crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' # Test fails if there's http_proxy, for example Ubuntu's autopkgtest infrastructure. http_proxy="" dh_auto_test cd _build && go test -vet=off -v -p 20 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:42: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 29.990486ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:22:56 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.03s) === RUN TestClientAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthToken (0.03s) === RUN TestClientAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthScheme (0.01s) === RUN TestClientDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:100: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.492193ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:22:56 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestAuth (0.00s) === RUN TestClientDigestSession resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:120: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 5.408793ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:22:56 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestSession (0.01s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge 2024/05/04 23:22:56 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 --- PASS: TestClientDigestErrors (0.04s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext client_test.go:162: Request sent at: 2024-05-04 23:22:56.759646231 +0000 UTC m=+0.127594627 client_test.go:163: Response Received at: 2024-05-04 23:22:56.76432421 +0000 UTC m=+0.132272318 --- PASS: TestOnAfterMiddleware (0.01s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-11 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-12 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-13 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-14 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-15 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-16 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-17 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-18 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-19 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-20 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 --- PASS: TestClientRedirectPolicy (0.03s) === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test --- PASS: TestClientTimeout (6.02s) === RUN TestClientTimeoutWithinThreshold resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence resty_test.go:44: Method: GET resty_test.go:45: 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.01s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString --- PASS: TestClientSetRootCertificateFromString (0.00s) === RUN TestClientSetRootCertificateFromStringErrorTls --- PASS: TestClientSetRootCertificateFromStringErrorTls (0.00s) === RUN TestClientOnBeforeRequestModification resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 3.647653ms resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: 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 TestContentLengthWhenBodyIsNil --- PASS: TestContentLengthWhenBodyIsNil (0.00s) === RUN TestClientPreRequestHook resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestClientPreRequestHook (0.16s) === RUN TestClientAllowsGetMethodPayload resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientAllowsGetMethodPayloadIoReader resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadIoReader (0.00s) === RUN TestClientAllowsGetMethodPayloadDisabled resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadDisabled (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest --- PASS: TestClientNewRequest (0.00s) === RUN TestClientSetJSONMarshaler --- PASS: TestClientSetJSONMarshaler (0.00s) === RUN TestClientSetJSONUnmarshaler --- PASS: TestClientSetJSONUnmarshaler (0.00s) === RUN TestClientSetXMLMarshaler --- PASS: TestClientSetXMLMarshaler (0.00s) === RUN TestClientSetXMLUnmarshaler --- PASS: TestClientSetXMLUnmarshaler (0.00s) === RUN TestDebugBodySizeLimit resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /no-content resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /json-invalid resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestDebugBodySizeLimit (0.01s) === RUN TestAutoGzip resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 17.918717ms resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: This is Gzip response testing resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-gziped-empty-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 425.878µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-no-gziped-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 189.204µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestAutoGzip (0.02s) === RUN TestLogCallbacks resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestLogCallbacks (0.04s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestNewWithLocalAddr (0.02s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === PAUSE TestClientOnResponseError/successful_request === RUN TestClientOnResponseError/http_status_error === PAUSE TestClientOnResponseError/http_status_error === RUN TestClientOnResponseError/before_request_error === PAUSE TestClientOnResponseError/before_request_error === RUN TestClientOnResponseError/before_request_error_retry === PAUSE TestClientOnResponseError/before_request_error_retry === RUN TestClientOnResponseError/after_response_error === PAUSE TestClientOnResponseError/after_response_error === RUN TestClientOnResponseError/after_response_error_retry === PAUSE TestClientOnResponseError/after_response_error_retry === RUN TestClientOnResponseError/panic_with_error === PAUSE TestClientOnResponseError/panic_with_error === RUN TestClientOnResponseError/panic_with_string === PAUSE TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError/before_request_error_retry === CONT TestClientOnResponseError/before_request_error === CONT TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/panic_with_error === CONT TestClientOnResponseError/http_status_error === CONT TestClientOnResponseError/after_response_error_retry === NAME TestClientOnResponseError/http_status_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer BAD === NAME TestClientOnResponseError/after_response_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/successful_request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) --- PASS: TestClientOnResponseError/panic_with_string (0.00s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/panic_with_error (0.00s) --- PASS: TestClientOnResponseError/http_status_error (0.02s) --- PASS: TestClientOnResponseError/after_response_error (0.03s) --- PASS: TestClientOnResponseError/successful_request (0.05s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.31s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.38s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 client_test.go:960: ts.URL: http://127.0.0.1:33959 client_test.go:961: targetURL.Host: 127.0.0.1:33959 client_test.go:989: with leading `/` on request & with trailing `/` on host url resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestHostURLForGH318AndGH407 (0.00s) === RUN TestPostRedirectWithBody client_test.go:1003: ts.URL: http://127.0.0.1:38361 client_test.go:1004: targetURL.Host: 127.0.0.1:38361 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4162075404421822378 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2834827101367471460 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7798749391361952757 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7819237271906883059 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7782152695643195673 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5383407148921738398 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6477221698756320789 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8991466481113183971 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8318589555329202199 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4936740415516990876 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6496331165049923577 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1434941107573775744 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9032286665630145515 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=124754729562768229 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6281208340049097692 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2005583278141772866 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=1211869609968838969 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6510219042321432167 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4797796386749893245 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2649909323724162633 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6299105731310394607 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3524074684155675626 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=281451323324620645 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6016443115549988635 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2821034133011614999 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1158774315229354369 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2785479609007293390 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=177095746582511788 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1921596595474767074 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6352238427112377317 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3511630419209526875 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=564864425114024388 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5797773943216923012 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6614655357947976645 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6096752859732627955 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1985453368362147763 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2354629576070053967 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4379138327185719153 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=180900657097318268 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=115568354410772368 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9194614654210044192 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6156876814129808387 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1033310035745838040 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5883037540678105158 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5628250639151110271 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5717027296223900730 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4872631016514627810 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5426946786528167818 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5030515632140655899 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5768350105750938459 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=798935825149720410 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2111213064167215827 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8150895758473935387 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6056686535731471428 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=7370263594385536335 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=698824166995018976 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5818761272500757827 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=8045263825027453335 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5147525509103301113 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8567003032902182927 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7945633843067563204 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3179309695582719153 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3027088160638925038 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3163737851399711260 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6120484786709590693 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7056532434589238464 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8360266652793011107 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3879771751886222126 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1945891874678047039 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=825026329018754780 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6976025727297324729 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2497087235848898781 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5268389847498711676 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=4400763349739714387 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8920550933654057161 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5253063966085428855 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1377837151805703977 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=316009666174771735 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6578922823309834059 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8718177890196241423 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=848223033226943629 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6304555602411648846 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8759287174903513179 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5603093786816626829 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2296379686012100229 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8529438377050507781 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=343916680334003859 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1635354340565658593 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7172325985549610061 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3483773626372407147 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2322469536079417705 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8924946644492980683 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8963486144596514989 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6499616601517652628 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4875430565178375809 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4031356506309142936 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5215762338105356579 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=8165832203551360645 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5655060001060271354 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=395811012789599134 resty_test.go:247: Content-Type: text/plain; charset=utf-8 --- PASS: TestPostRedirectWithBody (0.42s) === RUN TestUnixSocket --- PASS: TestUnixSocket (0.01s) === RUN TestSetContext resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 10.923872ms resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestSetContext (0.01s) === RUN TestSetContextWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 760.873µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 04 May 2024 23:23:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: 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:43009/": 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:41835/": context canceled --- PASS: TestSetContextCancelRetry (0.02s) === 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:40445/": 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.57s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL === RUN Test_parseRequestURL/apply_client_path_parameters === RUN Test_parseRequestURL/apply_request_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_path_parameters === RUN Test_parseRequestURL/apply_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_raw_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_path_and_raw_path_parameters === RUN Test_parseRequestURL/empty_path_parameter_in_URL === RUN Test_parseRequestURL/not_closed_path_parameter_in_URL === RUN Test_parseRequestURL/extra_path_parameter_in_URL === RUN Test_parseRequestURL/_path_parameter_with_remainder === RUN Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash === RUN Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL === RUN Test_parseRequestURL/request_URL_without_scheme === RUN Test_parseRequestURL/BaseURL_without_scheme === RUN Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme === RUN Test_parseRequestURL/adding_query_parameters_by_client === RUN Test_parseRequestURL/adding_query_parameters_by_request === RUN Test_parseRequestURL/adding_query_parameters_by_client_and_request === RUN Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent === RUN Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values --- PASS: Test_parseRequestURL (0.00s) --- PASS: Test_parseRequestURL/apply_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_and_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/empty_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/not_closed_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/extra_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/_path_parameter_with_remainder (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL (0.00s) --- PASS: Test_parseRequestURL/request_URL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client_and_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values (0.00s) === RUN Test_parseRequestHeader === RUN Test_parseRequestHeader/headers_in_request === RUN Test_parseRequestHeader/headers_in_client === RUN Test_parseRequestHeader/headers_in_client_and_request === RUN Test_parseRequestHeader/no_headers === RUN Test_parseRequestHeader/user_agent === RUN Test_parseRequestHeader/json_content_type --- PASS: Test_parseRequestHeader (0.00s) --- PASS: Test_parseRequestHeader/headers_in_request (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client_and_request (0.00s) --- PASS: Test_parseRequestHeader/no_headers (0.00s) --- PASS: Test_parseRequestHeader/user_agent (0.00s) --- PASS: Test_parseRequestHeader/json_content_type (0.00s) === RUN Test_parseRequestBody === RUN Test_parseRequestBody/empty_body === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/string_body === RUN Test_parseRequestBody/string_body_with_GET_method === RUN Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload === RUN Test_parseRequestBody/string_body_with_HEAD_method === RUN Test_parseRequestBody/string_body_with_OPTIONS_method === RUN Test_parseRequestBody/string_body_with_POST_method === RUN Test_parseRequestBody/string_body_with_PATCH_method === RUN Test_parseRequestBody/string_body_with_PUT_method === RUN Test_parseRequestBody/string_body_with_DELETE_method === RUN Test_parseRequestBody/string_body_with_CONNECT_method === RUN Test_parseRequestBody/string_body_with_TRACE_method === RUN Test_parseRequestBody/string_body_with_BAR_method === RUN Test_parseRequestBody/byte_body === RUN Test_parseRequestBody/io.Reader_body,_no_bodyBuf === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/form_data_by_request === RUN Test_parseRequestBody/form_data_by_client === RUN Test_parseRequestBody/form_data_by_client_and_request === RUN Test_parseRequestBody/json_from_struct === RUN Test_parseRequestBody/json_from_slice === RUN Test_parseRequestBody/json_from_map === RUN Test_parseRequestBody/json_from_map#01 === RUN Test_parseRequestBody/json_from_map#02 === RUN Test_parseRequestBody/xml_from_struct === RUN Test_parseRequestBody/mulipart_form_data middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "baz":"4", "foo":"5", "xyz":"6"} === RUN Test_parseRequestBody/mulipart_fields middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/mulipart_files middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/body_with_errorReader === RUN Test_parseRequestBody/unsupported_type === RUN Test_parseRequestBody/unsupported_xml === RUN Test_parseRequestBody/multipart_fields_with_errorReader === RUN Test_parseRequestBody/multipart_files_with_errorReader === RUN Test_parseRequestBody/multipart_with_file_not_found --- PASS: Test_parseRequestBody (0.01s) --- PASS: Test_parseRequestBody/empty_body (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/string_body (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload (0.00s) --- PASS: Test_parseRequestBody/string_body_with_HEAD_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_OPTIONS_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_POST_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PATCH_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PUT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_DELETE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_CONNECT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_TRACE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_BAR_method (0.00s) --- PASS: Test_parseRequestBody/byte_body (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body,_no_bodyBuf (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_request (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client_and_request (0.00s) --- PASS: Test_parseRequestBody/json_from_struct (0.00s) --- PASS: Test_parseRequestBody/json_from_slice (0.00s) --- PASS: Test_parseRequestBody/json_from_map (0.00s) --- PASS: Test_parseRequestBody/json_from_map#01 (0.00s) --- PASS: Test_parseRequestBody/json_from_map#02 (0.00s) --- PASS: Test_parseRequestBody/xml_from_struct (0.00s) --- PASS: Test_parseRequestBody/mulipart_form_data (0.01s) --- PASS: Test_parseRequestBody/mulipart_fields (0.00s) --- PASS: Test_parseRequestBody/mulipart_files (0.00s) --- PASS: Test_parseRequestBody/body_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/unsupported_type (0.00s) --- PASS: Test_parseRequestBody/unsupported_xml (0.00s) --- PASS: Test_parseRequestBody/multipart_fields_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_files_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_with_file_not_found (0.00s) === RUN TestGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.342748ms resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGet (0.00s) === RUN TestGetGH524 resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/groups/developers/details --- PASS: TestGetGH524 (0.00s) === RUN TestRateLimiter resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRateLimiter (0.82s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.248482ms resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === RUN TestGetClientParamRequestParam resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 825.667µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.01s) === RUN TestGetRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 14.683272ms resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.02s) === RUN TestGet400Error resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 28.070007ms resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestGet400Error (0.03s) === RUN TestPostJSONStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 941.069µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:158: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 295.233µs resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) === RUN TestPostJSONBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 663.267µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) === RUN TestPostJSONBytesIoReader resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 24.70185ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.03s) === RUN TestPostJSONStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:272: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 809.505µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=rpc resty_test.go:247: Content-Type: application/json-rpc request_test.go:294: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 680.287µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) === RUN TestPostJSONStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:319: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 605.852µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === RUN TestPostJSONErrorRFC7807 resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=problem resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:341: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 4.580973ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.01s) === RUN TestPostJSONMapSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:361: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 870.714µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:382: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 739.079µs resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 resty_test.go:244: Method: POST resty_test.go:245: Path: /login-json-html resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:436: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.326992ms resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1714864994 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 806.688µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml resty_test.go:183: Error: XML syntax error on line 1: element closed by resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 592.506µs resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1714864994 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.580582ms resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.01s) === RUN TestPostXMLStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:536: Result Success: &{"" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.671858ms resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.01s) === RUN TestPostXMLStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:557: Result Error: &{"" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 1.165866ms resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:575: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.751495ms resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.02s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:608: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 26.936045ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.03s) === RUN TestRequestInsecureBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:633: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 705.667µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } request_test.go:635: captured request-level logs: 2024/05/04 23:23:14.520514 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS --- PASS: TestRequestInsecureBasicAuth (0.00s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:653: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 11.584146ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.01s) === RUN TestRequestAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthToken (0.01s) === RUN TestRequestAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthScheme (0.06s) === RUN TestRequestDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:704: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.145998ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuth (0.00s) === RUN TestRequestDigestAuthFail resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:721: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 6.022496ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestDigestAuthFail (0.01s) === RUN TestRequestDigestAuthWithBody resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html request_test.go:740: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 6.548901ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuthWithBody (0.01s) === RUN TestFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormData (0.00s) === RUN TestMultiValueFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /search resty_test.go:322: Content-Type: resty_test.go:337: Received Form Encoded values: search_criteria=book&search_criteria=glass&search_criteria=pencil --- PASS: TestMultiValueFormData (0.00s) === RUN TestFormDataDisableWarn resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormDataDisableWarn (0.00s) === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=5ba6fa3025c79da702c2df8d83c6e9feadcd91dd91097b91e6aa56fc96ec resty_test.go:345: FirstName: resty_test.go:346: LastName: resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1714864994.png --- PASS: TestMultiPartUploadFile (0.24s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload resty_test.go:387: Content-Type: multipart/form-data; boundary=3a65af75d518195db8e150d4725f6b6c17904fc4d548ee8a3b40337e9221 resty_test.go:393: FirstName: resty_test.go:394: LastName: resty_test.go:401: Name: test-img.png resty_test.go:402: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:406: Write name: test-img-1714864995.png --- PASS: TestMultiPartUploadFileViaPatch (0.17s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=996db46631dbe04d39aaba366a42b0e9ba9457128f4662c31921b90ef2bd resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1714864995.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1714864995.txt --- PASS: TestMultiPartUploadFiles (0.32s) === RUN TestMultiPartIoReaderFiles request_test.go:904: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=495331e886d3ca9e21dd50dec82ba212268d949049d4bffdec99f69739fd resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1714864995.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1714864995.txt --- PASS: TestMultiPartIoReaderFiles (0.21s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: multipart/form-data; boundary=b186b689f989d0ea89ff1ddeb1b2c0455a34519419e06db64be9334de3d8 resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.00s) === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=4b77be209d451e7fd24878170aa5628ad4c1cdffd1f0d7e59d3a8fdbbc61 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1714864995.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=93fe196d439812ba4b69452948b98c3d3d37463aef1c082437cbe73ac894 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file-1.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1-1714864995.json resty_test.go:353: Name: upload-file-2.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-2-1714864995.json --- PASS: TestMultiPartMultipartFields (0.01s) === RUN TestGetWithCookie resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.608455ms resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:15 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === RUN TestGetWithCookies resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 232.498µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:15 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === RUN TestPutPlainString resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestPutPlainString (0.01s) === RUN TestPutJSONString resty_test.go:536: Method: PUT resty_test.go:537: Path: /json --- PASS: TestPutJSONString (0.01s) === RUN TestPutXMLString resty_test.go:536: Method: PUT resty_test.go:537: Path: /xml --- PASS: TestPutXMLString (0.00s) === RUN TestOnBeforeMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestOnBeforeMiddleware (0.00s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 --- PASS: TestHTTPAutoRedirectUpTo10 (0.01s) === RUN TestHostCheckRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-5 --- PASS: TestHostCheckRedirectPolicy (0.01s) === RUN TestHeadMethod resty_test.go:44: Method: HEAD resty_test.go:45: Path: / --- PASS: TestHeadMethod (0.00s) === RUN TestOptionsMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options --- PASS: TestOptionsMethod (0.00s) === RUN TestPatchMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch --- PASS: TestPatchMethod (0.00s) === RUN TestSendMethod === RUN TestSendMethod/send-get === NAME TestSendMethod resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test === RUN TestSendMethod/send-options === NAME TestSendMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options === RUN TestSendMethod/send-patch === NAME TestSendMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch === RUN TestSendMethod/send-put === NAME TestSendMethod resty_test.go:536: Method: PUT resty_test.go:537: 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:320: Method: PUT resty_test.go:321: Path: /raw-upload resty_test.go:322: Content-Type: image/png --- PASS: TestRawFileUploadByBody (0.55s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient --- PASS: TestGetClient (0.00s) === RUN TestIncorrectURL --- PASS: TestIncorrectURL (0.00s) === RUN TestDetectContentTypeForPointer resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1392: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.868852ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1420: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 1.147312ms resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.01s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1445: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 854.625µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) === RUN TestDetectContentTypeForSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1467: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 736.29µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === RUN TestMultiParamsQueryString resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestMultiParamsQueryString (0.00s) === RUN TestSetQueryStringTypical resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestSetQueryStringTypical (0.01s) === RUN TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestSetHeaderMultipleValue --- PASS: TestSetHeaderMultipleValue (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.06s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputPathDirNotExists (0.05s) === RUN TestOutputFileAbsPath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.08s) === RUN TestContextInternal resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestContextInternal (0.00s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRequestDoNotParseResponse (0.00s) === RUN TestRequestExpectContentTypeTest resty_test.go:536: Method: GET resty_test.go:537: Path: /json-no-set --- PASS: TestRequestExpectContentTypeTest (0.01s) === RUN TestGetPathParamAndPathParams resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/details resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 751.143µs resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) === RUN TestReportMethodSupportsPayload resty_test.go:536: Method: REPORT resty_test.go:537: Path: /report --- PASS: TestReportMethodSupportsPayload (0.00s) === RUN TestRequestQueryStringOrder resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 15.255362ms resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:16 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.02s) === RUN TestRequestOverridesClientAuthorizationHeader resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestRequestOverridesClientAuthorizationHeader (0.04s) === RUN TestRequestFileUploadAsReader resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png --- PASS: TestRequestFileUploadAsReader (0.51s) === RUN TestHostHeaderOverride resty_test.go:44: Method: GET resty_test.go:45: Path: /host-header resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 4.747272ms resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.01s) === RUN TestNotFoundWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-with-error resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 651.573µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} --- PASS: TestNotFoundWithError (0.00s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error 2024/05/04 23:23:17.006298 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 577.743µs resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestNotFoundWithoutError (0.00s) === RUN TestPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 463.234µs resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users%2Fdevelopers/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.01s) === RUN TestRawPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 3.230623ms resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users/developers/https://example.com --- PASS: TestRawPathParamURLInput (0.00s) === RUN TestTraceInfo resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfo (0.00s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.01s) === RUN TestTraceInfoOnTimeout --- PASS: TestTraceInfoOnTimeout (0.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=78d3158a3812765000be01ce40f09c9eb5354c10b6032165e860dc413f8f resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=775608282c46bd0500a8744c3f5ef772642e05806737a21a859025c5c230 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: C resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: text/plain; charset=utf-8 resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/json resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: --- PASS: TestDebugLoggerRequestBodyTooLarge (0.18s) === RUN TestPostMapTemporaryRedirect resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestPostMapTemporaryRedirect (0.00s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.23s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.23s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff --- PASS: TestOnRetryBackoff (0.00s) === RUN TestConditionalGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 843.286µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === RUN TestConditionalGetDefaultClient resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 401.813µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 04 May 2024 23:23:17 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === RUN TestClientRetryGet resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryGet (15.61s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWait (29.73s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxInfinite (15.06s) === RUN TestClientRetryWaitMaxMinimum resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxMinimum (0.10s) === RUN TestClientRetryWaitCallbackError resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.00s) === RUN TestClientRetryWaitCallback resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:395: Client has slept 5.022144 seconds before retry 1 retry_test.go:395: Client has slept 5.027439 seconds before retry 2 retry_test.go:395: Client has slept 5.024820 seconds before retry 3 retry_test.go:395: Client has slept 5.024011 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (25.10s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:443: Client has slept 3.010787 seconds before retry 1 retry_test.go:443: Client has slept 3.012213 seconds before retry 2 retry_test.go:443: Client has slept 3.012019 seconds before retry 3 retry_test.go:443: Client has slept 3.011693 seconds before retry 4 retry_test.go:443: Client has slept 3.016632 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (15.07s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:491: Client has slept 3.014988 seconds before retry 1 retry_test.go:491: Client has slept 3.011789 seconds before retry 2 retry_test.go:491: Client has slept 3.011920 seconds before retry 3 retry_test.go:491: Client has slept 3.011985 seconds before retry 4 retry_test.go:491: Client has slept 3.015992 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (15.07s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackSwitchToDefault (10.58s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryCancel (2.01s) === RUN TestClientRetryPost resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: 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:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: 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:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: 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:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: 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:619: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (0.50s) === RUN TestClientRetryErrorRecover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.10s) === RUN TestClientRetryCount resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryCount (9.12s) === RUN TestClientErrorRetry resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientErrorRetry (0.11s) === RUN TestClientRetryHook resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryHook (12.24s) === RUN TestResetMultipartReaderSeekStartError resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=a4c631038ba07b92c421049dda443085546cef3f8da805a2a8c4a4121975 --- PASS: TestResetMultipartReaderSeekStartError (0.00s) === RUN TestResetMultipartReaders resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=709db4f1779fcda1f9e7cd2132944330895eb821b1d46add794e4efef4c9 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=dcb7869bec7ad58d242aa54d883240792f7258e97302d899fbbe444ee7f6 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=e03a92f751fd49074b950be90a3b0b95bf74273ddf8bbedf4d9cfbe86155 --- PASS: TestResetMultipartReaders (0.28s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) === RUN TestWriteMultipartFormFileReaderEmpty --- PASS: TestWriteMultipartFormFileReaderEmpty (0.00s) === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS ok github.com/go-resty/resty 171.896s make[1]: Leaving directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' 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.10.0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-go-resty-resty_2.10.0-1_amd64.buildinfo dpkg-genchanges --build=binary -O../golang-github-go-resty-resty_2.10.0-1_amd64.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/3004939/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/3004939/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/3004939 and its subdirectories I: Current time: Sun May 5 13:26:10 +14 2024 I: pbuilder-time-stamp: 1714865170