Diff of the two buildlogs: -- --- b1/build.log 2024-11-11 12:15:53.899142260 +0000 +++ b2/build.log 2024-11-11 12:21:36.314925155 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 11 00:05:48 -12 2024 -I: pbuilder-time-stamp: 1731326748 +I: Current time: Tue Nov 12 02:16:08 +14 2024 +I: pbuilder-time-stamp: 1731327368 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying use-mitchellh-go-ps.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/6475/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 11 12:16 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='08fbd5c8ab364087935e679cfcc363d5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='6475' - PS1='# ' - PS2='> ' + INVOCATION_ID=049717181e2a4a0d9fba0e9434b02a07 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=14931 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.INHXYvZP/pbuilderrc_5wn0 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.INHXYvZP/b1 --logfile b1/build.log goss_0.4.9-1.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.INHXYvZP/pbuilderrc_yg4P --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.INHXYvZP/b2 --logfile b2/build.log goss_0.4.9-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-27-armmp-lpae #1 SMP Debian 6.1.115-1 (2024-11-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/6475/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -280,7 +312,7 @@ Get: 123 http://deb.debian.org/debian trixie/main armhf golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 124 http://deb.debian.org/debian trixie/main armhf golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 125 http://deb.debian.org/debian trixie/main armhf golang-gomega-dev all 1.34.2-2 [160 kB] -Fetched 123 MB in 11s (11.0 MB/s) +Fetched 123 MB in 11s (11.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19691 files and directories currently installed.) @@ -693,8 +725,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Nov 11 12:10:25 UTC 2024. -Universal Time is now: Mon Nov 11 12:10:25 UTC 2024. +Local time is now: Mon Nov 11 12:18:17 UTC 2024. +Universal Time is now: Mon Nov 11 12:18:17 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -801,7 +833,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../goss_0.4.9-1_source.changes +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../goss_0.4.9-1_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.9-1 dpkg-buildpackage: info: source distribution unstable @@ -819,47 +855,46 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go install -trimpath -v -p 4 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util internal/unsafeheader internal/goarch -internal/cpu internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/cpu +internal/abi internal/godebugs +internal/chacha8rand internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys internal/race -internal/runtime/exithook sync/atomic unicode +internal/runtime/exithook unicode/utf8 cmp -runtime encoding math/bits -math internal/itoa internal/asan internal/msan +math unicode/utf16 +runtime crypto/internal/alias crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace github.com/google/go-cmp/cmp/internal/flags github.com/onsi/gomega/matchers/support/goraph/node -github.com/onsi/gomega/matchers/support/goraph/util -github.com/onsi/gomega/matchers/support/goraph/edge golang.org/x/net/html/atom +github.com/onsi/gomega/matchers/support/goraph/edge golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal container/list @@ -869,30 +904,33 @@ github.com/tidwall/match golang.org/x/net/internal/iana google.golang.org/protobuf/internal/flags +github.com/onsi/gomega/matchers/support/goraph/util google.golang.org/protobuf/internal/set github.com/klauspost/compress -internal/reflectlite iter +crypto/subtle +internal/reflectlite sync slices -crypto/subtle internal/weak maps runtime/metrics -internal/bisect internal/testlog +internal/bisect internal/singleflight +google.golang.org/protobuf/internal/pragma +runtime/cgo errors sort io strconv -bytes internal/oserror +bytes path internal/godebug syscall -reflect strings +reflect hash crypto crypto/cipher @@ -900,216 +938,214 @@ crypto/aes crypto/internal/randutil math/rand -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat time -encoding/binary -encoding/base64 -internal/fmtsort internal/syscall/unix internal/syscall/execenv +crypto/internal/edwards25519/field +crypto/internal/nistec/fiat +crypto/sha512 +crypto/internal/edwards25519 io/fs internal/poll -crypto/sha512 internal/filepathlite -crypto/internal/edwards25519 +encoding/binary +internal/fmtsort os -crypto/internal/nistec crypto/hmac crypto/sha1 -crypto/ecdh +encoding/base64 crypto/sha256 crypto/des crypto/md5 +encoding/pem +context +vendor/golang.org/x/net/dns/dnsmessage +math/rand/v2 +internal/concurrent fmt +unique +crypto/internal/nistec +net/netip +path/filepath +encoding/base32 +crypto/ecdh +regexp/syntax +github.com/huandu/xstrings encoding/json math/big encoding/hex -encoding/pem -context -vendor/golang.org/x/net/dns/dnsmessage +net +net/url +database/sql/driver +regexp +github.com/imdario/mergo crypto/dsa crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand +github.com/Masterminds/semver crypto/ed25519 crypto/rsa -math/rand/v2 -internal/concurrent -unique -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -net/netip -crypto/ecdsa -net/url -runtime/cgo -path/filepath -encoding/base32 github.com/Masterminds/goutils -database/sql/driver -github.com/huandu/xstrings -regexp/syntax -github.com/imdario/mergo -regexp github.com/mitchellh/reflectwalk +github.com/shopspring/decimal +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix github.com/mitchellh/copystructure +crypto/ecdsa html -github.com/Masterminds/semver -github.com/shopspring/decimal text/template/parse golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt golang.org/x/crypto/pbkdf2 golang.org/x/crypto/scrypt hash/adler32 -text/template -golang.org/x/sys/unix -html/template -github.com/spf13/cast bufio -github.com/mattn/go-isatty +golang.org/x/sys/unix +text/template encoding/xml -github.com/mattn/go-colorable -github.com/fatih/color +html/template github.com/blang/semver/v4 github.com/onsi/gomega/format github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value +github.com/spf13/cast +github.com/google/go-cmp/cmp +github.com/mattn/go-isatty github.com/onsi/gomega/internal/gutil +github.com/mattn/go-colorable github.com/onsi/gomega/matchers/support/goraph/bipartitegraph +github.com/fatih/color github.com/onsi/gomega/types -github.com/google/go-cmp/cmp -net golang.org/x/net/html golang.org/x/text/transform -golang.org/x/text/internal/tag golang.org/x/text/encoding -golang.org/x/text/runes golang.org/x/text/encoding/internal -golang.org/x/text/internal/language golang.org/x/text/encoding/charmap golang.org/x/text/encoding/japanese +crypto/x509 +github.com/google/uuid golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese +github.com/Masterminds/sprig +golang.org/x/text/runes golang.org/x/text/encoding/unicode -golang.org/x/text/internal/language/compact +golang.org/x/text/internal/tag +golang.org/x/text/internal/language mime -golang.org/x/text/language gopkg.in/yaml.v3 -golang.org/x/text/encoding/htmlindex -golang.org/x/net/html/charset compress/flate hash/crc32 -compress/gzip vendor/golang.org/x/crypto/chacha20 +golang.org/x/text/internal/language/compact +compress/gzip vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -crypto/internal/hpke +golang.org/x/text/language vendor/golang.org/x/sys/cpu +vendor/golang.org/x/crypto/chacha20poly1305 +crypto/internal/hpke +vendor/golang.org/x/crypto/sha3 crypto/rc4 vendor/golang.org/x/text/transform -vendor/golang.org/x/crypto/sha3 crypto/internal/mlkem768 +golang.org/x/text/encoding/htmlindex log +golang.org/x/net/html/charset +crypto/tls vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/http2/hpack -crypto/x509 -github.com/google/uuid -vendor/golang.org/x/net/idna -crypto/tls -github.com/Masterminds/sprig net/textproto -vendor/golang.org/x/net/http/httpproxy -vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime/quotedprintable net/http/internal mime/multipart net/http/internal/ascii flag +vendor/golang.org/x/net/idna net/http/internal/testcert github.com/samber/lo github.com/tidwall/pretty github.com/tidwall/gjson github.com/opencontainers/runc/libcontainer/user io/ioutil +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy +github.com/aelsabbahy/GOnetstat github.com/oleiade/reflections os/exec -github.com/aelsabbahy/GOnetstat golang.org/x/net/bpf -github.com/goss-org/goss/util +golang.org/x/net/internal/socket github.com/mitchellh/go-ps +github.com/goss-org/goss/util github.com/moby/sys/mountinfo -golang.org/x/net/internal/socket -os/user -net/http/httptrace -net/http golang.org/x/net/ipv4 golang.org/x/net/ipv6 -github.com/miekg/dns +os/user github.com/pmezard/go-difflib/difflib github.com/beorn7/perks/quantile +net/http/httptrace +github.com/miekg/dns github.com/cespare/xxhash +net/http hash/fnv -net/http/httptest -expvar -github.com/onsi/gomega/matchers google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts embed google.golang.org/protobuf/internal/editiondefaults go/token -google.golang.org/protobuf/internal/strs -github.com/goss-org/goss/matchers -google.golang.org/protobuf/internal/encoding/text -github.com/goss-org/goss/system -google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/version github.com/munnerz/goautoneg -github.com/goss-org/goss/resource github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util -google.golang.org/protobuf/proto github.com/prometheus/procfs google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/impl runtime/debug github.com/hashicorp/logutils -google.golang.org/protobuf/internal/encoding/tag internal/saferio -encoding/gob -google.golang.org/protobuf/internal/impl github.com/klauspost/compress/fse +encoding/gob github.com/klauspost/compress/huff0 -github.com/klauspost/compress/internal/snapref +net/http/httptest +github.com/goss-org/goss/system +github.com/onsi/gomega/matchers +expvar github.com/patrickmn/go-cache +github.com/klauspost/compress/internal/snapref github.com/klauspost/compress/zstd github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/russross/blackfriday/v2 -github.com/cpuguy83/go-md2man/v2/md2man -text/tabwriter -github.com/urfave/cli +github.com/goss-org/goss/matchers +github.com/goss-org/goss/resource google.golang.org/protobuf/internal/filetype +github.com/cpuguy83/go-md2man/v2/md2man google.golang.org/protobuf/runtime/protoimpl +text/tabwriter google.golang.org/protobuf/types/known/timestamppb +github.com/urfave/cli github.com/prometheus/client_model/go github.com/prometheus/common/model github.com/prometheus/client_golang/prometheus/internal @@ -1121,14 +1157,14 @@ github.com/goss-org/goss github.com/goss-org/goss/cmd/goss dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go test -vet=off -v -p 4 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestConfigMerge --- PASS: TestConfigMerge (0.00s) === RUN TestUseAsPackage ---- PASS: TestUseAsPackage (4.76s) +--- PASS: TestUseAsPackage (0.01s) === RUN TestSkipResourcesByType ---- PASS: TestSkipResourcesByType (0.27s) +--- PASS: TestSkipResourcesByType (0.00s) === RUN TestMatchers === RUN TestMatchers/testdata/out_matching_basic.0.documentation === RUN TestMatchers/testdata/out_matching_basic.0.nagios @@ -1146,23 +1182,23 @@ === RUN TestMatchers/testdata/out_matching_transformers_failing.1.rspecish === RUN TestMatchers/testdata/out_matching_transformers_failing.1.tap === RUN TestMatchers/testdata/out_matching_transformers_failing.2.nagios ---- PASS: TestMatchers (2.13s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.30s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.15s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.rspecish (0.01s) +--- PASS: TestMatchers (0.12s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.00s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.00s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_basic.0.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.10s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.02s) --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.01s) --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.00s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.02s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.rspecish (0.01s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.16s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.06s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.13s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.17s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.19s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) === RUN TestServeWithNoContentNegotiation === PAUSE TestServeWithNoContentNegotiation === RUN TestServeNegotiatingContent @@ -1190,10 +1226,10 @@ [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.22s) - --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.00s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.12s) + --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.01s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.12s) === RUN TestServeCacheNegotiatingContent === RUN TestServeCacheNegotiatingContent/fresh_cache serve_test.go:255: [TRACE] : requesting health probe @@ -1202,7 +1238,7 @@ [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1850164,"end-time":"2024-11-11T00:15:13.956607161-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:13.954756937-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13119,"end-time":"2024-11-11T00:15:13.956625819-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:13.95661268-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1868842}} + [DEBUG] OK SUMMARY: {"results":[{"duration":3491309,"end-time":"2024-11-12T02:20:57.907137739+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:57.90364635+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":12858,"end-time":"2024-11-12T02:20:57.907157257+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:57.907144379+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.004s","test-count":2,"total-duration":3510787}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1210,7 +1246,7 @@ [TRACE] Returning cached[res]. [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1850164,"end-time":"2024-11-11T00:15:13.956607161-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:13.954756937-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13119,"end-time":"2024-11-11T00:15:13.956625819-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:13.95661268-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1868842}} + [DEBUG] OK SUMMARY: {"results":[{"duration":3491309,"end-time":"2024-11-12T02:20:57.907137739+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:57.90364635+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":12858,"end-time":"2024-11-12T02:20:57.907157257+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:57.907144379+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.004s","test-count":2,"total-duration":3510787}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1218,7 +1254,7 @@ [TRACE] Returning cached[res]. [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.002s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.004s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1226,16 +1262,16 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":2207030,"end-time":"2024-11-11T00:15:14.067009564-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.064802534-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":34297,"end-time":"2024-11-11T00:15:14.06705034-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.067016063-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":2247766}} + [DEBUG] OK SUMMARY: {"results":[{"duration":13501322,"end-time":"2024-11-12T02:20:58.028878074+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.015376712+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":21418,"end-time":"2024-11-12T02:20:58.028909251+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.028887873+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.014s","test-count":2,"total-duration":13532539}} [DEBUG] : status 200 ---- PASS: TestServeCacheNegotiatingContent (0.12s) +--- PASS: TestServeCacheNegotiatingContent (0.13s) --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.12s) === RUN Test_varsFromString === RUN Test_varsFromString/empty_string === RUN Test_varsFromString/empty_JSON @@ -1275,61 +1311,91 @@ === CONT TestServeWithNoContentNegotiation === RUN TestServeWithNoContentNegotiation/passing-json === CONT TestServeNegotiatingContent -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level - serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + serve_test.go:173: testName "accept header contains nonsense then valid" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.002s Count: 2, Failed: 0, Skipped: 0 + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] + [DEBUG] OK SUMMARY: {"results":[{"duration":8659820,"end-time":"2024-11-12T02:20:58.050091606+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.041431766+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":19659,"end-time":"2024-11-12T02:20:58.050128423+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.050108784+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.009s","test-count":2,"total-duration":8696617}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense +=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option === NAME TestServeWithNoContentNegotiation/passing-json serve_test.go:66: testName "passing-json" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests === RUN TestServeWithNoContentNegotiation/failing-json -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] + serve_test.go:66: testName "failing-json" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":3414535,"end-time":"2024-11-11T00:15:14.079175107-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.075760552-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":20418,"end-time":"2024-11-11T00:15:14.079200285-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.079179867-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":3439653}} - [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid - serve_test.go:173: testName "accept header contains nonsense then valid" log output: + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":3371361,"end-time":"2024-11-12T02:20:58.058544006+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-12T02:20:58.055172605+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":17459,"end-time":"2024-11-12T02:20:58.058568104+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-12T02:20:58.058550665+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":3395479}} + [DEBUG] : status 503 - {"results":[{"duration":3371361,"end-time":"2024-11-12T02:20:58.058544006+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-12T02:20:58.055172605+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":17459,"end-time":"2024-11-12T02:20:58.058568104+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-12T02:20:58.058550665+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":3395479}} +=== RUN TestServeWithNoContentNegotiation/failing-default-output +=== NAME TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option + serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1853204,"end-time":"2024-11-11T00:15:14.084000089-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.082146905-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":16678,"end-time":"2024-11-11T00:15:14.084024606-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.084007908-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1877661}} + [DEBUG] OK SUMMARY: {"results":[{"duration":11971927,"end-time":"2024-11-12T02:20:58.053143857+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.04117185+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":14839,"end-time":"2024-11-12T02:20:58.053164895+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.053150036+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.012s","test-count":2,"total-duration":11992985}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option - serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] - [TRACE] : requesting health probe - Stale cache[res], running tests +=== RUN TestServeNegotiatingContent/accept_application/json +=== NAME TestServeWithNoContentNegotiation/failing-default-output + serve_test.go:66: testName "failing-default-output" log output: [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_application/json +--- PASS: TestServeWithNoContentNegotiation (0.03s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.02s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.01s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.01s) +=== NAME TestServeNegotiatingContent/accept_application/json serve_test.go:173: testName "accept application/json" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] + [TRACE] : requesting health probe + Stale cache[res], running tests [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] + [DEBUG] FAIL SUMMARY: Total Duration: 0.004s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] : status 503 - FF + + Failures/Skipped: + + Command: hello world: exit-status: + Expected + 0 + to be numerically eq + 1 + Command: hello world: stdout: + Expected + "object: *bytes.Reader" + to have patterns + ["did not echo this"] + the missing elements were + ["did not echo this"] + + Total Duration: 0.004s + Count: 2, Failed: 2, Skipped: 0 + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1925377,"end-time":"2024-11-11T00:15:14.091299175-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.089373838-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":19018,"end-time":"2024-11-11T00:15:14.091333571-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.091314493-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1959713}} + [DEBUG] OK SUMMARY: {"results":[{"duration":4234360,"end-time":"2024-11-12T02:20:58.06600494+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.0617706+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":15978,"end-time":"2024-11-12T02:20:58.066026377+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.066010419+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.004s","test-count":2,"total-duration":4255777}} [DEBUG] : status 200 === RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json serve_test.go:173: testName "accept text/json translates to application/json" log output: @@ -1337,9 +1403,9 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1909119,"end-time":"2024-11-11T00:15:14.095284236-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.093375197-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":10499,"end-time":"2024-11-11T00:15:14.095300234-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.095289715-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1925017}} + [DEBUG] OK SUMMARY: {"results":[{"duration":5479442,"end-time":"2024-11-12T02:20:58.073461034+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.067981572+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":14638,"end-time":"2024-11-12T02:20:58.073483951+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.073469413+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.006s","test-count":2,"total-duration":5502439}} [DEBUG] : status 200 === RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: @@ -1347,58 +1413,38 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1895840,"end-time":"2024-11-11T00:15:14.098975065-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.097079205-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":19019,"end-time":"2024-11-11T00:15:14.098999463-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T00:15:14.098980484-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1920278}} + [DEBUG] OK SUMMARY: {"results":[{"duration":5034963,"end-time":"2024-11-12T02:20:58.080660432+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.075625469+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":30437,"end-time":"2024-11-12T02:20:58.080698588+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-12T02:20:58.080668171+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.005s","test-count":2,"total-duration":5073059}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.03s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.00s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.00s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.00s) - --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.00s) - --- PASS: TestServeNegotiatingContent/accept_application/json (0.00s) - --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.00s) - --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.00s) -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: +=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level + serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: + [TRACE] : requesting health probe + Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] + [DEBUG] OK SUMMARY: Total Duration: 0.009s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/failing-default-output - serve_test.go:66: testName "failing-default-output" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] - [DEBUG] FAIL SUMMARY: Total Duration: 0.002s Count: 2, Failed: 2, Skipped: 0 - [DEBUG] : status 503 - FF - - Failures/Skipped: - - Command: hello world: exit-status: - Expected - 0 - to be numerically eq - 1 - Command: hello world: stdout: - Expected - "object: *bytes.Reader" - to have patterns - ["did not echo this"] - the missing elements were - ["did not echo this"] - - Total Duration: 0.002s - Count: 2, Failed: 2, Skipped: 0 ---- PASS: TestServeWithNoContentNegotiation (0.50s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.01s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.49s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) + [DEBUG] : status 200 +--- PASS: TestServeNegotiatingContent (0.07s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.01s) + --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.01s) + --- PASS: TestServeNegotiatingContent/accept_application/json (0.01s) + --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.01s) + --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.01s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.01s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.01s) PASS -ok github.com/goss-org/goss 8.032s +ok github.com/goss-org/goss 0.476s === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity --- PASS: TestBeSemverConstraint (0.00s) @@ -1460,7 +1506,7 @@ --- PASS: Test_toVersions/invalid_object (0.00s) --- PASS: Test_toVersions/invalid_object_in_slice (0.00s) PASS -ok github.com/goss-org/goss/matchers 0.024s +ok github.com/goss-org/goss/matchers 0.013s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1476,124 +1522,115 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== RUN TestPrometheusOutput/no-results - prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/verbose +=== RUN TestPrometheusOutput/unknown-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-success-single-type + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/all-unknown-single-type + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/fail-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/various-results-multiple-types + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/success-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="file"} 1 - goss_tests_outcomes_total{outcome="unknown",type="file"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/skip-fail + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/various-results-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/success-fail +=== RUN TestPrometheusOutput/unknown-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/various-results-single-type + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 + goss_tests_run_outcomes_total{outcome="pass"} 1 === RUN TestPrometheusOutput/fail-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter @@ -1609,7 +1646,7 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/fail-success +=== RUN TestPrometheusOutput/success-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 @@ -1624,67 +1661,65 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/success-skip +=== RUN TestPrometheusOutput/verbose prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/all-success-multiple-types + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/all-skip-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="file"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="skip"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/skip-unknown + goss_tests_run_outcomes_total{outcome="skip"} 1 +=== RUN TestPrometheusOutput/all-fail-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/skip-success + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/all-success-multiple-types prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="file"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="file"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/fail-unknown +=== RUN TestPrometheusOutput/unknown-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 @@ -1699,14 +1734,14 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/success-unknown +=== RUN TestPrometheusOutput/skip-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter @@ -1714,135 +1749,146 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/all-skip-single-type +=== RUN TestPrometheusOutput/fail-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="skip"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="skip"} 1 -=== RUN TestPrometheusOutput/all-fail-single-type + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/no-results + prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/all-success-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 2 + goss_tests_outcomes_total{outcome="pass",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/unknown-skip + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== RUN TestPrometheusOutput/all-unknown-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/unknown-fail +=== RUN TestPrometheusOutput/various-results-multiple-types prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="file"} 1 + goss_tests_outcomes_total{outcome="unknown",type="file"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/unknown-success +=== RUN TestPrometheusOutput/success-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 + goss_tests_run_outcomes_total{outcome="pass"} 1 --- PASS: TestPrometheusOutput (0.01s) - --- PASS: TestPrometheusOutput/no-results (0.00s) - --- PASS: TestPrometheusOutput/verbose (0.00s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/unknown-skip (0.00s) --- PASS: TestPrometheusOutput/skip-fail (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) - --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) - --- PASS: TestPrometheusOutput/fail-skip (0.00s) --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) - --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/success-unknown (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/unknown-success (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/fail-skip (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/verbose (0.00s) --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) --- PASS: TestPrometheusOutput/unknown-fail (0.00s) - --- PASS: TestPrometheusOutput/unknown-success (0.00s) + --- PASS: TestPrometheusOutput/skip-unknown (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) === RUN TestCanChangeOverallOutcome -=== RUN TestCanChangeOverallOutcome/unknown/unknown -=== RUN TestCanChangeOverallOutcome/unknown/pass -=== RUN TestCanChangeOverallOutcome/unknown/skip -=== RUN TestCanChangeOverallOutcome/unknown/fail === RUN TestCanChangeOverallOutcome/pass/fail === RUN TestCanChangeOverallOutcome/pass/unknown === RUN TestCanChangeOverallOutcome/pass/pass === RUN TestCanChangeOverallOutcome/pass/skip -=== RUN TestCanChangeOverallOutcome/skip/unknown -=== RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/skip/fail +=== RUN TestCanChangeOverallOutcome/skip/unknown +=== RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/fail/pass === RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown +=== RUN TestCanChangeOverallOutcome/unknown/pass +=== RUN TestCanChangeOverallOutcome/unknown/skip +=== RUN TestCanChangeOverallOutcome/unknown/fail +=== RUN TestCanChangeOverallOutcome/unknown/unknown --- PASS: TestCanChangeOverallOutcome (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.039s +ok github.com/goss-org/goss/outputs 0.026s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1862,7 +1908,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.017s +ok github.com/goss-org/goss/resource 0.019s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1887,12 +1933,12 @@ --- PASS: TestHasCommand (0.00s) === CONT TestDetectDistro --- PASS: TestDetectDistro (0.00s) -=== CONT TestDetectService ---- PASS: TestDetectService (0.00s) === CONT TestPackageManager --- PASS: TestPackageManager (0.00s) +=== CONT TestDetectService +--- PASS: TestDetectService (0.00s) PASS -ok github.com/goss-org/goss/system 0.020s +ok github.com/goss-org/goss/system 0.013s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1902,7 +1948,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.007s +ok github.com/goss-org/goss/util 0.006s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1939,12 +1985,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14931/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/6475 and its subdirectories -I: Current time: Mon Nov 11 00:15:49 -12 2024 -I: pbuilder-time-stamp: 1731327349 +I: removing directory /srv/workspace/pbuilder/14931 and its subdirectories +I: Current time: Tue Nov 12 02:21:31 +14 2024 +I: pbuilder-time-stamp: 1731327691