Diff of the two buildlogs: -- --- b1/build.log 2025-03-08 12:28:07.484535368 +0000 +++ b2/build.log 2025-03-08 12:29:06.261872878 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Mar 8 00:26:46 -12 2025 -I: pbuilder-time-stamp: 1741436806 +I: Current time: Sat Apr 11 08:51:08 +14 2026 +I: pbuilder-time-stamp: 1775847068 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,54 +25,86 @@ dpkg-source: info: applying 0001-Start-showing-inlined-functions-in-stack-trace.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/33226/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/57036/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Apr 10 18:51 /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/57036/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/57036/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8aafe0593720447393f1f1f99510b281' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='33226' - PS1='# ' - PS2='> ' + INVOCATION_ID=aa4c1553285b48d9abd907c870f194c5 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=57036 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.cBHZdkz7/pbuilderrc_KjMj --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.cBHZdkz7/b1 --logfile b1/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cBHZdkz7/pbuilderrc_789c --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.cBHZdkz7/b2 --logfile b2/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/33226/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/57036/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -177,7 +209,7 @@ Get: 53 http://deb.debian.org/debian unstable/main i386 golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 55 http://deb.debian.org/debian unstable/main i386 golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 77.9 MB in 1s (90.4 MB/s) +Fetched 77.9 MB in 1s (102 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (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 ... 19769 files and directories currently installed.) @@ -412,7 +444,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/ && 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-bugsnag-bugsnag-go_2.5.1-1_source.changes +I: user script /srv/workspace/pbuilder/57036/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/57036/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/ && 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-bugsnag-bugsnag-go_2.5.1-1_source.changes dpkg-buildpackage: info: source package golang-github-bugsnag-bugsnag-go dpkg-buildpackage: info: source version 2.5.1-1 dpkg-buildpackage: info: source distribution unstable @@ -430,117 +466,117 @@ 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 11 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil -internal/goarch -internal/godebugs -internal/goexperiment -internal/coverage/rtcov + cd _build && go install -trimpath -v -p 21 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil internal/profilerecord -internal/goos +cmp internal/byteorder +internal/runtime/syscall +internal/goos +internal/coverage/rtcov +internal/godebugs +internal/msan internal/unsafeheader +internal/itoa +crypto/internal/boring/sig +internal/goexperiment internal/asan -internal/cpu -internal/runtime/atomic -internal/abi -internal/msan -internal/runtime/math -internal/runtime/syscall +crypto/internal/fips140/alias sync/atomic -internal/chacha8rand -internal/runtime/sys math/bits unicode/utf8 +internal/goarch +internal/cpu +internal/runtime/atomic unicode -internal/itoa -crypto/internal/fips140/alias -crypto/internal/fips140deps/byteorder -cmp -crypto/internal/boring/sig encoding -internal/bytealg unicode/utf16 -math -crypto/internal/fips140deps/cpu internal/nettrace -internal/runtime/exithook -log/internal container/list -vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/runtime/math +log/internal +internal/runtime/sys +internal/chacha8rand +crypto/internal/fips140deps/byteorder +internal/abi +math +internal/runtime/exithook +crypto/internal/fips140deps/cpu +internal/bytealg internal/stringslite internal/race internal/sync internal/runtime/maps runtime -internal/reflectlite +sync iter crypto/internal/fips140/subtle -sync weak +internal/reflectlite maps slices crypto/subtle errors -sort internal/bisect -internal/singleflight internal/testlog +sort +internal/singleflight unique -internal/oserror +runtime/cgo +internal/godebug io +internal/oserror +vendor/golang.org/x/net/dns/dnsmessage path +bytes math/rand/v2 strconv -runtime/cgo -syscall -vendor/golang.org/x/net/dns/dnsmessage -internal/godebug -bytes +crypto/internal/randutil hash -hash/crc32 +crypto/internal/fips140deps/godebug +math/rand strings -crypto/internal/randutil +syscall +vendor/golang.org/x/text/transform +hash/crc32 crypto net/netip reflect -crypto/internal/fips140deps/godebug -math/rand -vendor/golang.org/x/text/transform -bufio -crypto/internal/fips140 crypto/internal/impl net/http/internal/ascii +crypto/internal/fips140 net/http/internal/testcert +bufio +crypto/tls/internal/fips140tls crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -crypto/tls/internal/fips140tls -internal/syscall/execenv -time -internal/syscall/unix -crypto/internal/fips140/hmac crypto/sha3 +crypto/internal/fips140/hmac crypto/internal/fips140/check crypto/internal/fips140hash -crypto/internal/fips140/aes -crypto/internal/fips140/bigmod -crypto/internal/fips140/edwards25519/field crypto/internal/fips140/hkdf +crypto/internal/fips140/edwards25519/field crypto/internal/fips140/tls12 +crypto/internal/fips140/bigmod +crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 -context -io/fs +internal/syscall/execenv +internal/syscall/unix +time github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/v2/headers +context +io/fs internal/poll -internal/filepathlite -os internal/fmtsort encoding/binary +internal/filepathlite crypto/internal/fips140/nistec +os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 encoding/pem @@ -548,88 +584,88 @@ github.com/bugsnag/bugsnag-go/device io/ioutil os/signal -fmt path/filepath github.com/bugsnag/bugsnag-go/v2/device internal/sysinfo +fmt net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only +crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 +crypto/internal/fips140/ecdsa crypto/internal/fips140/aes/gcm crypto/internal/fips140/rsa crypto/internal/fips140/mlkem os/exec -crypto/md5 crypto/rc4 +crypto/md5 crypto/cipher github.com/bugsnag/panicwrap crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 encoding/json -github.com/pkg/errors crypto/sha512 -crypto/sha1 -database/sql/driver -math/big encoding/hex -log +github.com/pkg/errors crypto/aes -compress/flate -github.com/bugsnag/bugsnag-go/errors -crypto/hmac -vendor/golang.org/x/crypto/chacha20poly1305 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa +log +crypto/sha1 +crypto/ecdh +database/sql/driver crypto/sha256 +compress/flate net/url -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm +crypto/hmac +math/big vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/unicode/norm mime -crypto/ecdh mime/quotedprintable -compress/gzip net/http/internal flag -runtime/debug runtime/trace +vendor/golang.org/x/crypto/chacha20poly1305 +runtime/debug +github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/v2/errors -vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/bidi testing -github.com/bitly/go-simplejson +compress/gzip +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna +github.com/bitly/go-simplejson crypto/internal/boring/bbig +crypto/rand crypto/dsa -crypto/elliptic encoding/asn1 -crypto/rand -crypto/ed25519 +crypto/elliptic crypto/internal/hpke +crypto/ed25519 crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy -github.com/google/uuid net/textproto +github.com/google/uuid crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http -github.com/bugsnag/bugsnag-go/sessions net/http/httptest github.com/bugsnag/bugsnag-go/v2/sessions -github.com/bugsnag/bugsnag-go/v2 +github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go +github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2/testutil dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 11 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil + cd _build && go test -vet=off -v -p 21 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil === RUN TestConfigure --- PASS: TestConfigure (0.00s) === RUN TestNotify @@ -639,27 +675,27 @@ === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled === RUN TestConfigure -2025/03/08 12:27:55 http: panic serving 127.0.0.1:57832: send on closed channel -goroutine 35 [running]: +2026/04/10 18:51:57 http: panic serving 127.0.0.1:59326: send on closed channel +goroutine 66 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xd6 panic({0x8412b40, 0x84ebe20}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x98128f0, {0x9a22c78, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x8e08300, {0x8c77c78, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3ef panic({0x8412b40, 0x84ebe20}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go.crashyHandler({0x84eeba4, 0x9a3e008}, 0x9a2a218) +github.com/bugsnag/bugsnag-go.crashyHandler({0x84eeba4, 0x8cc8d28}, 0x8cc26e8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x84eeba4, 0x9a3e008}, 0x9a2a0b8) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x84eeba4, 0x8cc8d28}, 0x8cc2588) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x19c -net/http.HandlerFunc.ServeHTTP(0x9812900, {0x84eeba4, 0x9a3e008}, 0x9a2a0b8) +net/http.HandlerFunc.ServeHTTP(0x8e08310, {0x84eeba4, 0x8cc8d28}, 0x8cc2588) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x992e798}, {0x84eeba4, 0x9a3e008}, 0x9a2a0b8) +net/http.serverHandler.ServeHTTP({0x8e1c378}, {0x84eeba4, 0x8cc8d28}, 0x8cc2588) /usr/lib/go-1.24/src/net/http/server.go:3301 +0x99 -net/http.(*conn).serve(0x9a34000, {0x84eed88, 0x99840c0}) +net/http.(*conn).serve(0x8f20060, {0x84eed88, 0x8f28000}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x680 -created by net/http.(*Server).Serve in goroutine 71 +created by net/http.(*Server).Serve in goroutine 42 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x41c === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -763,35 +799,35 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/03/08 12:27:56 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.05s) +2026/04/10 18:51:57 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.03s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/03/08 12:27:56 http: panic serving 127.0.0.1:39650: send on closed channel -goroutine 67 [running]: +2026/04/10 18:51:57 http: panic serving 127.0.0.1:52674: send on closed channel +goroutine 75 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xd6 panic({0x8412b40, 0x84ebe20}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0xa2aa1a0, {0xa065c78, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0xa322150, {0xa193c78, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3ef panic({0x8412b40, 0x84ebe20}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go.crashyHandler({0x84eeba4, 0xa134c88}, 0xa12e798) +github.com/bugsnag/bugsnag-go.crashyHandler({0x84eeba4, 0xa332288}, 0xa312588) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x84eeba4, 0xa134c88}, 0xa12e638) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x84eeba4, 0xa332288}, 0xa312428) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x19c -net/http.HandlerFunc.ServeHTTP(0xa2aa1b0, {0x84eeba4, 0xa134c88}, 0xa12e638) +net/http.HandlerFunc.ServeHTTP(0xa322160, {0x84eeba4, 0xa332288}, 0xa312428) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0xa2a42c8}, {0x84eeba4, 0xa134c88}, 0xa12e638) +net/http.serverHandler.ServeHTTP({0xa312218}, {0x84eeba4, 0xa332288}, 0xa312428) /usr/lib/go-1.24/src/net/http/server.go:3301 +0x99 -net/http.(*conn).serve(0xa108c60, {0x84eed88, 0xa10b338}) +net/http.(*conn).serve(0xa3340c0, {0x84eed88, 0xa1a8ca8}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x680 -created by net/http.(*Server).Serve in goroutine 58 +created by net/http.(*Server).Serve in goroutine 72 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x41c === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -853,33 +889,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.01s) +--- FAIL: TestPanicHandlerHandledPanic (0.00s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xc pc=0x833046e] -goroutine 189 [running]: +goroutine 178 [running]: testing.tRunner.func1.2({0x8412ae0, 0x872f890}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x283 testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x415 panic({0x8412ae0, 0x872f890}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go.startPanickingProcess(0xa48db08, {0x8457f80, 0x7}, {0xa2a6678, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0xa418d88, {0x8457f80, 0x7}, {0xa1b0738, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:111 +0x33e -github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0xa48db08) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0xa418d88) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:22 +0x99 -testing.tRunner(0xa48db08, 0x847b030) +testing.tRunner(0xa418d88, 0x847b030) /usr/lib/go-1.24/src/testing/testing.go:1792 +0x119 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x468 -ok github.com/bugsnag/bugsnag-go 0.091s +ok github.com/bugsnag/bugsnag-go 0.057s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.006s +ok github.com/bugsnag/bugsnag-go/device 0.003s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -905,7 +941,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.007s +ok github.com/bugsnag/bugsnag-go/errors 0.006s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -917,7 +953,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/headers 0.007s +ok github.com/bugsnag/bugsnag-go/headers 0.003s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -926,50 +962,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version +=== RUN TestSendsCorrectPayloadForSmallConfig/app.type +=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version -=== RUN TestSendsCorrectPayloadForSmallConfig/app.type -=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/device.osName +=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version -=== RUN TestSendsCorrectPayloadForBigConfig/device.osName -=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -979,7 +1015,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.51s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.26s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -989,6 +1025,7 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version @@ -996,11 +1033,11 @@ === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) @@ -1008,31 +1045,30 @@ --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version === RUN TestSendsCorrectPayloadForBigConfig/device.osName -=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1045,49 +1081,31 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key -=== RUN TestStartSession/Bugsnag-Payload-Version#01 -=== RUN TestStartSession/Content-Type#01 -=== RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.50s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.26s) === RUN TestStartSession ---- PASS: TestStartSession (1.19s) +--- PASS: TestStartSession (0.96s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#01 (0.00s) - --- PASS: TestStartSession/Content-Type#01 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) PASS -2025/03/08 12:27:57 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2026/04/10 18:51:58 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 -=== RUN TestStartSession/Bugsnag-Payload-Version#02 -=== RUN TestStartSession/Content-Type#02 -=== RUN TestStartSession/Bugsnag-Api-Key#02 -=== RUN TestStartSession/Bugsnag-Payload-Version#03 -=== RUN TestStartSession/Content-Type#03 -=== RUN TestStartSession/Bugsnag-Api-Key#03 === NAME TestStartSession integration_test.go:120: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.21s) +--- FAIL: TestStartSession (0.97s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) --- PASS: TestStartSession/Bugsnag-Payload-Version#01 (0.00s) --- PASS: TestStartSession/Content-Type#01 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#02 (0.00s) - --- PASS: TestStartSession/Content-Type#02 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#03 (0.00s) - --- PASS: TestStartSession/Content-Type#03 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#03 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 2.641s +ok github.com/bugsnag/bugsnag-go/sessions 1.912s ? github.com/bugsnag/bugsnag-go/testutil [no test files] === RUN TestConfigure --- PASS: TestConfigure (0.00s) @@ -1098,27 +1116,27 @@ === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled === RUN TestConfigure -2025/03/08 12:27:56 http: panic serving 127.0.0.1:53538: send on closed channel -goroutine 53 [running]: +2026/04/10 18:51:57 http: panic serving 127.0.0.1:39440: send on closed channel +goroutine 16 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xd6 panic({0x84186c0, 0x84f2a48}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x9f08090, {0x9e8ac78, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x9d880f0, {0x9f20c78, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3ef panic({0x84186c0, 0x84f2a48}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84f57e4, 0x9ea2288}, 0x9e922c8) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84f57e4, 0x9e940a8}, 0x9eb80b8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x51 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84f57e4, 0x9ea2288}, 0x9e92168) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84f57e4, 0x9e940a8}, 0x9cc2638) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x19c -net/http.HandlerFunc.ServeHTTP(0x9f080a0, {0x84f57e4, 0x9ea2288}, 0x9e92168) +net/http.HandlerFunc.ServeHTTP(0x9d88100, {0x84f57e4, 0x9e940a8}, 0x9cc2638) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x9f2a0b8}, {0x84f57e4, 0x9ea2288}, 0x9e92168) +net/http.serverHandler.ServeHTTP({0x9daa168}, {0x84f57e4, 0x9e940a8}, 0x9cc2638) /usr/lib/go-1.24/src/net/http/server.go:3301 +0x99 -net/http.(*conn).serve(0x9eb2060, {0x84f59e4, 0x9e980c0}) +net/http.(*conn).serve(0x9c3ed80, {0x84f59e4, 0x9c9f470}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x680 -created by net/http.(*Server).Serve in goroutine 71 +created by net/http.(*Server).Serve in goroutine 40 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x41c === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -1235,35 +1253,35 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/03/08 12:27:56 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.05s) +2026/04/10 18:51:57 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.03s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/03/08 12:27:56 http: panic serving 127.0.0.1:38506: send on closed channel -goroutine 51 [running]: +2026/04/10 18:51:57 http: panic serving 127.0.0.1:55212: send on closed channel +goroutine 46 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xd6 panic({0x84186c0, 0x84f2a48}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x9016160, {0x8c69c78, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x9288170, {0x9192c78, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3ef panic({0x84186c0, 0x84f2a48}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84f57e4, 0x8eae008}, 0x8e9a168) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84f57e4, 0x909c3c8}, 0x90ae638) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x51 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84f57e4, 0x8eae008}, 0x8ce2638) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84f57e4, 0x909c3c8}, 0x929e428) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x19c -net/http.HandlerFunc.ServeHTTP(0x9016170, {0x84f57e4, 0x8eae008}, 0x8ce2638) +net/http.HandlerFunc.ServeHTTP(0x9288180, {0x84f57e4, 0x909c3c8}, 0x929e428) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x902c168}, {0x84f57e4, 0x8eae008}, 0x8ce2638) +net/http.serverHandler.ServeHTTP({0x929e218}, {0x84f57e4, 0x909c3c8}, 0x929e428) /usr/lib/go-1.24/src/net/http/server.go:3301 +0x99 -net/http.(*conn).serve(0x8e86240, {0x84f59e4, 0x8e841c8}) +net/http.(*conn).serve(0x92b2060, {0x84f59e4, 0x91a8258}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x680 -created by net/http.(*Server).Serve in goroutine 74 +created by net/http.(*Server).Serve in goroutine 43 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x41c === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -1338,33 +1356,33 @@ === RUN TestHttpRequestMiddleware --- PASS: TestHttpRequestMiddleware (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.01s) +--- FAIL: TestPanicHandlerHandledPanic (0.00s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xc pc=0x8334d2d] -goroutine 192 [running]: +goroutine 198 [running]: testing.tRunner.func1.2({0x8418660, 0x8738848}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x283 testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x415 panic({0x8418660, 0x8738848}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x103 -github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x8d5e6c8, {0x845de9d, 0x7}, {0x8cdb098, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x9484368, {0x845de9d, 0x7}, {0x9314480, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115 +0x33d -github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x8d5e6c8) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x9484368) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22 +0x99 -testing.tRunner(0x8d5e6c8, 0x8481554) +testing.tRunner(0x9484368, 0x8481554) /usr/lib/go-1.24/src/testing/testing.go:1792 +0x119 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x468 -ok github.com/bugsnag/bugsnag-go/v2 0.094s +ok github.com/bugsnag/bugsnag-go/v2 0.060s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.005s +ok github.com/bugsnag/bugsnag-go/v2/device 0.003s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1402,7 +1420,7 @@ === RUN TestParseFatalError --- PASS: TestParseFatalError (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/errors 0.009s +ok github.com/bugsnag/bugsnag-go/v2/errors 0.005s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1414,7 +1432,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/headers 0.006s +ok github.com/bugsnag/bugsnag-go/v2/headers 0.003s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -1423,30 +1441,31 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url === RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName -=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version === RUN TestSendsCorrectPayloadForBigConfig/device.osName @@ -1454,11 +1473,11 @@ === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version -=== RUN TestSendsCorrectPayloadForBigConfig/app.type --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) @@ -1466,7 +1485,6 @@ --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1476,7 +1494,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (1.00s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.74s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1486,50 +1504,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/app.type +=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url === RUN TestSendsCorrectPayloadForSmallConfig/notifier.version -=== RUN TestSendsCorrectPayloadForSmallConfig/app.type -=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForBigConfig/device.osName -=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version +=== RUN TestSendsCorrectPayloadForBigConfig/device.osName +=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1542,49 +1560,31 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key -=== RUN TestStartSession/Bugsnag-Payload-Version#01 -=== RUN TestStartSession/Content-Type#01 -=== RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestStartSession (1.19s) +--- PASS: TestStartSession (0.95s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#01 (0.00s) - --- PASS: TestStartSession/Content-Type#01 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) PASS ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (1.00s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.75s) === RUN TestStartSession -2025/03/08 12:27:58 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2026/04/10 18:51:59 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 -=== RUN TestStartSession/Bugsnag-Payload-Version#02 -=== RUN TestStartSession/Content-Type#02 -=== RUN TestStartSession/Bugsnag-Api-Key#02 -=== RUN TestStartSession/Bugsnag-Payload-Version#03 -=== RUN TestStartSession/Content-Type#03 -=== RUN TestStartSession/Bugsnag-Api-Key#03 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.20s) +--- FAIL: TestStartSession (0.95s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) --- PASS: TestStartSession/Bugsnag-Payload-Version#01 (0.00s) --- PASS: TestStartSession/Content-Type#01 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#02 (0.00s) - --- PASS: TestStartSession/Content-Type#02 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) - --- PASS: TestStartSession/Bugsnag-Payload-Version#03 (0.00s) - --- PASS: TestStartSession/Content-Type#03 (0.00s) - --- PASS: TestStartSession/Bugsnag-Api-Key#03 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 3.630s +ok github.com/bugsnag/bugsnag-go/v2/sessions 2.861s ? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1613,12 +1613,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/57036/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/57036/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/33226 and its subdirectories -I: Current time: Sat Mar 8 00:28:06 -12 2025 -I: pbuilder-time-stamp: 1741436886 +I: removing directory /srv/workspace/pbuilder/57036 and its subdirectories +I: Current time: Sat Apr 11 08:52:04 +14 2026 +I: pbuilder-time-stamp: 1775847124