Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-go-macaron-session/golang-github-go-macaron-session_0.0~git20151014.0.66031fc-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-go-macaron-session-0.0~git20151014.0.66031fc-2jyo65q_n/golang-github-go-macaron-session_0.0~git20151014.0.66031fc-2_all.buildinfo Get source package info: golang-github-go-macaron-session=0.0~git20151014.0.66031fc-2 Source URL: http://snapshot.notset.fr/mr/package/golang-github-go-macaron-session/0.0~git20151014.0.66031fc-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.15.1-3 autopoint=0.19.8.1-4 autotools-dev=20171216.1 base-files=10.1 base-passwd=3.5.44 bash=4.4-5 binutils=2.29.90.20180122-1 binutils-common=2.29.90.20180122-1 binutils-x86-64-linux-gnu=2.29.90.20180122-1 bsdmainutils=11.1.2 bsdutils=1:2.30.2-0.3 build-essential=12.4 bzip2=1.0.6-8.1 coreutils=8.28-1 cpp=4:7.2.0-1d1 cpp-7=7.2.0-20 dash=0.5.8-2.9 debconf=1.5.65 debhelper=11.1.3 debianutils=4.8.4 dh-autoreconf=16 dh-golang=1.30 dh-strip-nondeterminism=0.040-1 diffutils=1:3.6-1 dpkg=1.19.0.5 dpkg-dev=1.19.0.5 e2fslibs=1.43.8-2 e2fsprogs=1.43.8-2 fdisk=2.30.2-0.3 file=1:5.32-1 findutils=4.6.0+git+20170828-2 g++=4:7.2.0-1d1 g++-7=7.2.0-20 gcc=4:7.2.0-1d1 gcc-7=7.2.0-20 gcc-7-base=7.2.0-20 gettext=0.19.8.1-4 gettext-base=0.19.8.1-4 golang-1.9-go=1.9.2-4 golang-1.9-src=1.9.2-4 golang-check.v1-dev=0.0+git20161208.0.20d25e2-4 golang-github-bradfitz-gomemcache-dev=0.0~git20141109-2 golang-github-go-macaron-inject-dev=0.0~git20160627.0.d8a0b86-2 golang-github-go-sql-driver-mysql-dev=1.3-1 golang-github-jacobsa-oglematchers-dev=0.0~git20150320-2 golang-github-jacobsa-oglemock-dev=0.0~git20150428-4 golang-github-jacobsa-ogletest-dev=0.0~git20150610-7 golang-github-jacobsa-reqtrace-dev=0.0~git20150505-5 golang-github-jtolds-gls-dev=4.2.1-3 golang-github-lib-pq-dev=0.0~git20151007.0.ffe986a-1 golang-github-smartystreets-assertions-dev=1.6.0+dfsg-1 golang-github-smartystreets-goconvey-dev=1.6.1-2 golang-github-unknwon-com-dev=1+git20170819.13.7677a1d-3 golang-go=2:1.9~2 golang-golang-x-crypto-dev=1:0.0~git20170629.0.5ef0053-1 golang-golang-x-net-dev=1:0.0+git20170629.c81e7f2+dfsg-2 golang-golang-x-text-dev=0.0~git20170627.0.6353ef0-1 golang-golang-x-tools-dev=1:0.0~git20170707.0.bce9606b+ds-1 golang-gopkg-bufio.v1-dev=1-1 golang-gopkg-check.v1-dev=0.0+git20161208.0.20d25e2-4 golang-gopkg-ini.v1-dev=1.32.0-1 golang-gopkg-macaron.v1-dev=1.2.2-1 golang-gopkg-redis.v2-dev=2.3.2-1 golang-src=2:1.9~2 golang-x-text-dev=0.0~git20170627.0.6353ef0-1 grep=3.1-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.18+b1 init-system-helpers=1.51 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.60-1 libasan4=7.2.0-20 libatomic1=7.2.0-20 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.8.2-1 libaudit1=1:2.8.2-1 libbinutils=2.29.90.20180122-1 libblkid1=2.30.2-0.3 libbsd0=0.8.7-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.26-5 libc-dev-bin=2.26-5 libc6=2.26-5 libc6-dev=2.26-5 libcap-ng0=0.7.7-3.1+b1 libcc1-0=7.2.0-20 libcilkrts5=7.2.0-20 libcomerr2=1.43.8-2 libcroco3=0.6.12-2 libdb5.3=5.3.28-13.1+b1 libdebconfclient0=0.238 libdpkg-perl=1.19.0.5 libfdisk1=2.30.2-0.3 libffi6=3.2.1-8 libfile-stripnondeterminism-perl=0.040-1 libgcc-7-dev=7.2.0-20 libgcc1=1:7.2.0-20 libgcrypt20=1.8.1-4 libgdbm3=1.8.3-14 libglib2.0-0=2.54.3-2 libgmp10=2:6.1.2+dfsg-2 libgomp1=7.2.0-20 libgpg-error0=1.27-5 libicu57=57.1-8 libisl15=0.18-1 libitm1=7.2.0-20 liblsan0=7.2.0-20 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.3 libmagic-mgc=1:5.32-1 libmagic1=1:5.32-1 libmount1=2.30.2-0.3 libmpc3=1.1.0-1 libmpfr6=4.0.0-5 libmpx2=7.2.0-20 libncurses5=6.0+20171125-1 libncursesw5=6.0+20171125-1 libpam-modules=1.1.8-3.6 libpam-modules-bin=1.1.8-3.6 libpam-runtime=1.1.8-3.6 libpam0g=1.1.8-3.6 libpcre3=2:8.39-8 libperl5.26=5.26.1-4 libpipeline1=1.5.0-1 libquadmath0=7.2.0-20 libselinux1=2.7-2 libsigsegv2=2.11-1 libsmartcols1=2.30.2-0.3 libss2=1.43.8-2 libstdc++-7-dev=7.2.0-20 libstdc++6=7.2.0-20 libsystemd0=236-3+b1 libtimedate-perl=2.3000-2 libtinfo5=6.0+20171125-1 libtool=2.4.6-2 libtsan0=7.2.0-20 libubsan0=7.2.0-20 libudev1=236-3+b1 libunistring2=0.9.8-1 libuuid1=2.30.2-0.3 libxml2=2.9.4+dfsg1-6.1 linux-libc-dev=4.14.13-1 login=1:4.5-1 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-4 mawk=1.3.3-17+b3 ncurses-base=6.0+20171125-1 ncurses-bin=6.0+20171125-1 patch=2.7.5-1+b2 perl=5.26.1-4 perl-base=5.26.1-4 perl-modules-5.26=5.26.1-4 po-debconf=1.0.20 sed=4.4-1 sysvinit-utils=2.88dsf-59.10 tar=1.29b-2 util-linux=2.30.2-0.3 xz-utils=5.2.2-1.3 zlib1g=1:1.2.8.dfsg-5 --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/20180205T222243Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180125T112451Z/ 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-session=0.0~git20151014.0.66031fc-2 && mkdir -p /build/golang-github-go-macaron-session-Z6FiHa && dpkg-source --no-check -x /*.dsc /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc && chown -R builduser:builduser /build/golang-github-go-macaron-session-Z6FiHa" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1517166852" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-go-macaron-session-Z6FiHa /tmp/golang-github-go-macaron-session-0.0~git20151014.0.66031fc-2jyo65q_n buster /dev/null deb http://snapshot.notset.fr/archive/debian/20180125T112451Z 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.oMK1iuMq8X 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.oMK1iuMq8X Reading package lists... Building dependency tree... util-linux is already the newest version (2.30.2-0.3). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20180125T112451Z unstable/main amd64 libfakeroot amd64 1.22-2 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180125T112451Z unstable/main amd64 fakeroot amd64 1.22-2 [85.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 1s (211 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 ... 4425 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.22-2_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-2) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.22-2_amd64.deb ... Unpacking fakeroot (1.22-2) ... Processing triggers for libc-bin (2.26-5) ... Setting up libfakeroot:amd64 (1.22-2) ... Setting up fakeroot (1.22-2) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.26-5) ... 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/20180205T222243Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180125T112451Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.oMK1iuMq8X Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180205T222243Z unstable InRelease [241 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20180125T112451Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20180205T222243Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20180205T222243Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20180205T222243Z unstable/main amd64 Packages [10.6 MB] Fetched 33.4 MB in 29s (1134 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.oMK1iuMq8X I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-go-macaron-session=0.0~git20151014.0.66031fc-2 && mkdir -p /build/golang-github-go-macaron-session-Z6FiHa && dpkg-source --no-check -x /*.dsc /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc && chown -R builduser:builduser /build/golang-github-go-macaron-session-Z6FiHa"' exec /tmp/mmdebstrap.oMK1iuMq8X Reading package lists... NOTICE: 'golang-github-go-macaron-session' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/pkg-go/packages/golang-github-go-macaron-session.git Please use: git clone https://anonscm.debian.org/git/pkg-go/packages/golang-github-go-macaron-session.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 19.6 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-session 0.0~git20151014.0.66031fc-2 (dsc) [2668 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-session 0.0~git20151014.0.66031fc-2 (tar) [15.2 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-go-macaron-session 0.0~git20151014.0.66031fc-2 (diff) [1736 B] Fetched 19.6 kB in 0s (358 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-go-macaron-session_0.0~git20151014.0.66031fc-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-go-macaron-session in /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc dpkg-source: info: unpacking golang-github-go-macaron-session_0.0~git20151014.0.66031fc.orig.tar.xz dpkg-source: info: unpacking golang-github-go-macaron-session_0.0~git20151014.0.66031fc-2.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-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1517166852" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.oMK1iuMq8X dpkg-buildpackage: info: source package golang-github-go-macaron-session dpkg-buildpackage: info: source version 0.0~git20151014.0.66031fc-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Michael Stapelberg dpkg-source --before-build golang-github-go-macaron-session-0.0-git20151014.0.66031fc fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_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_auto_configure -i -O--buildsystem=golang dh_auto_build -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/go-macaron/session github.com/go-macaron/session/memcache github.com/go-macaron/session/mysql github.com/go-macaron/session/postgres github.com/go-macaron/session/redis github.com/Unknwon/com github.com/go-macaron/inject golang.org/x/crypto/pbkdf2 gopkg.in/ini.v1 gopkg.in/macaron.v1 github.com/go-macaron/session github.com/bradfitz/gomemcache/memcache github.com/go-macaron/session/memcache github.com/go-sql-driver/mysql github.com/go-macaron/session/mysql github.com/lib/pq/oid github.com/lib/pq github.com/go-macaron/session/postgres gopkg.in/bufio.v1 gopkg.in/redis.v2 github.com/go-macaron/session/redis debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc' dh_auto_test cd obj-x86_64-linux-gnu && go test -v -p 1 github.com/go-macaron/session github.com/go-macaron/session/memcache github.com/go-macaron/session/mysql github.com/go-macaron/session/postgres github.com/go-macaron/session/redis === RUN Test_FileProvider Test file session provider Basic operation ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Regenrate empty session ✔✔✔ GC session ✔✔✔✔✔✔✔ 25 total assertions --- PASS: Test_FileProvider (2.01s) === RUN Test_MemProvider Test memory session provider Basic operation ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ Regenrate empty session ✔✔✔ GC session ✔✔✔✔✔✔✔ 50 total assertions --- PASS: Test_MemProvider (2.00s) === RUN Test_Version Check package version ✔ 51 total assertions --- PASS: Test_Version (0.00s) === RUN Test_Sessioner Use session middleware ✔ 52 total assertions Register invalid provider Provider not exists ✔ Provider value is nil ✔ Register twice ✔ 55 total assertions --- PASS: Test_Sessioner (0.00s) === RUN Test_Flash Test flash ✔✔ 57 total assertions --- PASS: Test_Flash (0.00s) PASS ok github.com/go-macaron/session 4.019s === RUN Test_MemcacheProvider Test memcache session provider Basic operation ✔🔥 Regenrate empty session ✔🔥 Errors: * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go Line 72: - session(start): dial tcp 127.0.0.1:9090: getsockopt: connection refused goroutine 5 [running]: panic(0x7ea240, 0xc420156590) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner.func1(0xc420154360) github.com/go-macaron/session/session.go:156 +0x9db gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0xc420116f20, 0xc420156520, 0x1, 0x1, 0xc420154360, 0x16, 0xbd0000c42006b488, 0xc42006b468, 0xbd72826b0dbcc4d1) gopkg.in/macaron.v1/context.go:79 +0x51 github.com/go-macaron/inject.(*injector).fastInvoke(0xc420116f80, 0x7f40fb6c90e0, 0xc420116f20, 0xaae6a0, 0x8100c0, 0x1, 0x412157, 0xc420116fa0, 0x20, 0x20, ...) github.com/go-macaron/inject/inject.go:157 +0x264 github.com/go-macaron/inject.(*injector).Invoke(0xc420116f80, 0x8100c0, 0xc420116f20, 0xaa8f40, 0xc420116f80, 0x1, 0xc420156480, 0xc420116fb0) github.com/go-macaron/inject/inject.go:135 +0x1bb gopkg.in/macaron%2ev1.(*Context).run(0xc420154360) gopkg.in/macaron.v1/context.go:121 +0x5e gopkg.in/macaron%2ev1.(*Router).Handle.func1(0xaa8640, 0xc42015e380, 0xc420160000, 0xc42015c870) gopkg.in/macaron.v1/router.go:187 +0x2a3 gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc420078540, 0xaa8640, 0xc42015e380, 0xc420160000) gopkg.in/macaron.v1/router.go:296 +0x14c gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc420130180, 0xaa8640, 0xc42015e380, 0xc420160000) gopkg.in/macaron.v1/macaron.go:220 +0x138 github.com/go-macaron/session/memcache.Test_MemcacheProvider.func1.1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:72 +0x3d6 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc42015c210) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420156100, 0xc42015c1b0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/memcache.Test_MemcacheProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:35 +0x11a github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015c0c0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420156100, 0xc42015c060, 0xc420116d20) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/memcache.Test_MemcacheProvider(0xc42015a0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:29 +0xa6 testing.tRunner(0xc42015a0f0, 0x8a4cb8) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015a000, 0x8905a2, 0x15, 0x8a4cb8, 0x47e396) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015a000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015a000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420116cc0, 0xad65b0, 0x1, 0x1, 0x41336c) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/memcache/_test/_testmain.go:44 +0xdb * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go Line 104: - session(start): dial tcp 127.0.0.1:9090: getsockopt: connection refused goroutine 5 [running]: panic(0x7ea240, 0xc4201569c0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner.func1(0xc420154630) github.com/go-macaron/session/session.go:156 +0x9db gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0xc4201171c0, 0xc420156920, 0x1, 0x1, 0xc420154630, 0x16, 0xc60000c42016d4d8, 0xc42016d4b8, 0xc6584cef4e25b188) gopkg.in/macaron.v1/context.go:79 +0x51 github.com/go-macaron/inject.(*injector).fastInvoke(0xc4201171e0, 0x7f40fb6c90e0, 0xc4201171c0, 0xaae6a0, 0x8100c0, 0x1, 0x412157, 0xc420117200, 0x20, 0x20, ...) github.com/go-macaron/inject/inject.go:157 +0x264 github.com/go-macaron/inject.(*injector).Invoke(0xc4201171e0, 0x8100c0, 0xc4201171c0, 0xaa8f40, 0xc4201171e0, 0x1, 0xc4201568d0, 0xc420117210) github.com/go-macaron/inject/inject.go:135 +0x1bb gopkg.in/macaron%2ev1.(*Context).run(0xc420154630) gopkg.in/macaron.v1/context.go:121 +0x5e gopkg.in/macaron%2ev1.(*Router).Handle.func1(0xaa8640, 0xc42015e580, 0xc420160200, 0xc42015d050) gopkg.in/macaron.v1/router.go:187 +0x2a3 gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc4200789c0, 0xaa8640, 0xc42015e580, 0xc420160200) gopkg.in/macaron.v1/router.go:296 +0x14c gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc420130600, 0xaa8640, 0xc42015e580, 0xc420160200) gopkg.in/macaron.v1/macaron.go:220 +0x138 github.com/go-macaron/session/memcache.Test_MemcacheProvider.func1.2() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:104 +0x2f4 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc42015ca50) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420156100, 0xc42015c9f0, 0xc420117080) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/memcache.Test_MemcacheProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:91 +0x1c3 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420116d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015c0c0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420156100, 0xc42015c060, 0xc420116d20) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/memcache.Test_MemcacheProvider(0xc42015a0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/memcache/memcache_test.go:29 +0xa6 testing.tRunner(0xc42015a0f0, 0x8a4cb8) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015a000, 0x8905a2, 0x15, 0x8a4cb8, 0x47e396) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015a000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015a000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420116cc0, 0xad65b0, 0x1, 0x1, 0x41336c) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/memcache/_test/_testmain.go:44 +0xdb 4 total assertions --- FAIL: Test_MemcacheProvider (0.00s) FAIL exit status 1 FAIL github.com/go-macaron/session/memcache 0.012s === RUN Test_MysqlProvider Test mysql session provider Basic operation 🔥 Regenrate empty session 🔥 GC session 🔥 Errors: * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go Line 38: - dial tcp 127.0.0.1:3306: getsockopt: connection refused goroutine 5 [running]: panic(0x84ca20, 0xc4200988c0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc420154240, 0x1, 0x1, 0x2, 0x2b) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1.1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:38 +0xb5 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc4201622a0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc420162240, 0xc42011ee20) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:36 +0x13a github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc420162150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc4201620f0, 0xc42011ed80) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider(0xc4201640f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:30 +0xa6 testing.tRunner(0xc4201640f0, 0x8dc368) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc420164000, 0x8c5043, 0x12, 0x8dc368, 0x47e3d6) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc420164000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc420164000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc42011ed20, 0xb1e830, 0x1, 0x1, 0x4133cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/mysql/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b95e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go Line 95: - dial tcp 127.0.0.1:3306: getsockopt: connection refused goroutine 5 [running]: panic(0x84ca20, 0xc4201820f0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc420154510, 0x1, 0x1, 0xc420022000, 0x0) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1.2() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:95 +0xb2 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc420163110) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc4201630b0, 0xc42011f240) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:93 +0x1e3 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc420162150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc4201620f0, 0xc42011ed80) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider(0xc4201640f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:30 +0xa6 testing.tRunner(0xc4201640f0, 0x8dc368) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc420164000, 0x8c5043, 0x12, 0x8dc368, 0x47e3d6) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc420164000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc420164000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc42011ed20, 0xb1e830, 0x1, 0x1, 0x4133cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/mysql/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b95e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 11 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b9ae0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go Line 115: - dial tcp 127.0.0.1:3306: getsockopt: connection refused goroutine 5 [running]: panic(0x84ca20, 0xc4201822d0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201f0090, 0x1, 0x1, 0x83dee0, 0xc420162090) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1.3() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:115 +0xf4 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc420176a20) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc4201769c0, 0xc420170360) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:111 +0x28c github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc42011edc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc420162150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc42015e230, 0xc4201620f0, 0xc42011ed80) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/mysql.Test_MysqlProvider(0xc4201640f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/mysql/mysql_test.go:30 +0xa6 testing.tRunner(0xc4201640f0, 0x8dc368) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc420164000, 0x8c5043, 0x12, 0x8dc368, 0x47e3d6) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc420164000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc420164000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc42011ed20, 0xb1e830, 0x1, 0x1, 0x4133cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/mysql/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b95e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 11 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b9ae0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 18 [chan receive]: database/sql.(*DB).connectionOpener(0xc4201b03c0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee 3 total assertions --- FAIL: Test_MysqlProvider (0.01s) FAIL exit status 1 FAIL github.com/go-macaron/session/mysql 0.011s === RUN Test_PostgresProvider Test postgres session provider Basic operation 🔥 Regenrate empty session 🔥 GC session 🔥 Errors: * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go Line 38: - dial tcp 127.0.0.1:5432: getsockopt: connection refused goroutine 5 [running]: panic(0x8502c0, 0xc42019a0a0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201561b0, 0x1, 0x1, 0x2, 0x2e) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1.1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:38 +0xb5 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc42015a2a0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc42015a240, 0xc420124e00) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:36 +0x13a github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015a150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc42015a0f0, 0xc420124d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider(0xc42015c0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:30 +0xa6 testing.tRunner(0xc42015c0f0, 0x8e0e50) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015c000, 0x8ca681, 0x15, 0x8e0e50, 0x47e896) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015c000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015c000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420124d00, 0xb287d0, 0x1, 0x1, 0x4135cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/postgres/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b15e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go Line 95: - dial tcp 127.0.0.1:5432: getsockopt: connection refused goroutine 5 [running]: panic(0x8502c0, 0xc42019a280) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201d4090, 0x1, 0x1, 0xc420023300, 0x0) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1.2() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:95 +0xb2 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc420192420) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc4201923c0, 0xc4201941a0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:93 +0x1e3 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015a150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc42015a0f0, 0xc420124d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider(0xc42015c0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:30 +0xa6 testing.tRunner(0xc42015c0f0, 0x8e0e50) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015c000, 0x8ca681, 0x15, 0x8e0e50, 0x47e896) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015c000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015c000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420124d00, 0xb287d0, 0x1, 0x1, 0x4135cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/postgres/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b15e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 18 [chan receive]: database/sql.(*DB).connectionOpener(0xc420198320) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go Line 115: - dial tcp 127.0.0.1:5432: getsockopt: connection refused goroutine 5 [running]: panic(0x8502c0, 0xc420096870) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201d42d0, 0x1, 0x1, 0x841560, 0xc42015a090) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1.3() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:115 +0xf4 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc420192f30) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc420192ed0, 0xc420194e00) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:111 +0x28c github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420124da0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015a150) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154210, 0xc42015a0f0, 0xc420124d60) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/postgres.Test_PostgresProvider(0xc42015c0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/postgres/postgres_test.go:30 +0xa6 testing.tRunner(0xc42015c0f0, 0x8e0e50) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015c000, 0x8ca681, 0x15, 0x8e0e50, 0x47e896) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015c000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015c000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420124d00, 0xb287d0, 0x1, 0x1, 0x4135cc) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/postgres/_test/_testmain.go:44 +0xdb goroutine 6 [chan receive]: database/sql.(*DB).connectionOpener(0xc4200b15e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 18 [chan receive]: database/sql.(*DB).connectionOpener(0xc420198320) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee goroutine 22 [chan receive]: database/sql.(*DB).connectionOpener(0xc4201986e0) /usr/lib/go-1.9/src/database/sql/sql.go:871 +0x53 created by database/sql.Open /usr/lib/go-1.9/src/database/sql/sql.go:609 +0x1ee 3 total assertions --- FAIL: Test_PostgresProvider (0.01s) FAIL exit status 1 FAIL github.com/go-macaron/session/postgres 0.013s === RUN Test_RedisProvider Test redis session provider Basic operation 🔥 Regenrate empty session 🔥 Errors: * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go Line 37: - dial tcp :6379: getsockopt: connection refused goroutine 5 [running]: panic(0x8474a0, 0xc42016c000) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201561b0, 0x1, 0x1, 0x2, 0x2b) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/redis.Test_RedisProvider.func1.1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:37 +0xb5 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc42015c210) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154140, 0xc42015c1b0, 0xc420116e20) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/redis.Test_RedisProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:35 +0x11a github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015c0c0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154140, 0xc42015c060, 0xc420116d80) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/redis.Test_RedisProvider(0xc42015a0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:29 +0xa6 testing.tRunner(0xc42015a0f0, 0x8d66a0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015a000, 0x8c076e, 0x12, 0x8d66a0, 0x47e376) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015a000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015a000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420116d20, 0xb308f0, 0x1, 0x1, 0x41336c) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/redis/_test/_testmain.go:44 +0xdb goroutine 6 [sleep]: time.Sleep(0x3b9aca00) /usr/lib/go-1.9/src/runtime/time.go:65 +0x130 gopkg.in/redis%2ev2.(*rateLimiter).loop(0xc4200169b0, 0x3b9aca00, 0x14) gopkg.in/redis.v2/rate_limit.go:30 +0x2d created by gopkg.in/redis%2ev2.newRateLimiter gopkg.in/redis.v2/rate_limit.go:18 +0x6b * /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go Line 93: - dial tcp :6379: getsockopt: connection refused goroutine 5 [running]: panic(0x8474a0, 0xc42016c0a0) /usr/lib/go-1.9/src/runtime/panic.go:491 +0x283 github.com/go-macaron/session.Sessioner(0xc4201b4090, 0x1, 0x1, 0xc420024600, 0x0) github.com/go-macaron/session/session.go:149 +0x283 github.com/go-macaron/session/redis.Test_RedisProvider.func1.2() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:93 +0xb2 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId(0xc4201b20c0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:19 +0x112 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154140, 0xc4201b2060, 0xc420168040) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/redis.Test_RedisProvider.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:91 +0x1c3 github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:97 +0x463 github.com/jtolds/gls.EnsureGoroutineId.func1() /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0x31 github.com/jtolds/gls._m(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:74 +0x31 github.com/jtolds/gls.github_com_jtolds_gls_markS(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:54 +0x35 github.com/jtolds/gls.addStackTag(0x0, 0xc420116dc0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/stack_tags.go:49 +0x3a github.com/jtolds/gls.EnsureGoroutineId(0xc42015c0c0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/gid.go:24 +0xc9 github.com/jtolds/gls.(*ContextManager).SetValues(0xc420154140, 0xc42015c060, 0xc420116d80) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/jtolds/gls/context.go:63 +0x177 github.com/go-macaron/session/redis.Test_RedisProvider(0xc42015a0f0) /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/obj-x86_64-linux-gnu/src/github.com/go-macaron/session/redis/redis_test.go:29 +0xa6 testing.tRunner(0xc42015a0f0, 0x8d66a0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 1 [chan receive]: testing.(*T).Run(0xc42015a000, 0x8c076e, 0x12, 0x8d66a0, 0x47e376) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc42015a000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc42015a000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc420116d20, 0xb308f0, 0x1, 0x1, 0x41336c) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/go-macaron/session/redis/_test/_testmain.go:44 +0xdb goroutine 6 [sleep]: time.Sleep(0x3b9aca00) /usr/lib/go-1.9/src/runtime/time.go:65 +0x130 gopkg.in/redis%2ev2.(*rateLimiter).loop(0xc4200169b0, 0x3b9aca00, 0x14) gopkg.in/redis.v2/rate_limit.go:30 +0x2d created by gopkg.in/redis%2ev2.newRateLimiter gopkg.in/redis.v2/rate_limit.go:18 +0x6b goroutine 18 [sleep]: time.Sleep(0x3b9aca00) /usr/lib/go-1.9/src/runtime/time.go:65 +0x130 gopkg.in/redis%2ev2.(*rateLimiter).loop(0xc4201660d0, 0x3b9aca00, 0x14) gopkg.in/redis.v2/rate_limit.go:30 +0x2d created by gopkg.in/redis%2ev2.newRateLimiter gopkg.in/redis.v2/rate_limit.go:18 +0x6b 2 total assertions --- FAIL: Test_RedisProvider (0.00s) FAIL exit status 1 FAIL github.com/go-macaron/session/redis 0.009s dh_auto_test: cd obj-x86_64-linux-gnu && go test -v -p 1 github.com/go-macaron/session github.com/go-macaron/session/memcache github.com/go-macaron/session/mysql github.com/go-macaron/session/postgres github.com/go-macaron/session/redis returned exit code 1 debian/rules:9: recipe for target 'override_dh_auto_test' failed make[1]: [override_dh_auto_test] Error 1 (ignored) make[1]: Leaving directory '/build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc' 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 cd obj-x86_64-linux-gnu && mkdir -p /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/debian/golang-github-go-macaron-session-dev/usr/share/gocode/src/github.com/go-macaron/session cd obj-x86_64-linux-gnu && cp -r -T src/github.com/go-macaron/session /build/golang-github-go-macaron-session-Z6FiHa/golang-github-go-macaron-session-0.0-git20151014.0.66031fc/debian/golang-github-go-macaron-session-dev/usr/share/gocode/src/github.com/go-macaron/session dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -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-github-go-macaron-session-dev' in '../golang-github-go-macaron-session-dev_0.0~git20151014.0.66031fc-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-go-macaron-session_0.0~git20151014.0.66031fc-2_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build golang-github-go-macaron-session-0.0-git20151014.0.66031fc dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-github-go-macaron-session-Z6FiHa /tmp/golang-github-go-macaron-session-0.0~git20151014.0.66031fc-2jyo65q_n I: cleaning package lists and apt cache... W: deleting files in /tmp: data I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.oMK1iuMq8X... I: success in 272.7374 seconds md5: golang-github-go-macaron-session-dev_0.0~git20151014.0.66031fc-2_all.deb: OK sha1: golang-github-go-macaron-session-dev_0.0~git20151014.0.66031fc-2_all.deb: OK sha256: golang-github-go-macaron-session-dev_0.0~git20151014.0.66031fc-2_all.deb: OK Checksums: OK