Diff of the two buildlogs: -- --- b1/build.log 2024-09-25 03:08:46.619219779 +0000 +++ b2/build.log 2024-09-25 03:10:52.729856880 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Sep 24 15:05:02 -12 2024 -I: pbuilder-time-stamp: 1727233502 +I: Current time: Tue Oct 28 23:31:48 +14 2025 +I: pbuilder-time-stamp: 1761643908 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,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/235177/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2885778/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 28 09:32 /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/2885778/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2885778/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='1552083e5c994755a89a4d14034c7b1e' - 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='235177' - PS1='# ' - PS2='> ' + INVOCATION_ID=709d4d9cdbe04c82b0a611b9c5e6390f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2885778 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.QRca5WTs/pbuilderrc_TpE4 --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.QRca5WTs/b1 --logfile b1/build.log goss_0.4.8-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + 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.QRca5WTs/pbuilderrc_398W --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.QRca5WTs/b2 --logfile b2/build.log goss_0.4.8-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/235177/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2885778/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -277,7 +309,7 @@ Get: 121 http://deb.debian.org/debian trixie/main amd64 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 122 http://deb.debian.org/debian trixie/main amd64 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 123 http://deb.debian.org/debian trixie/main amd64 golang-gomega-dev all 1.27.10-1 [156 kB] -Fetched 126 MB in 4s (32.5 MB/s) +Fetched 126 MB in 3s (43.7 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 ... 19783 files and directories currently installed.) @@ -784,7 +816,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/goss-0.4.8/ && 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.8-1_source.changes +I: user script /srv/workspace/pbuilder/2885778/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2885778/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/goss-0.4.8/ && 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.8-1_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.8-1 dpkg-buildpackage: info: source distribution unstable @@ -802,317 +838,317 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 20 github.com/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/coverage/rtcov -unicode/utf8 + cd _build && go install -trimpath -v -p 42 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/race -internal/goos -internal/godebugs -internal/asan -internal/goexperiment internal/unsafeheader +encoding internal/goarch -math/bits -internal/profilerecord +unicode/utf8 +container/list +golang.org/x/net/internal/iana +internal/goos internal/byteorder -sync/atomic -cmp -encoding -internal/runtime/atomic +google.golang.org/protobuf/internal/flags +internal/asan +vendor/golang.org/x/crypto/internal/alias +internal/godebugs +golang.org/x/text/internal/utf8internal +log/internal +golang.org/x/text/encoding/internal/identifier +github.com/google/go-cmp/cmp/internal/flags +golang.org/x/exp/constraints internal/itoa +internal/msan +cmp +internal/profilerecord +math/bits +crypto/internal/alias +internal/coverage/rtcov +internal/goexperiment +github.com/klauspost/compress/internal/cpuinfo unicode internal/cpu -internal/msan +github.com/onsi/gomega/matchers/support/goraph/node internal/runtime/syscall +internal/nettrace +crypto/internal/boring/sig unicode/utf16 +vendor/golang.org/x/crypto/cryptobyte/asn1 crypto/subtle -crypto/internal/alias +golang.org/x/net/html/atom +internal/runtime/atomic +sync/atomic runtime/internal/math internal/abi runtime/internal/sys -crypto/internal/boring/sig -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/nettrace -github.com/google/go-cmp/cmp/internal/flags -internal/chacha8rand -github.com/onsi/gomega/matchers/support/goraph/node -golang.org/x/net/html/atom -golang.org/x/text/encoding/internal/identifier -golang.org/x/text/internal/utf8internal -container/list -vendor/golang.org/x/crypto/internal/alias -log/internal -golang.org/x/exp/constraints +github.com/onsi/gomega/matchers/support/goraph/edge github.com/tidwall/match -golang.org/x/net/internal/iana +internal/chacha8rand google.golang.org/protobuf/internal/set -google.golang.org/protobuf/internal/flags -github.com/klauspost/compress/internal/cpuinfo internal/bytealg -internal/runtime/exithook -github.com/onsi/gomega/matchers/support/goraph/edge math +internal/runtime/exithook internal/stringslite +runtime github.com/onsi/gomega/matchers/support/goraph/util github.com/klauspost/compress -runtime -internal/reflectlite iter -sync internal/weak +internal/reflectlite runtime/metrics -slices +sync maps -internal/bisect +slices +google.golang.org/protobuf/internal/pragma internal/testlog +internal/bisect internal/singleflight -google.golang.org/protobuf/internal/pragma +runtime/cgo errors sort -runtime/cgo -internal/godebug internal/oserror io -crypto/internal/edwards25519/field path strconv +internal/godebug +golang.org/x/text/internal/tag +github.com/tidwall/pretty +math/rand/v2 +crypto/internal/edwards25519/field vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat -math/rand/v2 syscall -bytes -reflect +github.com/beorn7/perks/quantile hash crypto/internal/randutil +bytes strings -math/rand -internal/concurrent -encoding/base32 -golang.org/x/crypto/blowfish -crypto/rc4 -golang.org/x/text/internal/tag -github.com/tidwall/pretty -github.com/beorn7/perks/quantile -crypto/internal/edwards25519 -crypto internal/saferio -internal/syscall/unix -github.com/huandu/xstrings +math/rand hash/adler32 -html -bufio +hash/fnv hash/crc32 +crypto/internal/edwards25519 +crypto +crypto/rc4 +golang.org/x/crypto/blowfish +encoding/base32 +reflect +internal/concurrent +crypto/md5 +unique +crypto/cipher +github.com/hashicorp/logutils +vendor/golang.org/x/text/transform golang.org/x/text/transform +net/netip +github.com/huandu/xstrings net/http/internal/ascii -hash/fnv -internal/syscall/execenv -vendor/golang.org/x/text/transform +bufio net/http/internal/testcert -unique +html regexp/syntax -crypto/cipher -crypto/md5 -time github.com/munnerz/goautoneg -github.com/hashicorp/logutils golang.org/x/text/encoding golang.org/x/text/runes crypto/internal/boring crypto/des +crypto/sha512 +crypto/aes +crypto/hmac +crypto/sha1 +crypto/sha256 golang.org/x/text/encoding/internal -net/netip +golang.org/x/text/encoding/unicode +vendor/golang.org/x/crypto/hkdf +golang.org/x/crypto/pbkdf2 golang.org/x/text/encoding/charmap golang.org/x/text/encoding/japanese -golang.org/x/text/encoding/unicode +golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese -golang.org/x/text/encoding/traditionalchinese -crypto/hmac -crypto/sha512 -crypto/sha1 -crypto/sha256 -crypto/aes -golang.org/x/crypto/pbkdf2 -vendor/golang.org/x/crypto/hkdf -encoding/binary -internal/fmtsort +internal/syscall/execenv +time +internal/syscall/unix regexp -io/fs -context github.com/google/go-cmp/cmp/internal/diff -github.com/tidwall/gjson +context +io/fs internal/poll +github.com/tidwall/gjson +internal/fmtsort +github.com/google/go-cmp/cmp/internal/function +encoding/binary github.com/onsi/gomega/types +internal/filepathlite +embed +google.golang.org/protobuf/internal/editiondefaults +crypto/internal/nistec +os encoding/base64 golang.org/x/crypto/scrypt -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash +vendor/golang.org/x/crypto/chacha20 github.com/klauspost/compress/internal/snapref +vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix -github.com/google/go-cmp/cmp/internal/function -internal/filepathlite -embed encoding/pem -google.golang.org/protobuf/internal/editiondefaults -crypto/internal/nistec -os crypto/ecdh -path/filepath github.com/onsi/gomega/internal/gutil -fmt google.golang.org/protobuf/internal/detrand -io/ioutil github.com/prometheus/procfs/internal/util +path/filepath +io/ioutil vendor/golang.org/x/sys/cpu -os/exec -vendor/golang.org/x/crypto/chacha20poly1305 +fmt +net vendor/golang.org/x/crypto/sha3 -github.com/mattn/go-isatty -github.com/mattn/go-colorable +vendor/golang.org/x/crypto/chacha20poly1305 +os/exec encoding/hex +github.com/mitchellh/reflectwalk +net/url database/sql/driver -encoding/json github.com/imdario/mergo -github.com/mitchellh/reflectwalk +encoding/json github.com/onsi/gomega/format -encoding/xml +github.com/google/go-cmp/cmp/internal/value text/template/parse github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -math/big -gopkg.in/yaml.v3 -net/url -golang.org/x/text/internal/language -log -github.com/google/go-cmp/cmp/internal/value -github.com/fatih/color -compress/flate -golang.org/x/net/html mime -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack -mime/quotedprintable -github.com/mitchellh/copystructure +encoding/xml net/http/internal +github.com/oleiade/reflections +log flag -vendor/golang.org/x/text/unicode/bidi -github.com/google/go-cmp/cmp +golang.org/x/net/html +vendor/golang.org/x/net/http2/hpack github.com/samber/lo -github.com/opencontainers/runc/libcontainer/user -github.com/oleiade/reflections -golang.org/x/net/bpf +golang.org/x/text/internal/language +go/token github.com/mitchellh/go-ps -github.com/moby/sys/mountinfo -github.com/pmezard/go-difflib/difflib -net os/user +vendor/golang.org/x/text/unicode/norm +gopkg.in/yaml.v3 +mime/quotedprintable google.golang.org/protobuf/internal/errors -go/token -compress/gzip -google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/version github.com/prometheus/procfs/internal/fs +github.com/pmezard/go-difflib/difflib runtime/debug +golang.org/x/net/bpf +math/big +compress/flate encoding/gob -vendor/golang.org/x/text/secure/bidirule +text/tabwriter github.com/klauspost/compress/fse +google.golang.org/protobuf/internal/version github.com/russross/blackfriday/v2 -text/tabwriter +google.golang.org/protobuf/encoding/protowire +github.com/mitchellh/copystructure +github.com/google/go-cmp/cmp +vendor/golang.org/x/text/unicode/bidi google.golang.org/protobuf/reflect/protoreflect +github.com/klauspost/compress/huff0 +github.com/mattn/go-isatty +github.com/opencontainers/runc/libcontainer/user +github.com/moby/sys/mountinfo +compress/gzip +github.com/mattn/go-colorable text/template golang.org/x/text/internal/language/compact -vendor/golang.org/x/net/idna -golang.org/x/text/language -github.com/klauspost/compress/huff0 +github.com/fatih/color +vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/runtime/protoiface -golang.org/x/text/encoding/htmlindex -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry -golang.org/x/net/html/charset +google.golang.org/protobuf/internal/encoding/text +golang.org/x/text/language github.com/Masterminds/semver github.com/blang/semver/v4 -html/template -github.com/cpuguy83/go-md2man/v2/md2man github.com/goss-org/goss/util +github.com/cpuguy83/go-md2man/v2/md2man +vendor/golang.org/x/net/idna +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval +golang.org/x/text/encoding/htmlindex +golang.org/x/net/html/charset crypto/dsa -crypto/elliptic crypto/internal/boring/bbig -encoding/asn1 crypto/rand -github.com/shopspring/decimal crypto/internal/bigmod -google.golang.org/protobuf/proto +crypto/elliptic +encoding/asn1 +github.com/shopspring/decimal github.com/urfave/cli -google.golang.org/protobuf/internal/encoding/defval +html/template +crypto/ed25519 golang.org/x/crypto/bcrypt crypto/internal/hpke -crypto/internal/mlkem768 github.com/Masterminds/goutils -crypto/ed25519 +crypto/internal/mlkem768 +github.com/patrickmn/go-cache github.com/klauspost/compress/zstd crypto/rsa -github.com/patrickmn/go-cache -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/protodelim google.golang.org/protobuf/encoding/prototext -github.com/spf13/cast +google.golang.org/protobuf/internal/filedesc +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa +github.com/spf13/cast google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl vendor/golang.org/x/net/http/httpproxy -net/textproto github.com/aelsabbahy/GOnetstat +net/textproto github.com/google/uuid -crypto/x509 golang.org/x/net/internal/socket +crypto/x509 github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/ipv6 golang.org/x/net/ipv4 +github.com/Masterminds/sprig +crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb -github.com/Masterminds/sprig -crypto/tls github.com/prometheus/client_model/go github.com/prometheus/common/model github.com/prometheus/client_golang/prometheus/internal net/http/httptrace github.com/miekg/dns net/http +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +expvar net/http/httptest github.com/prometheus/common/expfmt github.com/goss-org/goss/system -expvar -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/onsi/gomega/matchers github.com/prometheus/client_golang/prometheus github.com/goss-org/goss/matchers github.com/goss-org/goss/resource -github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/client_golang/prometheus/promauto +github.com/prometheus/client_golang/prometheus/promhttp github.com/goss-org/goss/outputs 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 20 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 42 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 (0.20s) +--- PASS: TestUseAsPackage (0.00s) === RUN TestSkipResourcesByType ---- PASS: TestSkipResourcesByType (0.17s) +--- PASS: TestSkipResourcesByType (0.00s) === RUN TestMatchers === RUN TestMatchers/testdata/out_matching_basic.0.documentation === RUN TestMatchers/testdata/out_matching_basic.0.nagios @@ -1130,20 +1166,20 @@ === 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 (0.05s) +--- PASS: TestMatchers (0.03s) --- 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.00s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.00s) --- 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_transformers.0.nagios (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) @@ -1186,7 +1222,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":1352457,"end-time":"2024-09-25T03:08:22.400032138Z","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-09-25T03:08:22.398679681Z","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":0,"end-time":"2024-09-25T03:08:22.400032138Z","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-09-25T03:08:22.400032138Z","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.001s","test-count":2,"total-duration":1352457}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1532581,"end-time":"2025-10-28T09:33:40.789360518Z","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":"2025-10-28T09:33:40.787827935Z","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":4589,"end-time":"2025-10-28T09:33:40.789366976Z","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":"2025-10-28T09:33:40.789362405Z","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":1539031}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1194,7 +1230,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":1352457,"end-time":"2024-09-25T03:08:22.400032138Z","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-09-25T03:08:22.398679681Z","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":0,"end-time":"2024-09-25T03:08:22.400032138Z","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-09-25T03:08:22.400032138Z","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.001s","test-count":2,"total-duration":1352457}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1532581,"end-time":"2025-10-28T09:33:40.789360518Z","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":"2025-10-28T09:33:40.787827935Z","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":4589,"end-time":"2025-10-28T09:33:40.789366976Z","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":"2025-10-28T09:33:40.789362405Z","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":1539031}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1202,7 +1238,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.001s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.002s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1212,7 +1248,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":1702675,"end-time":"2024-09-25T03:08:22.509273123Z","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-09-25T03:08:22.507570448Z","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":0,"end-time":"2024-09-25T03:08:22.509273123Z","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-09-25T03:08:22.509273123Z","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":1702675}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1580020,"end-time":"2025-10-28T09:33:40.89740921Z","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":"2025-10-28T09:33:40.89582917Z","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":5180,"end-time":"2025-10-28T09:33:40.897417156Z","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":"2025-10-28T09:33:40.897411989Z","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":1587984}} [DEBUG] : status 200 --- PASS: TestServeCacheNegotiatingContent (0.11s) @@ -1249,7 +1285,7 @@ === RUN Test_loadVars/inline_empty === RUN Test_loadVars/no_overwrite === RUN Test_loadVars/overwrite ---- PASS: Test_loadVars (0.07s) +--- PASS: Test_loadVars (0.00s) --- PASS: Test_loadVars/both_empty (0.00s) --- PASS: Test_loadVars/both_nil (0.00s) --- PASS: Test_loadVars/file_empty (0.00s) @@ -1257,34 +1293,36 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== RUN TestServeWithNoContentNegotiation/failing-json === CONT TestServeNegotiatingContent -=== 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: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] +=== RUN TestServeNegotiatingContent/accept_application/json +=== RUN TestServeWithNoContentNegotiation/passing-json +=== NAME TestServeNegotiatingContent/accept_application/json + serve_test.go:173: testName "accept application/json" log output: +=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json +=== NAME TestServeWithNoContentNegotiation/passing-json + serve_test.go:66: testName "passing-json" log output: [TRACE] : requesting health probe Stale cache[res], running tests + [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":1484789,"end-time":"2025-10-28T09:33:40.902001947Z","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":"2025-10-28T09:33:40.900517158Z","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":4451,"end-time":"2025-10-28T09:33:40.902009664Z","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":"2025-10-28T09:33:40.902005231Z","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.001s","test-count":2,"total-duration":1492503}} + [DEBUG] : status 200 [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] +=== RUN TestServeWithNoContentNegotiation/failing-json +=== NAME TestServeNegotiatingContent/accept_text/json_translates_to_application/json + serve_test.go:173: testName "accept text/json translates to application/json" log output: [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] [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] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] - [DEBUG] OK SUMMARY: {"results":[{"duration":1903764,"end-time":"2024-09-25T03:08:22.585246416Z","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-09-25T03:08:22.58334278Z","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":13860,"end-time":"2024-09-25T03:08:22.585264424Z","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-09-25T03:08:22.58525059Z","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":1921746}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1601726,"end-time":"2025-10-28T09:33:40.902222061Z","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":"2025-10-28T09:33:40.900620319Z","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":3922,"end-time":"2025-10-28T09:33:40.902227883Z","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":"2025-10-28T09:33:40.902223962Z","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":1607549}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level === NAME TestServeWithNoContentNegotiation/failing-json serve_test.go:66: testName "failing-json" log output: -=== RUN TestServeWithNoContentNegotiation/failing-default-output -=== NAME 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 -=== NAME TestServeWithNoContentNegotiation/failing-default-output - serve_test.go:66: testName "failing-default-output" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] @@ -1292,18 +1330,35 @@ 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.001s Count: 2, Failed: 0, Skipped: 0 + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [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":1592725,"end-time":"2025-10-28T09:33:40.905082521Z","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":"2025-10-28T09:33:40.903489804Z","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":4543,"end-time":"2025-10-28T09:33:40.905089019Z","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":"2025-10-28T09:33:40.905084489Z","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":1599220}} [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/passing-json -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] FAIL SUMMARY: {"results":[{"duration":1459677,"end-time":"2025-10-28T09:33:40.905071817Z","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":"2025-10-28T09:33:40.903612176Z","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":7808,"end-time":"2025-10-28T09:33:40.905082078Z","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":"2025-10-28T09:33:40.905074277Z","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.001s","test-count":2,"total-duration":1469921}} + [DEBUG] : status 503 - {"results":[{"duration":1459677,"end-time":"2025-10-28T09:33:40.905071817Z","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":"2025-10-28T09:33:40.903612176Z","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":7808,"end-time":"2025-10-28T09:33:40.905082078Z","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":"2025-10-28T09:33:40.905074277Z","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.001s","test-count":2,"total-duration":1469921}} +=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json +=== RUN TestServeWithNoContentNegotiation/failing-default-output + serve_test.go:66: testName "failing-default-output" log output: +--- PASS: TestServeWithNoContentNegotiation (0.01s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) +=== NAME 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: + [TRACE] : requesting health probe + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] + 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.002s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] FAIL SUMMARY: Total Duration: 0.001s Count: 2, Failed: 2, Skipped: 0 [DEBUG] : status 503 - FF Failures/Skipped: @@ -1321,78 +1376,60 @@ the missing elements were ["did not echo this"] - Total Duration: 0.002s + Total Duration: 0.001s Count: 2, Failed: 2, Skipped: 0 - [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 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid -=== 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 - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [DEBUG] : status 200 ---- PASS: TestServeWithNoContentNegotiation (0.01s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) -=== NAME 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] [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":1798017,"end-time":"2024-09-25T03:08:22.592628268Z","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-09-25T03:08:22.590830251Z","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":0,"end-time":"2024-09-25T03:08:22.592631137Z","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-09-25T03:08:22.592631137Z","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":1800886}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1687739,"end-time":"2025-10-28T09:33:40.90781087Z","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":"2025-10-28T09:33:40.906123125Z","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":12068,"end-time":"2025-10-28T09:33:40.907825139Z","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":"2025-10-28T09:33:40.907813071Z","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":1701997}} [DEBUG] : status 200 +=== 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.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":2173510,"end-time":"2024-09-25T03:08:22.594681112Z","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-09-25T03:08:22.592505871Z","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":0,"end-time":"2024-09-25T03:08:22.594681112Z","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-09-25T03:08:22.594681112Z","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":2173510}} + [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] : 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: [] +=== 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] [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_application/json - serve_test.go:173: testName "accept application/json" 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] [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":1410794,"end-time":"2024-09-25T03:08:22.600809072Z","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-09-25T03:08:22.599398777Z","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":9562,"end-time":"2024-09-25T03:08:22.600822957Z","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-09-25T03:08:22.600813455Z","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.001s","test-count":2,"total-duration":1424660}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1400544,"end-time":"2025-10-28T09:33:40.914028273Z","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":"2025-10-28T09:33:40.912627727Z","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":4480,"end-time":"2025-10-28T09:33:40.914036432Z","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":"2025-10-28T09:33:40.914031974Z","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.001s","test-count":2,"total-duration":1408705}} [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: +=== 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 [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":2124116,"end-time":"2024-09-25T03:08:22.698864921Z","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-09-25T03:08:22.696741424Z","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":15365,"end-time":"2024-09-25T03:08:22.698890042Z","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-09-25T03:08:22.69887497Z","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":2149323}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.12s) +--- PASS: TestServeNegotiatingContent (0.02s) + --- 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) --- 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.10s) PASS -ok github.com/goss-org/goss 0.861s +ok github.com/goss-org/goss 0.290s === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity --- PASS: TestBeSemverConstraint (0.00s) @@ -1454,7 +1491,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.014s +ok github.com/goss-org/goss/matchers 0.006s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1470,143 +1507,118 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== RUN TestPrometheusOutput/various-results-multiple-types +=== 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 - 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 # 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 +=== 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="fail",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="fail",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="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-unknown +=== 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="pass",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="pass",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/success-skip +=== 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="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 - # 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/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="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="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="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-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"} 20 + 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"} 2 + 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="pass"} 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="pass"} 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="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="skip",type="command"} 2 - # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + goss_tests_run_outcomes_total{outcome="unknown"} 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="skip"} 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="skip"} 1 -=== RUN TestPrometheusOutput/all-success-multiple-types + 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="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="file"} 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="pass",type="file"} 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 # 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/unknown-success +=== 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="pass",type="command"} 10 + 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="pass",type="command"} 1 + 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="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 + goss_tests_run_outcomes_total{outcome="fail"} 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 @@ -1622,7 +1634,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/success-fail +=== 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="fail",type="command"} 10 @@ -1637,29 +1649,44 @@ # 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-unknown +=== 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="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 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="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 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="unknown"} 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="unknown"} 1 -=== RUN TestPrometheusOutput/fail-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="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="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="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/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 @@ -1667,141 +1694,155 @@ # 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/no-results - prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. +=== 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="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="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="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-fail-single-type +=== 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"} 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="fail",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="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/all-unknown-single-type +=== 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="unknown",type="command"} 20 + 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="unknown",type="command"} 2 + 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="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-skip +=== 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="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 - 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 -=== RUN TestPrometheusOutput/fail-success + goss_tests_run_outcomes_total{outcome="pass"} 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"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + 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"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + 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/various-results-single-type + goss_tests_run_outcomes_total{outcome="pass"} 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="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 + 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="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 + 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="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-fail + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== 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/skip-success +=== 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"} 10 + 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"} 1 + 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 ---- PASS: TestPrometheusOutput (0.01s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/skip-fail (0.00s) - --- PASS: TestPrometheusOutput/success-unknown (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) + goss_tests_run_outcomes_total{outcome="fail"} 1 +--- PASS: TestPrometheusOutput (0.00s) + --- PASS: TestPrometheusOutput/unknown-fail (0.00s) --- PASS: TestPrometheusOutput/verbose (0.00s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) --- PASS: TestPrometheusOutput/unknown-success (0.00s) - --- PASS: TestPrometheusOutput/fail-skip (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/no-results (0.00s) - --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.00s) + --- PASS: TestPrometheusOutput/fail-skip (0.00s) --- PASS: TestPrometheusOutput/fail-success (0.00s) + --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-fail (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/success-unknown (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/skip-fail (0.00s) === RUN TestCanChangeOverallOutcome +=== RUN TestCanChangeOverallOutcome/skip/fail +=== RUN TestCanChangeOverallOutcome/skip/unknown +=== RUN TestCanChangeOverallOutcome/skip/pass +=== RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/fail/pass === RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail @@ -1814,11 +1855,11 @@ === RUN TestCanChangeOverallOutcome/pass/skip === RUN TestCanChangeOverallOutcome/pass/fail === RUN TestCanChangeOverallOutcome/pass/unknown -=== RUN TestCanChangeOverallOutcome/skip/pass -=== RUN TestCanChangeOverallOutcome/skip/skip -=== RUN TestCanChangeOverallOutcome/skip/fail -=== RUN TestCanChangeOverallOutcome/skip/unknown --- PASS: TestCanChangeOverallOutcome (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/fail (0.00s) @@ -1831,12 +1872,8 @@ --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/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 -ok github.com/goss-org/goss/outputs 0.022s +ok github.com/goss-org/goss/outputs 0.010s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1856,7 +1893,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.015s +ok github.com/goss-org/goss/resource 0.006s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1876,17 +1913,17 @@ === RUN TestGroupsForUser --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper -=== CONT TestDetectDistro --- PASS: TestCommandWrapper (0.00s) === CONT TestPackageManager ---- PASS: TestDetectDistro (0.00s) +=== CONT TestDetectService --- PASS: TestPackageManager (0.00s) === CONT TestHasCommand --- PASS: TestHasCommand (0.00s) -=== CONT TestDetectService --- PASS: TestDetectService (0.00s) +=== CONT TestDetectDistro +--- PASS: TestDetectDistro (0.00s) PASS -ok github.com/goss-org/goss/system 0.015s +ok github.com/goss-org/goss/system 0.006s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1896,7 +1933,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.006s +ok github.com/goss-org/goss/util 0.003s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1925,8 +1962,8 @@ dpkg-gencontrol: warning: package goss: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.8-1_amd64.deb'. dpkg-deb: building package 'goss' in '../goss_0.4.8-1_amd64.deb'. +dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.8-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../goss_0.4.8-1_amd64.buildinfo dpkg-genchanges --build=binary -O../goss_0.4.8-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1934,12 +1971,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/2885778/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2885778/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/235177 and its subdirectories -I: Current time: Tue Sep 24 15:08:45 -12 2024 -I: pbuilder-time-stamp: 1727233725 +I: removing directory /srv/workspace/pbuilder/2885778 and its subdirectories +I: Current time: Tue Oct 28 23:33:52 +14 2025 +I: pbuilder-time-stamp: 1761644032