Diff of the two buildlogs: -- --- b1/build.log 2025-04-19 00:23:27.052829100 +0000 +++ b2/build.log 2025-04-19 00:26:16.633208425 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 18 12:20:30 -12 2025 -I: pbuilder-time-stamp: 1745022030 +I: Current time: Sat Apr 19 14:23:37 +14 2025 +I: pbuilder-time-stamp: 1745022217 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/15608/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22402/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 19 00:23 /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/22402/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22402/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='7fea967967784129a21382f7384077c1' - 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='15608' - PS1='# ' - PS2='> ' + INVOCATION_ID=d838324f4515404b8a8c3bccc4c8c2c1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=22402 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.ZhzI4JMX/pbuilderrc_dYGy --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZhzI4JMX/b1 --logfile b1/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ZhzI4JMX/pbuilderrc_2GG5 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZhzI4JMX/b2 --logfile b2/build.log golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) 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/15608/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/22402/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -173,7 +205,7 @@ Get: 52 http://deb.debian.org/debian trixie/main armhf golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 54 http://deb.debian.org/debian trixie/main armhf golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 66.1 MB in 1s (45.9 MB/s) +Fetched 66.1 MB in 1s (67.6 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 ... 19566 files and directories currently installed.) @@ -404,7 +436,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/22402/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/22402/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 @@ -422,16 +458,16 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/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 install -trimpath -v -p 4 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/unsafeheader +internal/byteorder internal/goarch internal/cpu -internal/byteorder +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs +internal/bytealg internal/goexperiment internal/goos internal/profilerecord @@ -441,23 +477,22 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite sync/atomic +internal/runtime/exithook math/bits -unicode/utf8 unicode -internal/race -internal/runtime/maps -internal/sync +unicode/utf8 internal/itoa math crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu -runtime cmp +internal/race crypto/internal/boring/sig +internal/runtime/maps +internal/sync encoding unicode/utf16 internal/nettrace @@ -465,17 +500,21 @@ container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias +runtime iter -sync -internal/reflectlite crypto/internal/fips140/subtle +internal/reflectlite +sync slices crypto/subtle weak maps -errors -sort +internal/singleflight +internal/testlog internal/bisect +errors +unique +runtime/cgo io internal/godebug bytes @@ -485,123 +524,114 @@ strconv crypto/internal/fips140deps/godebug strings -crypto/internal/fips140 crypto +path +crypto/internal/fips140 +math/rand/v2 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -path -internal/testlog +crypto/internal/randutil +reflect crypto/internal/fips140/hmac -math/rand/v2 -crypto/internal/fips140/check time +crypto/internal/fips140/check crypto/internal/fips140/aes internal/syscall/unix internal/syscall/execenv -crypto/internal/randutil -reflect math/rand vendor/golang.org/x/net/dns/dnsmessage +net/netip context io/fs internal/poll internal/filepathlite github.com/bugsnag/bugsnag-go/headers -internal/singleflight -unique +bufio +sort +hash/crc32 os -net/netip -crypto/internal/sysrand +crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field +crypto/internal/impl +crypto/internal/fips140/bigmod encoding/binary +internal/fmtsort +crypto/internal/sysrand crypto/internal/entropy +fmt crypto/internal/fips140/drbg -internal/fmtsort crypto/internal/fips140/aes/gcm crypto/internal/fips140only -fmt -crypto/cipher -crypto/internal/boring encoding/base64 -crypto/sha512 github.com/bugsnag/bugsnag-go/device +crypto/cipher io/ioutil path/filepath +crypto/internal/boring +crypto/sha512 os/signal -crypto/md5 os/exec +crypto/md5 encoding/json github.com/pkg/errors github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/panicwrap -math/big crypto/sha1 +math/big database/sql/driver encoding/hex -runtime/cgo +net log -bufio -crypto/rand -hash/crc32 -crypto/aes compress/flate +crypto/aes crypto/des -crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/nistec compress/gzip -crypto/internal/fips140/edwards25519/field +crypto/rand crypto/internal/boring/bbig -crypto/internal/impl -crypto/internal/fips140/bigmod crypto/sha3 -crypto/internal/fips140hash encoding/asn1 -net -vendor/golang.org/x/crypto/cryptobyte +crypto/internal/fips140hash crypto/internal/fips140/edwards25519 crypto/internal/fips140/ed25519 -crypto/internal/fips140/nistec +vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 crypto/hmac crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 +crypto/internal/fips140/ecdh +crypto/elliptic +crypto/ecdh +crypto/internal/fips140/ecdsa vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 crypto/rc4 +vendor/golang.org/x/crypto/chacha20poly1305 crypto/internal/fips140/rsa -crypto/rsa -crypto/internal/fips140/ecdh -crypto/ecdh -crypto/elliptic -crypto/internal/fips140/ecdsa -crypto/internal/hpke crypto/ecdsa +crypto/internal/hpke crypto/sha256 crypto/tls/internal/fips140tls crypto/dsa +crypto/rsa crypto/x509/pkix encoding/pem net/url vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime -vendor/golang.org/x/net/idna -github.com/google/uuid -crypto/x509 -net/textproto +vendor/golang.org/x/text/secure/bidirule mime/quotedprintable -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy -mime/multipart net/http/internal net/http/internal/ascii github.com/bitly/go-simplejson flag +vendor/golang.org/x/net/idna net/http/internal/testcert internal/sysinfo runtime/debug @@ -609,54 +639,60 @@ github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors testing -crypto/tls github.com/bugsnag/bugsnag-go/v2/headers +net/textproto +github.com/google/uuid +crypto/x509 +vendor/golang.org/x/net/http/httpproxy +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 3 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 4 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 +=== RUN TestConfigure --- PASS: TestNotify (0.01s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestConfigure -2025/04/19 00:23:00 http: panic serving 127.0.0.1:50320: send on closed channel -goroutine 36 [running]: +2025/04/19 00:25:51 http: panic serving 127.0.0.1:40838: send on closed channel +goroutine 46 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xe4 panic({0x400560, 0x4d4a90}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x1288130, {0x121ac68, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0xdb8300, {0xde3c68, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3c4 panic({0x400560, 0x4d4a90}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x4d773c, 0x12360a8}, 0x122a378) +github.com/bugsnag/bugsnag-go.crashyHandler({0x4d773c, 0xdac3c8}, 0xda8848) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4d773c, 0x12360a8}, 0x122a218) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4d773c, 0xdac3c8}, 0xda8588) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1bc -net/http.HandlerFunc.ServeHTTP(0x1288140, {0x4d773c, 0x12360a8}, 0x122a218) +net/http.HandlerFunc.ServeHTTP(0xdb8310, {0x4d773c, 0xdac3c8}, 0xda8588) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x128e218}, {0x4d773c, 0x12360a8}, 0x122a218) +net/http.serverHandler.ServeHTTP({0xda8378}, {0x4d773c, 0xdac3c8}, 0xda8588) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xe0 -net/http.(*conn).serve(0x1208180, {0x4d7900, 0x1204210}) +net/http.(*conn).serve(0xddc180, {0x4d7900, 0xd9c3a8}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x670 -created by net/http.(*Server).Serve in goroutine 56 +created by net/http.(*Server).Serve in goroutine 43 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x430 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.02s) - --- PASS: TestHandlerFunc/unhandled (0.01s) - --- PASS: TestHandlerFunc/handled (0.01s) +--- PASS: TestHandlerFunc (0.01s) + --- PASS: TestHandlerFunc/unhandled (0.00s) + --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify @@ -713,9 +749,9 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.03s) +--- PASS: TestPanicHandlerHandledPanic (0.02s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.03s) +--- PASS: TestPanicHandlerUnhandledPanic (0.02s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -755,38 +791,38 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/04/19 00:23:00 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.09s) +2025/04/19 00:25:51 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.07s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/04/19 00:23:00 http: panic serving 127.0.0.1:35140: send on closed channel -goroutine 50 [running]: +2025/04/19 00:25:51 http: panic serving 127.0.0.1:36260: send on closed channel +goroutine 8 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xe4 panic({0x400560, 0x4d4a90}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x1188670, {0x1055c68, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x2498420, {0x24a8c68, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3c4 panic({0x400560, 0x4d4a90}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x4d773c, 0x1196968}, 0x11b2d18) +github.com/bugsnag/bugsnag-go.crashyHandler({0x4d773c, 0x2722008}, 0x2716168) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4d773c, 0x1196968}, 0x11b2a58) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4d773c, 0x2722008}, 0x2628218) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1bc -net/http.HandlerFunc.ServeHTTP(0x1188680, {0x4d773c, 0x1196968}, 0x11b2a58) +net/http.HandlerFunc.ServeHTTP(0x2498430, {0x4d773c, 0x2722008}, 0x2628218) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x11b2848}, {0x4d773c, 0x1196968}, 0x11b2a58) +net/http.serverHandler.ServeHTTP({0x24c8638}, {0x4d773c, 0x2722008}, 0x2628218) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xe0 -net/http.(*conn).serve(0x118e600, {0x4d7900, 0x1186de0}) +net/http.(*conn).serve(0x2618180, {0x4d7900, 0x2702090}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x670 -created by net/http.(*Server).Serve in goroutine 31 +created by net/http.(*Server).Serve in goroutine 44 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x430 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.01s) +--- PASS: TestHandlerFunc (0.00s) --- PASS: TestHandlerFunc/unhandled (0.00s) --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler @@ -794,7 +830,7 @@ === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) === RUN TestRecover ---- PASS: TestRecover (0.00s) +--- PASS: TestRecover (0.01s) === RUN TestRecoverCustomHandledState --- PASS: TestRecoverCustomHandledState (0.00s) === RUN TestSeverityReasonNotifyCallback @@ -845,33 +881,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.02s) +--- FAIL: TestPanicHandlerHandledPanic (0.01s) 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=0x32af8c] -goroutine 174 [running]: +goroutine 164 [running]: testing.tRunner.func1.2({0x400510, 0x705d00}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x254 testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x3d4 panic({0x400510, 0x705d00}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go.startPanickingProcess(0x126ab48, {0x440838, 0x7}, {0x1185260, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0x2775328, {0x440838, 0x7}, {0x2720900, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:111 +0x338 -github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x126ab48) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x2775328) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:22 +0x7c -testing.tRunner(0x126ab48, 0x463b84) +testing.tRunner(0x2775328, 0x463b84) /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x448 -ok github.com/bugsnag/bugsnag-go 0.181s +ok github.com/bugsnag/bugsnag-go 0.141s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.008s +ok github.com/bugsnag/bugsnag-go/device 0.005s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -897,7 +933,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.016s +ok github.com/bugsnag/bugsnag-go/errors 0.007s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -918,50 +954,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== 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 -=== RUN TestSendsCorrectPayloadForSmallConfig/device.osName -=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname --- 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.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) - --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (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 --- 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) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -971,7 +1007,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.46s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.48s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -981,7 +1017,6 @@ === 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 @@ -989,11 +1024,11 @@ === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName ---- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) +=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname +--- PASS: TestSendsCorrectPayloadForSmallConfig (0.01s) --- 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) @@ -1001,30 +1036,31 @@ --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (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 @@ -1040,17 +1076,23 @@ === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.44s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.51s) === RUN TestStartSession ---- PASS: TestStartSession (1.16s) +=== RUN TestStartSession/Bugsnag-Payload-Version#02 +=== RUN TestStartSession/Content-Type#02 +=== RUN TestStartSession/Bugsnag-Api-Key#02 +--- PASS: TestStartSession (1.25s) --- 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 -2025/04/19 00:23:04 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2025/04/19 00:25:55 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 @@ -1062,7 +1104,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#02 === NAME TestStartSession integration_test.go:120: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.19s) +--- FAIL: TestStartSession (1.15s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1073,43 +1115,43 @@ --- PASS: TestStartSession/Content-Type#02 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 2.528s +ok github.com/bugsnag/bugsnag-go/sessions 2.595s ? github.com/bugsnag/bugsnag-go/testutil [no test files] === RUN TestConfigure --- PASS: TestConfigure (0.00s) === RUN TestNotify ---- PASS: TestNotify (0.01s) +=== RUN TestConfigure +--- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestConfigure -=== RUN TestHandlerFunc/handled -2025/04/19 00:23:04 http: panic serving 127.0.0.1:49714: send on closed channel -goroutine 33 [running]: +2025/04/19 00:25:54 http: panic serving 127.0.0.1:43818: send on closed channel +goroutine 48 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xe4 panic({0x400eb8, 0x4d6468}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xd40330, {0xd6dc68, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x222a330, {0x2257c68, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3c4 panic({0x400eb8, 0x4d6468}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x4d9124, 0xd343c8}, 0xd30798) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x4d9124, 0x221e3c8}, 0x221a848) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x48 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x4d9124, 0xd343c8}, 0xd30588) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x4d9124, 0x221e3c8}, 0x221a588) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x1bc -net/http.HandlerFunc.ServeHTTP(0xd40340, {0x4d9124, 0xd343c8}, 0xd30588) +net/http.HandlerFunc.ServeHTTP(0x222a340, {0x4d9124, 0x221e3c8}, 0x221a588) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0xd30378}, {0x4d9124, 0xd343c8}, 0xd30588) +net/http.serverHandler.ServeHTTP({0x221a378}, {0x4d9124, 0x221e3c8}, 0x221a588) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xe0 -net/http.(*conn).serve(0xd66180, {0x4d9304, 0xd243a8}) +net/http.(*conn).serve(0x2250180, {0x4d9304, 0x220c3a8}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x670 -created by net/http.(*Server).Serve in goroutine 30 +created by net/http.(*Server).Serve in goroutine 45 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x430 +=== RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.01s) - --- PASS: TestHandlerFunc/unhandled (0.01s) - --- PASS: TestHandlerFunc/handled (0.01s) + --- PASS: TestHandlerFunc/unhandled (0.00s) + --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify @@ -1181,7 +1223,7 @@ === RUN TestPanicHandlerHandledPanic --- PASS: TestPanicHandlerHandledPanic (0.03s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.03s) +--- PASS: TestPanicHandlerUnhandledPanic (0.02s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -1202,8 +1244,8 @@ === RUN TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify === RUN TestStackframesAreSkippedCorrectly/notifier.Recover === RUN TestStackframesAreSkippedCorrectly/bugsnag.Recover ---- PASS: TestStackframesAreSkippedCorrectly (0.02s) - --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.01s) +--- PASS: TestStackframesAreSkippedCorrectly (0.01s) + --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.NotifySync (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.AutoNotify (0.00s) @@ -1221,42 +1263,42 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/04/19 00:23:04 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.11s) +2025/04/19 00:25:54 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.09s) === RUN TestNotify --- PASS: TestNotify (0.01s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/04/19 00:23:04 http: panic serving 127.0.0.1:50590: send on closed channel -goroutine 64 [running]: +2025/04/19 00:25:54 http: panic serving 127.0.0.1:58352: send on closed channel +goroutine 16 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.24/src/net/http/server.go:1947 +0xe4 panic({0x400eb8, 0x4d6468}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x2aa2330, {0x2a03c68, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x140e1b0, {0x145bc68, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:103 +0x3c4 panic({0x400eb8, 0x4d6468}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x4d9124, 0x2a963c8}, 0x2a92848) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x4d9124, 0x16300a8}, 0x1612378) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:28 +0x48 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x4d9124, 0x2a963c8}, 0x2a92588) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x4d9124, 0x16300a8}, 0x147a428) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:214 +0x1bc -net/http.HandlerFunc.ServeHTTP(0x2aa2340, {0x4d9124, 0x2a963c8}, 0x2a92588) +net/http.HandlerFunc.ServeHTTP(0x140e1c0, {0x4d9124, 0x16300a8}, 0x147a428) /usr/lib/go-1.24/src/net/http/server.go:2294 +0x34 -net/http.serverHandler.ServeHTTP({0x2a92378}, {0x4d9124, 0x2a963c8}, 0x2a92588) +net/http.serverHandler.ServeHTTP({0x147a218}, {0x4d9124, 0x16300a8}, 0x147a428) /usr/lib/go-1.24/src/net/http/server.go:3301 +0xe0 -net/http.(*conn).serve(0x2ac8180, {0x4d9304, 0x2a843a8}) +net/http.(*conn).serve(0x168c180, {0x4d9304, 0x147e240}) /usr/lib/go-1.24/src/net/http/server.go:2102 +0x670 -created by net/http.(*Server).Serve in goroutine 61 +created by net/http.(*Server).Serve in goroutine 13 /usr/lib/go-1.24/src/net/http/server.go:3454 +0x430 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.01s) - --- PASS: TestHandlerFunc/unhandled (0.00s) + --- PASS: TestHandlerFunc/unhandled (0.01s) --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler ---- PASS: TestHandler (0.01s) +--- PASS: TestHandler (0.00s) === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) === RUN TestRecover @@ -1324,33 +1366,33 @@ === RUN TestHttpRequestMiddleware --- PASS: TestHttpRequestMiddleware (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.03s) +--- FAIL: TestPanicHandlerHandledPanic (0.02s) 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=0x32f974] -goroutine 164 [running]: +goroutine 162 [running]: testing.tRunner.func1.2({0x400e68, 0x705ce0}) /usr/lib/go-1.24/src/testing/testing.go:1734 +0x254 testing.tRunner.func1() /usr/lib/go-1.24/src/testing/testing.go:1737 +0x3d4 panic({0x400e68, 0x705ce0}) /usr/lib/go-1.24/src/runtime/panic.go:792 +0xfc -github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x2ba0488, {0x4414c5, 0x7}, {0x2a1a5e8, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x160fc28, {0x4414c5, 0x7}, {0x1600510, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115 +0x330 -github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x2ba0488) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x160fc28) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.5.1/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22 +0x7c -testing.tRunner(0x2ba0488, 0x464e14) +testing.tRunner(0x160fc28, 0x464e14) /usr/lib/go-1.24/src/testing/testing.go:1792 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.24/src/testing/testing.go:1851 +0x448 -ok github.com/bugsnag/bugsnag-go/v2 0.222s +ok github.com/bugsnag/bugsnag-go/v2 0.166s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.007s +ok github.com/bugsnag/bugsnag-go/v2/device 0.009s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1388,7 +1430,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.024s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1400,7 +1442,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.016s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -1409,26 +1451,26 @@ === 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 === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.url --- 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) --- 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) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type @@ -1462,7 +1504,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.91s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.95s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1472,6 +1514,7 @@ === 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 @@ -1479,11 +1522,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) @@ -1491,31 +1534,30 @@ --- 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 === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version +=== RUN TestSendsCorrectPayloadForBigConfig/app.type +=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage --- 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) --- 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) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1531,7 +1573,7 @@ === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestStartSession (1.13s) +--- PASS: TestStartSession (1.14s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1541,7 +1583,7 @@ PASS --- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.90s) === RUN TestStartSession -2025/04/19 00:23:09 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2025/04/19 00:25: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 @@ -1553,7 +1595,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#02 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.12s) +--- FAIL: TestStartSession (1.15s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1564,7 +1606,7 @@ --- PASS: TestStartSession/Content-Type#02 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 3.372s +ok github.com/bugsnag/bugsnag-go/v2/sessions 3.428s ? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1593,12 +1635,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/22402/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22402/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/15608 and its subdirectories -I: Current time: Fri Apr 18 12:23:22 -12 2025 -I: pbuilder-time-stamp: 1745022202 +I: removing directory /srv/workspace/pbuilder/22402 and its subdirectories +I: Current time: Sat Apr 19 14:26:12 +14 2025 +I: pbuilder-time-stamp: 1745022372