Diff of the two buildlogs: -- --- b1/build.log 2024-06-17 12:06:50.726537955 +0000 +++ b2/build.log 2024-06-17 12:08:08.863210189 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 17 00:01:49 -12 2024 -I: pbuilder-time-stamp: 1718625709 +I: Current time: Mon Jul 21 08:29:55 +14 2025 +I: pbuilder-time-stamp: 1753036195 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/3470252/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3926465/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 Jul 20 18:30 /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/3926465/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3926465/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='unstable' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='380ef05345d64b4baff4cb8c64ea75c0' - 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='3470252' - PS1='# ' - PS2='> ' + INVOCATION_ID=69e8601c69074831a37cf6265e44594d + 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=3926465 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.ECUo7Jjy/pbuilderrc_NQmw --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ECUo7Jjy/b1 --logfile b1/build.log goss_0.4.7-2.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.ECUo7Jjy/pbuilderrc_GlIl --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ECUo7Jjy/b2 --logfile b2/build.log goss_0.4.7-2.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-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3470252/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 5 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3926465/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -274,7 +306,7 @@ Get: 118 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 119 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 120 http://deb.debian.org/debian unstable/main amd64 golang-gomega-dev all 1.27.10-1 [156 kB] -Fetched 89.6 MB in 3s (30.4 MB/s) +Fetched 89.6 MB in 5s (16.5 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 ... 19653 files and directories currently installed.) @@ -769,7 +801,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/goss-0.4.7/ && 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.7-2_source.changes +I: user script /srv/workspace/pbuilder/3926465/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3926465/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/goss-0.4.7/ && 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.7-2_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.7-2 dpkg-buildpackage: info: source distribution unstable @@ -787,257 +823,263 @@ 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 + 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/godebugs -crypto/internal/alias -math/bits -cmp +internal/goarch +internal/nettrace +encoding +unicode/utf8 internal/unsafeheader -internal/coverage/rtcov -internal/goos -internal/itoa internal/goexperiment -internal/goarch +math/bits +internal/itoa +crypto/internal/alias +vendor/golang.org/x/crypto/internal/alias +internal/goos +log/internal unicode/utf16 -encoding -crypto/subtle +cmp +golang.org/x/net/internal/iana +golang.org/x/net/html/atom +github.com/tidwall/match +golang.org/x/exp/constraints +google.golang.org/protobuf/internal/flags +internal/coverage/rtcov internal/cpu -sync/atomic -unicode internal/race -vendor/golang.org/x/crypto/cryptobyte/asn1 -unicode/utf8 -internal/nettrace -runtime/internal/atomic +crypto/subtle +internal/chacha8rand +crypto/internal/boring/sig github.com/google/go-cmp/cmp/internal/flags -github.com/onsi/gomega/matchers/support/goraph/node -golang.org/x/net/html/atom +sync/atomic +vendor/golang.org/x/crypto/cryptobyte/asn1 golang.org/x/text/encoding/internal/identifier -crypto/internal/boring/sig -golang.org/x/text/internal/utf8internal +google.golang.org/protobuf/internal/set +unicode +runtime/internal/math +github.com/onsi/gomega/matchers/support/goraph/node runtime/internal/syscall -internal/chacha8rand +golang.org/x/text/internal/utf8internal internal/abi -runtime/internal/math -runtime/internal/sys container/list -vendor/golang.org/x/crypto/internal/alias -log/internal -github.com/onsi/gomega/matchers/support/goraph/edge -golang.org/x/exp/constraints -golang.org/x/net/internal/iana -google.golang.org/protobuf/internal/flags +runtime/internal/atomic +runtime/internal/sys slices -google.golang.org/protobuf/internal/set -github.com/tidwall/match +github.com/onsi/gomega/matchers/support/goraph/edge internal/bytealg math runtime github.com/onsi/gomega/matchers/support/goraph/util internal/reflectlite -sync runtime/metrics +sync internal/testlog internal/singleflight -internal/bisect google.golang.org/protobuf/internal/pragma +internal/bisect runtime/cgo -errors -sort internal/godebug +errors io +internal/intern +sort +math/rand +strconv internal/oserror internal/safefilepath path -math/rand -strconv -vendor/golang.org/x/net/dns/dnsmessage -internal/intern -crypto/internal/nistec/fiat -syscall -golang.org/x/text/internal/tag -github.com/tidwall/pretty -github.com/beorn7/perks/quantile -bytes -strings hash crypto/internal/randutil +golang.org/x/text/internal/tag +crypto/rc4 +encoding/base32 +github.com/tidwall/pretty internal/saferio +vendor/golang.org/x/net/dns/dnsmessage +strings +github.com/beorn7/perks/quantile +golang.org/x/crypto/blowfish text/tabwriter -hash/adler32 -hash/crc32 -hash/fnv +bytes +net/netip reflect +crypto/internal/nistec/fiat +syscall crypto -net/netip -encoding/base32 -golang.org/x/crypto/blowfish -crypto/rc4 -golang.org/x/text/transform +hash/adler32 +hash/fnv +hash/crc32 github.com/hashicorp/logutils vendor/golang.org/x/text/transform -regexp/syntax +golang.org/x/text/transform net/http/internal/ascii +bufio net/http/internal/testcert -html github.com/huandu/xstrings -bufio github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg -golang.org/x/text/encoding +regexp/syntax +html golang.org/x/text/runes +golang.org/x/text/encoding golang.org/x/text/encoding/internal -golang.org/x/text/encoding/charmap golang.org/x/text/encoding/unicode +golang.org/x/text/encoding/charmap golang.org/x/text/encoding/korean -golang.org/x/text/encoding/japanese -golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/simplifiedchinese +golang.org/x/text/encoding/traditionalchinese +golang.org/x/text/encoding/japanese regexp +internal/syscall/execenv internal/syscall/unix time -internal/syscall/execenv -encoding/binary -internal/fmtsort -github.com/google/go-cmp/cmp/internal/function -internal/poll -io/fs +github.com/tidwall/gjson context github.com/google/go-cmp/cmp/internal/diff -github.com/tidwall/gjson +io/fs +internal/poll +internal/fmtsort +github.com/google/go-cmp/cmp/internal/function +encoding/binary +embed +github.com/onsi/gomega/types +google.golang.org/protobuf/internal/editiondefaults encoding/base64 crypto/cipher -crypto/md5 crypto/internal/edwards25519/field -vendor/golang.org/x/crypto/internal/poly1305 +crypto/md5 github.com/cespare/xxhash +vendor/golang.org/x/crypto/internal/poly1305 +crypto/internal/nistec +os golang.org/x/sys/unix -embed encoding/pem crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/internal/boring -github.com/onsi/gomega/types -google.golang.org/protobuf/internal/editiondefaults -crypto/internal/nistec -crypto/internal/edwards25519 -crypto/aes -crypto/sha512 -crypto/sha1 +vendor/golang.org/x/crypto/chacha20 crypto/hmac +crypto/sha1 +crypto/sha512 +crypto/aes crypto/sha256 golang.org/x/crypto/pbkdf2 vendor/golang.org/x/crypto/hkdf -os +crypto/internal/edwards25519 golang.org/x/crypto/scrypt -crypto/ecdh -fmt github.com/onsi/gomega/internal/gutil -path/filepath -vendor/golang.org/x/sys/cpu -google.golang.org/protobuf/internal/detrand io/ioutil +google.golang.org/protobuf/internal/detrand +path/filepath github.com/prometheus/procfs/internal/util -net -vendor/golang.org/x/crypto/chacha20poly1305 +fmt +vendor/golang.org/x/sys/cpu +crypto/ecdh os/exec -encoding/json -database/sql/driver +vendor/golang.org/x/crypto/chacha20poly1305 +encoding/hex +github.com/onsi/gomega/format +log +github.com/oleiade/reflections +flag +google.golang.org/protobuf/internal/version github.com/imdario/mergo +github.com/prometheus/procfs/internal/fs github.com/mitchellh/reflectwalk -text/template/parse -github.com/onsi/gomega/format -github.com/google/go-cmp/cmp/internal/value -encoding/xml +go/token net/url -math/big +github.com/google/go-cmp/cmp/internal/value +database/sql/driver +net/http/internal +github.com/mitchellh/go-ps mime -encoding/hex +text/template/parse +vendor/golang.org/x/net/http2/hpack +github.com/pmezard/go-difflib/difflib +encoding/xml +mime/quotedprintable github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -log -compress/flate +encoding/gob +golang.org/x/net/bpf +golang.org/x/text/internal/language golang.org/x/net/html +compress/flate gopkg.in/yaml.v3 -golang.org/x/text/internal/language +google.golang.org/protobuf/internal/errors +github.com/samber/lo vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack +runtime/debug +math/big +encoding/json +github.com/russross/blackfriday/v2 +google.golang.org/protobuf/encoding/protowire github.com/mitchellh/copystructure github.com/google/go-cmp/cmp -mime/quotedprintable vendor/golang.org/x/text/unicode/bidi -net/http/internal -flag -github.com/samber/lo -github.com/oleiade/reflections -golang.org/x/net/bpf -github.com/mitchellh/go-ps -github.com/pmezard/go-difflib/difflib -os/user -google.golang.org/protobuf/internal/errors -go/token -google.golang.org/protobuf/encoding/protowire -vendor/golang.org/x/text/secure/bidirule -google.golang.org/protobuf/internal/version -github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/reflect/protoreflect -runtime/debug -encoding/gob compress/gzip -github.com/russross/blackfriday/v2 +vendor/golang.org/x/text/secure/bidirule golang.org/x/text/internal/language/compact text/template -golang.org/x/text/language -github.com/mattn/go-isatty -github.com/opencontainers/runc/libcontainer/user -github.com/moby/sys/mountinfo google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/genid -vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface -github.com/mattn/go-colorable -google.golang.org/protobuf/reflect/protoregistry -github.com/fatih/color +golang.org/x/text/language google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/reflect/protoregistry github.com/Masterminds/semver github.com/goss-org/goss/util github.com/blang/semver/v4 +github.com/cpuguy83/go-md2man/v2/md2man +vendor/golang.org/x/net/idna +github.com/mattn/go-isatty +github.com/opencontainers/runc/libcontainer/user +github.com/moby/sys/mountinfo +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval +github.com/mattn/go-colorable +golang.org/x/text/encoding/htmlindex +github.com/fatih/color +golang.org/x/net/html/charset +github.com/urfave/cli +html/template crypto/dsa -crypto/elliptic crypto/internal/boring/bbig +crypto/elliptic crypto/internal/bigmod -encoding/asn1 crypto/rand +encoding/asn1 github.com/shopspring/decimal -golang.org/x/text/encoding/htmlindex -google.golang.org/protobuf/proto crypto/ed25519 github.com/Masterminds/goutils golang.org/x/crypto/bcrypt -github.com/cpuguy83/go-md2man/v2/md2man -golang.org/x/net/html/charset +github.com/patrickmn/go-cache +google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/rsa -google.golang.org/protobuf/internal/encoding/defval -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -html/template -github.com/urfave/cli -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/encoding/protodelim -crypto/ecdsa -github.com/patrickmn/go-cache +vendor/golang.org/x/crypto/cryptobyte github.com/spf13/cast +crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl -net/textproto -crypto/x509 +os/user +net +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/known/timestamppb +github.com/prometheus/client_model/go +github.com/prometheus/common/model +github.com/prometheus/client_golang/prometheus/internal vendor/golang.org/x/net/http/httpproxy -github.com/google/uuid github.com/aelsabbahy/GOnetstat +net/textproto +github.com/google/uuid golang.org/x/net/internal/socket +crypto/x509 github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart @@ -1045,17 +1087,11 @@ golang.org/x/net/ipv6 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/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 -net/http/httptest expvar +net/http/httptest github.com/prometheus/common/expfmt github.com/goss-org/goss/system github.com/onsi/gomega/matchers @@ -1068,14 +1104,14 @@ github.com/goss-org/goss github.com/goss-org/goss/cmd/goss dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 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.00s) +--- PASS: TestUseAsPackage (0.06s) === RUN TestSkipResourcesByType ---- PASS: TestSkipResourcesByType (0.01s) +--- PASS: TestSkipResourcesByType (0.13s) === RUN TestMatchers === RUN TestMatchers/testdata/out_matching_basic.0.documentation === RUN TestMatchers/testdata/out_matching_basic.0.nagios @@ -1093,22 +1129,22 @@ === 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.12s) +--- 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.01s) + --- 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.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.00s) + --- 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.01s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.02s) + --- 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.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) === RUN TestServeWithNoContentNegotiation === PAUSE TestServeWithNoContentNegotiation @@ -1137,10 +1173,10 @@ [DEBUG][Command][hello world][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.14s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.11s) --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.00s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.13s) + --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.11s) === RUN TestServeCacheNegotiatingContent === RUN TestServeCacheNegotiatingContent/fresh_cache serve_test.go:255: [TRACE] : requesting health probe @@ -1149,7 +1185,7 @@ [DEBUG][Command][hello world][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":3222632,"end-time":"2024-06-17T12:06:21.111047006Z","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-06-17T12:06:21.107824438Z","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":18248,"end-time":"2024-06-17T12:06:21.111070245Z","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-06-17T12:06:21.111053522Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":3247362}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1412500,"end-time":"2025-07-20T18:30:56.260691343Z","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-07-20T18:30:56.259278832Z","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":10649,"end-time":"2025-07-20T18:30:56.26070364Z","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-07-20T18:30:56.260692988Z","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":1424791}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1157,7 +1193,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":3222632,"end-time":"2024-06-17T12:06:21.111047006Z","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-06-17T12:06:21.107824438Z","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":18248,"end-time":"2024-06-17T12:06:21.111070245Z","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-06-17T12:06:21.111053522Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":3247362}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1412500,"end-time":"2025-07-20T18:30:56.260691343Z","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-07-20T18:30:56.259278832Z","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":10649,"end-time":"2025-07-20T18:30:56.26070364Z","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-07-20T18:30:56.260692988Z","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":1424791}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1165,7 +1201,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.003s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.001s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1175,7 +1211,7 @@ [DEBUG][Command][hello world][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":2120555,"end-time":"2024-06-17T12:06:21.220655997Z","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-06-17T12:06:21.218535395Z","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":20138,"end-time":"2024-06-17T12:06:21.220685586Z","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-06-17T12:06:21.220665471Z","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":2150099}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1388419,"end-time":"2025-07-20T18:30:56.368533429Z","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-07-20T18:30:56.36714501Z","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":8904,"end-time":"2025-07-20T18:30:56.368544109Z","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-07-20T18:30:56.368535206Z","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":1399082}} [DEBUG] : status 200 --- PASS: TestServeCacheNegotiatingContent (0.11s) @@ -1220,81 +1256,104 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== RUN TestServeWithNoContentNegotiation/failing-default-output === CONT TestServeNegotiatingContent === RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level +=== RUN TestServeWithNoContentNegotiation/passing-json +=== 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/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][hello world][stdout] hello world - [DEBUG][Command][hello world][stdout] [DEBUG][Command][hello world][stdout] hello world [DEBUG][Command][hello world][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.004s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.001s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense -=== NAME TestServeWithNoContentNegotiation/failing-default-output - serve_test.go:66: testName "failing-default-output" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] - [TRACE] : requesting health probe - Stale cache[res], running tests -=== RUN TestServeWithNoContentNegotiation/passing-json + [DEBUG][Command][hello world][stdout] hello world + [DEBUG][Command][hello world][stdout] +=== RUN TestServeWithNoContentNegotiation/failing-json === NAME TestServeNegotiatingContent/accept_header_contains_nonsense serve_test.go:173: testName "accept header contains nonsense" log output: + [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":1447171,"end-time":"2025-07-20T18:30:56.372861777Z","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-07-20T18:30:56.371414606Z","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":4177,"end-time":"2025-07-20T18:30:56.372870229Z","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-07-20T18:30:56.372866044Z","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":1455611}} + [DEBUG] : status 200 === 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: [] +=== NAME TestServeWithNoContentNegotiation/failing-json + serve_test.go:66: testName "failing-json" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] [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: [application/vnd.goss-nonexistent] + [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][hello world][stdout] hello world [DEBUG][Command][hello world][stdout] [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/failing-json + [DEBUG][Command][hello world][stdout] hello world + [DEBUG][Command][hello world][stdout] +=== RUN TestServeWithNoContentNegotiation/failing-default-output === NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid serve_test.go:173: testName "accept header contains nonsense then valid" log output: + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":1671732,"end-time":"2025-07-20T18:30:56.375177413Z","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-07-20T18:30:56.373505667Z","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":9522,"end-time":"2025-07-20T18:30:56.375285537Z","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-07-20T18:30:56.375276026Z","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.002s","test-count":2,"total-duration":1779862}} + [DEBUG] : status 503 - {"results":[{"duration":1671732,"end-time":"2025-07-20T18:30:56.375177413Z","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-07-20T18:30:56.373505667Z","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":9522,"end-time":"2025-07-20T18:30:56.375285537Z","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-07-20T18:30:56.375276026Z","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.002s","test-count":2,"total-duration":1779862}} [TRACE] : requesting health probe Stale cache[res], running tests - [DEBUG][Command][hello world][stdout] hello world - [DEBUG][Command][hello world][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":7830989,"end-time":"2024-06-17T12:06:21.239351552Z","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-06-17T12:06:21.231520412Z","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":15962,"end-time":"2024-06-17T12:06:21.239375909Z","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-06-17T12:06:21.239359974Z","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.008s","test-count":2,"total-duration":7855161}} - [DEBUG] : status 200 === RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: - [DEBUG][Command][hello world][stdout] hello world - [DEBUG][Command][hello world][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] +=== NAME TestServeWithNoContentNegotiation/failing-default-output + serve_test.go:66: testName "failing-default-output" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests - [DEBUG] OK SUMMARY: {"results":[{"duration":6119210,"end-time":"2024-06-17T12:06:21.24551877Z","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-06-17T12:06:21.239399557Z","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":15531,"end-time":"2024-06-17T12:06:21.245544599Z","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-06-17T12:06:21.245529066Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.006s","test-count":2,"total-duration":6144971}} + [DEBUG][Command][hello world][stdout] hello world + [DEBUG][Command][hello world][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":1305966,"end-time":"2025-07-20T18:30:56.37730982Z","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-07-20T18:30:56.376003845Z","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":11256,"end-time":"2025-07-20T18:30:56.377324265Z","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-07-20T18:30:56.377313012Z","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":1320407}} [DEBUG] : status 200 ---- PASS: TestServeWithNoContentNegotiation (0.02s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.01s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.01s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.01s) +--- 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/accept_{blank}_returns_process-level_format-option serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: + [DEBUG][Command][hello world][stdout] hello world + [DEBUG][Command][hello world][stdout] + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] + [DEBUG] FAIL SUMMARY: Total Duration: 0.002s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] : status 503 - FF + + Failures/Skipped: + + Command: hello world: exit-status: + Expected + 0 + to be numerically eq + 1 + Command: hello world: stdout: + Expected + "object: *bytes.Reader" + to have patterns + ["did not echo this"] + the missing elements were + ["did not echo this"] + + Total Duration: 0.002s + Count: 2, Failed: 2, Skipped: 0 [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][hello world][stdout] hello world [DEBUG][Command][hello world][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] - [DEBUG] FAIL SUMMARY: {"results":[{"duration":2066874,"end-time":"2024-06-17T12:06:21.248111237Z","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-06-17T12:06:21.246044513Z","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":17287,"end-time":"2024-06-17T12:06:21.248136299Z","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-06-17T12:06:21.248119118Z","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.002s","test-count":2,"total-duration":2091771}} - [DEBUG] : status 503 - {"results":[{"duration":2066874,"end-time":"2024-06-17T12:06:21.248111237Z","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-06-17T12:06:21.246044513Z","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":17287,"end-time":"2024-06-17T12:06:21.248136299Z","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-06-17T12:06:21.248119118Z","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.002s","test-count":2,"total-duration":2091771}} - [DEBUG][Command][hello world][stdout] hello world - [DEBUG][Command][hello world][stdout] [DEBUG] : status 200 === RUN TestServeNegotiatingContent/accept_application/json serve_test.go:173: testName "accept application/json" log output: @@ -1304,7 +1363,7 @@ [DEBUG][Command][hello world][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":2204424,"end-time":"2024-06-17T12:06:21.253301702Z","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-06-17T12:06:21.251097185Z","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":15467,"end-time":"2024-06-17T12:06:21.253324163Z","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-06-17T12:06:21.253309044Z","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":2227109}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1700583,"end-time":"2025-07-20T18:30:56.382327049Z","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-07-20T18:30:56.380626463Z","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":8005,"end-time":"2025-07-20T18:30:56.382337217Z","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-07-20T18:30:56.382329208Z","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":1710739}} [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: @@ -1314,7 +1373,7 @@ [DEBUG][Command][hello world][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":4251734,"end-time":"2024-06-17T12:06:21.259139057Z","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-06-17T12:06:21.254887119Z","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":24968,"end-time":"2024-06-17T12:06:21.259170731Z","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-06-17T12:06:21.259146016Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.004s","test-count":2,"total-duration":4283281}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1320827,"end-time":"2025-07-20T18:30:56.384713312Z","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-07-20T18:30:56.38339248Z","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":5025,"end-time":"2025-07-20T18:30:56.384720281Z","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-07-20T18:30:56.384715259Z","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":1327799}} [DEBUG] : status 200 === RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: @@ -1324,18 +1383,18 @@ [DEBUG][Command][hello world][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":2515087,"end-time":"2024-06-17T12:06:21.263318811Z","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-06-17T12:06:21.26080353Z","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":14840,"end-time":"2024-06-17T12:06:21.263347474Z","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-06-17T12:06:21.263332448Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.003s","test-count":2,"total-duration":2543546}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1350211,"end-time":"2025-07-20T18:30:56.386691909Z","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-07-20T18:30:56.385341702Z","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":5761,"end-time":"2025-07-20T18:30:56.386699644Z","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-07-20T18:30:56.386693895Z","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":1357954}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.04s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.01s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.01s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.01s) +--- PASS: TestServeNegotiatingContent (0.02s) + --- 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.01s) + --- 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 -ok github.com/goss-org/goss 0.495s +ok github.com/goss-org/goss 0.475s === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity --- PASS: TestBeSemverConstraint (0.00s) @@ -1397,7 +1456,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.063s +ok github.com/goss-org/goss/matchers 0.006s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1413,25 +1472,14 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== RUN TestPrometheusOutput/no-results - prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/various-results-single-type +=== RUN TestPrometheusOutput/fail-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="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 @@ -1439,26 +1487,14 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/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="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="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. +=== 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="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/fail-unknown + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== 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 @@ -1473,57 +1509,48 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/fail-success +=== RUN TestPrometheusOutput/unknown-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/success-skip + 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"} 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/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="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="unknown",type="command"} 2 + 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-fail +=== 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 @@ -1531,62 +1558,70 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/unknown-success +=== RUN TestPrometheusOutput/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="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",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="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",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="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/skip-unknown + 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 + 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="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="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="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/all-success-single-type + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/fail-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",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="pass",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="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/all-skip-single-type + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== 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="skip",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="skip",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="skip"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="skip"} 1 + goss_tests_run_outcomes_total{outcome="fail"} 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 @@ -1600,6 +1635,19 @@ # 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 + 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 + # 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 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="unknown"} 1 === RUN TestPrometheusOutput/all-success-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 @@ -1615,14 +1663,14 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/unknown-skip +=== 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="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter @@ -1630,53 +1678,64 @@ # 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-skip +=== RUN TestPrometheusOutput/verbose prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="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-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="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",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="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",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="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/verbose + 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="fail",resource_id="/path/to/file",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 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",resource_id="/path/to/file",type="file"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 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="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="fail"} 1 + goss_tests_run_outcomes_total{outcome="skip"} 1 +=== 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/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 @@ -1707,79 +1766,79 @@ # 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/success-fail +=== 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="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",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="fail",type="command"} 1 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="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 ---- PASS: TestPrometheusOutput (0.01s) - --- PASS: TestPrometheusOutput/no-results (0.00s) - --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + goss_tests_run_outcomes_total{outcome="pass"} 1 +--- PASS: TestPrometheusOutput (0.00s) --- PASS: TestPrometheusOutput/fail-unknown (0.00s) - --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) --- PASS: TestPrometheusOutput/unknown-fail (0.00s) --- PASS: TestPrometheusOutput/unknown-success (0.00s) --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/fail-skip (0.00s) + --- PASS: TestPrometheusOutput/fail-success (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) - --- PASS: TestPrometheusOutput/fail-skip (0.00s) --- PASS: TestPrometheusOutput/success-unknown (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/unknown-skip (0.00s) --- PASS: TestPrometheusOutput/skip-fail (0.00s) --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) === RUN TestCanChangeOverallOutcome -=== RUN TestCanChangeOverallOutcome/pass/fail -=== RUN TestCanChangeOverallOutcome/pass/unknown -=== RUN TestCanChangeOverallOutcome/pass/pass -=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/skip/fail === RUN TestCanChangeOverallOutcome/skip/unknown -=== RUN TestCanChangeOverallOutcome/skip/pass +=== RUN TestCanChangeOverallOutcome/fail/pass === RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown -=== RUN TestCanChangeOverallOutcome/fail/pass === RUN TestCanChangeOverallOutcome/unknown/pass === RUN TestCanChangeOverallOutcome/unknown/skip === RUN TestCanChangeOverallOutcome/unknown/fail === RUN TestCanChangeOverallOutcome/unknown/unknown +=== RUN TestCanChangeOverallOutcome/pass/fail +=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/pass/pass +=== RUN TestCanChangeOverallOutcome/pass/skip --- PASS: TestCanChangeOverallOutcome (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.063s +ok github.com/goss-org/goss/outputs 0.012s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1799,7 +1858,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.057s +ok github.com/goss-org/goss/resource 0.006s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1819,17 +1878,17 @@ === RUN TestGroupsForUser --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper +=== CONT TestDetectDistro --- PASS: TestCommandWrapper (0.00s) +=== CONT TestDetectService === CONT TestHasCommand ---- PASS: TestHasCommand (0.00s) -=== CONT TestDetectDistro --- PASS: TestDetectDistro (0.00s) -=== CONT TestDetectService --- PASS: TestDetectService (0.00s) === CONT TestPackageManager +--- PASS: TestHasCommand (0.00s) --- PASS: TestPackageManager (0.00s) PASS -ok github.com/goss-org/goss/system 0.044s +ok github.com/goss-org/goss/system 0.006s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1839,7 +1898,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.019s +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 @@ -1868,8 +1927,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.7-2_amd64.deb'. dpkg-deb: building package 'goss' in '../goss_0.4.7-2_amd64.deb'. +dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.7-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../goss_0.4.7-2_amd64.buildinfo dpkg-genchanges --build=binary -O../goss_0.4.7-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1877,12 +1936,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3926465/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3926465/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/3470252 and its subdirectories -I: Current time: Mon Jun 17 00:06:47 -12 2024 -I: pbuilder-time-stamp: 1718626007 +I: removing directory /srv/workspace/pbuilder/3926465 and its subdirectories +I: Current time: Mon Jul 21 08:31:08 +14 2025 +I: pbuilder-time-stamp: 1753036268