Diff of the two buildlogs: -- --- b1/build.log 2025-03-08 00:08:16.364365467 +0000 +++ b2/build.log 2025-03-08 00:09:23.633341403 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 7 12:07:18 -12 2025 -I: pbuilder-time-stamp: 1741392438 +I: Current time: Fri Apr 10 20:31:17 +14 2026 +I: pbuilder-time-stamp: 1775802677 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ 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/4100246/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4148253/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Apr 10 06:31 /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/4148253/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4148253/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='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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='605e3aefb8a94341aff059efac98b5a4' - 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='4100246' - PS1='# ' - PS2='> ' + INVOCATION_ID=160f078451ed4314b31fe058d0d7730b + 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=4148253 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.L4lS19vf/pbuilderrc_o0iI --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.L4lS19vf/b1 --logfile b1/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.L4lS19vf/pbuilderrc_tY8T --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.L4lS19vf/b2 --logfile b2/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4100246/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4148253/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -176,7 +208,7 @@ Get: 55 http://deb.debian.org/debian unstable/main arm64 golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 56 http://deb.debian.org/debian unstable/main arm64 golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 57 http://deb.debian.org/debian unstable/main arm64 golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 76.9 MB in 0s (198 MB/s) +Fetched 76.9 MB in 0s (241 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 ... 19897 files and directories currently installed.) @@ -419,7 +451,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/4148253/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4148253/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 @@ -438,191 +474,191 @@ 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 12 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/byteorder -internal/goos +internal/goarch internal/msan -internal/goexperiment +internal/unsafeheader +internal/coverage/rtcov internal/profilerecord +internal/goos internal/asan -internal/goarch +internal/byteorder +internal/goexperiment internal/godebugs -internal/unsafeheader -internal/runtime/syscall +internal/cpu sync/atomic -internal/coverage/rtcov math/bits -unicode/utf8 -unicode -internal/runtime/math -internal/itoa -internal/cpu internal/abi internal/chacha8rand +internal/runtime/syscall +internal/runtime/math crypto/internal/fips140/alias +unicode +unicode/utf8 +internal/itoa crypto/internal/fips140deps/byteorder +math cmp +crypto/internal/fips140/subtle crypto/internal/boring/sig encoding -crypto/internal/fips140/subtle unicode/utf16 internal/nettrace log/internal -math container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -internal/runtime/atomic internal/bytealg -internal/runtime/sys +internal/runtime/atomic crypto/internal/fips140deps/cpu -internal/stringslite +internal/runtime/sys internal/runtime/exithook +internal/stringslite internal/race internal/sync internal/runtime/maps runtime internal/reflectlite +sync iter crypto/subtle weak -sync -maps slices +maps +internal/bisect +internal/testlog +internal/singleflight +unique errors sort +runtime/cgo +internal/godebug internal/oserror -vendor/golang.org/x/net/dns/dnsmessage path strconv math/rand/v2 -internal/singleflight -io -internal/bisect -unique -internal/testlog +vendor/golang.org/x/net/dns/dnsmessage syscall -runtime/cgo -internal/godebug +io +hash bytes -crypto/internal/randutil +crypto/internal/fips140deps/godebug strings -hash crypto +reflect net/netip +crypto/internal/randutil +hash/crc32 math/rand -reflect -crypto/internal/fips140deps/godebug vendor/golang.org/x/text/transform -hash/crc32 -crypto/internal/impl -net/http/internal/testcert crypto/internal/fips140 -bufio +crypto/internal/impl net/http/internal/ascii -crypto/internal/fips140/sha256 +bufio +net/http/internal/testcert crypto/internal/fips140/sha3 crypto/tls/internal/fips140tls +crypto/internal/fips140/sha256 crypto/internal/fips140/sha512 crypto/sha3 +crypto/internal/fips140hash crypto/internal/fips140/hmac time internal/syscall/unix internal/syscall/execenv crypto/internal/fips140/check -crypto/internal/fips140hash crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod -crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 +crypto/internal/fips140/hkdf crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 +crypto/internal/fips140/nistec context -internal/poll -github.com/bugsnag/bugsnag-go/headers io/fs +github.com/bugsnag/bugsnag-go/headers +internal/poll github.com/bugsnag/bugsnag-go/v2/headers -crypto/internal/fips140/nistec internal/filepathlite -os encoding/binary internal/fmtsort +os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 encoding/pem crypto/internal/sysrand -github.com/bugsnag/bugsnag-go/device fmt path/filepath +internal/sysinfo github.com/bugsnag/bugsnag-go/v2/device -io/ioutil os/signal -internal/sysinfo +io/ioutil +github.com/bugsnag/bugsnag-go/device net crypto/internal/entropy crypto/internal/fips140/drbg -crypto/internal/fips140only -crypto/internal/fips140/ecdh +os/exec +crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 -crypto/internal/fips140/aes/gcm crypto/internal/fips140/mlkem -os/exec +crypto/internal/fips140only crypto/internal/fips140/rsa +crypto/internal/fips140/ecdh crypto/md5 crypto/rc4 crypto/cipher github.com/bugsnag/panicwrap -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 -crypto/sha512 -crypto/sha1 +github.com/pkg/errors encoding/json math/big -crypto/hmac -crypto/sha256 -crypto/ecdh -crypto/aes database/sql/driver -github.com/pkg/errors +compress/flate +vendor/golang.org/x/text/unicode/norm encoding/hex log -compress/flate net/url -vendor/golang.org/x/crypto/chacha20poly1305 -github.com/bugsnag/bugsnag-go/errors -vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack +crypto/internal/boring +github.com/bugsnag/bugsnag-go/errors +crypto/des +crypto/sha512 +crypto/sha1 +crypto/aes +crypto/ecdh +crypto/hmac +vendor/golang.org/x/crypto/chacha20 +crypto/sha256 +vendor/golang.org/x/text/unicode/bidi mime mime/quotedprintable -vendor/golang.org/x/text/unicode/bidi net/http/internal flag +compress/gzip runtime/debug runtime/trace -compress/gzip +vendor/golang.org/x/crypto/chacha20poly1305 github.com/bugsnag/bugsnag-go/v2/errors -testing vendor/golang.org/x/text/secure/bidirule +testing vendor/golang.org/x/net/idna github.com/bitly/go-simplejson crypto/rand -crypto/internal/boring/bbig crypto/elliptic +crypto/internal/boring/bbig encoding/asn1 crypto/dsa crypto/ed25519 -crypto/rsa crypto/internal/hpke -vendor/golang.org/x/crypto/cryptobyte +crypto/rsa crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa +github.com/google/uuid +crypto/x509 vendor/golang.org/x/net/http/httpproxy net/textproto -crypto/x509 -github.com/google/uuid vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -631,14 +667,14 @@ 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 +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 12 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.01s) +--- PASS: TestConfigure (0.00s) === RUN TestNotify === RUN TestConfigure --- PASS: TestNotify (0.01s) @@ -646,29 +682,29 @@ --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestHandlerFunc/handled -2025/03/08 00:08:06 http: panic serving 127.0.0.1:53274: send on closed channel -goroutine 45 [running]: +2026/04/10 06:32:13 http: panic serving 127.0.0.1:53158: send on closed channel +goroutine 66 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xb0 panic({0x74c7c0?, 0x84c7d0?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x4000214420, {0x400020b8e8, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x400011c1a0, {0x40003148e8, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3cc panic({0x74c7c0?, 0x84c7d0?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go.crashyHandler({0x852480?, 0x40001f0210?}, 0x734480?) +github.com/bugsnag/bugsnag-go.crashyHandler({0x852480?, 0x40002346c0?}, 0x734480?) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x40 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8520e8, 0x40001b80e0}, 0x400022e3c0) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8520e8, 0x40000fe0e0}, 0x40002ae000) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1ac -net/http.HandlerFunc.ServeHTTP(0x0?, {0x8520e8?, 0x40001b80e0?}, 0x400020bb60?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0x8520e8?, 0x40000fe0e0?}, 0x4000314b60?) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x38 -net/http.serverHandler.ServeHTTP({0x40002032c0?}, {0x8520e8?, 0x40001b80e0?}, 0x1?) +net/http.serverHandler.ServeHTTP({0x40002941e0?}, {0x8520e8?, 0x40000fe0e0?}, 0x1?) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xbc -net/http.(*conn).serve(0x4000218480, {0x852480, 0x40002031a0}) +net/http.(*conn).serve(0x40002a0090, {0x852480, 0x40002940c0}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x52c -created by net/http.(*Server).Serve in goroutine 42 +created by net/http.(*Server).Serve in goroutine 26 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x3d8 +=== RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) --- PASS: TestHandlerFunc/unhandled (0.00s) --- PASS: TestHandlerFunc/handled (0.00s) @@ -681,7 +717,7 @@ === RUN TestRecoverCustomHandledState --- PASS: TestRecoverCustomHandledState (0.00s) === RUN TestSeverityReasonNotifyCallback ---- PASS: TestSeverityReasonNotifyCallback (0.01s) +--- PASS: TestSeverityReasonNotifyCallback (0.00s) === RUN TestNotifyWithoutError --- PASS: TestNotifyWithoutError (0.00s) === RUN TestConfigureTwice @@ -728,9 +764,9 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.03s) +--- PASS: TestPanicHandlerHandledPanic (0.01s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.03s) +--- PASS: TestPanicHandlerUnhandledPanic (0.01s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -770,35 +806,35 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/03/08 00:08:06 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.09s) +2026/04/10 06:32:13 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 00:08:06 http: panic serving 127.0.0.1:60128: send on closed channel -goroutine 50 [running]: +2026/04/10 06:32:13 http: panic serving 127.0.0.1:57898: send on closed channel +goroutine 35 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xb0 panic({0x74c7c0?, 0x84c7d0?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x4000136840, {0x40000758e8, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x400040a1a0, {0x400028b8e8, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3cc panic({0x74c7c0?, 0x84c7d0?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go.crashyHandler({0x852480?, 0x400021cf90?}, 0x734480?) +github.com/bugsnag/bugsnag-go.crashyHandler({0x852480?, 0x4000237d40?}, 0x734480?) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x40 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8520e8, 0x400020e380}, 0x4000120c80) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8520e8, 0x40000fe0e0}, 0x40002b4140) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1ac -net/http.HandlerFunc.ServeHTTP(0x0?, {0x8520e8?, 0x400020e380?}, 0x4000075b60?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0x8520e8?, 0x40000fe0e0?}, 0x400028bb60?) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x38 -net/http.serverHandler.ServeHTTP({0x400021ccf0?}, {0x8520e8?, 0x400020e380?}, 0x1?) +net/http.serverHandler.ServeHTTP({0x40002828a0?}, {0x8520e8?, 0x40000fe0e0?}, 0x1?) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xbc -net/http.(*conn).serve(0x400012a5a0, {0x852480, 0x400021cbd0}) +net/http.(*conn).serve(0x40002961b0, {0x852480, 0x4000282780}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x52c -created by net/http.(*Server).Serve in goroutine 31 +created by net/http.(*Server).Serve in goroutine 73 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x3d8 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -860,33 +896,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=0x18 pc=0x6c1134] -goroutine 178 [running]: +goroutine 169 [running]: testing.tRunner.func1.2({0x74c760, 0xa70f10}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x1ac testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x334 panic({0x74c760?, 0xa70f10?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go.startPanickingProcess(0x40003c0c40, {0x7ba48b, 0x7}, {0x4000104f78, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0x40002a1880, {0x7ba48b, 0x7}, {0x40002be270, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:111 +0x294 -github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x40003c0c40) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x40002a1880) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:22 +0x70 -testing.tRunner(0x40003c0c40, 0x7ddf00) +testing.tRunner(0x40002a1880, 0x7ddf00) /usr/lib/go-1.24/src/testing/testing.go:1792 +0xe4 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x374 -ok github.com/bugsnag/bugsnag-go 0.172s +ok github.com/bugsnag/bugsnag-go 0.079s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.016s +ok github.com/bugsnag/bugsnag-go/device 0.013s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -912,7 +948,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.032s +ok github.com/bugsnag/bugsnag-go/errors 0.017s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -924,7 +960,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/headers 0.041s +ok github.com/bugsnag/bugsnag-go/headers 0.019s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -933,50 +969,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 +=== RUN TestSendsCorrectPayloadForSmallConfig/app.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/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) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage -=== RUN TestSendsCorrectPayloadForBigConfig/app.version === 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 --- 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.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) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -996,50 +1032,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key -=== 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 +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.url +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version +=== RUN TestSendsCorrectPayloadForSmallConfig/app.type --- 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.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) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== 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 -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version --- 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/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) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1052,14 +1088,14 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.27s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.22s) === RUN TestStartSession ---- PASS: TestStartSession (0.98s) +--- PASS: TestStartSession (0.90s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) PASS -2025/03/08 00:08:07 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2026/04/10 06:32:14 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 @@ -1068,7 +1104,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#01 === NAME TestStartSession integration_test.go:120: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (0.91s) +--- FAIL: TestStartSession (0.88s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1076,43 +1112,43 @@ --- PASS: TestStartSession/Content-Type#01 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 1.830s +ok github.com/bugsnag/bugsnag-go/sessions 1.740s ? github.com/bugsnag/bugsnag-go/testutil [no test files] === RUN TestConfigure ---- PASS: TestConfigure (0.01s) +--- PASS: TestConfigure (0.00s) === RUN TestNotify -=== RUN TestConfigure --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc +=== RUN TestConfigure === RUN TestHandlerFunc/unhandled -=== RUN TestHandlerFunc/handled -2025/03/08 00:08:06 http: panic serving 127.0.0.1:58496: send on closed channel -goroutine 64 [running]: +2026/04/10 06:32:13 http: panic serving 127.0.0.1:45934: send on closed channel +goroutine 60 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xb0 panic({0x7516e0?, 0x853060?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x4000240400, {0x400021f8e8, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x4000324060, {0x40002178e8, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3cc panic({0x7516e0?, 0x853060?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x858d58?, 0x4000205350?}, 0x739220?) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x858d58?, 0x40002e8840?}, 0x739220?) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x40 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x858988, 0x400024c380}, 0x400025a280) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x858988, 0x40002b80e0}, 0x4000344140) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x1ac -net/http.HandlerFunc.ServeHTTP(0x0?, {0x858988?, 0x400024c380?}, 0x400021fb60?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0x858988?, 0x40002b80e0?}, 0x4000217b60?) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x38 -net/http.serverHandler.ServeHTTP({0x40002050b0?}, {0x858988?, 0x400024c380?}, 0x1?) +net/http.serverHandler.ServeHTTP({0x400031c630?}, {0x858988?, 0x40002b80e0?}, 0x1?) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xbc -net/http.(*conn).serve(0x400023a2d0, {0x858d58, 0x4000204f90}) +net/http.(*conn).serve(0x4000320240, {0x858d58, 0x40002e8720}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x52c -created by net/http.(*Server).Serve in goroutine 61 +created by net/http.(*Server).Serve in goroutine 57 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x3d8 ---- PASS: TestHandlerFunc (0.01s) +=== RUN TestHandlerFunc/handled +--- PASS: TestHandlerFunc (0.00s) --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.01s) + --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify @@ -1182,9 +1218,9 @@ === RUN TestHttpRequestMiddleware --- PASS: TestHttpRequestMiddleware (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.04s) +--- PASS: TestPanicHandlerHandledPanic (0.01s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.03s) +--- PASS: TestPanicHandlerUnhandledPanic (0.01s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -1205,7 +1241,7 @@ === RUN TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify === RUN TestStackframesAreSkippedCorrectly/notifier.Recover === RUN TestStackframesAreSkippedCorrectly/bugsnag.Recover ---- PASS: TestStackframesAreSkippedCorrectly (0.01s) +--- PASS: TestStackframesAreSkippedCorrectly (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.NotifySync (0.00s) @@ -1224,40 +1260,40 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/03/08 00:08:06 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.09s) +2026/04/10 06:32:13 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.03s) === RUN TestNotify ---- PASS: TestNotify (0.01s) +--- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/03/08 00:08:06 http: panic serving 127.0.0.1:60974: send on closed channel -goroutine 66 [running]: +2026/04/10 06:32:13 http: panic serving 127.0.0.1:56164: send on closed channel +goroutine 5 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xb0 panic({0x7516e0?, 0x853060?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x400007a420, {0x40000788e8, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x4000326280, {0x40000b48e8, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3cc panic({0x7516e0?, 0x853060?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x858d58?, 0x400009f2f0?}, 0x739220?) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x858d58?, 0x40002d0270?}, 0x739220?) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x40 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x858988, 0x40000ac380}, 0x40000b8280) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x858988, 0x40002d22a0}, 0x40000ba000) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x1ac -net/http.HandlerFunc.ServeHTTP(0x0?, {0x858988?, 0x40000ac380?}, 0x4000078b60?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0x858988?, 0x40002d22a0?}, 0x40000b4b60?) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x38 -net/http.serverHandler.ServeHTTP({0x400009f020?}, {0x858988?, 0x40000ac380?}, 0x1?) +net/http.serverHandler.ServeHTTP({0x400009a420?}, {0x858988?, 0x40002d22a0?}, 0x1?) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xbc -net/http.(*conn).serve(0x400009a2d0, {0x858d58, 0x400009ef00}) +net/http.(*conn).serve(0x40000a21b0, {0x858d58, 0x400009a300}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x52c -created by net/http.(*Server).Serve in goroutine 14 +created by net/http.(*Server).Serve in goroutine 56 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x3d8 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.01s) +--- PASS: TestHandlerFunc (0.00s) --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.01s) + --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify @@ -1327,33 +1363,33 @@ === RUN TestHttpRequestMiddleware --- PASS: TestHttpRequestMiddleware (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.02s) +--- 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=0x18 pc=0x6c4c64] -goroutine 192 [running]: +goroutine 145 [running]: testing.tRunner.func1.2({0x751680, 0xa80f00}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x1ac testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x334 panic({0x751680?, 0xa80f00?}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0x124 -github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x40003b9a40, {0x7bff88, 0x7}, {0x400001c720, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x400048ee00, {0x7bff88, 0x7}, {0x400011c7b0, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115 +0x264 -github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x40003b9a40) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x400048ee00) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22 +0x70 -testing.tRunner(0x40003b9a40, 0x7e4010) +testing.tRunner(0x400048ee00, 0x7e4010) /usr/lib/go-1.24/src/testing/testing.go:1792 +0xe4 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x374 -ok github.com/bugsnag/bugsnag-go/v2 0.212s +ok github.com/bugsnag/bugsnag-go/v2 0.082s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.031s +ok github.com/bugsnag/bugsnag-go/v2/device 0.017s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1391,7 +1427,7 @@ === RUN TestParseFatalError --- PASS: TestParseFatalError (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/errors 0.037s +ok github.com/bugsnag/bugsnag-go/v2/errors 0.012s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1403,7 +1439,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/headers 0.024s +ok github.com/bugsnag/bugsnag-go/v2/headers 0.012s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -1412,7 +1448,6 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url === RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type @@ -1420,11 +1455,11 @@ === 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/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) @@ -1432,30 +1467,31 @@ --- 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.version -=== 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/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) --- 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 @@ -1465,7 +1501,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.69s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.68s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1475,50 +1511,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key -=== 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 +=== RUN TestSendsCorrectPayloadForSmallConfig/app.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/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) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage +=== RUN TestSendsCorrectPayloadForBigConfig/app.version === 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 --- 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.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) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1531,14 +1567,14 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key ---- PASS: TestStartSession (0.96s) +--- PASS: TestStartSession (0.90s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) PASS ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.75s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.68s) === RUN TestStartSession -2025/03/08 00:08:08 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2026/04/10 06:32:15 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 @@ -1547,7 +1583,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#01 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (0.99s) +--- FAIL: TestStartSession (0.89s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1555,7 +1591,7 @@ --- PASS: TestStartSession/Content-Type#01 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 2.870s +ok github.com/bugsnag/bugsnag-go/v2/sessions 2.696s ? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1584,12 +1620,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/4148253/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4148253/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/4100246 and its subdirectories -I: Current time: Fri Mar 7 12:08:15 -12 2025 -I: pbuilder-time-stamp: 1741392495 +I: removing directory /srv/workspace/pbuilder/4148253 and its subdirectories +I: Current time: Fri Apr 10 20:32:21 +14 2026 +I: pbuilder-time-stamp: 1775802741