Diff of the two buildlogs: -- --- b1/build.log 2024-04-24 17:13:12.844616371 +0000 +++ b2/build.log 2024-04-24 17:14:29.101362482 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 27 11:35:19 -12 2025 -I: pbuilder-time-stamp: 1748388919 +I: Current time: Thu Apr 25 07:13:15 +14 2024 +I: pbuilder-time-stamp: 1713978795 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: unpacking golang-github-bugsnag-bugsnag-go_2.2.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/91523/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/43655/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 24 17:13 /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/43655/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/43655/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='511c050b6fae4ec282491de229d414df' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='91523' - PS1='# ' - PS2='> ' + INVOCATION_ID=4256424ce98b4acf95a5310a2f9327c8 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=43655 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.wj7HWm4C/pbuilderrc_rIil --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.wj7HWm4C/b1 --logfile b1/build.log golang-github-bugsnag-bugsnag-go_2.2.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.wj7HWm4C/pbuilderrc_VY4v --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.wj7HWm4C/b2 --logfile b2/build.log golang-github-bugsnag-bugsnag-go_2.2.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/91523/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/43655/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -178,7 +210,7 @@ Get: 53 http://deb.debian.org/debian trixie/main i386 golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 54 http://deb.debian.org/debian trixie/main i386 golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 55 http://deb.debian.org/debian trixie/main i386 golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 70.0 MB in 1s (86.7 MB/s) +Fetched 70.0 MB in 1s (76.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19876 files and directories currently installed.) @@ -413,7 +445,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.2.0/ && 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.2.0-1_source.changes +I: user script /srv/workspace/pbuilder/43655/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/43655/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.2.0/ && 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.2.0-1_source.changes dpkg-buildpackage: info: source package golang-github-bugsnag-bugsnag-go dpkg-buildpackage: info: source version 2.2.0-1 dpkg-buildpackage: info: source distribution unstable @@ -431,39 +467,39 @@ 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 22 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/coverage/rtcov + cd _build && go install -trimpath -v -p 10 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 -unicode/utf8 +internal/godebugs +internal/goarch +internal/coverage/rtcov +internal/goexperiment internal/race +internal/goos +sync/atomic +runtime/internal/atomic +runtime/internal/syscall +internal/cpu +internal/abi +unicode +internal/chacha8rand +runtime/internal/math +unicode/utf8 +runtime/internal/sys +internal/itoa math/bits +crypto/internal/alias +crypto/internal/boring/sig encoding -internal/itoa -internal/nettrace cmp unicode/utf16 -unicode -crypto/internal/boring/sig -crypto/internal/alias -runtime/internal/syscall -internal/goos -runtime/internal/atomic -internal/godebugs +internal/nettrace log/internal container/list vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/goarch -internal/goexperiment -sync/atomic vendor/golang.org/x/crypto/internal/alias -internal/cpu -runtime/internal/math -internal/chacha8rand -runtime/internal/sys -internal/abi +internal/bytealg slices math -internal/bytealg runtime crypto/subtle internal/reflectlite @@ -472,98 +508,98 @@ internal/singleflight internal/bisect runtime/cgo -internal/godebug errors sort internal/oserror -internal/intern io -internal/safefilepath +internal/godebug +strconv path +internal/safefilepath vendor/golang.org/x/net/dns/dnsmessage -math/rand -strconv -crypto/internal/nistec/fiat syscall -hash +crypto/internal/nistec/fiat +math/rand +internal/intern bytes -crypto/internal/randutil +hash strings +crypto/internal/randutil hash/crc32 -vendor/golang.org/x/text/transform -net/http/internal/testcert -net/http/internal/ascii -bufio crypto -crypto/rc4 -net/netip reflect +net/netip +crypto/rc4 +vendor/golang.org/x/text/transform +bufio +net/http/internal/ascii +net/http/internal/testcert +time internal/syscall/execenv internal/syscall/unix -time crypto/internal/nistec internal/fmtsort encoding/binary -github.com/bugsnag/bugsnag-go/headers -github.com/bugsnag/bugsnag-go/v2/headers context +github.com/bugsnag/bugsnag-go/v2/headers +github.com/bugsnag/bugsnag-go/headers io/fs internal/poll encoding/base64 -crypto/cipher -crypto/internal/edwards25519/field crypto/md5 +crypto/internal/edwards25519/field +crypto/cipher vendor/golang.org/x/crypto/internal/poly1305 -os encoding/pem crypto/internal/edwards25519 crypto/internal/boring -vendor/golang.org/x/crypto/chacha20 crypto/des +vendor/golang.org/x/crypto/chacha20 crypto/sha512 crypto/sha1 -crypto/aes crypto/hmac +crypto/aes crypto/ecdh crypto/sha256 vendor/golang.org/x/crypto/chacha20poly1305 +os vendor/golang.org/x/crypto/hkdf github.com/bugsnag/bugsnag-go/device io/ioutil -internal/sysinfo +path/filepath github.com/bugsnag/bugsnag-go/v2/device +internal/sysinfo os/signal fmt -path/filepath net os/exec github.com/bugsnag/panicwrap -encoding/hex -net/url +github.com/pkg/errors database/sql/driver -net/http/internal -runtime/debug -compress/flate +encoding/hex log -github.com/pkg/errors -mime/quotedprintable -vendor/golang.org/x/net/http2/hpack -flag -runtime/trace -mime encoding/json +net/url +compress/flate math/big vendor/golang.org/x/text/unicode/norm github.com/bugsnag/bugsnag-go/errors -github.com/bugsnag/bugsnag-go/v2/errors +vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/bidi -testing +mime +mime/quotedprintable +net/http/internal compress/gzip +flag +runtime/debug +runtime/trace +github.com/bugsnag/bugsnag-go/v2/errors vendor/golang.org/x/text/secure/bidirule +testing github.com/bitly/go-simplejson vendor/golang.org/x/net/idna -crypto/internal/boring/bbig crypto/rand +crypto/internal/boring/bbig crypto/internal/bigmod crypto/elliptic crypto/dsa @@ -582,17 +618,16 @@ 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/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 22 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 10 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 ? github.com/bugsnag/bugsnag-go/testutil [no test files] -? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] === RUN TestConfigure --- PASS: TestConfigure (0.00s) === RUN TestNotify @@ -602,27 +637,27 @@ === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled === RUN TestConfigure -2025/05/27 23:36:05 http: panic serving 127.0.0.1:55582: send on closed channel -goroutine 20 [running]: +2024/04/24 17:14:17 http: panic serving 127.0.0.1:39046: send on closed channel +goroutine 45 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xd6 panic({0x83ad560, 0x8470420}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x8d161a0, {0x8c6ec3c, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x92382a0, {0x9265c3c, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x41d panic({0x83ad560, 0x8470420}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go.crashyHandler({0x8472a58, 0x8dc0008}, 0x8dc00a8) +github.com/bugsnag/bugsnag-go.crashyHandler({0x8472a58, 0x922b188}, 0x922b228) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8472a58, 0x8dc0008}, 0x8eb6a08) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8472a58, 0x922b188}, 0x922b0e8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1aa -net/http.HandlerFunc.ServeHTTP(0x8d161b0, {0x8472a58, 0x8dc0008}, 0x8eb6a08) +net/http.HandlerFunc.ServeHTTP(0x92382b0, {0x8472a58, 0x922b188}, 0x922b0e8) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x8d2a788}, {0x8472a58, 0x8dc0008}, 0x8eb6a08) +net/http.serverHandler.ServeHTTP({0x922afa8}, {0x8472a58, 0x922b188}, 0x922b0e8) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x99 -net/http.(*conn).serve(0x8dbe000, {0x8472c7c, 0x8d92060}) +net/http.(*conn).serve(0x9252180, {0x8472c7c, 0x9214348}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x62b -created by net/http.(*Server).Serve in goroutine 57 +created by net/http.(*Server).Serve in goroutine 42 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x462 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -726,35 +761,35 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/05/27 23:36:05 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.09s) +2024/04/24 17:14:17 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.05s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/05/27 23:36:05 http: panic serving 127.0.0.1:36204: send on closed channel -goroutine 52 [running]: +2024/04/24 17:14:17 http: panic serving 127.0.0.1:38016: send on closed channel +goroutine 35 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xd6 panic({0x83ad560, 0x8470420}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x95a61e0, {0x9593c3c, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x99864c0, {0x98a0c3c, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x41d panic({0x83ad560, 0x8470420}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go.crashyHandler({0x8472a58, 0x9644468}, 0x9644508) +github.com/bugsnag/bugsnag-go.crashyHandler({0x8472a58, 0x9a260a8}, 0x9a26148) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8472a58, 0x9644468}, 0x96443c8) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x8472a58, 0x9a260a8}, 0x9a26008) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1aa -net/http.HandlerFunc.ServeHTTP(0x95a61f0, {0x8472a58, 0x9644468}, 0x96443c8) +net/http.HandlerFunc.ServeHTTP(0x99864d0, {0x8472a58, 0x9a260a8}, 0x9a26008) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x95be648}, {0x8472a58, 0x9644468}, 0x96443c8) +net/http.serverHandler.ServeHTTP({0x99b4788}, {0x8472a58, 0x9a260a8}, 0x9a26008) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x99 -net/http.(*conn).serve(0x962a060, {0x8472c7c, 0x9516600}) +net/http.(*conn).serve(0x9a22000, {0x8472c7c, 0x9a02030}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x62b -created by net/http.(*Server).Serve in goroutine 42 +created by net/http.(*Server).Serve in goroutine 28 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x462 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -816,33 +851,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.00s) +--- 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=0x10 pc=0x836a3c8] -goroutine 171 [running]: +goroutine 187 [running]: testing.tRunner.func1.2({0x83ad440, 0x865bfc8}) /usr/lib/go-1.22/src/testing/testing.go:1631 +0x2a3 testing.tRunner.func1() /usr/lib/go-1.22/src/testing/testing.go:1634 +0x434 panic({0x83ad440, 0x865bfc8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go.startPanickingProcess(0x9575808, {0x83ed945, 0x7}, {0x95147c8, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0x9a7b808, {0x83ed945, 0x7}, {0x9a206a8, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:111 +0x338 -github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x9575808) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x9a7b808) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:22 +0xaf -testing.tRunner(0x9575808, 0x840e6ac) +testing.tRunner(0x9a7b808, 0x840e6ac) /usr/lib/go-1.22/src/testing/testing.go:1689 +0x125 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.22/src/testing/testing.go:1742 +0x3b9 -ok github.com/bugsnag/bugsnag-go 0.114s +ok github.com/bugsnag/bugsnag-go 0.086s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.003s +ok github.com/bugsnag/bugsnag-go/device 0.007s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -868,7 +903,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.005s +ok github.com/bugsnag/bugsnag-go/errors 0.007s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -880,7 +915,8 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/headers 0.002s +ok github.com/bugsnag/bugsnag-go/headers 0.007s +? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -889,50 +925,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== 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 -=== 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/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) - --- 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/device.osName +=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version -=== RUN TestSendsCorrectPayloadForBigConfig/device.osName -=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -942,7 +978,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.27s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.53s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -952,6 +988,7 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name @@ -959,11 +996,11 @@ === 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.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) @@ -971,31 +1008,30 @@ --- 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/notifier.name -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version === RUN TestSendsCorrectPayloadForBigConfig/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url +=== 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.name (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1008,68 +1044,92 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.29s) +=== RUN TestStartSession/Bugsnag-Payload-Version#01 +=== RUN TestStartSession/Content-Type#01 +=== RUN TestStartSession/Bugsnag-Api-Key#01 +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.55s) === RUN TestStartSession ---- PASS: TestStartSession (0.97s) +=== 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/05/27 23:36:06 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 +2024/04/24 17:14:19 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 +=== RUN TestStartSession/Bugsnag-Payload-Version#02 +=== RUN TestStartSession/Content-Type#02 +=== RUN TestStartSession/Bugsnag-Api-Key#02 +=== RUN TestStartSession/Bugsnag-Payload-Version#03 +=== RUN TestStartSession/Content-Type#03 +=== RUN TestStartSession/Bugsnag-Api-Key#03 === NAME TestStartSession integration_test.go:120: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (0.98s) +--- FAIL: TestStartSession (1.22s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) --- PASS: TestStartSession/Bugsnag-Payload-Version#01 (0.00s) --- PASS: TestStartSession/Content-Type#01 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#01 (0.00s) + --- PASS: TestStartSession/Bugsnag-Payload-Version#02 (0.00s) + --- PASS: TestStartSession/Content-Type#02 (0.00s) + --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) + --- PASS: TestStartSession/Bugsnag-Payload-Version#03 (0.00s) + --- PASS: TestStartSession/Content-Type#03 (0.00s) + --- PASS: TestStartSession/Bugsnag-Api-Key#03 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 1.950s +ok github.com/bugsnag/bugsnag-go/sessions 2.726s === RUN TestConfigure --- PASS: TestConfigure (0.00s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync +=== RUN TestConfigure --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestConfigure -2025/05/27 23:36:05 http: panic serving 127.0.0.1:44374: send on closed channel -goroutine 82 [running]: +2024/04/24 17:14:18 http: panic serving 127.0.0.1:46882: send on closed channel +goroutine 58 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xd6 panic({0x83afa20, 0x8473390}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xa996f00, {0xa874c3c, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xa012ff0, {0xa066c3c, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102 +0x41d panic({0x83afa20, 0x8473390}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84759c8, 0xa8a80a8}, 0xa8a8148) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84759c8, 0xa0959a8}, 0xa095a48) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84759c8, 0xa8a80a8}, 0xa8a8008) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84759c8, 0xa0959a8}, 0xa095908) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205 +0x1aa -net/http.HandlerFunc.ServeHTTP(0xa996f10, {0x84759c8, 0xa8a80a8}, 0xa8a8008) +net/http.HandlerFunc.ServeHTTP(0xa013000, {0x84759c8, 0xa0959a8}, 0xa095908) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0xa9a54a8}, {0x84759c8, 0xa8a80a8}, 0xa8a8008) +net/http.serverHandler.ServeHTTP({0xa0957c8}, {0x84759c8, 0xa0959a8}, 0xa095908) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x99 -net/http.(*conn).serve(0xaaac000, {0x8475bec, 0xaaa4030}) +net/http.(*conn).serve(0xa000960, {0x8475bec, 0xa0a4978}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x62b -created by net/http.(*Server).Serve in goroutine 32 +created by net/http.(*Server).Serve in goroutine 55 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x462 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.00s) - --- PASS: TestHandlerFunc/unhandled (0.00s) +--- PASS: TestHandlerFunc (0.01s) + --- PASS: TestHandlerFunc/unhandled (0.01s) --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler ---- PASS: TestHandler (0.00s) +--- PASS: TestHandler (0.01s) === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) === RUN TestRecover @@ -1131,9 +1191,9 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.01s) +--- PASS: TestPanicHandlerHandledPanic (0.02s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.01s) +--- PASS: TestPanicHandlerUnhandledPanic (0.02s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -1173,35 +1233,35 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2025/05/27 23:36:05 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.05s) +2024/04/24 17:14:18 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.08s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2025/05/27 23:36:05 http: panic serving 127.0.0.1:39086: send on closed channel -goroutine 36 [running]: +2024/04/24 17:14:18 http: panic serving 127.0.0.1:50578: send on closed channel +goroutine 50 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xd6 panic({0x83afa20, 0x8473390}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x8a1c150, {0x886ec3c, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x94a4b10, {0x9465c3c, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102 +0x41d panic({0x83afa20, 0x8473390}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84759c8, 0x88a1368}, 0x88a1408) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x84759c8, 0x94b34a8}, 0x94b3548) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24 +0x51 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84759c8, 0x88a1368}, 0x8946468) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x84759c8, 0x94b34a8}, 0x94b3408) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205 +0x1aa -net/http.HandlerFunc.ServeHTTP(0x8a1c160, {0x84759c8, 0x88a1368}, 0x8946468) +net/http.HandlerFunc.ServeHTTP(0x94a4b20, {0x84759c8, 0x94b34a8}, 0x94b3408) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x8a2e288}, {0x84759c8, 0x88a1368}, 0x8946468) +net/http.serverHandler.ServeHTTP({0x94b32c8}, {0x84759c8, 0x94b34a8}, 0x94b3408) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x99 -net/http.(*conn).serve(0x8936180, {0x8475bec, 0x89321f8}) +net/http.(*conn).serve(0x94da660, {0x8475bec, 0x94ca3c0}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x62b -created by net/http.(*Server).Serve in goroutine 57 +created by net/http.(*Server).Serve in goroutine 31 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x462 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.00s) @@ -1270,33 +1330,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.00s) +--- 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=0x10 pc=0x836c1c7] -goroutine 46 [running]: +goroutine 140 [running]: testing.tRunner.func1.2({0x83af900, 0x865ffc8}) /usr/lib/go-1.22/src/testing/testing.go:1631 +0x2a3 testing.tRunner.func1() /usr/lib/go-1.22/src/testing/testing.go:1634 +0x434 panic({0x83af900, 0x865ffc8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 -github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x8978708, {0x83f00a7, 0x7}, {0x893a360, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x964cb08, {0x83f00a7, 0x7}, {0x962a810, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115 +0x337 -github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x8978708) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x964cb08) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22 +0xaf -testing.tRunner(0x8978708, 0x84111b4) +testing.tRunner(0x964cb08, 0x84111b4) /usr/lib/go-1.22/src/testing/testing.go:1689 +0x125 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.22/src/testing/testing.go:1742 +0x3b9 -ok github.com/bugsnag/bugsnag-go/v2 0.071s +ok github.com/bugsnag/bugsnag-go/v2 0.112s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.002s +ok github.com/bugsnag/bugsnag-go/v2/device 0.005s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1324,7 +1384,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/errors 0.004s +ok github.com/bugsnag/bugsnag-go/v2/errors 0.013s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1336,7 +1396,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/headers 0.002s +ok github.com/bugsnag/bugsnag-go/v2/headers 0.008s === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) === RUN TestConfigUpdatesGivenNonDefaultValues @@ -1345,30 +1405,31 @@ === 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 --- 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) === 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 @@ -1376,11 +1437,11 @@ === RUN TestSendsCorrectPayloadForBigConfig/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) @@ -1388,7 +1449,6 @@ --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1398,7 +1458,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.27s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.55s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1408,6 +1468,7 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version @@ -1415,11 +1476,11 @@ === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) @@ -1427,12 +1488,10 @@ --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForBigConfig/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url @@ -1440,11 +1499,11 @@ === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version +=== RUN TestSendsCorrectPayloadForBigConfig/device.osName --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) @@ -1452,6 +1511,7 @@ --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1464,31 +1524,49 @@ === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.28s) +=== RUN TestStartSession/Bugsnag-Payload-Version#01 +=== RUN TestStartSession/Content-Type#01 +=== RUN TestStartSession/Bugsnag-Api-Key#01 +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.50s) === RUN TestStartSession ---- PASS: TestStartSession (0.96s) +=== 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/05/27 23:36:06 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2024/04/24 17:14:20 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 +=== RUN TestStartSession/Bugsnag-Payload-Version#02 +=== RUN TestStartSession/Content-Type#02 +=== RUN TestStartSession/Bugsnag-Api-Key#02 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (0.98s) +--- FAIL: TestStartSession (1.19s) --- 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) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 1.941s +ok github.com/bugsnag/bugsnag-go/v2/sessions 2.666s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1515,12 +1593,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/43655/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/43655/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/91523 and its subdirectories -I: Current time: Tue May 27 11:36:11 -12 2025 -I: pbuilder-time-stamp: 1748388971 +I: removing directory /srv/workspace/pbuilder/43655 and its subdirectories +I: Current time: Thu Apr 25 07:14:28 +14 2024 +I: pbuilder-time-stamp: 1713978868