Diff of the two buildlogs: -- --- b1/build.log 2023-05-08 17:38:29.867959775 +0000 +++ b2/build.log 2023-05-08 17:43:36.534548459 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 8 05:34:38 -12 2023 -I: pbuilder-time-stamp: 1683567278 +I: Current time: Mon Jun 10 14:01:33 +14 2024 +I: pbuilder-time-stamp: 1717977693 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1.orig.tar.xz] I: copying [./golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Jan 17 02:56:29 2022 -12 +gpgv: Signature made Tue Jan 18 04:56:29 2022 +14 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32598/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/D01_modify_environment starting +debug: Running on codethink9-arm64. +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 Jun 10 14:01 /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/16854/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='32598' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=16854 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.W4ZpVL2T/pbuilderrc_Uwuo --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.W4ZpVL2T/b1 --logfile b1/build.log golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.W4ZpVL2T/pbuilderrc_oeKp --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.W4ZpVL2T/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 7 22:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32598/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 06:49 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -213,7 +245,7 @@ Get: 82 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-tomb.v2-dev all 0.0~git20161208.d5d1b58-3 [6840 B] Get: 83 http://deb.debian.org/debian bookworm/main arm64 golang-github-gin-contrib-sse-dev all 0.1.0-2 [6872 B] Get: 84 http://deb.debian.org/debian bookworm/main arm64 golang-github-gin-gonic-gin-dev all 1.8.1-1 [107 kB] -Fetched 103 MB in 2s (56.6 MB/s) +Fetched 103 MB in 2s (57.4 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 ... 19616 files and directories currently installed.) @@ -563,8 +595,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-mendersoftware-go-lib-micro-0.0~git20211108.4e20429+ds1/ && 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 > ../golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2_source.changes +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-mendersoftware-go-lib-micro-0.0~git20211108.4e20429+ds1/ && 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 > ../golang-github-mendersoftware-go-lib-micro_0.0~git20211108.4e20429+ds1-2_source.changes dpkg-buildpackage: info: source package golang-github-mendersoftware-go-lib-micro dpkg-buildpackage: info: source version 0.0~git20211108.4e20429+ds1-2 dpkg-buildpackage: info: source distribution unstable @@ -588,11 +629,11 @@ internal/unsafeheader internal/goexperiment internal/goos +runtime/internal/syscall internal/race internal/cpu sync/atomic internal/abi -runtime/internal/syscall runtime/internal/math runtime/internal/sys unicode @@ -605,15 +646,15 @@ container/list crypto/internal/subtle crypto/subtle +internal/bytealg +runtime/internal/atomic crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle -internal/bytealg -runtime/internal/atomic github.com/gin-gonic/gin/internal/bytesconv github.com/go-playground/locales/currency -github.com/pelletier/go-toml/v2/internal/characters math +github.com/pelletier/go-toml/v2/internal/characters google.golang.org/protobuf/internal/flags github.com/mendersoftware/go-lib-micro/addons github.com/mendersoftware/go-lib-micro/plan @@ -625,34 +666,34 @@ runtime internal/reflectlite sync -internal/singleflight internal/testlog -google.golang.org/protobuf/internal/pragma +internal/singleflight math/rand -internal/sysinfo +google.golang.org/protobuf/internal/pragma github.com/spf13/viper/internal/encoding +internal/sysinfo runtime/cgo errors sort +strconv io internal/oserror internal/safefilepath -strconv path vendor/golang.org/x/net/dns/dnsmessage syscall crypto/internal/nistec/fiat github.com/hashicorp/hcl/hcl/strconv +hash bytes strings -hash hash/crc32 crypto/internal/randutil hash/fnv text/tabwriter reflect -crypto crypto/rc4 +crypto vendor/golang.org/x/text/transform golang.org/x/text/transform bufio @@ -665,21 +706,21 @@ time internal/syscall/execenv regexp -internal/poll -github.com/go-playground/locales -context io/fs +context +github.com/go-playground/locales github.com/mendersoftware/go-lib-micro/ws/filetransfer -embed +internal/poll github.com/spf13/afero/internal/common +embed internal/fmtsort encoding/binary os encoding/base64 crypto/cipher -crypto/internal/nistec crypto/internal/edwards25519/field crypto/md5 +crypto/internal/nistec vendor/golang.org/x/crypto/curve25519/internal/field vendor/golang.org/x/crypto/internal/poly1305 encoding/pem @@ -693,23 +734,23 @@ crypto/sha512 crypto/hmac crypto/sha1 -fmt -io/ioutil -internal/godebug crypto/sha256 -internal/intern -path/filepath vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -net/netip +io/ioutil +internal/godebug +path/filepath google.golang.org/protobuf/internal/detrand +fmt +internal/intern +net/netip github.com/spf13/afero/mem net -compress/flate encoding/json github.com/ant0ine/go-json-rest/rest/trie log mime +compress/flate math/big encoding/hex net/url @@ -723,15 +764,13 @@ runtime/debug text/template/parse encoding/xml -vendor/golang.org/x/text/secure/bidirule flag -github.com/gin-gonic/gin/internal/json -github.com/go-playground/universal-translator -github.com/leodido/go-urn +vendor/golang.org/x/text/secure/bidirule github.com/pelletier/go-toml/v2/internal/danger github.com/pelletier/go-toml/v2/unstable encoding/gob -go/token +github.com/gin-gonic/gin/internal/json +github.com/go-playground/universal-translator crypto/rand crypto/elliptic crypto/internal/boring/bbig @@ -741,21 +780,24 @@ crypto/dsa vendor/golang.org/x/net/idna text/template +github.com/leodido/go-urn github.com/pelletier/go-toml/v2/internal/tracker +go/token github.com/pelletier/go-toml/v2 google.golang.org/protobuf/internal/errors -gopkg.in/yaml.v2 -google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/reflect/protoreflect vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +google.golang.org/protobuf/encoding/protowire +google.golang.org/protobuf/reflect/protoreflect +gopkg.in/yaml.v2 github.com/mattn/go-isatty golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm crypto/ecdsa -html/template golang.org/x/net/http2/hpack +html/template github.com/sirupsen/logrus +database/sql/driver google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order @@ -763,28 +805,27 @@ google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface golang.org/x/text/secure/bidirule -database/sql/driver github.com/pkg/errors encoding/csv -google.golang.org/protobuf/proto -github.com/mendersoftware/go-lib-micro/log github.com/fsnotify/fsnotify -github.com/spf13/jwalterweatherman github.com/spf13/cast +github.com/spf13/jwalterweatherman +google.golang.org/protobuf/proto github.com/hashicorp/hcl/hcl/token github.com/spf13/viper/internal/encoding/json +github.com/mendersoftware/go-lib-micro/log github.com/pelletier/go-toml -github.com/spf13/viper/internal/encoding/yaml github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner +github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/token golang.org/x/net/idna -github.com/subosito/gotenv github.com/hashicorp/hcl/json/scanner -github.com/hashicorp/hcl/hcl/parser -gopkg.in/ini.v1 -github.com/hashicorp/hcl/json/parser +github.com/subosito/gotenv github.com/hashicorp/hcl/hcl/printer +github.com/hashicorp/hcl/json/parser +gopkg.in/ini.v1 +github.com/spf13/viper/internal/encoding/yaml github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib github.com/hashicorp/hcl @@ -795,51 +836,51 @@ github.com/mendersoftware/go-lib-micro/ratelimits runtime/trace testing +github.com/spf13/viper/internal/encoding/toml net/textproto -crypto/x509 vendor/golang.org/x/net/http/httpproxy -github.com/go-playground/validator/v10 +crypto/x509 github.com/google/uuid github.com/mitchellh/mapstructure +github.com/go-playground/validator/v10 github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts -github.com/spf13/viper/internal/encoding/toml github.com/mendersoftware/go-lib-micro/keys crypto/tls net/http/httptrace net/http github.com/gin-contrib/sse -github.com/ant0ine/go-json-rest/rest net/rpc -github.com/mendersoftware/go-lib-micro/context/httpheader net/http/httputil +github.com/mendersoftware/go-lib-micro/context/httpheader github.com/magiconair/properties github.com/spf13/afero +github.com/ant0ine/go-json-rest/rest golang.org/x/net/http2 net/http/httptest +github.com/ugorji/go/codec github.com/ant0ine/go-json-rest/rest/test github.com/stretchr/testify/assert -github.com/ugorji/go/codec github.com/mendersoftware/go-lib-micro/requestlog github.com/mendersoftware/go-lib-micro/customheader github.com/mendersoftware/go-lib-micro/routing github.com/spf13/viper -github.com/stretchr/testify/mock github.com/mendersoftware/go-lib-micro/testing +github.com/stretchr/testify/mock github.com/mendersoftware/go-lib-micro/config/mocks github.com/mendersoftware/go-lib-micro/config golang.org/x/net/http2/h2c -github.com/gin-gonic/gin/render github.com/gin-gonic/gin/binding +github.com/gin-gonic/gin/render github.com/gin-gonic/gin -github.com/mendersoftware/go-lib-micro/requestid github.com/mendersoftware/go-lib-micro/rbac -github.com/mendersoftware/go-lib-micro/rest.utils +github.com/mendersoftware/go-lib-micro/requestid github.com/mendersoftware/go-lib-micro/apiclient -github.com/mendersoftware/go-lib-micro/rest_utils +github.com/mendersoftware/go-lib-micro/rest.utils github.com/mendersoftware/go-lib-micro/context +github.com/mendersoftware/go-lib-micro/rest_utils github.com/mendersoftware/go-lib-micro/accesslog github.com/mendersoftware/go-lib-micro/identity github.com/mendersoftware/go-lib-micro/identity/cmd/dumpidentity @@ -859,12 +900,12 @@ --- PASS: TestMiddleware/ok,_unexplained_error (0.00s) --- PASS: TestMiddleware/error,_panic_in_handler (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/accesslog 0.188s +ok github.com/mendersoftware/go-lib-micro/accesslog 0.067s ? github.com/mendersoftware/go-lib-micro/addons [no test files] === RUN TestApiClient ---- PASS: TestApiClient (0.01s) +--- PASS: TestApiClient (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/apiclient 0.064s +ok github.com/mendersoftware/go-lib-micro/apiclient 0.044s === RUN TestValidateConfig --- PASS: TestValidateConfig (0.00s) === RUN TestSetDefaultConfigs @@ -872,26 +913,26 @@ === RUN TestFromConfigFile --- PASS: TestFromConfigFile (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/config 0.065s +ok github.com/mendersoftware/go-lib-micro/config 0.063s ? github.com/mendersoftware/go-lib-micro/config/mocks [no test files] === RUN TestUpdateContextMiddlewareMiddleware --- PASS: TestUpdateContextMiddlewareMiddleware (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/context 0.106s +ok github.com/mendersoftware/go-lib-micro/context 0.074s === RUN TestHttpHeader --- PASS: TestHttpHeader (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/context/httpheader 0.039s +ok github.com/mendersoftware/go-lib-micro/context/httpheader 0.041s === RUN TestCustomHeaderMiddleware -=== RUN TestCustomHeaderMiddleware/empty === RUN TestCustomHeaderMiddleware/no_value === RUN TestCustomHeaderMiddleware/both +=== RUN TestCustomHeaderMiddleware/empty --- PASS: TestCustomHeaderMiddleware (0.00s) - --- PASS: TestCustomHeaderMiddleware/empty (0.00s) --- PASS: TestCustomHeaderMiddleware/no_value (0.00s) --- PASS: TestCustomHeaderMiddleware/both (0.00s) + --- PASS: TestCustomHeaderMiddleware/empty (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/customheader 0.041s +ok github.com/mendersoftware/go-lib-micro/customheader 0.033s === RUN TestGinMiddleware === RUN TestGinMiddleware/ok,_user === PAUSE TestGinMiddleware/ok,_user @@ -911,25 +952,25 @@ === PAUSE TestGinMiddleware/error,_token_malformed_(base_middleware) === CONT TestGinMiddleware/ok,_user === CONT TestGinMiddleware/error,_token_malformed_(base_middleware) -=== CONT TestGinMiddleware/error,_token_not_present_(w/logger) === CONT TestGinMiddleware/error,_token_not_present_(base_middleware) === CONT TestGinMiddleware/error,_token_malformed_(w/logger) -=== CONT TestGinMiddleware/ok,_with_option_override +=== CONT TestGinMiddleware/error,_token_not_present_(w/logger) === CONT TestGinMiddleware/ok,_path_does_not_match +=== CONT TestGinMiddleware/ok,_with_option_override === CONT TestGinMiddleware/ok,_device --- PASS: TestGinMiddleware (0.00s) --- PASS: TestGinMiddleware/ok,_user (0.00s) - --- PASS: TestGinMiddleware/ok,_with_option_override (0.00s) - --- PASS: TestGinMiddleware/ok,_path_does_not_match (0.00s) - --- PASS: TestGinMiddleware/ok,_device (0.00s) --- PASS: TestGinMiddleware/error,_token_malformed_(base_middleware) (0.00s) + --- PASS: TestGinMiddleware/error,_token_not_present_(base_middleware) (0.00s) --- PASS: TestGinMiddleware/error,_token_malformed_(w/logger) (0.00s) --- PASS: TestGinMiddleware/error,_token_not_present_(w/logger) (0.00s) - --- PASS: TestGinMiddleware/error,_token_not_present_(base_middleware) (0.00s) + --- PASS: TestGinMiddleware/ok,_path_does_not_match (0.00s) + --- PASS: TestGinMiddleware/ok,_with_option_override (0.00s) + --- PASS: TestGinMiddleware/ok,_device (0.00s) === RUN TestIdentityMiddlewareNoIdentity --- PASS: TestIdentityMiddlewareNoIdentity (0.00s) === RUN TestIdentityMiddlewareNoSubject -time="2023-05-08T05:38:14-12:00" level=warning msg="Failed to parse extracted JWT: identity: claim \"sub\" is required" file=middleware.go func="identity.(*IdentityMiddleware).MiddlewareFunc.func1" line=182 +time="2024-06-10T14:06:19+14:00" level=warning msg="Failed to parse extracted JWT: identity: claim \"sub\" is required" file=middleware.go func="identity.(*IdentityMiddleware).MiddlewareFunc.func1" line=182 --- PASS: TestIdentityMiddlewareNoSubject (0.00s) === RUN TestIdentityMiddlewareNoTenant --- PASS: TestIdentityMiddlewareNoTenant (0.00s) @@ -937,13 +978,13 @@ --- PASS: TestIdentityMiddleware (0.00s) === RUN TestIdentityMiddlewareDevice === RUN TestIdentityMiddlewareDevice/tc_0 -time="2023-05-08T05:38:14-12:00" level=info msg=foobar device_id=device-1 file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os tenant_id=bar +time="2024-06-10T14:06:19+14:00" level=info msg=foobar device_id=device-1 file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os tenant_id=bar === RUN TestIdentityMiddlewareDevice/tc_1 -time="2023-05-08T05:38:14-12:00" level=info msg=foobar file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os tenant_id=bar user_id=user-1 +time="2024-06-10T14:06:19+14:00" level=info msg=foobar file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os tenant_id=bar user_id=user-1 === RUN TestIdentityMiddlewareDevice/tc_2 -time="2023-05-08T05:38:14-12:00" level=info msg=foobar file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os sub=not-a-user-not-a-device tenant_id=bar +time="2024-06-10T14:06:19+14:00" level=info msg=foobar file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 plan=os sub=not-a-user-not-a-device tenant_id=bar === RUN TestIdentityMiddlewareDevice/tc_3 -time="2023-05-08T05:38:14-12:00" level=info msg=foobar device_id=123-dobby-has-no-master file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 +time="2024-06-10T14:06:19+14:00" level=info msg=foobar device_id=123-dobby-has-no-master file=middleware_test.go func=identity.TestIdentityMiddlewareDevice.func1.1 line=506 --- PASS: TestIdentityMiddlewareDevice (0.00s) --- PASS: TestIdentityMiddlewareDevice/tc_0 (0.00s) --- PASS: TestIdentityMiddlewareDevice/tc_1 (0.00s) @@ -956,7 +997,7 @@ === RUN TestContext --- PASS: TestContext (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/identity 0.038s +ok github.com/mendersoftware/go-lib-micro/identity 0.045s ? github.com/mendersoftware/go-lib-micro/identity/cmd/dumpidentity [no test files] === RUN TestLoadRsaPrivateKey === PAUSE TestLoadRsaPrivateKey @@ -979,7 +1020,7 @@ --- PASS: TestLoadRsaPrivateKey/tc_2 (0.00s) --- PASS: TestLoadRsaPrivateKey/tc_1 (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/keys 0.033s +ok github.com/mendersoftware/go-lib-micro/keys 0.032s === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestNewFromLogger @@ -991,16 +1032,16 @@ === RUN TestFromWithContext --- PASS: TestFromWithContext (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/log 0.055s +ok github.com/mendersoftware/go-lib-micro/log 0.036s ? github.com/mendersoftware/go-lib-micro/log/testing [no test files] === RUN TestIsMinimum --- PASS: TestIsMinimum (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/plan 0.068s +ok github.com/mendersoftware/go-lib-micro/plan 0.044s === RUN TestApiLimitsMarshal --- PASS: TestApiLimitsMarshal (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/ratelimits 0.093s +ok github.com/mendersoftware/go-lib-micro/ratelimits 0.039s ? github.com/mendersoftware/go-lib-micro/rbac [no test files] === RUN TestNewTrackingApiClient --- PASS: TestNewTrackingApiClient (0.00s) @@ -1025,13 +1066,13 @@ --- PASS: TestGinMiddleware/Request_with_ID (0.00s) --- PASS: TestGinMiddleware/Request_generated_ID (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/requestid 0.082s +ok github.com/mendersoftware/go-lib-micro/requestid 0.049s === RUN TestRequestLogMiddlewareBaseLogger --- PASS: TestRequestLogMiddlewareBaseLogger (0.00s) === RUN TestRequestLogMiddlewareWithCtx --- PASS: TestRequestLogMiddlewareWithCtx (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/requestlog 0.032s +ok github.com/mendersoftware/go-lib-micro/requestlog 0.019s === RUN TestParsePagingParameters === PAUSE TestParsePagingParameters === RUN TestMakePagingHeaders @@ -1071,20 +1112,20 @@ === CONT TestParsePagingParameters/ok === CONT TestParsePagingParameters/error,_per_page_above_limit === CONT TestParsePagingParameters/error,_zero_per_page_parameter -=== CONT TestParsePagingParameters/error,_bad_page_parameter -=== CONT TestParsePagingParameters/defaults === CONT TestParsePagingParameters/error,_negative_page_parameter === CONT TestParsePagingParameters/error,_bad_per_page_parameter ---- PASS: TestParsePagingParameters (0.01s) +=== CONT TestParsePagingParameters/error,_bad_page_parameter +=== CONT TestParsePagingParameters/defaults +--- PASS: TestParsePagingParameters (0.00s) --- PASS: TestParsePagingParameters/ok (0.00s) --- PASS: TestParsePagingParameters/error,_per_page_above_limit (0.00s) - --- PASS: TestParsePagingParameters/error,_bad_page_parameter (0.00s) - --- PASS: TestParsePagingParameters/defaults (0.00s) + --- PASS: TestParsePagingParameters/error,_zero_per_page_parameter (0.00s) --- PASS: TestParsePagingParameters/error,_negative_page_parameter (0.00s) - --- PASS: TestParsePagingParameters/error,_zero_per_page_parameter (0.01s) --- PASS: TestParsePagingParameters/error,_bad_per_page_parameter (0.00s) + --- PASS: TestParsePagingParameters/error,_bad_page_parameter (0.00s) + --- PASS: TestParsePagingParameters/defaults (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/rest.utils 0.097s +ok github.com/mendersoftware/go-lib-micro/rest.utils 0.053s === RUN TestParseApiErrOk --- PASS: TestParseApiErrOk (0.00s) === RUN TestParseApiErrInvalid @@ -1104,20 +1145,20 @@ --- PASS: TestMakePageLinkHdrs/First_page (0.00s) --- PASS: TestMakePageLinkHdrs/Second_page (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/rest_utils 0.073s +ok github.com/mendersoftware/go-lib-micro/rest_utils 0.125s === RUN TestSupportsMethod --- PASS: TestSupportsMethod (0.00s) === RUN TestAutogenOptionRoutes --- PASS: TestAutogenOptionRoutes (0.00s) === RUN TestAutogenOptionHeaders -08/May/2023:05:37:57 -1200 0 20μs "OPTIONS /test HTTP/1.1" - "-" +10/Jun/2024:14:05:55 +1400 0 20μs "OPTIONS /test HTTP/1.1" - "-" --- PASS: TestAutogenOptionHeaders (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/routing 0.037s +ok github.com/mendersoftware/go-lib-micro/routing 0.088s === RUN TestContainsString --- PASS: TestContainsString (0.00s) PASS -ok github.com/mendersoftware/go-lib-micro/strings 0.046s +ok github.com/mendersoftware/go-lib-micro/strings 0.042s ? github.com/mendersoftware/go-lib-micro/testing [no test files] ? github.com/mendersoftware/go-lib-micro/ws [no test files] ? github.com/mendersoftware/go-lib-micro/ws/filetransfer [no test files] @@ -1153,12 +1194,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/16854/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16854/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/32598 and its subdirectories -I: Current time: Mon May 8 05:38:28 -12 2023 -I: pbuilder-time-stamp: 1683567508 +I: removing directory /srv/workspace/pbuilder/16854 and its subdirectories +I: Current time: Mon Jun 10 14:06:35 +14 2024 +I: pbuilder-time-stamp: 1717977995