Diff of the two buildlogs: -- --- b1/build.log 2024-11-11 07:12:05.521138555 +0000 +++ b2/build.log 2024-11-11 07:16:41.139340232 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Nov 10 19:02:14 -12 2024 -I: pbuilder-time-stamp: 1731308534 +I: Current time: Mon Nov 11 21:12:24 +14 2024 +I: pbuilder-time-stamp: 1731309144 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying use-mitchellh-go-ps.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2614/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 11 07:12 /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/26351/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9ac69838eda546159c8b490066ec2b10' - 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='2614' - PS1='# ' - PS2='> ' + INVOCATION_ID=a234f76fa3254a129ee10043a6a15e45 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=26351 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.xaiWJJjj/pbuilderrc_wxAj --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.xaiWJJjj/b1 --logfile b1/build.log goss_0.4.9-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.xaiWJJjj/pbuilderrc_qnGK --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.xaiWJJjj/b2 --logfile b2/build.log goss_0.4.9-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 6.1.0-27-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-armmp-lpae #1 SMP Debian 6.1.115-1 (2024-11-01) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2614/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -280,7 +312,7 @@ Get: 123 http://deb.debian.org/debian unstable/main armhf golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 124 http://deb.debian.org/debian unstable/main armhf golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf golang-gomega-dev all 1.34.2-2 [160 kB] -Fetched 123 MB in 14s (8906 kB/s) +Fetched 123 MB in 2s (59.9 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 ... 19689 files and directories currently installed.) @@ -693,8 +725,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Nov 11 07:05:47 UTC 2024. -Universal Time is now: Mon Nov 11 07:05:47 UTC 2024. +Local time is now: Mon Nov 11 07:13:31 UTC 2024. +Universal Time is now: Mon Nov 11 07:13:31 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -801,7 +833,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../goss_0.4.9-1_source.changes +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../goss_0.4.9-1_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.9-1 dpkg-buildpackage: info: source distribution unstable @@ -819,17 +855,17 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go install -trimpath -v -p 4 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util internal/unsafeheader internal/goarch internal/byteorder -internal/cpu -internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/abi +internal/cpu internal/godebugs +internal/chacha8rand internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -837,19 +873,19 @@ internal/stringslite runtime/internal/math runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic +internal/runtime/exithook unicode unicode/utf8 cmp -runtime encoding math/bits -math internal/itoa +runtime internal/asan internal/msan +math unicode/utf16 crypto/internal/alias crypto/internal/boring/sig @@ -857,260 +893,260 @@ internal/nettrace github.com/google/go-cmp/cmp/internal/flags github.com/onsi/gomega/matchers/support/goraph/node -github.com/onsi/gomega/matchers/support/goraph/util -github.com/onsi/gomega/matchers/support/goraph/edge golang.org/x/net/html/atom -golang.org/x/text/encoding/internal/identifier +github.com/onsi/gomega/matchers/support/goraph/edge golang.org/x/text/internal/utf8internal +golang.org/x/text/encoding/internal/identifier container/list vendor/golang.org/x/crypto/internal/alias log/internal +github.com/onsi/gomega/matchers/support/goraph/util golang.org/x/exp/constraints github.com/tidwall/match golang.org/x/net/internal/iana google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set github.com/klauspost/compress +crypto/subtle internal/reflectlite -sync iter +sync slices -crypto/subtle internal/weak maps runtime/metrics -internal/bisect internal/testlog +internal/bisect internal/singleflight +google.golang.org/protobuf/internal/pragma runtime/cgo +internal/godebug errors io +sort strconv bytes internal/oserror path -reflect -internal/godebug syscall -time -internal/syscall/unix -internal/syscall/execenv strings +reflect hash crypto crypto/cipher -encoding/binary -internal/fmtsort -io/fs -internal/poll -encoding/base64 -internal/filepathlite crypto/internal/boring +crypto/aes crypto/internal/randutil math/rand -crypto/aes -os +time +internal/syscall/unix +internal/syscall/execenv crypto/internal/edwards25519/field crypto/internal/nistec/fiat crypto/sha512 crypto/internal/edwards25519 crypto/hmac +io/fs +internal/poll +encoding/binary +internal/fmtsort +internal/filepathlite crypto/sha1 -fmt +os +encoding/base64 crypto/sha256 crypto/des crypto/md5 encoding/pem context vendor/golang.org/x/net/dns/dnsmessage -encoding/json -math/big -crypto/internal/nistec -encoding/hex math/rand/v2 -crypto/ecdh internal/concurrent unique -sort +fmt net/netip -net/url +crypto/internal/nistec path/filepath -net encoding/base32 +regexp/syntax +crypto/ecdh +net +encoding/json +math/big +encoding/hex +net/url database/sql/driver +regexp +github.com/huandu/xstrings +github.com/imdario/mergo crypto/dsa crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand +github.com/Masterminds/semver crypto/ed25519 crypto/rsa -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix github.com/Masterminds/goutils -regexp/syntax -crypto/ecdsa -github.com/huandu/xstrings -regexp -github.com/imdario/mergo github.com/mitchellh/reflectwalk -github.com/mitchellh/copystructure -github.com/Masterminds/semver +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix github.com/shopspring/decimal +github.com/mitchellh/copystructure +crypto/ecdsa html text/template/parse golang.org/x/crypto/blowfish -golang.org/x/crypto/bcrypt golang.org/x/crypto/pbkdf2 golang.org/x/crypto/scrypt +golang.org/x/crypto/bcrypt hash/adler32 golang.org/x/sys/unix -text/template -html/template -github.com/spf13/cast bufio encoding/xml -crypto/x509 -github.com/google/uuid -github.com/mattn/go-isatty -github.com/mattn/go-colorable -github.com/fatih/color +text/template github.com/blang/semver/v4 +html/template github.com/onsi/gomega/format github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value +github.com/spf13/cast +github.com/google/go-cmp/cmp +crypto/x509 +github.com/google/uuid +github.com/mattn/go-isatty +github.com/mattn/go-colorable github.com/onsi/gomega/internal/gutil +github.com/fatih/color github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -github.com/Masterminds/sprig github.com/onsi/gomega/types -github.com/google/go-cmp/cmp golang.org/x/net/html golang.org/x/text/transform golang.org/x/text/encoding golang.org/x/text/encoding/internal -golang.org/x/text/runes golang.org/x/text/encoding/charmap golang.org/x/text/encoding/japanese +github.com/Masterminds/sprig golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese +golang.org/x/text/runes golang.org/x/text/encoding/unicode golang.org/x/text/internal/tag -golang.org/x/text/internal/language mime -golang.org/x/text/internal/language/compact +golang.org/x/text/internal/language gopkg.in/yaml.v3 -golang.org/x/text/language compress/flate -golang.org/x/text/encoding/htmlindex hash/crc32 -golang.org/x/net/html/charset -compress/gzip +golang.org/x/text/internal/language/compact vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/sys/cpu +golang.org/x/text/language vendor/golang.org/x/crypto/chacha20poly1305 +compress/gzip +vendor/golang.org/x/crypto/hkdf crypto/internal/hpke -vendor/golang.org/x/crypto/sha3 +vendor/golang.org/x/sys/cpu crypto/rc4 vendor/golang.org/x/text/transform -crypto/internal/mlkem768 +vendor/golang.org/x/crypto/sha3 log -crypto/tls +golang.org/x/text/encoding/htmlindex +golang.org/x/net/html/charset +crypto/internal/mlkem768 vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule net/textproto -vendor/golang.org/x/net/idna +crypto/tls +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime/quotedprintable +vendor/golang.org/x/net/idna mime/multipart -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy net/http/internal net/http/internal/ascii flag net/http/internal/testcert github.com/samber/lo +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy github.com/tidwall/pretty github.com/opencontainers/runc/libcontainer/user -github.com/tidwall/gjson io/ioutil -github.com/aelsabbahy/GOnetstat +github.com/tidwall/gjson github.com/oleiade/reflections +github.com/aelsabbahy/GOnetstat os/exec golang.org/x/net/bpf -github.com/goss-org/goss/util -net/http/httptrace golang.org/x/net/internal/socket +github.com/goss-org/goss/util github.com/mitchellh/go-ps github.com/moby/sys/mountinfo -net/http os/user -golang.org/x/net/ipv4 -golang.org/x/net/ipv6 -github.com/miekg/dns github.com/pmezard/go-difflib/difflib +golang.org/x/net/ipv6 +golang.org/x/net/ipv4 +net/http/httptrace github.com/beorn7/perks/quantile +net/http github.com/cespare/xxhash hash/fnv +github.com/miekg/dns google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect -google.golang.org/protobuf/internal/descfmt -google.golang.org/protobuf/internal/descopts embed google.golang.org/protobuf/internal/editiondefaults go/token +google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/proto -net/http/httptest -github.com/onsi/gomega/matchers -expvar -google.golang.org/protobuf/internal/filedesc -github.com/goss-org/goss/system -github.com/goss-org/goss/matchers -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/version github.com/munnerz/goautoneg -google.golang.org/protobuf/encoding/protodelim -github.com/goss-org/goss/resource -google.golang.org/protobuf/internal/impl +google.golang.org/protobuf/proto github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util github.com/prometheus/procfs +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/internal/impl +google.golang.org/protobuf/encoding/protodelim runtime/debug github.com/hashicorp/logutils internal/saferio encoding/gob github.com/klauspost/compress/fse -github.com/patrickmn/go-cache github.com/klauspost/compress/huff0 +net/http/httptest +github.com/onsi/gomega/matchers +github.com/goss-org/goss/system +expvar +github.com/patrickmn/go-cache +github.com/goss-org/goss/matchers github.com/klauspost/compress/internal/snapref github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/klauspost/compress/zstd github.com/russross/blackfriday/v2 +github.com/goss-org/goss/resource 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/cpuguy83/go-md2man/v2/md2man text/tabwriter +github.com/prometheus/common/model github.com/urfave/cli github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt @@ -1121,12 +1157,12 @@ github.com/goss-org/goss github.com/goss-org/goss/cmd/goss dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go test -vet=off -v -p 4 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestConfigMerge --- PASS: TestConfigMerge (0.00s) === RUN TestUseAsPackage ---- PASS: TestUseAsPackage (0.01s) +--- PASS: TestUseAsPackage (0.02s) === RUN TestSkipResourcesByType --- PASS: TestSkipResourcesByType (0.00s) === RUN TestMatchers @@ -1146,21 +1182,21 @@ === 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.26s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.02s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.01s) +--- PASS: TestMatchers (0.15s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.01s) + --- 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.tap (0.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.02s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.02s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.03s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.03s) --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.01s) - --- 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.rspecish (0.01s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.02s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.02s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.05s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.rspecish (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.01s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.01s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.01s) === RUN TestServeWithNoContentNegotiation @@ -1190,7 +1226,7 @@ [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.13s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.15s) --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.01s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.12s) @@ -1202,7 +1238,7 @@ [DEBUG][Command][%!s()][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":5755960,"end-time":"2024-11-10T19:10:56.433444017-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.427688017-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13078,"end-time":"2024-11-10T19:10:56.433463875-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.433450777-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.006s","test-count":2,"total-duration":5775778}} + [DEBUG] OK SUMMARY: {"results":[{"duration":13415277,"end-time":"2024-11-11T21:16:04.329137985+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.315722708+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":12719,"end-time":"2024-11-11T21:16:04.329158384+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.329145625+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.013s","test-count":2,"total-duration":13435636}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1210,7 +1246,7 @@ [TRACE] Returning cached[res]. [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.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":5755960,"end-time":"2024-11-10T19:10:56.433444017-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.427688017-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13078,"end-time":"2024-11-10T19:10:56.433463875-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.433450777-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.006s","test-count":2,"total-duration":5775778}} + [DEBUG] OK SUMMARY: {"results":[{"duration":13415277,"end-time":"2024-11-11T21:16:04.329137985+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.315722708+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":12719,"end-time":"2024-11-11T21:16:04.329158384+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.329145625+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.013s","test-count":2,"total-duration":13435636}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1218,7 +1254,7 @@ [TRACE] Returning cached[res]. [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.006s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.013s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1226,16 +1262,16 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":19199639,"end-time":"2024-11-10T19:10:56.561182935-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.541983256-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":29098,"end-time":"2024-11-10T19:10:56.561220892-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.561191814-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.019s","test-count":2,"total-duration":19237556}} + [DEBUG] OK SUMMARY: {"results":[{"duration":7654684,"end-time":"2024-11-11T21:16:04.445924976+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.438270292+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13199,"end-time":"2024-11-11T21:16:04.445945535+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.445932336+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.008s","test-count":2,"total-duration":7675243}} [DEBUG] : status 200 ---- PASS: TestServeCacheNegotiatingContent (0.14s) +--- PASS: TestServeCacheNegotiatingContent (0.13s) --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.01s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.13s) + --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.12s) === RUN Test_varsFromString === RUN Test_varsFromString/empty_string === RUN Test_varsFromString/empty_JSON @@ -1265,7 +1301,7 @@ === RUN Test_loadVars/inline_empty === RUN Test_loadVars/no_overwrite === RUN Test_loadVars/overwrite ---- PASS: Test_loadVars (0.01s) +--- PASS: Test_loadVars (0.00s) --- PASS: Test_loadVars/both_empty (0.00s) --- PASS: Test_loadVars/both_nil (0.00s) --- PASS: Test_loadVars/file_empty (0.00s) @@ -1275,55 +1311,92 @@ === CONT TestServeWithNoContentNegotiation === RUN TestServeWithNoContentNegotiation/passing-json === CONT TestServeNegotiatingContent -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid +=== RUN TestServeNegotiatingContent/accept_application/json + serve_test.go:173: testName "accept application/json" log output: + [TRACE] : requesting health probe + Stale cache[res], running tests + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [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":12159162,"end-time":"2024-11-11T21:16:04.465284118+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.453124996+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":23799,"end-time":"2024-11-11T21:16:04.465317957+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.465294198+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.012s","test-count":2,"total-duration":12192961}} + [DEBUG] : status 200 +=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json === NAME TestServeWithNoContentNegotiation/passing-json serve_test.go:66: testName "passing-json" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests === RUN TestServeWithNoContentNegotiation/failing-json -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid - serve_test.go:173: testName "accept header contains nonsense then valid" log output: +=== NAME TestServeNegotiatingContent/accept_text/json_translates_to_application/json + serve_test.go:173: testName "accept text/json translates to application/json" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [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":7428603,"end-time":"2024-11-10T19:10:56.580077443-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.5726489-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":14139,"end-time":"2024-11-10T19:10:56.580098581-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.580084522-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.007s","test-count":2,"total-duration":7449741}} + [DEBUG] OK SUMMARY: {"results":[{"duration":14674551,"end-time":"2024-11-11T21:16:04.467476359+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.452801768+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":29559,"end-time":"2024-11-11T21:16:04.467510438+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.467480879+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.015s","test-count":2,"total-duration":14708670}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option - serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: +=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json +=== 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: [] [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: [] + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [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":22534508,"end-time":"2024-11-11T21:16:04.490032746+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.467498238+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":11280,"end-time":"2024-11-11T21:16:04.490051106+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.490039826+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.023s","test-count":2,"total-duration":22552868}} + [DEBUG] : status 200 +=== RUN TestServeWithNoContentNegotiation/failing-default-output +=== NAME TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json + serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.02] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":18931318,"end-time":"2024-11-11T21:16:04.493989804+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-11T21:16:04.475058486+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":16400,"end-time":"2024-11-11T21:16:04.494011883+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-11T21:16:04.493995483+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.019s","test-count":2,"total-duration":18953397}} + [DEBUG] : status 503 - {"results":[{"duration":18931318,"end-time":"2024-11-11T21:16:04.493989804+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-11T21:16:04.475058486+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":16400,"end-time":"2024-11-11T21:16:04.494011883+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-11T21:16:04.493995483+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.019s","test-count":2,"total-duration":18953397}} +=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level + serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: + [TRACE] : requesting health probe + Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_application/json -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][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":8570036,"end-time":"2024-11-10T19:10:56.58149313-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.572923114-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":19878,"end-time":"2024-11-10T19:10:56.581519388-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.58149955-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.009s","test-count":2,"total-duration":8596294}} + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] + [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.028s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/failing-default-output +=== 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 [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.01] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [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":18188264,"end-time":"2024-11-11T21:16:04.510036545+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.491848241+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":16799,"end-time":"2024-11-11T21:16:04.510063864+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.510047065+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.018s","test-count":2,"total-duration":18215623}} + [DEBUG] : status 200 +--- PASS: TestServeWithNoContentNegotiation (0.09s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.02s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.03s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.05s) +=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] + [TRACE] : requesting health probe + Stale cache[res], running tests + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.02] [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] - [DEBUG] FAIL SUMMARY: Total Duration: 0.014s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] FAIL SUMMARY: Total Duration: 0.018s Count: 2, Failed: 2, Skipped: 0 [DEBUG] : status 503 - FF Failures/Skipped: @@ -1341,68 +1414,39 @@ the missing elements were ["did not echo this"] - Total Duration: 0.014s + Total Duration: 0.018s Count: 2, Failed: 2, Skipped: 0 ---- PASS: TestServeWithNoContentNegotiation (0.06s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.01s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.03s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.02s) -=== NAME TestServeNegotiatingContent/accept_application/json - serve_test.go:173: testName "accept application/json" log output: - [TRACE] : requesting health probe - Stale cache[res], running tests - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.01] [1] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] - [DEBUG] FAIL SUMMARY: {"results":[{"duration":6874535,"end-time":"2024-11-10T19:10:56.593611933-12:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-10T19:10:56.586737358-12:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":20838,"end-time":"2024-11-10T19:10:56.59364447-12:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-10T19:10:56.593623692-12:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.007s","test-count":2,"total-duration":6907132}} - [DEBUG] : status 503 - {"results":[{"duration":6874535,"end-time":"2024-11-10T19:10:56.593611933-12:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-10T19:10:56.586737358-12:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":20838,"end-time":"2024-11-10T19:10:56.59364447-12:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2024-11-10T19:10:56.593623692-12:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.007s","test-count":2,"total-duration":6907132}} -=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json - serve_test.go:173: testName "accept text/json translates to application/json" log output: - [TRACE] : requesting health probe - Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1964836,"end-time":"2024-11-10T19:10:56.631325736-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.62936082-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":10719,"end-time":"2024-11-10T19:10:56.631342534-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.631331855-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.002s","test-count":2,"total-duration":1981674}} [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: +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + serve_test.go:173: testName "accept header contains nonsense then valid" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.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":12330844,"end-time":"2024-11-10T19:10:56.645505646-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.633174782-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":27537,"end-time":"2024-11-10T19:10:56.645543522-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-10T19:10:56.645516005-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.012s","test-count":2,"total-duration":12368740}} + [DEBUG] OK SUMMARY: {"results":[{"duration":11809134,"end-time":"2024-11-11T21:16:04.578104292+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.566295158+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":30119,"end-time":"2024-11-11T21:16:04.578142211+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2024-11-11T21:16:04.578112172+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.012s","test-count":2,"total-duration":11847093}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level - serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: - [TRACE] : requesting health probe - Stale cache[res], running tests - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] - [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] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] +=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option + serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.10s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.01s) - --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.02s) - --- PASS: TestServeNegotiatingContent/accept_application/json (0.02s) - --- 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.01s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.00s) +--- PASS: TestServeNegotiatingContent (0.14s) + --- PASS: TestServeNegotiatingContent/accept_application/json (0.01s) + --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.02s) + --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.02s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.03s) --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.02s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.01s) + --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.01s) PASS -ok github.com/goss-org/goss 0.692s +ok github.com/goss-org/goss 0.654s === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity --- PASS: TestBeSemverConstraint (0.00s) @@ -1435,7 +1479,7 @@ === RUN Test_toConstraint/nil === RUN Test_toConstraint/empty === RUN Test_toConstraint/invalid ---- PASS: Test_toConstraint (0.00s) +--- PASS: Test_toConstraint (0.01s) --- PASS: Test_toConstraint/simple (0.00s) --- PASS: Test_toConstraint/complex (0.00s) --- PASS: Test_toConstraint/nil (0.00s) @@ -1464,7 +1508,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.037s +ok github.com/goss-org/goss/matchers 0.068s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1480,53 +1524,6 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== 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"} 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"} 2 - # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 - # 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/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. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/unknown-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/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 @@ -1557,21 +1554,21 @@ # 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 +=== RUN TestPrometheusOutput/success-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="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="fail",type="command"} 1 - 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 - 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 + goss_tests_run_outcomes_total{outcome="unknown"} 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 @@ -1585,32 +1582,34 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="skip"} 1 -=== RUN TestPrometheusOutput/success-fail +=== RUN TestPrometheusOutput/various-results-multiple-types prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="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. # 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/verbose +=== RUN TestPrometheusOutput/success-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",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="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",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="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 @@ -1632,25 +1631,21 @@ # 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/various-results-single-type +=== 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 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 + goss_tests_run_outcomes_total{outcome="pass"} 1 === RUN TestPrometheusOutput/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 @@ -1666,77 +1661,78 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/skip-success +=== RUN TestPrometheusOutput/skip-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/success-skip + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/fail-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="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/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 + 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-fail-single-type + 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"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-unknown-single-type +=== RUN TestPrometheusOutput/fail-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/fail-unknown + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/various-results-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter @@ -1744,109 +1740,157 @@ # 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-skip +=== RUN TestPrometheusOutput/unknown-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",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="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-success + goss_tests_run_outcomes_total{outcome="unknown"} 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="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="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-unknown + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="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/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 ---- PASS: TestPrometheusOutput (0.02s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) +=== RUN TestPrometheusOutput/verbose + prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. + # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 + # HELP goss_tests_outcomes_total The number of test-outcomes from this run. + # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/all-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"} 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"} 2 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + # 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-fail-single-type + prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. + # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 20 + # HELP goss_tests_outcomes_total The number of test-outcomes from this run. + # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="fail",type="command"} 2 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="fail"} 1 +--- PASS: TestPrometheusOutput (0.01s) --- PASS: TestPrometheusOutput/unknown-fail (0.00s) --- PASS: TestPrometheusOutput/unknown-success (0.00s) - --- PASS: TestPrometheusOutput/skip-fail (0.00s) + --- PASS: TestPrometheusOutput/success-unknown (0.00s) --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) --- PASS: TestPrometheusOutput/success-fail (0.00s) - --- PASS: TestPrometheusOutput/verbose (0.00s) --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.01s) - --- PASS: TestPrometheusOutput/no-results (0.00s) - --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/skip-fail (0.00s) --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/fail-skip (0.00s) --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/success-unknown (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) + --- PASS: TestPrometheusOutput/verbose (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) === RUN TestCanChangeOverallOutcome +=== RUN TestCanChangeOverallOutcome/pass/pass +=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/pass/fail +=== RUN TestCanChangeOverallOutcome/pass/unknown === RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/skip/fail === RUN TestCanChangeOverallOutcome/skip/unknown -=== RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown === RUN TestCanChangeOverallOutcome/fail/pass -=== RUN TestCanChangeOverallOutcome/unknown/fail -=== RUN TestCanChangeOverallOutcome/unknown/unknown +=== RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/unknown/pass === RUN TestCanChangeOverallOutcome/unknown/skip -=== RUN TestCanChangeOverallOutcome/pass/pass -=== RUN TestCanChangeOverallOutcome/pass/skip -=== RUN TestCanChangeOverallOutcome/pass/fail -=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/unknown/fail +=== RUN TestCanChangeOverallOutcome/unknown/unknown --- PASS: TestCanChangeOverallOutcome (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) - --- PASS: 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/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.086s +ok github.com/goss-org/goss/outputs 0.076s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1866,7 +1910,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.048s +ok github.com/goss-org/goss/resource 0.021s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1896,7 +1940,7 @@ === CONT TestPackageManager --- PASS: TestPackageManager (0.00s) PASS -ok github.com/goss-org/goss/system 0.025s +ok github.com/goss-org/goss/system 0.029s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1906,7 +1950,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.036s +ok github.com/goss-org/goss/util 0.022s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1943,12 +1987,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/26351/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26351/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/2614 and its subdirectories -I: Current time: Sun Nov 10 19:12:00 -12 2024 -I: pbuilder-time-stamp: 1731309120 +I: removing directory /srv/workspace/pbuilder/26351 and its subdirectories +I: Current time: Mon Nov 11 21:16:36 +14 2024 +I: pbuilder-time-stamp: 1731309396