Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-go-macaron-macaron/golang-github-go-macaron-macaron_1.2.2-3_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-go-macaron-macaron-1.2.2-3paimzhgo/golang-github-go-macaron-macaron_1.2.2-3_all.buildinfo Get source package info: golang-github-go-macaron-macaron=1.2.2-3 Source URL: http://snapshot.notset.fr/mr/package/golang-github-go-macaron-macaron/1.2.2-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.49 bash=5.1-2+b1 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.76 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.11.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-1 golang-1.15-src=1.15.9-1 golang-github-go-macaron-inject-dev=0.0~git20160627.0.d8a0b86-3 golang-github-jacobsa-oglematchers-dev=0.0~git20150320-3 golang-github-jtolds-gls-dev=4.20.0-2 golang-github-smartystreets-assertions-dev=1.10.1+ds-1 golang-github-smartystreets-goconvey-dev=1.6.4+dfsg-1 golang-github-unknwon-com-dev=1+git20170819.7677a1d-1 golang-github-yuin-goldmark-dev=1.3.2-1 golang-go=2:1.15~1 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-mod-dev=0.4.1-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-2 golang-golang-x-sync-dev=0.0~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-golang-x-tools-dev=1:0.1.0+ds-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-gopkg-ini.v1-dev=1.57.0-1 golang-src=2:1.15~1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-11 libc-dev-bin=2.31-11 libc6=2.31-11 libc6-dev=2.31-11 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-1 libcrypt-dev=1:4.4.18-2 libcrypt1=1:4.4.18-2 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.257 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.7.1 libelf1=0.183-3 libfile-stripnondeterminism-perl=1.11.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-3 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-7 libpam-modules-bin=1.4.0-7 libpam-runtime=1.4.0-7 libpam0g=1.4.0-7 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-3 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-3 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-3 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.26-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-3 perl-base=5.32.1-3 perl-modules-5.32=5.32.1-3 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-6 tar=1.34+dfsg-1 util-linux=2.36.1-7 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210407T082808Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d golang-github-go-macaron-macaron=1.2.2-3 && mkdir -p /build/golang-github-go-macaron-macaron-YWidfp && dpkg-source --no-check -x /*.dsc /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2 && chown -R builduser:builduser /build/golang-github-go-macaron-macaron-YWidfp" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1617789050" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-go-macaron-macaron-YWidfp /tmp/golang-github-go-macaron-macaron-1.2.2-3paimzhgo bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210407T082808Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.52X_YzhKba as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.52X_YzhKba Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210407T082808Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210407T082808Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (824 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4663 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-11) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210407T082808Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.52X_YzhKba Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210407T082808Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 28s (805 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.52X_YzhKba I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-go-macaron-macaron=1.2.2-3 && mkdir -p /build/golang-github-go-macaron-macaron-YWidfp && dpkg-source --no-check -x /*.dsc /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2 && chown -R builduser:builduser /build/golang-github-go-macaron-macaron-YWidfp"' exec /tmp/mmdebstrap.52X_YzhKba Reading package lists... NOTICE: 'golang-github-go-macaron-macaron' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-go-macaron-macaron.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-go-macaron-macaron.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 128 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-macaron 1.2.2-3 (dsc) [2484 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-macaron 1.2.2-3 (tar) [122 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-macaron 1.2.2-3 (diff) [2788 B] Fetched 128 kB in 0s (341 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-go-macaron-macaron_1.2.2-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-go-macaron-macaron in /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2 dpkg-source: info: unpacking golang-github-go-macaron-macaron_1.2.2.orig.tar.xz dpkg-source: info: unpacking golang-github-go-macaron-macaron_1.2.2-3.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1617789050" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.52X_YzhKba dpkg-buildpackage: info: source package golang-github-go-macaron-macaron dpkg-buildpackage: info: source version 1.2.2-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Michael Lustfield dpkg-source --before-build . fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build-indep dh build-indep --buildsystem=golang --with=golang dh_update_autotools_config -i -O--buildsystem=golang dh_autoreconf -i -O--buildsystem=golang dh_auto_configure -i -O--buildsystem=golang dh_auto_build -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 gopkg.in/macaron.v1 internal/unsafeheader runtime/internal/atomic internal/cpu runtime/internal/sys internal/race runtime/internal/math sync/atomic unicode unicode/utf8 internal/bytealg math/bits internal/testlog math encoding unicode/utf16 crypto/internal/subtle runtime crypto/subtle container/list vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle runtime/cgo internal/reflectlite sync internal/singleflight math/rand errors sort io strconv internal/oserror syscall vendor/golang.org/x/net/dns/dnsmessage bytes strings hash reflect bufio crypto internal/syscall/unix time internal/syscall/execenv html hash/crc32 crypto/internal/randutil crypto/hmac crypto/rc4 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform path internal/poll context regexp/syntax os golang.org/x/crypto/pbkdf2 internal/fmtsort encoding/binary encoding/base64 crypto/sha256 crypto/cipher fmt path/filepath crypto/aes crypto/des io/ioutil encoding/hex encoding/json encoding/xml math/big compress/flate compress/gzip crypto/sha512 crypto/ed25519/internal/edwards25519 crypto/md5 crypto/rand crypto/elliptic encoding/asn1 crypto/ed25519 crypto/rsa crypto/sha1 crypto/dsa encoding/pem vendor/golang.org/x/crypto/cryptobyte net crypto/x509/pkix net/url vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 crypto/ecdsa vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 log vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal os/exec regexp vendor/golang.org/x/net/idna github.com/go-macaron/inject text/template/parse gopkg.in/ini.v1 text/template html/template net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/Unknwon/com gopkg.in/macaron.v1 debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2' dh_auto_test cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 gopkg.in/macaron.v1 === RUN Test_Context Do advanced encapsulation operations Get request body ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔✔[Macaron] 2021-10-19 20:18:51: Completed GET 0 in 289.43µs ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔✔[Macaron] 2021-10-19 20:18:51: Completed GET 0 in 141.257µs ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔✔[Macaron] 2021-10-19 20:18:51: Completed GET 0 in 94.697µs ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔✔[Macaron] 2021-10-19 20:18:51: Completed GET 0 in 123.684µs Get remote IP address ✔[Macaron] 2021-10-19 20:18:51: Started GET for 127.0.0.1 [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 86.69µs ✔ Render HTML Normal HTML ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 304 Not Modified in 1.01291ms ✔ HTML template set ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 413.824µs ✔ With layout ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 972.557µs ✔ Parse from and query ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 88.858µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 62.438µs ✔ URL parameter ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 57.602µs ✔ Get file ✔[Macaron] 2021-10-19 20:18:51: Started POST for [Macaron] 2021-10-19 20:18:51: Completed POST 0 in 23.968µs Set and get cookie ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔[Macaron] 2021-10-19 20:18:51: Completed GET 0 in 88.176µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔✔✔[Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 128.657µs ✔ Set and get secure cookie ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 0 in 1.696687ms ✔[Macaron] 2021-10-19 20:18:51: Started GET for ✔[Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 2.563212ms ✔ Serve files ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 145.263µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 92.827µs ✔ Serve file content ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 145.725µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 86.483µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 500 Internal Server Error in 89.096µs ✔✔ Serve content ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 59.779µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 47.158µs ✔ 54 total assertions --- PASS: Test_Context (0.33s) === RUN Test_Context_Render Invalid render ✔✔ 56 total assertions --- PASS: Test_Context_Render (0.00s) === RUN Test_Context_Redirect Context with default redirect ✔✔✔ 59 total assertions Context with custom redirect ✔✔✔ 62 total assertions --- PASS: Test_Context_Redirect (0.00s) === RUN Test_Logger Global logger ✔✔✔ 65 total assertions Color console output ✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 200 OK in 56.691µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 201 Created in 63.483µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 202 Accepted in 57.205µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 301 Moved Permanently in 42.132µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 302 Found in 36.938µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 304 Not Modified in 37.325µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 401 Unauthorized in 47.561µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 403 Forbidden in 74.364µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 404 Not Found in 62.621µs ✔✔[Macaron] 2021-10-19 20:18:51: Started GET for [Macaron] 2021-10-19 20:18:51: Completed GET 500 Internal Server Error in 46.179µs ✔ 85 total assertions --- PASS: Test_Logger (0.00s) === RUN Test_Version Get version ✔ 86 total assertions --- PASS: Test_Version (0.00s) === RUN Test_New Initialize a new instance ✔ 87 total assertions Just test that Run doesn't bomb [Macaron] listening on 0.0.0.0:4000 (development) 87 total assertions [Macaron] listening on 0.0.0.0:4002 (development) [Macaron] listening on 0.0.0.0:4001 (development) [Macaron] listening on 0.0.0.0:4003 (development) --- PASS: Test_New (1.00s) === RUN Test_Macaron_Before Register before handlers ✔ 88 total assertions --- PASS: Test_Macaron_Before (0.00s) === RUN Test_Macaron_ServeHTTP Serve HTTP requests ✔✔✔ 91 total assertions --- PASS: Test_Macaron_ServeHTTP (0.00s) === RUN Test_Macaron_Handlers Add custom handlers Add not callable function ✔✔✔✔ 95 total assertions --- PASS: Test_Macaron_Handlers (0.00s) === RUN Test_Macaron_EarlyWrite Write early content to response ✔✔✔ 98 total assertions --- PASS: Test_Macaron_EarlyWrite (0.00s) === RUN Test_Macaron_Written Written sign ✔✔ 100 total assertions --- PASS: Test_Macaron_Written (0.00s) === RUN Test_Macaron_Basic_NoRace Make sure no race between requests 100 total assertions --- PASS: Test_Macaron_Basic_NoRace (0.00s) === RUN Test_SetENV Get and save environment variable ✔✔ 102 total assertions --- PASS: Test_SetENV (0.00s) === RUN Test_Config Set and get configuration object ✔✔✔ 105 total assertions --- PASS: Test_Config (0.00s) === RUN Test_Recovery Recovery from panic ✔✔✔✔ 109 total assertions Revocery panic to another response writer ✔[Macaron] PANIC: here is a panic! /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/recovery_test.go:62 (0x7fd698) Test_Recovery.func2.1: panic("here is a panic!") /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/context.go:79 (0x7d78d2) ContextInvoker.Invoke: invoke(params[0].(*Context)) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/go-macaron/inject/inject.go:157 (0x782f14) (*injector).fastInvoke: return f.Invoke(in) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/go-macaron/inject/inject.go:135 (0x782cb9) (*injector).Invoke: return inj.fastInvoke(v, t, t.NumIn()) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/context.go:121 (0x7d7a5c) (*Context).run: vals, err := c.Invoke(c.handler()) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/context.go:112 (0x7ef8a5) (*Context).Next: c.run() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/recovery.go:161 (0x7ef898) Recovery.func1: c.Next() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/logger.go:40 (0x7db5d7) LoggerInvoker.Invoke: invoke(params[0].(*Context), params[1].(*log.Logger)) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/go-macaron/inject/inject.go:157 (0x782f14) (*injector).fastInvoke: return f.Invoke(in) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/go-macaron/inject/inject.go:135 (0x782cb9) (*injector).Invoke: return inj.fastInvoke(v, t, t.NumIn()) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/context.go:121 (0x7d7a5c) (*Context).run: vals, err := c.Invoke(c.handler()) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/router.go:187 (0x7f0af0) (*Router).Handle.func1: c.run() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/router.go:296 (0x7e45a8) (*Router).ServeHTTP: h(rw, req, p) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/macaron.go:220 (0x7dcced) (*Macaron).ServeHTTP: m.Router.ServeHTTP(rw, req) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/recovery_test.go:68 (0x7fda8c) Test_Recovery.func2: m.ServeHTTP(resp, req) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/smartystreets/goconvey/convey/discovery.go:80 (0x7d75e3) parseAction.func1: return func(C) { x() }, items[1:] /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/smartystreets/goconvey/convey/context.go:261 (0x7d6304) (*context).conveyInner: f(ctx) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/smartystreets/goconvey/convey/context.go:110 (0x7d726f) rootConvey.func1: ctx.conveyInner(entry.Situation, entry.Func) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 (0x7ceb01) (*ContextManager).SetValues.func1: context_call() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 (0x7cec8d) EnsureGoroutineId.func1: addStackTag(gid, func() { cb(gid) }) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:108 (0x7ce0f0) _m: cb() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:56 (0x7cda94) github_com_jtolds_gls_markS: func github_com_jtolds_gls_markS(tag uint, cb func()) { _m(tag, cb) } /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 (0x7cd53c) addStackTag: github_com_jtolds_gls_markS(tag, context_call) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 (0x7cd4c2) EnsureGoroutineId: addStackTag(gid, func() { cb(gid) }) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 (0x7cd1f2) (*ContextManager).SetValues: EnsureGoroutineId(func(gid uint) { /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/smartystreets/goconvey/convey/context.go:105 (0x7d5350) rootConvey: ctxMgr.SetValues(gls.Values{nodeKey: ctx}, func() { /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/smartystreets/goconvey/convey/doc.go:75 (0x7d6c1d) Convey: rootConvey(items...) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/recovery_test.go:53 (0x7eaeb0) Test_Recovery: Convey("Revocery panic to another response writer", t, func() { /usr/lib/go-1.15/src/testing/testing.go:1123 (0x51b42e) tRunner: fn(t) /usr/lib/go-1.15/src/runtime/asm_amd64.s:1374 (0x471000) goexit: BYTE $0x90 // NOP ✔✔✔ 113 total assertions --- PASS: Test_Recovery (0.16s) === RUN Test_Render_JSON Render JSON ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 196.098µs ✔✔✔ 117 total assertions Render JSON with prefix ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 55.805µs ✔✔✔ 121 total assertions Render Indented JSON ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 57.028µs ✔✔✔ 125 total assertions Render JSON and return string ✔[Macaron] 2021-10-19 20:18:52: Started GET for ✔✔[Macaron] 2021-10-19 20:18:52: Completed GET 0 in 149.47µs 128 total assertions Render with charset JSON ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 47.289µs ✔✔✔ 132 total assertions --- PASS: Test_Render_JSON (0.00s) === RUN Test_Render_XML Render XML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 171.943µs ✔✔✔ 136 total assertions Render XML with prefix ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 124.146µs ✔✔✔ 140 total assertions Render Indented XML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 300 Multiple Choices in 131.524µs ✔✔✔ 144 total assertions --- PASS: Test_Render_XML (0.00s) === RUN Test_Render_HTML Render HTML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 1.088444ms ✔✔✔✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 354.954µs ✔✔✔ Change render templates path ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 539.028µs ✔✔✔ 156 total assertions Render HTML and return string ✔[Macaron] 2021-10-19 20:18:52: Started GET for ✔✔[Macaron] 2021-10-19 20:18:52: Completed GET 0 in 1.024078ms ✔[Macaron] 2021-10-19 20:18:52: Started GET for ✔✔[Macaron] 2021-10-19 20:18:52: Completed GET 0 in 421.575µs 162 total assertions Render with nested HTML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 651.651µs ✔✔✔ 166 total assertions Render bad HTML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 500 Internal Server Error in 608.524µs ✔✔ 169 total assertions Invalid template set Empty template set argument ✔ Bad template set path ✔ 171 total assertions --- PASS: Test_Render_HTML (0.31s) === RUN Test_Render_XHTML Render XHTML ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 1.182616ms ✔✔✔ 175 total assertions --- PASS: Test_Render_XHTML (0.00s) === RUN Test_Render_Extensions Render with extensions ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 909.473µs ✔✔✔ 179 total assertions --- PASS: Test_Render_Extensions (0.00s) === RUN Test_Render_Funcs Render with functions ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 302.164µs ✔ 181 total assertions --- PASS: Test_Render_Funcs (0.00s) === RUN Test_Render_Layout Render with layout ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 84.82945ms ✔ 183 total assertions Render with current layout ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 723.745µs ✔ 185 total assertions Render with override layout ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 700.057µs ✔✔✔ 189 total assertions --- PASS: Test_Render_Layout (0.09s) === RUN Test_Render_Delimiters Render with delimiters ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 643.856µs ✔✔✔ 193 total assertions --- PASS: Test_Render_Delimiters (0.00s) === RUN Test_Render_BinaryData Render binary data ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 45.762µs ✔✔✔✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 44.449µs ✔✔✔ 201 total assertions Render binary data with mime type ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 39.564µs ✔✔✔ 205 total assertions --- PASS: Test_Render_BinaryData (0.00s) === RUN Test_Render_Status Render with status 204 ✔ 206 total assertions Render with status 404 ✔ 207 total assertions Render with status 500 ✔ 208 total assertions --- PASS: Test_Render_Status (0.00s) === RUN Test_Render_NoRace Make sure render has no race [Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 773.17µs [Macaron] 2021-10-19 20:18:52: Completed GET 200 OK in 184.406832ms 208 total assertions --- PASS: Test_Render_NoRace (0.19s) === RUN Test_Render_Symlink Render can follow symlinks ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:52: Completed GET 500 Internal Server Error in 163.418µs ✘ Failures: * /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/render_test.go Line 590: Expected: '200' Actual: '500' (Should be equal) Diff: '2500' goroutine 588 [running]: gopkg.in/macaron%2ev1.Test_Render_Symlink.func1() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/render_test.go:590 +0x346 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x462 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x2e github.com/jtolds/gls._m(0x0, 0xc0001204a0) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:108 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc0001204a0) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:56 +0x35 github.com/jtolds/gls.addStackTag(...) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 github.com/jtolds/gls.EnsureGoroutineId(0xc000317770) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xfd github.com/jtolds/gls.(*ContextManager).SetValues(0xc0000a5040, 0xc000317710, 0xc000120460) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x153 gopkg.in/macaron%2ev1.Test_Render_Symlink(0xc000001b00) /build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2/obj-x86_64-linux-gnu/src/gopkg.in/macaron.v1/render_test.go:577 +0x99 testing.tRunner(0xc000001b00, 0x90d7a8) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1168 +0x2b3 210 total assertions --- FAIL: Test_Render_Symlink (0.00s) === RUN Test_Render_AppendDirectories Render with additional templates Request normal template ✔[Macaron] 2021-10-19 20:18:52: Started GET for [Macaron] 2021-10-19 20:18:53: Completed GET 200 OK in 797.35725ms ✔✔ Request overwritten template ✔[Macaron] 2021-10-19 20:18:53: Started GET for [Macaron] 2021-10-19 20:18:53: Completed GET 200 OK in 1.0356ms ✔✔ 216 total assertions --- PASS: Test_Render_AppendDirectories (0.80s) === RUN Test_GetExt Get extension ✔✔✔ 219 total assertions --- PASS: Test_GetExt (0.00s) === RUN Test_dummyRender Use dummy render to gracefully handle panic ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 253 total assertions --- PASS: Test_dummyRender (0.00s) === RUN Test_ResponseWriter Write string to response writer ✔✔✔✔✔ 258 total assertions Write strings to response writer ✔✔✔✔✔ 263 total assertions Write header to response writer ✔✔✔✔ 267 total assertions Write before response write ✔✔✔✔✔ 272 total assertions Response writer with Hijack ✔✔✔ 275 total assertions Response writer with bad Hijack ✔✔ 277 total assertions Response writer with close notify ✔ 278 total assertions Response writer with flusher ✔ 279 total assertions Response writer with flusher handler ✔[Macaron] 2021-10-19 20:18:53: Started GET for ✔[Macaron] 2021-10-19 20:18:53: Completed GET 200 OK in 20.430796ms ✔✔ 283 total assertions --- PASS: Test_ResponseWriter (0.02s) === RUN Test_Return_Handler Return with status and body ✔✔✔ 286 total assertions Return with status and body-FastInvoke ✔✔✔ 289 total assertions Return with error ✔✔✔ Return with nil error ✔✔✔ 295 total assertions Return with pointer ✔✔ 297 total assertions Return with byte slice ✔✔ 299 total assertions --- PASS: Test_Return_Handler (0.27s) === RUN Test_Router_Handle Register all HTTP methods routes ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 317 total assertions Register with or without auto head Without auto head ✔✔ With auto head ✔✔ 321 total assertions Register all HTTP methods routes with combo ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 336 total assertions Register duplicated routes 336 total assertions Register invalid HTTP method ✔ 337 total assertions --- PASS: Test_Router_Handle (0.00s) === RUN Test_Router_FastInvoker_Handle Register all HTTP methods routes ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 355 total assertions Register with or without auto head Without auto head ✔✔ With auto head ✔✔ 359 total assertions Register all HTTP methods routes with combo ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 374 total assertions Register duplicated routes 374 total assertions Register invalid HTTP method ✔ 375 total assertions --- PASS: Test_Router_FastInvoker_Handle (0.00s) === RUN Test_Route_Name Set route name ✔ 376 total assertions Set combo router name ✔ 377 total assertions --- PASS: Test_Route_Name (0.00s) === RUN Test_Router_URLFor Build URL path ✔✔✔ Number of pair values does not match ✔✔✔✔ Empty pair value ✔✔✔✔ Empty route name ✔✔✔✔ Invalid route name ✔ 393 total assertions --- PASS: Test_Router_URLFor (0.01s) === RUN Test_Router_Group Register route group ✔✔ 395 total assertions --- PASS: Test_Router_Group (0.00s) === RUN Test_Router_NotFound Custom not found handler ✔✔ 397 total assertions --- PASS: Test_Router_NotFound (0.00s) === RUN Test_Router_InternalServerError Custom internal server error handler ✔✔✔ 400 total assertions --- PASS: Test_Router_InternalServerError (0.00s) === RUN Test_Router_splat Register router with glob ✔✔ 402 total assertions --- PASS: Test_Router_splat (0.00s) === RUN Test_Static Serve static files ✔[Macaron] [Static] Serving /macaron.go ✔✔✔ Change static path ✔✔[Macaron] [Static] Serving /hello.tmpl ✔✔✔ 411 total assertions Serve static files with local path ✔✔[Macaron] [Static] Serving /static_content882650869 ✔✔✔ 416 total assertions Serve static files with head ✔[Macaron] [Static] Serving /macaron.go ✔✔ 419 total assertions Serve static files as post ✔✔ 421 total assertions Serve static files with bad directory ✔[Macaron] 2021-10-19 20:18:54: Started GET for [Macaron] 2021-10-19 20:18:54: Completed GET 404 Not Found in 55.212µs ✔ 423 total assertions --- PASS: Test_Static (0.00s) === RUN Test_Static_Options Serve static files with options logging ✔✔✔✔✔ 428 total assertions Serve static files with options serve index ✔✔✔ 431 total assertions Serve static files with options prefix ✔✔✔ 434 total assertions Serve static files with options expires ✔✔ 436 total assertions Serve static files with options ETag ✔✔ 438 total assertions --- PASS: Test_Static_Options (0.00s) === RUN Test_Static_Redirect Serve static files with redirect ✔✔✔ 441 total assertions --- PASS: Test_Static_Redirect (0.00s) === RUN Test_Statics Serve multiple static routers Register empty directory ✔ Serve normally ✔✔✔✔✔✔ 448 total assertions --- PASS: Test_Statics (0.00s) === RUN Test_getWildcards Get wildcards ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 466 total assertions --- PASS: Test_getWildcards (0.00s) === RUN Test_getRawPattern Get raw pattern ✔✔✔✔✔✔✔✔✔✔ 476 total assertions --- PASS: Test_getRawPattern (0.00s) === RUN Test_Tree_Match Match route in tree Match static routes ✔✔✔✔✔✔✔✔✔✔ Match optional routes ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Match with regexp ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Match with path and extension ✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Match all ✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Complex tests ✔✔✔ 565 total assertions --- PASS: Test_Tree_Match (0.00s) FAIL FAIL gopkg.in/macaron.v1 3.288s FAIL dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 gopkg.in/macaron.v1 returned exit code 1 make[1]: [debian/rules:16: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang dh_testroot -i -O--buildsystem=golang dh_prep -i -O--buildsystem=golang dh_auto_install -i -O--buildsystem=golang debian/rules override_dh_install make[1]: Entering directory '/build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2' dh_install rm -f -v debian/*/usr/share/gocode/src/gopkg.in/*/*_test.go removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/context_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/logger_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/macaron_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/recovery_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/render_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/response_writer_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/return_handler_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/router_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/static_test.go' removed 'debian/golang-gopkg-macaron.v1-dev/usr/share/gocode/src/gopkg.in/macaron.v1/tree_test.go' make[1]: Leaving directory '/build/golang-github-go-macaron-macaron-YWidfp/golang-github-go-macaron-macaron-1.2.2' dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -i -O--buildsystem=golang dh_installinit -i -O--buildsystem=golang dh_installsystemduser -i -O--buildsystem=golang dh_perl -i -O--buildsystem=golang dh_link -i -O--buildsystem=golang dh_strip_nondeterminism -i -O--buildsystem=golang dh_compress -i -O--buildsystem=golang dh_fixperms -i -O--buildsystem=golang dh_missing -i -O--buildsystem=golang dh_installdeb -i -O--buildsystem=golang dh_golang -i -O--buildsystem=golang dh_gencontrol -i -O--buildsystem=golang dh_md5sums -i -O--buildsystem=golang dh_builddeb -i -O--buildsystem=golang dpkg-deb: building package 'golang-gopkg-macaron.v1-dev' in '../golang-gopkg-macaron.v1-dev_1.2.2-3_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-go-macaron-macaron_1.2.2-3_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-github-go-macaron-macaron-YWidfp /tmp/golang-github-go-macaron-macaron-1.2.2-3paimzhgo I: cleaning package lists and apt cache... W: deleting files in /tmp: static_content882650869 I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.52X_YzhKba... I: success in 1071.0740 seconds md5: golang-gopkg-macaron.v1-dev_1.2.2-3_all.deb: OK sha1: golang-gopkg-macaron.v1-dev_1.2.2-3_all.deb: OK sha256: golang-gopkg-macaron.v1-dev_1.2.2-3_all.deb: OK Checksums: OK