Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-tideland-golib/golang-github-tideland-golib_4.24.2-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-tideland-golib-4.24.2-19mb99gfc/golang-github-tideland-golib_4.24.2-1_all.buildinfo Get source package info: golang-github-tideland-golib=4.24.2-1 Source URL: http://snapshot.notset.fr/mr/package/golang-github-tideland-golib/4.24.2-1/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=20161112.1 base-files=10 base-passwd=3.5.44 bash=4.4-5 binutils=2.29.1-4 binutils-common=2.29.1-4 binutils-x86-64-linux-gnu=2.29.1-4 bsdmainutils=9.0.12+nmu1 bsdutils=1:2.29.2-5+b1 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-8 dash=0.5.8-2.5 debconf=1.5.63 debhelper=10.9 debianutils=4.8.2 dh-autoreconf=14 dh-golang=1.22 dh-strip-nondeterminism=0.038-1 diffutils=1:3.6-1 dpkg=1.18.24 dpkg-dev=1.18.24 e2fslibs=1.43.6-1 e2fsprogs=1.43.6-1 fdisk=2.29.2-5+b1 file=1:5.32-1 findutils=4.6.0+git+20170729-2 g++=4:7.2.0-1d1 g++-7=7.2.0-8 gcc=4:7.2.0-1d1 gcc-7=7.2.0-8 gcc-7-base=7.2.0-8 gettext=0.19.8.1-4 gettext-base=0.19.8.1-4 golang-1.9-go=1.9.1-1 golang-1.9-src=1.9.1-1 golang-any=2:1.9~1 golang-go=2:1.9~1 golang-src=2:1.9~1 grep=3.1-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.18+b1 init-system-helpers=1.49 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan4=7.2.0-8 libatomic1=7.2.0-8 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.7.8-1 libaudit1=1:2.7.8-1 libbinutils=2.29.1-4 libblkid1=2.29.2-5+b1 libbsd0=0.8.6-2 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-17 libc-dev-bin=2.24-17 libc6=2.24-17 libc6-dev=2.24-17 libcap-ng0=0.7.7-3+b1 libcc1-0=7.2.0-8 libcilkrts5=7.2.0-8 libcomerr2=1.43.6-1 libcroco3=0.6.12-1 libdb5.3=5.3.28-13.1 libdebconfclient0=0.230 libdpkg-perl=1.18.24 libfdisk1=2.29.2-5+b1 libffi6=3.2.1-6 libfile-stripnondeterminism-perl=0.038-1 libgcc-7-dev=7.2.0-8 libgcc1=1:7.2.0-8 libgcrypt20=1.7.9-1 libgdbm3=1.8.3-14 libglib2.0-0=2.54.1-1 libgmp10=2:6.1.2+dfsg-1.1 libgomp1=7.2.0-8 libgpg-error0=1.27-3 libicu57=57.1-6 libisl15=0.18-1 libitm1=7.2.0-8 liblsan0=7.2.0-8 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.29.2-5+b1 libmpc3=1.0.3-2 libmpfr4=3.1.6-1 libmpx2=7.2.0-8 libncurses5=6.0+20170902-1 libncursesw5=6.0+20170902-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-5 libperl5.26=5.26.0-8 libpipeline1=1.4.2-1 libquadmath0=7.2.0-8 libselinux1=2.7-2 libsigsegv2=2.11-1 libsmartcols1=2.29.2-5+b1 libss2=1.43.6-1 libstdc++-7-dev=7.2.0-8 libstdc++6=7.2.0-8 libsystemd0=234-3 libtimedate-perl=2.3000-2 libtinfo5=6.0+20170902-1 libtool=2.4.6-2 libtsan0=7.2.0-8 libubsan0=7.2.0-8 libudev1=234-3 libunistring2=0.9.7-2 libuuid1=2.29.2-5+b1 libxml2=2.9.4+dfsg1-4 linux-libc-dev=4.13.4-1 login=1:4.5-1 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17+b3 ncurses-base=6.0+20170902-1 ncurses-bin=6.0+20170902-1 patch=2.7.5-1+b2 perl=5.26.0-8 perl-base=5.26.0-8 perl-modules-5.26=5.26.0-8 po-debconf=1.0.20 sed=4.4-1 sysvinit-utils=2.88dsf-59.10 tar=1.29b-2 util-linux=2.29.2-5+b1 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/20171009T161948Z/ 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-tideland-golib=4.24.2-1 && mkdir -p /build/golang-github-tideland-golib-szGEsr && dpkg-source --no-check -x /*.dsc /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 && chown -R builduser:builduser /build/golang-github-tideland-golib-szGEsr" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1507471752" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-tideland-golib-szGEsr /tmp/golang-github-tideland-golib-4.24.2-19mb99gfc buster /dev/null deb http://snapshot.notset.fr/archive/debian/20171009T161948Z 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.LtzyW3Igtn 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.LtzyW3Igtn Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.2-5+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20171009T161948Z unstable/main amd64 libfakeroot amd64 1.22-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20171009T161948Z unstable/main amd64 fakeroot amd64 1.22-1 [85.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (770 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 ... 4411 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.22-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.22-1_amd64.deb ... Unpacking fakeroot (1.22-1) ... Processing triggers for libc-bin (2.24-17) ... Setting up libfakeroot:amd64 (1.22-1) ... Setting up fakeroot (1.22-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-17) ... 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/20171009T161948Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.LtzyW3Igtn Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20171009T161948Z 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 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 22s (994 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - pkgAcquire::Clean (21: Is a directory) 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.LtzyW3Igtn I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-tideland-golib=4.24.2-1 && mkdir -p /build/golang-github-tideland-golib-szGEsr && dpkg-source --no-check -x /*.dsc /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 && chown -R builduser:builduser /build/golang-github-tideland-golib-szGEsr"' exec /tmp/mmdebstrap.LtzyW3Igtn Reading package lists... NOTICE: 'golang-github-tideland-golib' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/pkg-go/packages/golang-github-tideland-golib.git Please use: git clone https://anonscm.debian.org/git/pkg-go/packages/golang-github-tideland-golib.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 155 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-tideland-golib 4.24.2-1 (dsc) [2230 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-tideland-golib 4.24.2-1 (tar) [149 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-tideland-golib 4.24.2-1 (diff) [4312 B] Fetched 155 kB in 0s (918 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-tideland-golib_4.24.2-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-tideland-golib in /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 dpkg-source: info: unpacking golang-github-tideland-golib_4.24.2.orig.tar.gz dpkg-source: info: unpacking golang-github-tideland-golib_4.24.2-1.debian.tar.xz dpkg-source: info: applying skip_tests_short_mode.patch dpkg-source: info: applying fix-ftbfs.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1507471752" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.LtzyW3Igtn dpkg-buildpackage: info: source package golang-github-tideland-golib dpkg-buildpackage: info: source version 4.24.2-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Dr. Tobias Quathamer dpkg-source --before-build golang-github-tideland-golib-4.24.2 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 -gcflags=\"-trimpath=/build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2/obj-x86_64-linux-gnu/src\" -v -p 4 github.com/tideland/golib/audit github.com/tideland/golib/cache github.com/tideland/golib/collections github.com/tideland/golib/errors github.com/tideland/golib/etc github.com/tideland/golib/feed/atom github.com/tideland/golib/feed/rss github.com/tideland/golib/feed/utils github.com/tideland/golib/gjp github.com/tideland/golib/identifier github.com/tideland/golib/logger github.com/tideland/golib/loop github.com/tideland/golib/mapreduce github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/redis github.com/tideland/golib/scene github.com/tideland/golib/scroller github.com/tideland/golib/sml github.com/tideland/golib/sort github.com/tideland/golib/stringex github.com/tideland/golib/timex github.com/tideland/golib/version github.com/tideland/golib/errors github.com/tideland/golib/audit github.com/tideland/golib/feed/utils github.com/tideland/golib/logger github.com/tideland/golib/mapreduce github.com/tideland/golib/identifier github.com/tideland/golib/collections github.com/tideland/golib/stringex github.com/tideland/golib/loop github.com/tideland/golib/feed/atom github.com/tideland/golib/cache github.com/tideland/golib/feed/rss github.com/tideland/golib/gjp github.com/tideland/golib/sml github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/scene github.com/tideland/golib/etc github.com/tideland/golib/scroller github.com/tideland/golib/sort github.com/tideland/golib/timex github.com/tideland/golib/redis github.com/tideland/golib/version debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2' dh_auto_test -- -short cd obj-x86_64-linux-gnu && go test -v -p 4 -short github.com/tideland/golib/audit github.com/tideland/golib/cache github.com/tideland/golib/collections github.com/tideland/golib/errors github.com/tideland/golib/etc github.com/tideland/golib/feed/atom github.com/tideland/golib/feed/rss github.com/tideland/golib/feed/utils github.com/tideland/golib/gjp github.com/tideland/golib/identifier github.com/tideland/golib/logger github.com/tideland/golib/loop github.com/tideland/golib/mapreduce github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/redis github.com/tideland/golib/scene github.com/tideland/golib/scroller github.com/tideland/golib/sml github.com/tideland/golib/sort github.com/tideland/golib/stringex github.com/tideland/golib/timex github.com/tideland/golib/version === RUN TestAssertTrue --- PASS: TestAssertTrue (0.00s) asserts_test.go:485: testing assert "true" failed: 'false' (bool) <> 'true' (bool) [should fail and be logged] === RUN TestAssertFalse --- PASS: TestAssertFalse (0.00s) asserts_test.go:485: testing assert "false" failed: 'true' (bool) <> 'false' (bool) [should fail and be logged] === RUN TestAssertNil --- PASS: TestAssertNil (0.00s) asserts_test.go:485: testing assert "nil" failed: 'not nil' (string) <> '' (invalid) [should fail and be logged] === RUN TestAssertNotNil --- PASS: TestAssertNotNil (0.00s) asserts_test.go:485: testing assert "not nil" failed: '' (invalid) <> '' (invalid) [should fail and be logged] === RUN TestAssertEqual --- PASS: TestAssertEqual (0.00s) asserts_test.go:485: testing assert "equal" failed: 'one' (string) <> '1' (int) [should fail and be logged] asserts_test.go:485: testing assert "equal" failed: 'two' (string) <> '2' (string) [should fail and be logged] === RUN TestAssertDifferent --- PASS: TestAssertDifferent (0.00s) asserts_test.go:485: testing assert "different" failed: 'one' (string) <> 'one' (string) [should fail and be logged] asserts_test.go:485: testing assert "different" failed: '2' (int) <> '2' (int) [should fail and be logged] === RUN TestAssertAbout --- PASS: TestAssertAbout (0.00s) asserts_test.go:485: testing assert "about" failed: '0.8' (float64) <> '1' (float64) [different, out of bounds of extent] asserts_test.go:485: testing assert "about" failed: '1.2' (float64) <> '1' (float64) [different, out of bounds of extent] === RUN TestAssertRange --- PASS: TestAssertRange (0.00s) asserts_test.go:485: testing assert "range" failed: '1' (uint8) <> '&{10 20}' (ptr to audit.lowHigh) [byte out of range] asserts_test.go:485: testing assert "range" failed: '1' (int) <> '&{10 20}' (ptr to audit.lowHigh) [int out of range] asserts_test.go:485: testing assert "range" failed: '1' (float64) <> '&{10 20}' (ptr to audit.lowHigh) [float64 out of range] asserts_test.go:485: testing assert "range" failed: '97' (int32) <> '&{120 122}' (ptr to audit.lowHigh) [rune out of range] asserts_test.go:485: testing assert "range" failed: 'aaa' (string) <> '&{uuuuu zzzzz}' (ptr to audit.lowHigh) [string out of range] asserts_test.go:485: testing assert "range" failed: '2021-10-20 00:32:26.140711121 +0000 UTC m=+0.003348693' (struct Time) <> '&{{13858691875325809873 60003348693 0x646d00} {13858695676371866833 3600003348693 0x646d00}}' (ptr to audit.lowHigh) [time out of range] asserts_test.go:485: testing assert "range" failed: '1s' (int64) <> '&{60000000000 3600000000000}' (ptr to audit.lowHigh) [duration in range] asserts_test.go:485: testing assert "range" failed: '[1 2 3]' (slice of int) <> '&{5 10}' (ptr to audit.lowHigh) [slice length out of range] asserts_test.go:485: testing assert "range" failed: '[1 2 3]' (array of int) <> '&{5 10}' (ptr to audit.lowHigh) [array length out of range] asserts_test.go:485: testing assert "range" failed: 'map[3:1 2:2 1:3]' (map of int) <> '&{5 10}' (ptr to audit.lowHigh) [map length out of range] === RUN TestAssertContents --- PASS: TestAssertContents (0.00s) asserts_test.go:485: testing assert "contents" failed: '4711' (int) <> 'foo' (string) asserts_test.go:485: testing assert "contents" failed: '4711' (int) <> '[1 2 3 4711 5 6 7 8 9]' (slice of interface {}) asserts_test.go:485: testing assert "contents" failed: 'foobar' (string) <> '[116 104 101 32 113 117 105 99 107 32 98 114 111 119 110 32 102 111 120 32 106 117 109 112 115 32 111 118 101 114 32 116 104 101 32 108 97 122 121 32 100 111 103]' (slice of uint8) === RUN TestAssertContentsPrint asserts_test.go:161 TestAssertContentsPrint(): printing of failing content tests -------------------------------------------------------------------------------- asserts_test.go:162: Assert 'contents' failed! Function...: TestAssertContentsPrint() Part.......: foobar Full.......: the quick brown fox jumps over the lazy dog Description: test fails but passes, just visualization -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- asserts_test.go:163: Assert 'contents' failed! Function...: TestAssertContentsPrint() Part.......: [102 111 111 98 97 114] Full.......: [116 104 101 32 113 117 105 99 107 32 98 114 111 119 110 32 46 46 46] Description: test fails but passes, just visualization -------------------------------------------------------------------------------- --- PASS: TestAssertContentsPrint (0.00s) === RUN TestOffsetPrint -------------------------------------------------------------------------------- asserts_test.go:172: Assert failed! Function...: TestOffsetPrint() Description: should fail referencing line 172 -------------------------------------------------------------------------------- --- PASS: TestOffsetPrint (0.00s) === RUN TestAssertSubstring --- PASS: TestAssertSubstring (0.00s) asserts_test.go:485: testing assert "substring" failed: 'foo' (string) <> 'this is assert test' (string) [should fail and be logged] asserts_test.go:485: testing assert "substring" failed: 'this is assert test' (string) <> 'this is assert test' (string) [should fail and be logged] === RUN TestAssertCase --- PASS: TestAssertCase (0.00s) asserts_test.go:485: testing assert "case" failed: 'Foo' (string) <> 'FOO' (string) [is mixed case] asserts_test.go:485: testing assert "case" failed: 'Foo' (string) <> 'foo' (string) [is mixed case] === RUN TestAssertMatch --- PASS: TestAssertMatch (0.00s) asserts_test.go:485: testing assert "match" failed: 'this is assert test' (string) <> 'foo' (string) [should fail and be logged] asserts_test.go:485: testing assert "match" failed: 'this is assert test' (string) <> 'this*test' (string) [should fail and be logged] === RUN TestAssertErrorMatch --- PASS: TestAssertErrorMatch (0.00s) asserts_test.go:485: testing assert "error match" failed: 'oops, an error' (ptr to errors.errorString) <> 'foo' (string) [should fail and be logged] === RUN TestAssertImplementor --- PASS: TestAssertImplementor (0.00s) asserts_test.go:485: testing assert "implementor" failed: 'string test' (string) <> '0xc4200bf8f0' (ptr to error) [should fail and be logged] asserts_test.go:485: testing assert "implementor" failed: 'error test' (ptr to errors.errorString) <> '0xc4200bf900' (ptr to io.Writer) [should fail and be logged] === RUN TestAssertAssignable --- PASS: TestAssertAssignable (0.00s) asserts_test.go:485: testing assert "assignable" failed: 'one' (string) <> '5' (int) [should fail and be logged] === RUN TestAssertUnassignable --- PASS: TestAssertUnassignable (0.00s) asserts_test.go:485: testing assert "unassignable" failed: '1' (int) <> '5' (int) [should fail and be logged] === RUN TestAssertEmpty --- PASS: TestAssertEmpty (0.00s) asserts_test.go:485: testing assert "empty" failed: '9' (int) <> '0' (int) [should fail and be logged] asserts_test.go:485: testing assert "empty" failed: '3' (int) <> '0' (int) [should also fail and be logged] asserts_test.go:485: testing assert "empty" failed: 'bool' (string) <> '0' (int) [obtained bool is no array, chan, map, slice, string or understands Len()] === RUN TestAssertNotEmpty --- PASS: TestAssertNotEmpty (0.00s) asserts_test.go:485: testing assert "not empty" failed: '0' (int) <> '0' (int) [should fail and be logged] asserts_test.go:485: testing assert "not empty" failed: '0' (int) <> '0' (int) [should also fail and be logged] asserts_test.go:485: testing assert "not empty" failed: 'bool' (string) <> '0' (int) [obtained bool is no array, chan, map, slice, string or understands Len()] === RUN TestAssertLength --- PASS: TestAssertLength (0.00s) asserts_test.go:485: testing assert "length" failed: '9' (int) <> '0' (int) [should fail and be logged] asserts_test.go:485: testing assert "length" failed: '3' (int) <> '10' (int) [should also fail and be logged] asserts_test.go:485: testing assert "length" failed: 'bool' (string) <> '1' (int) [obtained bool is no array, chan, map, slice, string or understands Len()] === RUN TestAssertPanics --- PASS: TestAssertPanics (0.00s) asserts_test.go:485: testing assert "panics" failed: 'func ()' (string) <> '' (invalid) [should not panic] === RUN TestAssertPathExists --- PASS: TestAssertPathExists (0.00s) asserts_test.go:485: testing assert "path exists" failed: '/this/path/will/hopefully/not/exist' (string) <> 'true' (bool) [illegal path] === RUN TestAssertWait --- PASS: TestAssertWait (0.29s) asserts_test.go:485: testing assert "wait" failed: 'false' (bool) <> 'true' (bool) [should be false] asserts_test.go:485: testing assert "wait" failed: 'timeout 100ms' (string) <> 'signal true' (string) [should timeout] === RUN TestAssertWaitTested --- PASS: TestAssertWaitTested (0.55s) asserts_test.go:485: testing assert "wait" failed: 'timeout 100ms' (string) <> 'signal true' (string) [should be false] asserts_test.go:485: testing assert "nil" failed: 'illegal value' (ptr to errors.errorString) <> '' (invalid) [should timeout] === RUN TestAssertRetry --- PASS: TestAssertRetry (0.20s) asserts_test.go:485: testing assert "retry" failed: 'timeout after 120.381004ms and 10 retries' (string) <> 'successful call' (string) [should fail] === RUN TestAssertFail --- PASS: TestAssertFail (0.00s) asserts_test.go:485: testing assert "fail" failed: '' (invalid) <> '' (invalid) [this should fail] === RUN TestTestingAssertion -------------------------------------------------------------------------------- asserts_test.go:394: Assert 'assignable' failed! Function...: TestTestingAssertion() Obtained...: func () Expected...: int Description: should fail (but not the test) -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- asserts_test.go:395: Assert 'assignable' failed! Function...: TestTestingAssertion() Obtained...: func () Expected...: int -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- asserts_test.go:396: Assert 'assignable' failed! Function...: TestTestingAssertion() Obtained...: func () Expected...: int Description: this should fail too -------------------------------------------------------------------------------- --- PASS: TestTestingAssertion (0.00s) === RUN TestPanicAssert --- PASS: TestPanicAssert (0.00s) asserts_test.go:403: panic worked: 'assert 'assignable' failed: 'int' <> 'func ()' (should fail)' === RUN TestValidationAssertion --- PASS: TestValidationAssertion (0.00s) asserts_test.go:430: [0] assert 'true' failed: 'false' (should fail) / [1] assert 'equal' failed: '1' <> '2' (should fail) === RUN TestSetFailable === RUN TestSetFailable/success === RUN TestSetFailable/fail --- PASS: TestSetFailable (0.00s) --- PASS: TestSetFailable/success (0.00s) asserts_test.go:485: testing assert "true" failed: 'false' (bool) <> 'true' (bool) --- PASS: TestSetFailable/fail (0.00s) === RUN TestTempDirCreate --- PASS: TestTempDirCreate (0.00s) === RUN TestTempDirRestore --- PASS: TestTempDirRestore (0.00s) === RUN TestEnvVarsSet --- PASS: TestEnvVarsSet (0.00s) === RUN TestEnvVarsRestore --- PASS: TestEnvVarsRestore (0.00s) === RUN TestBuildDate --- PASS: TestBuildDate (0.00s) === RUN TestInts --- PASS: TestInts (0.06s) === RUN TestOneOf --- PASS: TestOneOf (0.01s) === RUN TestWords --- PASS: TestWords (0.10s) === RUN TestPattern --- PASS: TestPattern (0.00s) === RUN TestText --- PASS: TestText (4.70s) === RUN TestName --- PASS: TestName (30.09s) === RUN TestDomain --- PASS: TestDomain (0.00s) === RUN TestURL --- PASS: TestURL (13.19s) === RUN TestEMail --- PASS: TestEMail (11.80s) === RUN TestTimes --- PASS: TestTimes (8.86s) PASS ok github.com/tideland/golib/audit 70.809s === RUN TestNoLoader --- PASS: TestNoLoader (0.00s) === RUN TestLoader 2021-10-20 00:32:23 Z [INFO] [github.com/tideland/golib/loop] loop "cache::loader" starts 2021-10-20 00:32:23 Z [INFO] [github.com/tideland/golib/loop] loop "cache::loader" stopped --- PASS: TestLoader (0.00s) === RUN TestLoading 2021-10-20 00:32:23 Z [INFO] [github.com/tideland/golib/loop] loop "cache::loading" starts 2021-10-20 00:32:23 Z [INFO] [github.com/tideland/golib/loop] loop "cache::loading" stopped --- PASS: TestLoading (0.10s) === RUN TestConcurrentLoading 2021-10-20 00:32:23 Z [INFO] [github.com/tideland/golib/loop] loop "cache::concurrent-loading" starts cache_test.go:118 func1(): Goroutine 16 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 94 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 98 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 60 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 61 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 62 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 63 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 23 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 64 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 65 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 24 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 22 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 66 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 67 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 25 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 12 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 34 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 35 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 15 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 13 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 36 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 37 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 56 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 11 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 38 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 39 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 27 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 9 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 91 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 40 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 10 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 28 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 41 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 92 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 29 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 14 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 26 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 99 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 33 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 17 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 57 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 68 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 18 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 58 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 69 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 19 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 70 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 59 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 71 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 20 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 72 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 84 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 21 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 83 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 85 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 86 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 73 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 30 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 89 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 74 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 87 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 90 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 75 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 88 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 31 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 76 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 47 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 32 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 77 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 78 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 53 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 55 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 79 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 50 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 54 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 80 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 51 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 45 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 81 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 93 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 52 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 43 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 82 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 44 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 96 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 97 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 95 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 46 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 48 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 42 loaded "/concurrent" cache_test.go:118 func1(): Goroutine 49 loaded "/concurrent" 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::concurrent-loading" stopped --- PASS: TestConcurrentLoading (0.09s) === RUN TestOutdatingFail 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-fail" starts 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-fail" stopped --- PASS: TestOutdatingFail (0.05s) === RUN TestOutdatingReload 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-reload" starts 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-reload" stopped --- PASS: TestOutdatingReload (0.10s) === RUN TestOutdatingReloadError 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-reload-error" starts 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::outdating-reload-error" stopped --- PASS: TestOutdatingReloadError (0.10s) === RUN TestDiscarding 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::discarding" starts 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::discarding" stopped --- PASS: TestDiscarding (0.21s) === RUN TestCleanup 2021-10-20 00:32:24 Z [INFO] [github.com/tideland/golib/loop] loop "cache::cleanup" starts cache_test.go:247 TestCleanup(): 1st: 5 > 2nd: 0 2021-10-20 00:32:31 Z [INFO] [github.com/tideland/golib/loop] loop "cache::cleanup" stopped --- PASS: TestCleanup (6.74s) === RUN TestClear 2021-10-20 00:32:31 Z [INFO] [github.com/tideland/golib/loop] loop "cache::clear" starts cache_test.go:271 TestClear(): 1st: 50 > 2nd: 0 2021-10-20 00:32:34 Z [INFO] [github.com/tideland/golib/loop] loop "cache::clear" stopped --- PASS: TestClear (3.37s) === RUN TestFileLoader loader_test.go:57 TestFileLoader(): test #0: fa with size 1 mb loader_test.go:57 TestFileLoader(): test #1: fb with size 2 mb loader_test.go:57 TestFileLoader(): test #2: fc with size 3 mb loader_test.go:57 TestFileLoader(): test #3: fd with size 4 mb loader_test.go:57 TestFileLoader(): test #4: fe with size 5 mb --- PASS: TestFileLoader (4.24s) PASS ok github.com/tideland/golib/cache 16.703s === RUN TestRingBufferPush --- PASS: TestRingBufferPush (0.00s) === RUN TestRingBufferPop --- PASS: TestRingBufferPop (0.00s) === RUN TestRingBufferGrow --- PASS: TestRingBufferGrow (0.00s) === RUN TestSetsAddRemove --- PASS: TestSetsAddRemove (0.00s) === RUN TestSetsFindAll --- PASS: TestSetsFindAll (0.00s) === RUN TestSetsDoAll --- PASS: TestSetsDoAll (0.00s) === RUN TestStringSetsAddRemove --- PASS: TestStringSetsAddRemove (0.00s) === RUN TestStringSetsFindAll --- PASS: TestStringSetsFindAll (0.00s) === RUN TestStringSetsDoAll --- PASS: TestStringSetsDoAll (0.00s) === RUN TestStackPushPop --- PASS: TestStackPushPop (0.00s) === RUN TestStackAll --- PASS: TestStackAll (0.00s) === RUN TestStringStackPushPop --- PASS: TestStringStackPushPop (0.00s) === RUN TestTreeCreate --- PASS: TestTreeCreate (0.00s) === RUN TestTreeRemove --- PASS: TestTreeRemove (0.00s) === RUN TestTreeSetValue --- PASS: TestTreeSetValue (0.00s) === RUN TestTreeFind --- PASS: TestTreeFind (0.00s) === RUN TestTreeDo --- PASS: TestTreeDo (0.00s) === RUN TestTreeCopy --- PASS: TestTreeCopy (0.00s) === RUN TestStringTreeCreate --- PASS: TestStringTreeCreate (0.00s) === RUN TestStringTreeRemove --- PASS: TestStringTreeRemove (0.00s) === RUN TestStringTreeSetValue --- PASS: TestStringTreeSetValue (0.00s) === RUN TestStringTreeFind --- PASS: TestStringTreeFind (0.00s) === RUN TestStringTreeDo --- PASS: TestStringTreeDo (0.00s) === RUN TestStringTreeCopy --- PASS: TestStringTreeCopy (0.00s) === RUN TestKeyValueTreeCreate --- PASS: TestKeyValueTreeCreate (0.00s) === RUN TestKeyValueTreeRemove --- PASS: TestKeyValueTreeRemove (0.00s) === RUN TestKeyValueTreeSetKey --- PASS: TestKeyValueTreeSetKey (0.00s) === RUN TestKeyValueTreeSetValue --- PASS: TestKeyValueTreeSetValue (0.00s) === RUN TestKeyValueTreeFind --- PASS: TestKeyValueTreeFind (0.00s) === RUN TestKeyValueTreeDo --- PASS: TestKeyValueTreeDo (0.00s) === RUN TestKeyValueTreeCopy --- PASS: TestKeyValueTreeCopy (0.00s) === RUN TestKeyStringValueTreeCreate --- PASS: TestKeyStringValueTreeCreate (0.00s) === RUN TestKeyStringValueTreeRemove --- PASS: TestKeyStringValueTreeRemove (0.00s) === RUN TestKeyStringValueTreeSetKey --- PASS: TestKeyStringValueTreeSetKey (0.00s) === RUN TestKeyStringValueTreeSetValue --- PASS: TestKeyStringValueTreeSetValue (0.00s) === RUN TestKeyStringValueTreeFind --- PASS: TestKeyStringValueTreeFind (0.00s) === RUN TestKeyStringValueTreeDo --- PASS: TestKeyStringValueTreeDo (0.00s) === RUN TestKeyStringValueTreeCopy --- PASS: TestKeyStringValueTreeCopy (0.00s) PASS ok github.com/tideland/golib/collections 0.298s === RUN TestIsError --- PASS: TestIsError (0.00s) === RUN TestValidation --- PASS: TestValidation (0.00s) === RUN TestAnnotation --- PASS: TestAnnotation (0.00s) === RUN TestCollection --- PASS: TestCollection (0.00s) === RUN TestDoAll --- PASS: TestDoAll (0.00s) PASS ok github.com/tideland/golib/errors 0.204s === RUN TestRead --- PASS: TestRead (0.00s) === RUN TestReadFile --- PASS: TestReadFile (0.00s) === RUN TestWrite --- PASS: TestWrite (0.00s) === RUN TestTemplates --- PASS: TestTemplates (0.00s) === RUN TestHasPath --- PASS: TestHasPath (0.00s) === RUN TestDo --- PASS: TestDo (0.00s) === RUN TestValueSuccess --- PASS: TestValueSuccess (0.00s) === RUN TestGetFail --- PASS: TestGetFail (0.00s) === RUN TestSplit --- PASS: TestSplit (0.00s) === RUN TestDump --- PASS: TestDump (0.00s) === RUN TestApply --- PASS: TestApply (0.00s) === RUN TestContext --- PASS: TestContext (0.00s) PASS ok github.com/tideland/golib/etc 0.200s === RUN TestParseComposeTime --- PASS: TestParseComposeTime (0.00s) === RUN TestEncodeDecode --- PASS: TestEncodeDecode (0.00s) === RUN TestGet --- SKIP: TestGet (0.00s) atom_test.go:77: Network test skipped in short mode PASS ok github.com/tideland/golib/feed/atom 0.286s === RUN TestParseComposeTime --- PASS: TestParseComposeTime (0.00s) === RUN TestEncodeDecode --- PASS: TestEncodeDecode (0.00s) === RUN TestValidate --- PASS: TestValidate (0.00s) === RUN TestGet --- SKIP: TestGet (0.00s) rss_test.go:123: Network test skipped in short mode PASS ok github.com/tideland/golib/feed/rss 0.383s === RUN TestStripTags --- PASS: TestStripTags (0.00s) PASS ok github.com/tideland/golib/feed/utils 0.303s === RUN TestParseError --- PASS: TestParseError (0.00s) === RUN TestClear --- PASS: TestClear (0.00s) === RUN TestLength --- PASS: TestLength (0.00s) === RUN TestProcessing gjp_test.go:82 func1(): path 01 => "/A" = "Level One" gjp_test.go:82 func1(): path 02 => "/B/0/C" = "true" gjp_test.go:82 func1(): path 03 => "/B/0/D/A" = "Level Three - 0" gjp_test.go:82 func1(): path 04 => "/B/0/D/B" = "10.1" gjp_test.go:82 func1(): path 05 => "/B/0/S/0" = "red" gjp_test.go:82 func1(): path 06 => "/B/0/S/1" = "green" gjp_test.go:82 func1(): path 07 => "/B/0/S/2" = "1" gjp_test.go:82 func1(): path 08 => "/B/0/S/3" = "2.2" gjp_test.go:82 func1(): path 09 => "/B/0/S/4" = "true" gjp_test.go:82 func1(): path 10 => "/B/0/A" = "Level Two - 0" gjp_test.go:82 func1(): path 11 => "/B/0/B" = "100" gjp_test.go:82 func1(): path 12 => "/B/1/D/B" = "20.2" gjp_test.go:82 func1(): path 13 => "/B/1/D/A" = "Level Three - 1" gjp_test.go:82 func1(): path 14 => "/B/1/S/0" = "orange" gjp_test.go:82 func1(): path 15 => "/B/1/S/1" = "blue" gjp_test.go:82 func1(): path 16 => "/B/1/S/2" = "white" gjp_test.go:82 func1(): path 17 => "/B/1/A" = "Level Two - 1" gjp_test.go:82 func1(): path 18 => "/B/1/B" = "200" gjp_test.go:82 func1(): path 19 => "/B/1/C" = "false" gjp_test.go:82 func1(): path 20 => "/B/2/C" = "true" gjp_test.go:82 func1(): path 21 => "/B/2/D/A" = "Level Three - 2" gjp_test.go:82 func1(): path 22 => "/B/2/D/B" = "30.3" gjp_test.go:82 func1(): path 23 => "/B/2/S" = "" gjp_test.go:82 func1(): path 24 => "/B/2/A" = "Level Two - 2" gjp_test.go:82 func1(): path 25 => "/B/2/B" = "300" gjp_test.go:82 func1(): path 26 => "/D" = "5000000000" gjp_test.go:82 func1(): path 27 => "/T" = "2017-04-29T20:30:00Z" --- PASS: TestProcessing (0.00s) === RUN TestSeparator --- PASS: TestSeparator (0.00s) === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestString --- PASS: TestString (0.00s) === RUN TestInt --- PASS: TestInt (0.00s) === RUN TestFloat64 --- PASS: TestFloat64 (0.00s) === RUN TestBool --- PASS: TestBool (0.00s) === RUN TestQuery --- PASS: TestQuery (0.00s) === RUN TestBuilding --- PASS: TestBuilding (0.00s) === RUN TestMarshalJSON --- PASS: TestMarshalJSON (0.00s) PASS ok github.com/tideland/golib/gjp 0.685s === RUN TestTypeAsIdentifierPart --- PASS: TestTypeAsIdentifierPart (0.00s) === RUN TestIdentifier --- PASS: TestIdentifier (0.00s) === RUN TestSepIdentifier --- PASS: TestSepIdentifier (0.00s) === RUN TestStandardUUID --- PASS: TestStandardUUID (49.60s) === RUN TestUUIDVersions uuid_test.go:62 TestUUIDVersions(): UUID V1: 56249b5f-3d31-1c01-8132-0242ac150009 uuid_test.go:67 TestUUIDVersions(): UUID V3: c4d91d8a-0d3e-3e3f-8dd6-924b8cc71909 uuid_test.go:72 TestUUIDVersions(): UUID V4: dab929f8-bd81-41e2-991f-90836a57bf8e uuid_test.go:77 TestUUIDVersions(): UUID V5: 479b560a-cc70-5da7-9009-dcda1e772b01 --- PASS: TestUUIDVersions (0.00s) === RUN TestUUIDByHex --- PASS: TestUUIDByHex (0.00s) PASS ok github.com/tideland/golib/identifier 50.429s === RUN TestGetSetLevel --- PASS: TestGetSetLevel (0.00s) === RUN TestGetSetLevelString --- PASS: TestGetSetLevelString (0.00s) === RUN TestFiltering --- PASS: TestFiltering (0.00s) === RUN TestGoLogger 2021/10/20 00:32:52 [DEBUG] [github.com/tideland/golib/logger_test] (logger_test.go:TestGoLogger:146) Debug. 2021/10/20 00:32:52 [INFO] [github.com/tideland/golib/logger_test] Info. 2021/10/20 00:32:52 [WARNING] [github.com/tideland/golib/logger_test] Warning. 2021/10/20 00:32:52 [ERROR] [github.com/tideland/golib/logger_test] Error. 2021/10/20 00:32:52 [CRITICAL] [github.com/tideland/golib/logger_test] (logger_test.go:TestGoLogger:150) Critical. --- PASS: TestGoLogger (0.00s) === RUN TestSysLogger --- SKIP: TestSysLogger (0.00s) logger_test.go:156: Network test skipped in short mode === RUN TestFatalExit --- PASS: TestFatalExit (0.00s) PASS ok github.com/tideland/golib/logger 0.396s === RUN TestSimpleStop 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-stop" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-stop" stopped --- PASS: TestSimpleStop (0.00s) === RUN TestLogging --- PASS: TestLogging (0.00s) === RUN TestSimpleRestart 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-restart" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-restart" stopped 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-restart" restarts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-restart" stopped --- PASS: TestSimpleRestart (0.00s) === RUN TestSimpleKill 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-kill" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "simple-kill" stopped with error: ouch --- PASS: TestSimpleKill (0.00s) === RUN TestError 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "error" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "error" stopped with error: internal loop error --- PASS: TestError (0.00s) === RUN TestDeferredError 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "deferred-error" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "deferred-error" stopped with error: deferred error --- PASS: TestDeferredError (0.00s) === RUN TestStopRecoverings 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "stop-recoverings" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "stop-recoverings" tries to recover 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "stop-recoverings" recovered 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "stop-recoverings" stopped --- PASS: TestStopRecoverings (0.00s) === RUN TestEndRecoverings 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "end-recoverings" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "end-recoverings" stopped --- PASS: TestEndRecoverings (0.00s) === RUN TestRecoveringsPanic 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-panic" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" tries to recover 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-panic" recovered 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" tries to recover 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-panic" recovered 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" tries to recover 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-panic" recovered 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" tries to recover 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-panic" recovered 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" tries to recover 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-panic" stopped with error: too many panics --- PASS: TestRecoveringsPanic (0.00s) === RUN TestRecoveringsError 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "recoverings-error" starts 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-error" tries to recover 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "recoverings-error" stopped with error: error --- PASS: TestRecoveringsError (0.00s) === RUN TestDescription 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "one" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "two::three::four" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "two::three::four" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "one" stops observable "two::three::four" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "one" stops observable "" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "one" stopped --- PASS: TestDescription (0.00s) === RUN TestSimpleSentinel 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-sentinel" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "simple-sentinel" stops observable "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "simple-sentinel" stops observable "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "simple-sentinel" stops observable "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "simple-sentinel" stopped --- PASS: TestSimpleSentinel (0.00s) === RUN TestSentinelStoppingLoop 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-stopping-loop" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] stopped observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" stopped 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-stopping-loop" stops observable "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-stopping-loop" stops observable "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-stopping-loop" stopped --- PASS: TestSentinelStoppingLoop (0.00s) === RUN TestSentineForget 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-forget" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::d" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::d" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] stopped observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] stopped observing "loop::c" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-forget" stops observable "loop::d" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-forget" stops observable "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-forget" stopped --- PASS: TestSentineForget (0.00s) === RUN TestSentinelKillingLoopNoHandler 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-no-handler" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:00 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "loop::b" stopped with error: bang! 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] sentinel "sentinel-killing-loop-no-handler" kills all observables after error: bang! 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::b" 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::c" 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::a" 2021-10-20 00:33:00 Z [ERROR] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-no-handler" stopped with error: [LOOP:002] error handling for "loop::b" failed: bang! --- PASS: TestSentinelKillingLoopNoHandler (0.00s) === RUN TestSentinelKillingLoopHandlerRestarts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-handler-restarts" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] loop "loop::b" stopped with error: bang! 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" restarts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-handler-restarts" stops observable "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-handler-restarts" stops observable "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-handler-restarts" stops observable "loop::c" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-handler-restarts" stopped --- PASS: TestSentinelKillingLoopHandlerRestarts (0.08s) === RUN TestSentinelKillingLoopHandlerStops 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-with-stops" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] loop "loop::b" stopped with error: bang! 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] sentinel "sentinel-killing-loop-with-stops" kills all observables after error: oh no! 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::a" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::b" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop.(*sentinel).backendLoop] killing "loop::c" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-with-stops" stopped with error: [LOOP:002] error handling for "loop::b" failed: oh no! --- PASS: TestSentinelKillingLoopHandlerStops (0.00s) === RUN TestSentinelKillingLoopHandlerRestartAll 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-restarting-all" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::c" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::c" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] loop "loop::b" stopped with error: bang! 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" restarts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-restarting-all" stops observable "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-restarting-all" stops observable "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-killing-loop-restarting-all" stops observable "loop::c" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-killing-loop-restarting-all" stopped --- PASS: TestSentinelKillingLoopHandlerRestartAll (0.00s) === RUN TestNestedSentinelKill 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "nested-sentinel-kill::top" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "nested-sentinel-kill::nested" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "nested-sentinel-kill::nested" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "nested-sentinel-kill::nested" stops observable "loop::b" 2021-10-20 00:33:01 Z [ERROR] [github.com/tideland/golib/loop] loop "nested-sentinel-kill::nested" stopped with error: bang! 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] sentinel "nested-sentinel-kill::nested" restarts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "nested-sentinel-kill::nested" restarts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] stopped observing "loop::b" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::b" stopped 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "nested-sentinel-kill::top" stops observable "nested-sentinel-kill::nested" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "nested-sentinel-kill::top" stops observable "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "nested-sentinel-kill::top" stopped --- PASS: TestNestedSentinelKill (0.00s) === RUN TestSentinelSwitch 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-switch::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-switch::b" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "loop::a" starts 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] stopped observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] started observing "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-switch::a" stopped 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop.(*sentinel).backendLoop] sentinel "sentinel-switch::b" stops observable "loop::a" 2021-10-20 00:33:01 Z [INFO] [github.com/tideland/golib/loop] loop "sentinel-switch::b" stopped --- PASS: TestSentinelSwitch (0.00s) PASS ok github.com/tideland/golib/loop 0.495s === RUN TestMapReduce --- PASS: TestMapReduce (32.63s) PASS ok github.com/tideland/golib/mapreduce 33.008s === RUN TestETMMonitor 2021-10-20 00:33:08 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts --- PASS: TestETMMonitor (1.00s) === RUN TestSSIMonitor 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" stopped --- PASS: TestSSIMonitor (0.01s) === RUN TestDSRMonitor 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" stopped 2021-10-20 00:33:09 Z [ERROR] [github.com/tideland/golib/loop] loop "monitoring-backend" tries to recover 2021-10-20 00:33:09 Z [WARNING] [github.com/tideland/golib/monitoring] standard monitor recovered: runtime error: integer divide by zero 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" recovered --- PASS: TestDSRMonitor (0.09s) === RUN TestInternalPanic 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" stopped 2021-10-20 00:33:09 Z [ERROR] [github.com/tideland/golib/loop] loop "monitoring-backend" tries to recover 2021-10-20 00:33:09 Z [WARNING] [github.com/tideland/golib/monitoring] standard monitor recovered: ouch 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" recovered --- PASS: TestInternalPanic (0.00s) === RUN TestBackendSwitch 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" stopped 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" stopped 2021-10-20 00:33:09 Z [INFO] [github.com/tideland/golib/loop] loop "monitoring-backend" starts --- PASS: TestBackendSwitch (0.13s) PASS ok github.com/tideland/golib/monitoring 1.593s === RUN TestSimplePoint --- PASS: TestSimplePoint (0.00s) === RUN TestSimplePointArray --- PASS: TestSimplePointArray (0.00s) === RUN TestSimplePolynomialFunction --- PASS: TestSimplePolynomialFunction (0.00s) === RUN TestPolynomialFunctionPrinting --- PASS: TestPolynomialFunctionPrinting (0.00s) === RUN TestQuadraticPolynomialFunction --- PASS: TestQuadraticPolynomialFunction (0.00s) === RUN TestPolynomialFunctionDifferentiation --- PASS: TestPolynomialFunctionDifferentiation (0.00s) === RUN TestInterpolation --- PASS: TestInterpolation (0.00s) === RUN TestPointsEvaluation --- PASS: TestPointsEvaluation (0.00s) === RUN TestLeastSquaresFunction --- PASS: TestLeastSquaresFunction (0.00s) PASS ok github.com/tideland/golib/numerics 0.203s === RUN TestSimpleKeyOperations --- SKIP: TestSimpleKeyOperations (0.00s) commands_test.go:29: Redis test skipped in short mode === RUN TestScan --- SKIP: TestScan (0.00s) commands_test.go:90: Redis test skipped in short mode === RUN TestHash --- SKIP: TestHash (0.00s) commands_test.go:131: Redis test skipped in short mode === RUN TestHScan --- SKIP: TestHScan (0.00s) commands_test.go:172: Redis test skipped in short mode === RUN TestList --- SKIP: TestList (0.00s) commands_test.go:215: Redis test skipped in short mode === RUN TestSet --- SKIP: TestSet (0.00s) commands_test.go:233: Redis test skipped in short mode === RUN TestSScan --- SKIP: TestSScan (0.00s) commands_test.go:258: Redis test skipped in short mode === RUN TestSortedSet --- SKIP: TestSortedSet (0.00s) commands_test.go:298: Redis test skipped in short mode === RUN TestZScan --- SKIP: TestZScan (0.00s) commands_test.go:324: Redis test skipped in short mode === RUN TestTransactionConnection --- SKIP: TestTransactionConnection (0.00s) commands_test.go:367: Redis test skipped in short mode === RUN TestTransactionPipeline --- SKIP: TestTransactionPipeline (0.00s) commands_test.go:426: Redis test skipped in short mode === RUN TestTransactionPipelineWatch --- SKIP: TestTransactionPipelineWatch (0.00s) commands_test.go:464: Redis test skipped in short mode === RUN TestScripting --- SKIP: TestScripting (0.00s) commands_test.go:499: Redis test skipped in short mode === RUN TestPubSub --- SKIP: TestPubSub (0.00s) commands_test.go:540: Redis test skipped in short mode === RUN TestUnixSocketConnection --- SKIP: TestUnixSocketConnection (0.00s) redis_test.go:29: Redis test skipped in short mode === RUN TestTcpConnection --- SKIP: TestTcpConnection (0.00s) redis_test.go:58: Redis test skipped in short mode === RUN TestPipelining --- SKIP: TestPipelining (0.00s) redis_test.go:87: Redis test skipped in short mode === RUN TestOptions 2021-10-20 00:33:25 Z [INFO] [github.com/tideland/golib/loop] loop "redis::tmp-redis-sock::0" starts --- PASS: TestOptions (0.00s) === RUN TestConcurrency --- SKIP: TestConcurrency (0.00s) redis_test.go:145: Redis test skipped in short mode PASS ok github.com/tideland/golib/redis 0.297s === RUN TestSimpleNoTimeout 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::96a2b5ae-846a-4ed2-8527-eba5cc8e556a" starts 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::96a2b5ae-846a-4ed2-8527-eba5cc8e556a" stopped --- PASS: TestSimpleNoTimeout (0.00s) === RUN TestAccessAfterStopping 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::bcc207a3-86f2-43dd-8283-664c2c1b0708" starts 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::bcc207a3-86f2-43dd-8283-664c2c1b0708" stopped --- PASS: TestAccessAfterStopping (0.00s) === RUN TestCleanupNoError 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::61f835fc-5a14-47e0-9bef-ab8cb5266fd4" starts 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::61f835fc-5a14-47e0-9bef-ab8cb5266fd4" stopped --- PASS: TestCleanupNoError (0.00s) === RUN TestCleanupWithErrors 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::15a7d58c-dde7-4f5d-9b21-49954855d36c" starts 2021-10-20 00:33:32 Z [ERROR] [github.com/tideland/golib/loop] loop "scene::15a7d58c-dde7-4f5d-9b21-49954855d36c" stopped with error: [SCENE:005] cleanup of property "bar" failed: ouch --- PASS: TestCleanupWithErrors (0.00s) === RUN TestSimpleInactivityTimeout 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::63c5f14e-2a85-45e3-9503-d294b3199bda" starts 2021-10-20 00:33:32 Z [ERROR] [github.com/tideland/golib/loop] loop "scene::63c5f14e-2a85-45e3-9503-d294b3199bda" stopped with error: [SCENE:002] scene inactivity timeout reached at 2021-10-20 00:33:32.340986905 +0000 UTC m=+0.107974674 --- PASS: TestSimpleInactivityTimeout (0.11s) === RUN TestSimpleAbsoluteTimeout 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::61f3d253-1d58-4705-9c3d-ccbcd5d2a08f" starts 2021-10-20 00:33:32 Z [ERROR] [github.com/tideland/golib/loop] loop "scene::61f3d253-1d58-4705-9c3d-ccbcd5d2a08f" stopped with error: [SCENE:002] scene absolute timeout reached at 2021-10-20 00:33:32.687035884 +0000 UTC m=+0.454023710 --- PASS: TestSimpleAbsoluteTimeout (0.35s) === RUN TestCleanupAfterTimeout 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::ed273509-a2d8-461f-894d-966624baa606" starts 2021-10-20 00:33:32 Z [ERROR] [github.com/tideland/golib/loop] loop "scene::ed273509-a2d8-461f-894d-966624baa606" stopped with error: [SCENE:002] scene absolute timeout reached at 2021-10-20 00:33:32.787743528 +0000 UTC m=+0.554731326 --- PASS: TestCleanupAfterTimeout (0.25s) === RUN TestAbort 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::cd928731-19ae-4ed3-9906-2a76f4104387" starts 2021-10-20 00:33:32 Z [ERROR] [github.com/tideland/golib/loop] loop "scene::cd928731-19ae-4ed3-9906-2a76f4104387" stopped with error: aborted --- PASS: TestAbort (0.00s) === RUN TestFlagNoTimeout 2021-10-20 00:33:32 Z [INFO] [github.com/tideland/golib/loop] loop "scene::e3eb560c-a318-4a45-883b-e69109342e93" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::e3eb560c-a318-4a45-883b-e69109342e93" stopped --- PASS: TestFlagNoTimeout (0.39s) === RUN TestNoFlagDueToStop 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::929539fb-fcc2-444c-9b36-db37f40cf67b" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::929539fb-fcc2-444c-9b36-db37f40cf67b" stopped --- PASS: TestNoFlagDueToStop (0.10s) === RUN TestStoreAndFlag 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::03f99a31-3469-47ff-9111-3777351b4968" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::03f99a31-3469-47ff-9111-3777351b4968" stopped --- PASS: TestStoreAndFlag (0.10s) === RUN TestEarlyFlag 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::f4e4ef05-9e18-471b-8db4-9091a6ed19c4" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::f4e4ef05-9e18-471b-8db4-9091a6ed19c4" stopped --- PASS: TestEarlyFlag (0.10s) === RUN TestFlagTimeout 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::65c02325-f2db-46bc-9e34-bacd3201678d" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::65c02325-f2db-46bc-9e34-bacd3201678d" stopped --- PASS: TestFlagTimeout (0.10s) === RUN TestFlagUnflag 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::5017513a-15a2-4773-9155-0b094dc9b188" starts 2021-10-20 00:33:33 Z [INFO] [github.com/tideland/golib/loop] loop "scene::5017513a-15a2-4773-9155-0b094dc9b188" stopped --- PASS: TestFlagUnflag (0.05s) PASS ok github.com/tideland/golib/scene 1.889s === RUN TestScroller scroller_test.go:173 TestScroller(): test #1/10: no lines existing; initially no lines scrolled 2021-10-20 00:33:39 Z [INFO] [github.com/tideland/golib/loop] loop "scroller" starts 2021-10-20 00:33:43 Z [INFO] [github.com/tideland/golib/loop] loop "scroller" stopped scroller_test.go:173 TestScroller(): test #2/10: no lines existing; initially five lines scrolled 2021-10-20 00:33:43 Z [INFO] [github.com/tideland/golib/loop] loop "scroller" starts -------------------------------------------------------------------------------- scroller_test.go:415: Assert failed! Function...: assertCollected() Description: timeout during tailer collection -------------------------------------------------------------------------------- --- FAIL: TestScroller (7.89s) FAIL FAIL github.com/tideland/golib/scroller 8.103s === RUN TestTagValidation --- PASS: TestTagValidation (0.00s) === RUN TestCreating --- PASS: TestCreating (0.00s) === RUN TestWriterProcessing sml_test.go:86 TestWriterProcessing(): ===== WITH INDENT ===== sml_test.go:87 TestWriterProcessing(): {root Text A Text B {# A first comment. #} {sub-a:1st:important Text A.A {# A second comment. #} } {sub-b:2nd Text B.A {text Any text with the special characters ^{, ^}, and ^^. } } {sub-c Before raw. {! func Test(i int) { println(i) } !} After raw. } } sml_test.go:88 TestWriterProcessing(): ===== WITHOUT INDENT ===== sml_test.go:89 TestWriterProcessing(): {root Text A Text B {# A first comment. #} {sub-a:1st:important Text A.A {# A second comment. #}} {sub-b:2nd Text B.A {text Any text with the special characters ^{, ^}, and ^^.}} {sub-c Before raw. {! func Test(i int) { println(i) } !} After raw.}} sml_test.go:90 TestWriterProcessing(): ===== DONE ===== --- PASS: TestWriterProcessing (0.00s) === RUN TestPositiveNodeReading sml_test.go:112 TestPositiveNodeReading(): ===== PARSED SML ===== sml_test.go:113 TestPositiveNodeReading(): {foo:main {bar:1:first Yadda ^{Test^} 1 } {! Raw: }} { ! ^^^ !} {between } {bar:2:last Yadda {test ^^ } 2 } } sml_test.go:114 TestPositiveNodeReading(): ===== DONE ===== --- PASS: TestPositiveNodeReading (0.00s) === RUN TestNegativeNodeReading --- PASS: TestNegativeNodeReading (0.00s) === RUN TestPositiveTreeReading sml_test.go:135 TestPositiveTreeReading(): [config = '' [foo = '1'][bar = '2'][yadda = '' [up = 'down'][down = 'up']]] --- PASS: TestPositiveTreeReading (0.00s) === RUN TestNegativeTreeReading --- PASS: TestNegativeTreeReading (0.00s) === RUN TestSML2XML sml_test.go:178 TestSML2XML(): ===== XML ===== sml_test.go:179 TestSML2XML(): A test document

