Diff of the two buildlogs: -- --- b1/build.log 2024-03-25 13:39:11.460222493 +0000 +++ b2/build.log 2024-03-25 13:41:53.717278917 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Mar 25 01:35:06 -12 2024 -I: pbuilder-time-stamp: 1711373706 +I: Current time: Tue Mar 26 03:39:20 +14 2024 +I: pbuilder-time-stamp: 1711373960 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ 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/7719/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1136/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Mar 25 13:39 /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/1136/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1136/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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=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='1f03502fad2b464da7e0b1c6c65c6733' - 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='7719' - PS1='# ' - PS2='> ' + INVOCATION_ID=7dab8bc4ba25435da4005dc75a2aafca + 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=1136 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.u0D6aLTE/pbuilderrc_GZNR --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.u0D6aLTE/b1 --logfile b1/build.log golang-github-bugsnag-bugsnag-go_2.2.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.u0D6aLTE/pbuilderrc_RaXR --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.u0D6aLTE/b2 --logfile b2/build.log golang-github-bugsnag-bugsnag-go_2.2.0-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 ff4a 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 23 11:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7719/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 23 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1136/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -175,7 +207,7 @@ Get: 53 http://deb.debian.org/debian trixie/main armhf golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 54 http://deb.debian.org/debian trixie/main armhf golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 55 http://deb.debian.org/debian trixie/main armhf golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 67.7 MB in 4s (17.1 MB/s) +Fetched 67.7 MB in 1s (87.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 ... 19577 files and directories currently installed.) @@ -410,7 +442,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/1136/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1136/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 @@ -428,19 +464,19 @@ 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/goarch +internal/coverage/rtcov internal/unsafeheader internal/cpu -internal/coverage/rtcov +internal/godebugs internal/abi internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -448,14 +484,14 @@ unicode unicode/utf8 internal/itoa -math/bits -runtime -math crypto/internal/alias +math/bits crypto/internal/boring/sig encoding +math cmp slices +runtime unicode/utf16 internal/nettrace log/internal @@ -471,125 +507,125 @@ runtime/cgo internal/godebug errors +sort io internal/oserror bytes -syscall hash +syscall strconv +internal/safefilepath +path +strings crypto reflect +crypto/internal/randutil +math/rand +vendor/golang.org/x/net/dns/dnsmessage time -sort -context internal/syscall/unix -internal/safefilepath internal/syscall/execenv +internal/intern +bufio +net/netip +hash/crc32 +crypto/internal/nistec/fiat +context internal/poll -path io/fs -strings -os encoding/binary internal/fmtsort github.com/bugsnag/bugsnag-go/headers -crypto/internal/randutil -math/rand +crypto/rc4 +vendor/golang.org/x/text/transform +os +net/http/internal/ascii +net/http/internal/testcert crypto/cipher +encoding/base64 crypto/internal/boring +crypto/md5 crypto/sha512 -encoding/base64 -fmt +crypto/sha1 +crypto/aes +crypto/des +crypto/internal/edwards25519/field github.com/bugsnag/bugsnag-go/device +fmt io/ioutil path/filepath os/signal -crypto/md5 +net os/exec -crypto/sha1 -vendor/golang.org/x/net/dns/dnsmessage +crypto/internal/nistec +github.com/bugsnag/panicwrap encoding/json github.com/pkg/errors github.com/bugsnag/bugsnag-go/errors -github.com/bugsnag/panicwrap math/big database/sql/driver encoding/hex -internal/intern -net/netip log -bufio -net compress/flate -crypto/rand -hash/crc32 -crypto/aes -compress/gzip -crypto/des -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat -crypto/internal/bigmod -crypto/internal/boring/bbig -encoding/asn1 -vendor/golang.org/x/crypto/cryptobyte +crypto/ecdh crypto/internal/edwards25519 -crypto/ed25519 +compress/gzip crypto/hmac -crypto/rc4 -crypto/rsa -crypto/internal/nistec crypto/sha256 -crypto/dsa -crypto/x509/pkix encoding/pem net/url -crypto/ecdh -crypto/elliptic vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -crypto/ecdsa -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/crypto/chacha20poly1305 +crypto/rand +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/rsa +crypto/dsa vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix mime -vendor/golang.org/x/net/idna +crypto/ecdsa mime/quotedprintable +vendor/golang.org/x/net/idna net/http/internal -net/http/internal/ascii github.com/bitly/go-simplejson -github.com/google/uuid -crypto/x509 -net/textproto -vendor/golang.org/x/net/http/httpproxy -vendor/golang.org/x/net/http/httpguts -mime/multipart flag -net/http/internal/testcert internal/sysinfo runtime/debug runtime/trace github.com/bugsnag/bugsnag-go/v2/device -github.com/bugsnag/bugsnag-go/v2/errors testing +github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers +net/textproto +vendor/golang.org/x/net/http/httpproxy +github.com/google/uuid +crypto/x509 +vendor/golang.org/x/net/http/httpguts +mime/multipart crypto/tls net/http/httptrace net/http net/http/httptest -github.com/bugsnag/bugsnag-go/sessions 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 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) +--- PASS: TestConfigure (0.01s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync @@ -597,37 +633,37 @@ === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.01s) - --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.00s) -=== RUN TestHandler ---- PASS: TestHandler (0.01s) -=== RUN TestAutoNotify ---- PASS: TestAutoNotify (0.00s) -=== RUN TestRecover === RUN TestConfigure -2024/03/25 13:38:39 http: panic serving 127.0.0.1:48910: send on closed channel -goroutine 59 [running]: +2024/03/25 13:41:21 http: panic serving 127.0.0.1:41956: send on closed channel +goroutine 55 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393568, 0x451de8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x280e9a0, {0x284fc30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x249c970, {0x2544c30, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3d4 panic({0x393568, 0x451de8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x4544c8, 0x29aa008}, 0x29aa0a8) +github.com/bugsnag/bugsnag-go.crashyHandler({0x4544c8, 0x253e148}, 0x253e1e8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4544c8, 0x29aa008}, 0x2a84148) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4544c8, 0x253e148}, 0x253e0a8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1d8 -net/http.HandlerFunc.ServeHTTP(0x280e9b0, {0x4544c8, 0x29aa008}, 0x2a84148) +net/http.HandlerFunc.ServeHTTP(0x249c980, {0x4544c8, 0x253e148}, 0x253e0a8) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x2a84008}, {0x4544c8, 0x29aa008}, 0x2a84148) +net/http.serverHandler.ServeHTTP({0x24abf48}, {0x4544c8, 0x253e148}, 0x253e0a8) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x291e960, {0x4546ec, 0x2910978}) +net/http.(*conn).serve(0x24d2900, {0x4546ec, 0x24c2978}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 56 +created by net/http.(*Server).Serve in goroutine 52 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 +--- PASS: TestHandlerFunc (0.01s) + --- PASS: TestHandlerFunc/unhandled (0.00s) + --- PASS: TestHandlerFunc/handled (0.00s) +=== RUN TestHandler +--- PASS: TestHandler (0.01s) +=== RUN TestAutoNotify +--- PASS: TestAutoNotify (0.00s) +=== RUN TestRecover --- PASS: TestRecover (0.00s) === RUN TestRecoverCustomHandledState --- PASS: TestRecoverCustomHandledState (0.00s) @@ -679,7 +715,7 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.06s) +--- PASS: TestPanicHandlerHandledPanic (0.09s) === RUN TestPanicHandlerUnhandledPanic --- PASS: TestPanicHandlerUnhandledPanic (0.05s) === RUN TestMarshalEmptyPayload @@ -703,7 +739,7 @@ === RUN TestStackframesAreSkippedCorrectly/notifier.Recover === RUN TestStackframesAreSkippedCorrectly/bugsnag.Recover --- PASS: TestStackframesAreSkippedCorrectly (0.01s) - --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.00s) + --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.01s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.NotifySync (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.AutoNotify (0.00s) @@ -721,50 +757,50 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2024/03/25 13:38:39 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.14s) +2024/03/25 13:41:21 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.19s) === RUN TestNotify ---- PASS: TestNotify (0.01s) +--- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2024/03/25 13:38:39 http: panic serving 127.0.0.1:55526: send on closed channel -goroutine 60 [running]: +2024/03/25 13:41:21 http: panic serving 127.0.0.1:58102: send on closed channel +goroutine 62 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393568, 0x451de8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x22062e0, {0x2297c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x26aa2d0, {0x24eac30, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/notifier.go:102 +0x3d4 panic({0x393568, 0x451de8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x4544c8, 0x20aa8c8}, 0x20aa968) +github.com/bugsnag/bugsnag-go.crashyHandler({0x4544c8, 0x26b52c8}, 0x26b5368) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4544c8, 0x20aa8c8}, 0x2215228) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x4544c8, 0x26b52c8}, 0x26b5228) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/bugsnag.go:202 +0x1d8 -net/http.HandlerFunc.ServeHTTP(0x22062f0, {0x4544c8, 0x20aa8c8}, 0x2215228) +net/http.HandlerFunc.ServeHTTP(0x26aa2e0, {0x4544c8, 0x26b52c8}, 0x26b5228) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x22150e8}, {0x4544c8, 0x20aa8c8}, 0x2215228) +net/http.serverHandler.ServeHTTP({0x26b50e8}, {0x4544c8, 0x26b52c8}, 0x26b5228) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x223e180, {0x4546ec, 0x220e330}) +net/http.(*conn).serve(0x26cc180, {0x4546ec, 0x2684348}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 57 +created by net/http.(*Server).Serve in goroutine 59 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.02s) - --- PASS: TestHandlerFunc/unhandled (0.01s) +--- PASS: TestHandlerFunc (0.01s) + --- PASS: TestHandlerFunc/unhandled (0.00s) --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler ---- PASS: TestHandler (0.01s) +--- PASS: TestHandler (0.03s) === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) === RUN TestRecover --- PASS: TestRecover (0.00s) === RUN TestRecoverCustomHandledState ---- PASS: TestRecoverCustomHandledState (0.01s) +--- PASS: TestRecoverCustomHandledState (0.00s) === RUN TestSeverityReasonNotifyCallback ---- PASS: TestSeverityReasonNotifyCallback (0.00s) +--- PASS: TestSeverityReasonNotifyCallback (0.01s) === RUN TestNotifyWithoutError --- PASS: TestNotifyWithoutError (0.00s) === RUN TestConfigureTwice @@ -795,7 +831,7 @@ === RUN TestIsAutoCaptureSessions --- PASS: TestIsAutoCaptureSessions (0.00s) === RUN TestPopulateEvent ---- PASS: TestPopulateEvent (0.01s) +--- PASS: TestPopulateEvent (0.00s) === RUN TestMetaDataAdd --- PASS: TestMetaDataAdd (0.00s) === RUN TestMetaDataUpdate @@ -811,33 +847,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.02s) +--- FAIL: TestPanicHandlerHandledPanic (0.05s) 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=0x34f010] -goroutine 165 [running]: +goroutine 184 [running]: testing.tRunner.func1.2({0x393478, 0x6303c0}) /usr/lib/go-1.22/src/testing/testing.go:1631 +0x274 testing.tRunner.func1() /usr/lib/go-1.22/src/testing/testing.go:1634 +0x3fc panic({0x393478, 0x6303c0}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.startPanickingProcess(0x2118b08, {0x3ced91, 0x7}, {0x2016720, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0x24b9b08, {0x3ced91, 0x7}, {0x2416c90, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:111 +0x32c -github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x2118b08) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x24b9b08) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/panicwrap_test.go:22 +0x8c -testing.tRunner(0x2118b08, 0x3efcbc) +testing.tRunner(0x24b9b08, 0x3efcbc) /usr/lib/go-1.22/src/testing/testing.go:1689 +0x128 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.22/src/testing/testing.go:1742 +0x3c4 -ok github.com/bugsnag/bugsnag-go 0.277s +ok github.com/bugsnag/bugsnag-go 0.332s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.012s +ok github.com/bugsnag/bugsnag-go/device 0.026s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -845,7 +881,7 @@ === RUN TestSkipWorks --- PASS: TestSkipWorks (0.00s) === RUN TestNewError ---- PASS: TestNewError (0.01s) +--- PASS: TestNewError (0.00s) === RUN TestUnwrapPkgError --- PASS: TestUnwrapPkgError (0.00s) === RUN TestUnwrapCustomCause @@ -863,7 +899,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.024s +ok github.com/bugsnag/bugsnag-go/errors 0.039s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -875,7 +911,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/headers 0.007s +ok github.com/bugsnag/bugsnag-go/headers 0.032s ? github.com/bugsnag/bugsnag-go/testutil [no test files] === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -885,31 +921,30 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version +=== RUN TestSendsCorrectPayloadForSmallConfig/app.type +=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname === RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version -=== RUN TestSendsCorrectPayloadForSmallConfig/app.type -=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage @@ -917,11 +952,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) @@ -929,6 +964,7 @@ --- 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 @@ -938,7 +974,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.90s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.78s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -948,6 +984,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 @@ -955,11 +992,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) @@ -967,7 +1004,6 @@ --- 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 @@ -1013,9 +1049,9 @@ === RUN TestStartSession/Bugsnag-Payload-Version#03 === RUN TestStartSession/Content-Type#03 === RUN TestStartSession/Bugsnag-Api-Key#03 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.93s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.84s) === RUN TestStartSession ---- PASS: TestStartSession (1.53s) +--- PASS: TestStartSession (1.62s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1029,7 +1065,7 @@ --- PASS: TestStartSession/Content-Type#03 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#03 (0.00s) PASS -2024/03/25 13:38:45 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2024/03/25 13:41:27 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 @@ -1064,48 +1100,48 @@ --- PASS: TestStartSession/Content-Type#04 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#04 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 3.823s +ok github.com/bugsnag/bugsnag-go/sessions 3.604s === RUN TestConfigure ---- PASS: TestConfigure (0.00s) +--- PASS: TestConfigure (0.02s) === RUN TestNotify --- PASS: TestNotify (0.01s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestHandlerFunc/handled === RUN TestConfigure -2024/03/25 13:38:45 http: panic serving 127.0.0.1:55148: send on closed channel -goroutine 46 [running]: +=== RUN TestHandlerFunc/handled +2024/03/25 13:41:26 http: panic serving 127.0.0.1:38876: send on closed channel +goroutine 30 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393940, 0x452c58}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x21a82d0, {0x21e0c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x15a82d0, {0x15e0c30, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102 +0x3d4 panic({0x393940, 0x452c58}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455338, 0x219d228}, 0x219d2c8) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455338, 0x159d048}, 0x159d0e8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455338, 0x219d228}, 0x219d188) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455338, 0x159d048}, 0x159cfa8) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205 +0x1d8 -net/http.HandlerFunc.ServeHTTP(0x21a82e0, {0x455338, 0x219d228}, 0x219d188) +net/http.HandlerFunc.ServeHTTP(0x15a82e0, {0x455338, 0x159d048}, 0x159cfa8) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x219d048}, {0x455338, 0x219d228}, 0x219d188) +net/http.serverHandler.ServeHTTP({0x159ce68}, {0x455338, 0x159d048}, 0x159cfa8) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x21cc180, {0x45555c, 0x2184348}) +net/http.(*conn).serve(0x15cc180, {0x45555c, 0x1584348}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 43 +created by net/http.(*Server).Serve in goroutine 27 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 --- PASS: TestHandlerFunc (0.02s) - --- PASS: TestHandlerFunc/unhandled (0.01s) - --- PASS: TestHandlerFunc/handled (0.00s) + --- PASS: TestHandlerFunc/unhandled (0.00s) + --- PASS: TestHandlerFunc/handled (0.01s) === RUN TestHandler ---- PASS: TestHandler (0.02s) +--- PASS: TestHandler (0.00s) === RUN TestAutoNotify ---- PASS: TestAutoNotify (0.00s) +--- PASS: TestAutoNotify (0.01s) === RUN TestRecover ---- PASS: TestRecover (0.01s) +--- PASS: TestRecover (0.00s) === RUN TestRecoverCustomHandledState --- PASS: TestRecoverCustomHandledState (0.00s) === RUN TestSeverityReasonNotifyCallback @@ -1147,7 +1183,7 @@ === RUN TestParsePairs --- PASS: TestParsePairs (0.00s) === RUN TestPopulateEvent ---- PASS: TestPopulateEvent (0.01s) +--- PASS: TestPopulateEvent (0.00s) === RUN TestMetaDataAdd --- PASS: TestMetaDataAdd (0.00s) === RUN TestMetaDataUpdate @@ -1165,7 +1201,7 @@ === RUN TestPanicHandlerHandledPanic --- PASS: TestPanicHandlerHandledPanic (0.06s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.04s) +--- PASS: TestPanicHandlerUnhandledPanic (0.06s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -1189,7 +1225,7 @@ --- 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.NotifySync (0.01s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.AutoNotify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.Recover (0.00s) @@ -1197,56 +1233,56 @@ === RUN TestModifyingEventsWithCallbacks === RUN TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block === RUN TestModifyingEventsWithCallbacks/bugsnag.Notify_with_block ---- PASS: TestModifyingEventsWithCallbacks (0.01s) - --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block (0.01s) +--- PASS: TestModifyingEventsWithCallbacks (0.00s) + --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block (0.00s) --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_with_block (0.00s) === RUN ExampleAutoNotify --- PASS: ExampleAutoNotify (0.00s) === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2024/03/25 13:38:45 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.18s) +2024/03/25 13:41:26 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.17s) === RUN TestNotify ---- PASS: TestNotify (0.00s) +--- PASS: TestNotify (0.01s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2024/03/25 13:38:45 http: panic serving 127.0.0.1:43464: send on closed channel -goroutine 66 [running]: +2024/03/25 13:41:26 http: panic serving 127.0.0.1:36548: send on closed channel +goroutine 45 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393940, 0x452c58}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x1906660, {0x1917c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x122c2c0, {0x10ebc30, 0x1, 0x1}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102 +0x3d4 panic({0x393940, 0x452c58}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455338, 0x1939548}, 0x19395e8) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455338, 0x12210e8}, 0x1221188) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24 +0x48 -github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455338, 0x1939548}, 0x19394a8) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455338, 0x12210e8}, 0x1221048) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205 +0x1d8 -net/http.HandlerFunc.ServeHTTP(0x1906670, {0x455338, 0x1939548}, 0x19394a8) +net/http.HandlerFunc.ServeHTTP(0x122c2d0, {0x455338, 0x12210e8}, 0x1221048) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x1939368}, {0x455338, 0x1939548}, 0x19394a8) +net/http.serverHandler.ServeHTTP({0x1220f08}, {0x455338, 0x12210e8}, 0x1221048) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x193c420, {0x45555c, 0x1904900}) +net/http.(*conn).serve(0x1248180, {0x45555c, 0x12402e8}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 47 +created by net/http.(*Server).Serve in goroutine 42 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.01s) +--- PASS: TestHandlerFunc (0.02s) --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.00s) + --- PASS: TestHandlerFunc/handled (0.01s) === RUN TestHandler ---- PASS: TestHandler (0.01s) +--- PASS: TestHandler (0.00s) === RUN TestAutoNotify ---- PASS: TestAutoNotify (0.01s) +--- PASS: TestAutoNotify (0.00s) === RUN TestRecover --- PASS: TestRecover (0.00s) === RUN TestRecoverCustomHandledState ---- PASS: TestRecoverCustomHandledState (0.00s) +--- PASS: TestRecoverCustomHandledState (0.01s) === RUN TestSeverityReasonNotifyCallback --- PASS: TestSeverityReasonNotifyCallback (0.00s) === RUN TestNotifyWithoutError @@ -1286,7 +1322,7 @@ === RUN TestParsePairs --- PASS: TestParsePairs (0.00s) === RUN TestPopulateEvent ---- PASS: TestPopulateEvent (0.00s) +--- PASS: TestPopulateEvent (0.01s) === RUN TestMetaDataAdd --- PASS: TestMetaDataAdd (0.00s) === RUN TestMetaDataUpdate @@ -1307,28 +1343,28 @@ panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x350e60] -goroutine 170 [running]: +goroutine 168 [running]: testing.tRunner.func1.2({0x393850, 0x6303a8}) /usr/lib/go-1.22/src/testing/testing.go:1631 +0x274 testing.tRunner.func1() /usr/lib/go-1.22/src/testing/testing.go:1634 +0x3fc panic({0x393850, 0x6303a8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x18f1c08, {0x3cf403, 0x7}, {0x18c50f8, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0x10bae08, {0x3cf403, 0x7}, {0x10176c8, 0x16}) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115 +0x324 -github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x18f1c08) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0x10bae08) /build/reproducible-path/golang-github-bugsnag-bugsnag-go-2.2.0/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22 +0x8c -testing.tRunner(0x18f1c08, 0x3f06d4) +testing.tRunner(0x10bae08, 0x3f06d4) /usr/lib/go-1.22/src/testing/testing.go:1689 +0x128 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.22/src/testing/testing.go:1742 +0x3c4 -ok github.com/bugsnag/bugsnag-go/v2 0.338s +ok github.com/bugsnag/bugsnag-go/v2 0.332s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.022s +ok github.com/bugsnag/bugsnag-go/v2/device 0.024s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1356,7 +1392,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/errors 0.035s +ok github.com/bugsnag/bugsnag-go/v2/errors 0.032s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1368,7 +1404,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/headers 0.024s +ok github.com/bugsnag/bugsnag-go/v2/headers 0.029s ? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1378,50 +1414,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 -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name ---- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) +--- 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.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) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== 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 -=== RUN TestSendsCorrectPayloadForBigConfig/app.type --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/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) - --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1431,7 +1467,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.51s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.41s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1441,50 +1477,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 +=== 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/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) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version -=== RUN TestSendsCorrectPayloadForBigConfig/app.type -=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage -=== RUN TestSendsCorrectPayloadForBigConfig/app.version === RUN TestSendsCorrectPayloadForBigConfig/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url ---- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version +=== RUN TestSendsCorrectPayloadForBigConfig/app.type +=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage +=== RUN TestSendsCorrectPayloadForBigConfig/app.version +--- PASS: TestSendsCorrectPayloadForBigConfig (0.01s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (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) + --- 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 @@ -1500,12 +1536,12 @@ === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.55s) -=== RUN TestStartSession === RUN TestStartSession/Bugsnag-Payload-Version#02 === RUN TestStartSession/Content-Type#02 === RUN TestStartSession/Bugsnag-Api-Key#02 ---- PASS: TestStartSession (1.30s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.65s) +=== RUN TestStartSession +--- PASS: TestStartSession (1.32s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1516,7 +1552,7 @@ --- PASS: TestStartSession/Content-Type#02 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) PASS -2024/03/25 13:38:50 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2024/03/25 13:41:31 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 @@ -1529,9 +1565,12 @@ === RUN TestStartSession/Bugsnag-Payload-Version#03 === RUN TestStartSession/Content-Type#03 === RUN TestStartSession/Bugsnag-Api-Key#03 +=== RUN TestStartSession/Bugsnag-Payload-Version#04 +=== RUN TestStartSession/Content-Type#04 +=== RUN TestStartSession/Bugsnag-Api-Key#04 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.34s) +--- FAIL: TestStartSession (1.43s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1544,8 +1583,11 @@ --- PASS: TestStartSession/Bugsnag-Payload-Version#03 (0.00s) --- PASS: TestStartSession/Content-Type#03 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#03 (0.00s) + --- PASS: TestStartSession/Bugsnag-Payload-Version#04 (0.00s) + --- PASS: TestStartSession/Content-Type#04 (0.00s) + --- PASS: TestStartSession/Bugsnag-Api-Key#04 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 2.834s +ok github.com/bugsnag/bugsnag-go/v2/sessions 3.008s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1572,12 +1614,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/1136/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1136/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/7719 and its subdirectories -I: Current time: Mon Mar 25 01:39:07 -12 2024 -I: pbuilder-time-stamp: 1711373947 +I: removing directory /srv/workspace/pbuilder/1136 and its subdirectories +I: Current time: Tue Mar 26 03:41:49 +14 2024 +I: pbuilder-time-stamp: 1711374109