A test document

The is a simple sentence with an emphasized and a strong text. We'll see how it renders.

  • It should be nice.
  • It should be error free.
  • It should be fast.
for foo := 0; foo < 42; foo++ {
	println(foo)
}
  
sml_test.go:180 TestSML2XML(): ===== DONE ===== --- PASS: TestSML2XML (0.00s) PASS ok github.com/tideland/golib/sml 0.188s === RUN TestPivot --- PASS: TestPivot (0.00s) PASS ok github.com/tideland/golib/sort 0.286s === RUN TestAsString defaulter_test.go:54 TestAsString(): test Defaulter{AsString} 0: value 'foo' without error and default bar defaulter_test.go:54 TestAsString(): test Defaulter{AsString} 1: value 'foo' with error and default bar 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsString) value returned with error: foo --- PASS: TestAsString (0.00s) === RUN TestAsStringSlice defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 0: value 'a/b/c' without error and default [a] defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 1: value 'a/b/c' with error and default [a] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringSlice) value returned with error: a/b/c defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 2: value 'a/b/c' without error and default [] defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 3: value 'a/b/c' with error and default [] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringSlice) value returned with error: a/b/c defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 4: value '' without error and default [] defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 5: value '' with error and default [foo] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringSlice) value returned with error: defaulter_test.go:80 TestAsStringSlice(): test Defaulter{AsStringSlice} 6: value 'a/b/c' without error and default [a] --- PASS: TestAsStringSlice (0.00s) === RUN TestAsStringMap defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 0: value 'a:1/b:2' without error and default map[a:1] defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 1: value 'a:1/b:2' with error and default map[a:1] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringMap) value returned with error: a:1/b:2 defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 2: value 'a:1/b:2' without error and default map[] defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 3: value 'a:1/b:2' with error and default map[] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringMap) value returned with error: a:1/b:2 defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 4: value '' without error and default map[] defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 5: value '' with error and default map[a:1] 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsStringMap) value returned with error: defaulter_test.go:107 TestAsStringMap(): test Defaulter{AsStringMap} 6: value 'a:1/b:2' without error and default map[] --- PASS: TestAsStringMap (0.00s) === RUN TestAsBool defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 0: value '1' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 1: value 't' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 2: value 'T' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 3: value 'TRUE' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 4: value 'true' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 5: value 'True' without error and default false defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 6: value 'wahr' without error and default true 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsBool) value has illegal format for "bool": strconv.ParseBool: parsing "wahr": invalid syntax defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 7: value '' with error and default true 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsBool) value returned with error: defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 8: value '0' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 9: value 'f' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 10: value 'F' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 11: value 'FALSE' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 12: value 'false' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 13: value 'False' without error and default true defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 14: value 'falsch' without error and default false 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsBool) value has illegal format for "bool": strconv.ParseBool: parsing "falsch": invalid syntax defaulter_test.go:141 TestAsBool(): test Defaulter{AsBool} 15: value '' with error and default false 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsBool) value returned with error: --- PASS: TestAsBool (0.00s) === RUN TestAsInt defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 0: value '0' without error and default 0 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 1: value '1' without error and default 0 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 2: value '-1' without error and default 0 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 3: value '9223372036854775807' without error and default 0 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 4: value '-9223372036854775808' without error and default 0 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 5: value '999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt) value has illegal format for "int": strconv.ParseInt: parsing "999999999999999999999": value out of range defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 6: value '-999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt) value has illegal format for "int": strconv.ParseInt: parsing "-999999999999999999999": value out of range defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 7: value 'one two three' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt) value has illegal format for "int": strconv.ParseInt: parsing "one two three": invalid syntax defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 8: value '1' with error and default 2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt) value returned with error: 1 defaulter_test.go:171 TestAsInt(): test Defaulter{AsInt} 9: value '-1' with error and default -2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt) value returned with error: -1 --- PASS: TestAsInt (0.00s) === RUN TestAsInt64 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 0: value '0' without error and default 0 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 1: value '1' without error and default 0 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 2: value '-1' without error and default 0 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 3: value '9223372036854775807' without error and default 0 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 4: value '-9223372036854775808' without error and default 0 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 5: value '999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt64) value has illegal format for "int64": strconv.ParseInt: parsing "999999999999999999999": value out of range defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 6: value '-999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt64) value has illegal format for "int64": strconv.ParseInt: parsing "-999999999999999999999": value out of range defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 7: value 'one two three' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt64) value has illegal format for "int64": strconv.ParseInt: parsing "one two three": invalid syntax defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 8: value '1' with error and default 2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt64) value returned with error: 1 defaulter_test.go:201 TestAsInt64(): test Defaulter{AsInt64} 9: value '-1' with error and default -2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsInt64) value returned with error: -1 --- PASS: TestAsInt64 (0.00s) === RUN TestAsUint defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 0: value '0' without error and default 0 defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 1: value '1' without error and default 0 defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 2: value '18446744073709551615' without error and default 0 defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 3: value '999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUint) value has illegal format for "uint": strconv.ParseUint: parsing "999999999999999999999": value out of range defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 4: value 'one two three' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUint) value has illegal format for "uint": strconv.ParseUint: parsing "one two three": invalid syntax defaulter_test.go:226 TestAsUint(): test Defaulter{AsUint} 5: value '-1' with error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUint) value returned with error: -1 --- PASS: TestAsUint (0.00s) === RUN TestAsUInt64 defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 0: value '0' without error and default 0 defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 1: value '1' without error and default 0 defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 2: value '18446744073709551615' without error and default 0 defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 3: value '999999999999999999999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUInt64) value has illegal format for "uint64": strconv.ParseUint: parsing "999999999999999999999": value out of range defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 4: value 'one two three' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUInt64) value has illegal format for "uint64": strconv.ParseUint: parsing "one two three": invalid syntax defaulter_test.go:251 TestAsUInt64(): test Defaulter{AsUInt64} 5: value '-1' with error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsUInt64) value returned with error: -1 --- PASS: TestAsUInt64 (0.00s) === RUN TestAsFloat64 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 0: value '0.0' without error and default 0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 1: value '1.0' without error and default 0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 2: value '-1.0' without error and default 0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 3: value '1.7976931348623157e+308' without error and default 0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 4: value '-1.7976931348623157e+308' without error and default 0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 5: value '9e+999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsFloat4) value has illegal format for "float64": strconv.ParseFloat: parsing "9e+999": value out of range defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 6: value '-9e+999' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsFloat4) value has illegal format for "float64": strconv.ParseFloat: parsing "-9e+999": value out of range defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 7: value 'one.two' without error and default 1 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsFloat4) value has illegal format for "float64": strconv.ParseFloat: parsing "one.two": invalid syntax defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 8: value '1.0' with error and default 2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsFloat4) value returned with error: 1.0 defaulter_test.go:281 TestAsFloat64(): test Defaulter{AsFloat4} 9: value '-1.0' with error and default -2 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsFloat4) value returned with error: -1.0 --- PASS: TestAsFloat64 (0.00s) === RUN TestAsTime defaulter_test.go:307 TestAsTime(): test Defaulter{AsTime} 0: value '2021-10-20T00:33:49.739780337Z' without error and default 2000-01-01 00:00:00 +0000 UTC defaulter_test.go:307 TestAsTime(): test Defaulter{AsTime} 1: value '2021-10-20T00:33:49.739780337Z' with error and default 2000-01-01 00:00:00 +0000 UTC 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsTime) value returned with error: 2021-10-20T00:33:49.739780337Z defaulter_test.go:307 TestAsTime(): test Defaulter{AsTime} 2: value '2021-10-20T00:33:49.739780337Z' without error and default 2000-01-01 00:00:00 +0000 UTC 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsTime) value has illegal format for "time": parsing time "2021-10-20T00:33:49.739780337Z" as "any false layout": cannot parse "2021-10-20T00:33:49.739780337Z" as "any false layout" defaulter_test.go:307 TestAsTime(): test Defaulter{AsTime} 3: value '' without error and default 2000-01-01 00:00:00 +0000 UTC 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsTime) value has illegal format for "time": parsing time "" as "2006-01-02T15:04:05.999999999Z07:00": cannot parse "" as "2006" --- PASS: TestAsTime (0.00s) === RUN TestAsDuration defaulter_test.go:330 TestAsDuration(): test Defaulter{AsDuration} 0: value '1s' without error and default 1s defaulter_test.go:330 TestAsDuration(): test Defaulter{AsDuration} 1: value '1s' with error and default 1m0s 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsDuration) value returned with error: 1s defaulter_test.go:330 TestAsDuration(): test Defaulter{AsDuration} 2: value '2' without error and default 1m0s 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsDuration) value has illegal format for "duration": time: missing unit in duration 2 defaulter_test.go:330 TestAsDuration(): test Defaulter{AsDuration} 3: value '1 hour' without error and default 1m0s 2021-10-20 00:33:49 Z [ERROR] [github.com/tideland/golib/stringex] (AsDuration) value has illegal format for "duration": time: unknown unit hour in duration 1 hour defaulter_test.go:330 TestAsDuration(): test Defaulter{AsDuration} 4: value '4711h' without error and default 1m0s --- PASS: TestAsDuration (0.00s) === RUN TestDefaulterString --- PASS: TestDefaulterString (0.00s) === RUN TestWrapping --- PASS: TestWrapping (0.00s) === RUN TestSplitMapProcessor --- PASS: TestSplitMapProcessor (0.00s) === RUN TestSubstringProcessor --- PASS: TestSubstringProcessor (0.00s) === RUN TestMatchProcessor --- PASS: TestMatchProcessor (0.00s) === RUN TestTrimmingProcessors --- PASS: TestTrimmingProcessors (0.00s) === RUN TestUpperLowerProcessor --- PASS: TestUpperLowerProcessor (0.00s) === RUN TestProcessorScenario --- PASS: TestProcessorScenario (0.00s) === RUN TestSplitFilter === RUN TestSplitFilter/all_fine === RUN TestSplitFilter/filter_empty_parts === RUN TestSplitFilter/filter_all_parts === RUN TestSplitFilter/filter_empty_input === RUN TestSplitFilter/filter_not_splitted --- PASS: TestSplitFilter (0.00s) --- PASS: TestSplitFilter/all_fine (0.00s) --- PASS: TestSplitFilter/filter_empty_parts (0.00s) --- PASS: TestSplitFilter/filter_all_parts (0.00s) --- PASS: TestSplitFilter/filter_empty_input (0.00s) --- PASS: TestSplitFilter/filter_not_splitted (0.00s) === RUN TestSplitMap === RUN TestSplitMap/uppercase_all === RUN TestSplitMap/filter_empty_parts,_uppercase_the_rest === RUN TestSplitMap/filter_all_parts === RUN TestSplitMap/encapsulate_even_empty_input === RUN TestSplitMap/uppercase_not_splitted --- PASS: TestSplitMap (0.00s) --- PASS: TestSplitMap/uppercase_all (0.00s) --- PASS: TestSplitMap/filter_empty_parts,_uppercase_the_rest (0.00s) --- PASS: TestSplitMap/filter_all_parts (0.00s) --- PASS: TestSplitMap/encapsulate_even_empty_input (0.00s) --- PASS: TestSplitMap/uppercase_not_splitted (0.00s) === RUN TestMatches === RUN TestMatches/equal_pattern_and_string_without_wildcards === RUN TestMatches/unequal_pattern_and_string_without_wildcards === RUN TestMatches/matching_pattern_with_one_question_mark === RUN TestMatches/matching_pattern_with_one_asterisk === RUN TestMatches/matching_pattern_with_char_group === RUN TestMatches/not-matching_pattern_with_char_group === RUN TestMatches/matching_pattern_with_char_range === RUN TestMatches/not-matching_pattern_with_char_range === RUN TestMatches/matching_pattern_with_char_group_not_ignoring_care === RUN TestMatches/not-matching_pattern_with_char_group_not_ignoring_care === RUN TestMatches/matching_pattern_with_escape === RUN TestMatches/not-matching_pattern_with_escape --- PASS: TestMatches (0.00s) --- PASS: TestMatches/equal_pattern_and_string_without_wildcards (0.00s) --- PASS: TestMatches/unequal_pattern_and_string_without_wildcards (0.00s) --- PASS: TestMatches/matching_pattern_with_one_question_mark (0.00s) --- PASS: TestMatches/matching_pattern_with_one_asterisk (0.00s) --- PASS: TestMatches/matching_pattern_with_char_group (0.00s) --- PASS: TestMatches/not-matching_pattern_with_char_group (0.00s) --- PASS: TestMatches/matching_pattern_with_char_range (0.00s) --- PASS: TestMatches/not-matching_pattern_with_char_range (0.00s) --- PASS: TestMatches/matching_pattern_with_char_group_not_ignoring_care (0.00s) --- PASS: TestMatches/not-matching_pattern_with_char_group_not_ignoring_care (0.00s) --- PASS: TestMatches/matching_pattern_with_escape (0.00s) --- PASS: TestMatches/not-matching_pattern_with_escape (0.00s) PASS ok github.com/tideland/golib/stringex 0.593s === RUN TestTimeContainments --- PASS: TestTimeContainments (0.00s) === RUN TestBeginOf --- PASS: TestBeginOf (0.00s) === RUN TestEndOf --- PASS: TestEndOf (0.00s) === RUN TestCrontabKeep 2021-10-20 00:33:49 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::50ms" starts 2021-10-20 00:33:50 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::50ms" stopped --- PASS: TestCrontabKeep (1.04s) === RUN TestCrontabRemove 2021-10-20 00:33:50 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::10ms" starts 2021-10-20 00:33:50 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::10ms" stopped --- PASS: TestCrontabRemove (0.50s) === RUN TestCrontabError 2021-10-20 00:33:50 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::10ms" starts 2021-10-20 00:33:50 Z [ERROR] [github.com/tideland/golib/timex.(*Crontab).do] job "remove" removed after error: failed 2021-10-20 00:33:51 Z [INFO] [github.com/tideland/golib/loop] loop "crontab::10ms" stopped --- PASS: TestCrontabError (0.51s) === RUN TestRetrySuccess --- PASS: TestRetrySuccess (0.20s) === RUN TestRetryFuncError --- PASS: TestRetryFuncError (0.00s) === RUN TestRetryTooLong --- PASS: TestRetryTooLong (0.05s) === RUN TestRetryTooOften --- PASS: TestRetryTooOften (0.08s) PASS ok github.com/tideland/golib/timex 2.703s === RUN TestNew version_test.go:98 TestNew(): new test #0: "1.2.3" version_test.go:98 TestNew(): new test #1: "1.0.3" version_test.go:98 TestNew(): new test #2: "1.2.3-alpha.2014-08-03" version_test.go:98 TestNew(): new test #3: "1.2.3-alphabeta.7.11" version_test.go:98 TestNew(): new test #4: "1.2.3+007.a" version_test.go:98 TestNew(): new test #5: "1.2.3-alpha+007.a" version_test.go:98 TestNew(): new test #6: "1.2.3-ALPHA+007.a" --- PASS: TestNew (0.00s) === RUN TestParse version_test.go:212 TestParse(): parse test #0: "1" version_test.go:212 TestParse(): parse test #1: "1.1" version_test.go:212 TestParse(): parse test #2: "1.2.3" version_test.go:212 TestParse(): parse test #3: "1.0.3" version_test.go:212 TestParse(): parse test #4: "1.2.3-alpha.2016-11-14" version_test.go:212 TestParse(): parse test #5: "1.2.3-alphabeta.7.11" version_test.go:212 TestParse(): parse test #6: "1.2.3+007.a" version_test.go:212 TestParse(): parse test #7: "1.2.3-alpha+007.a" version_test.go:212 TestParse(): parse test #8: "1.2.3-ALPHA+007.a" version_test.go:212 TestParse(): parse test #9: "" version_test.go:212 TestParse(): parse test #10: "a" version_test.go:212 TestParse(): parse test #11: "1.a" version_test.go:212 TestParse(): parse test #12: "1,1" version_test.go:212 TestParse(): parse test #13: "-1" version_test.go:212 TestParse(): parse test #14: "1.-1" version_test.go:212 TestParse(): parse test #15: "+" --- PASS: TestParse (0.00s) === RUN TestCompare version_test.go:320 TestCompare(): compare test #0: "1.2.3" <> "1.2.3" -> 0 / all version_test.go:320 TestCompare(): compare test #1: "1.2.3" <> "1.2.4" -> -1 / patch version_test.go:320 TestCompare(): compare test #2: "1.2.3" <> "1.3.3" -> -1 / minor version_test.go:320 TestCompare(): compare test #3: "1.2.3" <> "2.2.3" -> -1 / major version_test.go:320 TestCompare(): compare test #4: "3.2.1" <> "1.2.3" -> 1 / major version_test.go:320 TestCompare(): compare test #5: "1.2.3-alpha" <> "1.2.3" -> -1 / pre-release version_test.go:320 TestCompare(): compare test #6: "1.2.3-alpha.1" <> "1.2.3-alpha" -> -1 / pre-release version_test.go:320 TestCompare(): compare test #7: "1.2.3-alpha.1" <> "1.2.3-alpha.2" -> -1 / pre-release version_test.go:320 TestCompare(): compare test #8: "1.2.3-alpha.4711" <> "1.2.3-alpha.471" -> 1 / pre-release version_test.go:320 TestCompare(): compare test #9: "1.2.3-alpha.48" <> "1.2.3-alpha.4711" -> -1 / pre-release version_test.go:320 TestCompare(): compare test #10: "1.2.3+alpha.1" <> "1.2.3+alpha.2" -> 0 / all version_test.go:320 TestCompare(): compare test #11: "1.2.3+alpha.2" <> "1.2.3+alpha.1" -> 0 / all version_test.go:320 TestCompare(): compare test #12: "1.2.3-alpha+alpha.2" <> "1.2.3-alpha+alpha.1" -> 0 / all version_test.go:320 TestCompare(): compare test #13: "1.2.3-alpha.48+alpha.2" <> "1.2.3-alpha.4711+alpha.1" -> -1 / pre-release version_test.go:320 TestCompare(): compare test #14: "1.2.3-alpha.2" <> "1.2.3-alpha.1b" -> 1 / pre-release --- PASS: TestCompare (0.00s) === RUN TestLess version_test.go:399 TestLess(): less test #0: "1.2.3" <> "1.2.3" -> false version_test.go:399 TestLess(): less test #1: "1.2.3" <> "1.2.4" -> true version_test.go:399 TestLess(): less test #2: "1.2.3" <> "1.3.3" -> true version_test.go:399 TestLess(): less test #3: "1.2.3" <> "2.2.3" -> true version_test.go:399 TestLess(): less test #4: "3.2.1" <> "1.2.3" -> false version_test.go:399 TestLess(): less test #5: "1.2.3-alpha" <> "1.2.3" -> true version_test.go:399 TestLess(): less test #6: "1.2.3-alpha.1" <> "1.2.3-alpha" -> true version_test.go:399 TestLess(): less test #7: "1.2.3-alpha.1" <> "1.2.3-alpha.2" -> true version_test.go:399 TestLess(): less test #8: "1.2.3-alpha.4711" <> "1.2.3-alpha.471" -> false version_test.go:399 TestLess(): less test #9: "1.2.3-alpha.48" <> "1.2.3-alpha.4711" -> true version_test.go:399 TestLess(): less test #10: "1.2.3+alpha.1" <> "1.2.3+alpha.2" -> false version_test.go:399 TestLess(): less test #11: "1.2.3+alpha.2" <> "1.2.3+alpha.1" -> false version_test.go:399 TestLess(): less test #12: "1.2.3-alpha+alpha.2" <> "1.2.3-alpha+alpha.1" -> false version_test.go:399 TestLess(): less test #13: "1.2.3-alpha.48+alpha.2" <> "1.2.3-alpha.4711+alpha.1" -> true version_test.go:399 TestLess(): less test #14: "1.2.3-alpha.2" <> "1.2.3-alpha.1b" -> false --- PASS: TestLess (0.00s) PASS ok github.com/tideland/golib/version 0.594s dh_auto_test: cd obj-x86_64-linux-gnu && go test -v -p 4 -short github.com/tideland/golib/audit github.com/tideland/golib/cache github.com/tideland/golib/collections github.com/tideland/golib/errors github.com/tideland/golib/etc github.com/tideland/golib/feed/atom github.com/tideland/golib/feed/rss github.com/tideland/golib/feed/utils github.com/tideland/golib/gjp github.com/tideland/golib/identifier github.com/tideland/golib/logger github.com/tideland/golib/loop github.com/tideland/golib/mapreduce github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/redis github.com/tideland/golib/scene github.com/tideland/golib/scroller github.com/tideland/golib/sml github.com/tideland/golib/sort github.com/tideland/golib/stringex github.com/tideland/golib/timex github.com/tideland/golib/version returned exit code 1 debian/rules:7: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2' debian/rules:4: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-tideland-golib-szGEsr/golang-github-tideland-golib-4.24.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1507471752" dpkg-buildpackage -uc -a amd64 --build=all" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.LtzyW3Igtn... mmdebstrap failed