Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 03:45:54.430923181 +0000 +++ b2/build.log 2024-04-28 03:48:36.248027944 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 27 15:42:38 -12 2024 -I: pbuilder-time-stamp: 1714275758 +I: Current time: Sun Apr 28 17:46:12 +14 2024 +I: pbuilder-time-stamp: 1714275972 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/1604/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3793/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 Apr 28 03:46 /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/3793/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3793/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='43e82a3cab73437da726370eb94790f9' - 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='1604' - PS1='# ' - PS2='> ' + INVOCATION_ID=dc35ed0451314ff1973582fb3c5819fd + 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=3793 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.UqDJhY5q/pbuilderrc_dNVF --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UqDJhY5q/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.UqDJhY5q/pbuilderrc_oasQ --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UqDJhY5q/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 virt32a 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 24 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1604/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 25 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3793/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 unstable/main armhf golang-github-google-uuid-dev all 1.6.0-1 [20.6 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf golang-github-kardianos-osext-dev all 0.0~git20190222.2bc1f35-3 [7380 B] Get: 55 http://deb.debian.org/debian unstable/main armhf golang-github-pkg-errors-dev all 0.9.1-3 [12.9 kB] -Fetched 67.7 MB in 1s (50.5 MB/s) +Fetched 67.7 MB in 1s (68.9 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 ... 19443 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/3793/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3793/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 -internal/unsafeheader + 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/cpu internal/coverage/rtcov +internal/unsafeheader +internal/cpu +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 @@ -449,13 +485,13 @@ unicode/utf8 internal/itoa math/bits -runtime -math crypto/internal/alias crypto/internal/boring/sig +math encoding cmp slices +runtime unicode/utf16 internal/nettrace log/internal @@ -469,161 +505,161 @@ internal/bisect internal/singleflight runtime/cgo -internal/godebug errors io +internal/godebug +sort internal/oserror -bytes syscall +bytes hash strconv +internal/safefilepath +path +strings +crypto/internal/randutil crypto reflect +math/rand +vendor/golang.org/x/net/dns/dnsmessage time -sort -context internal/syscall/unix -internal/poll -internal/safefilepath internal/syscall/execenv -path +internal/intern +bufio +net/netip +context +internal/poll io/fs -strings +github.com/bugsnag/bugsnag-go/headers +hash/crc32 +crypto/internal/nistec/fiat +crypto/rc4 +vendor/golang.org/x/text/transform +os +net/http/internal/ascii +net/http/internal/testcert +github.com/bugsnag/bugsnag-go/v2/headers encoding/binary internal/fmtsort -os -github.com/bugsnag/bugsnag-go/headers -crypto/internal/randutil -math/rand crypto/cipher -crypto/internal/boring encoding/base64 -crypto/sha512 crypto/md5 -crypto/sha1 -vendor/golang.org/x/net/dns/dnsmessage -internal/intern fmt +crypto/internal/boring github.com/bugsnag/bugsnag-go/device +crypto/sha512 io/ioutil path/filepath -os/exec os/signal -net/netip -github.com/bugsnag/panicwrap +crypto/sha1 +os/exec +net encoding/json github.com/pkg/errors github.com/bugsnag/bugsnag-go/errors +github.com/bugsnag/panicwrap math/big database/sql/driver encoding/hex -net log -bufio compress/flate -crypto/rand -hash/crc32 crypto/aes -compress/gzip crypto/des crypto/internal/edwards25519/field -crypto/internal/nistec/fiat +compress/gzip +crypto/internal/nistec +crypto/internal/edwards25519 +crypto/rand crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 -vendor/golang.org/x/crypto/cryptobyte -crypto/internal/edwards25519 crypto/ed25519 crypto/hmac -crypto/rc4 +crypto/ecdh +crypto/elliptic crypto/rsa -crypto/internal/nistec +vendor/golang.org/x/crypto/cryptobyte 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/internal/poly1305 vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime -vendor/golang.org/x/net/idna -github.com/google/uuid -crypto/x509 -net/textproto -vendor/golang.org/x/net/http/httpproxy mime/quotedprintable -vendor/golang.org/x/net/http/httpguts net/http/internal -mime/multipart -net/http/internal/ascii github.com/bitly/go-simplejson flag -net/http/internal/testcert internal/sysinfo -crypto/tls runtime/debug runtime/trace +vendor/golang.org/x/net/idna github.com/bugsnag/bugsnag-go/v2/device -github.com/bugsnag/bugsnag-go/v2/errors -github.com/bugsnag/bugsnag-go/v2/headers testing +github.com/bugsnag/bugsnag-go/v2/errors +github.com/google/uuid +net/textproto +vendor/golang.org/x/net/http/httpproxy +crypto/x509 +vendor/golang.org/x/net/http/httpguts +mime/multipart +crypto/tls net/http/httptrace net/http -github.com/bugsnag/bugsnag-go/sessions net/http/httptest github.com/bugsnag/bugsnag-go/v2/sessions -github.com/bugsnag/bugsnag-go +github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/v2 +github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2/testutil dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil + cd _build && go test -vet=off -v -p 4 github.com/bugsnag/bugsnag-go github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2 github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors github.com/bugsnag/bugsnag-go/v2/headers github.com/bugsnag/bugsnag-go/v2/sessions github.com/bugsnag/bugsnag-go/v2/testutil === RUN TestConfigure --- PASS: TestConfigure (0.00s) === RUN TestNotify ---- PASS: TestNotify (0.01s) +--- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.01s) - --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.00s) -=== RUN TestHandler === RUN TestConfigure -2024/04/28 03:45:13 http: panic serving 127.0.0.1:58646: send on closed channel -goroutine 56 [running]: +2024/04/28 03:48:11 http: panic serving 127.0.0.1:43154: 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({0x393568, 0x451e38}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x20a2960, {0x2055c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x11202d0, {0x1156c30, 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, 0x451e38}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x454518, 0x2140148}, 0x21401e8) +github.com/bugsnag/bugsnag-go.crashyHandler({0x454518, 0x1115408}, 0x11154a8) /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({0x454518, 0x2140148}, 0x21400a8) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x454518, 0x1115408}, 0x1115368) /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(0x20a2970, {0x454518, 0x2140148}, 0x21400a8) +net/http.HandlerFunc.ServeHTTP(0x11202e0, {0x454518, 0x1115408}, 0x1115368) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x20aff48}, {0x454518, 0x2140148}, 0x21400a8) +net/http.serverHandler.ServeHTTP({0x1115228}, {0x454518, 0x1115408}, 0x1115368) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x20d28a0, {0x45473c, 0x20c2918}) +net/http.(*conn).serve(0x1144180, {0x45473c, 0x1104348}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 53 +created by net/http.(*Server).Serve in goroutine 27 /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.01s) +=== RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) @@ -663,7 +699,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 @@ -679,9 +715,9 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- PASS: TestPanicHandlerHandledPanic (0.04s) +--- PASS: TestPanicHandlerHandledPanic (0.03s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.05s) +--- PASS: TestPanicHandlerUnhandledPanic (0.02s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -703,7 +739,7 @@ === RUN TestStackframesAreSkippedCorrectly/notifier.Recover === RUN TestStackframesAreSkippedCorrectly/bugsnag.Recover --- PASS: TestStackframesAreSkippedCorrectly (0.01s) - --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.01s) + --- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.NotifySync (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.AutoNotify (0.00s) @@ -713,43 +749,43 @@ === RUN TestModifyingEventsWithCallbacks === RUN TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block === RUN TestModifyingEventsWithCallbacks/bugsnag.Notify_with_block ---- PASS: TestModifyingEventsWithCallbacks (0.00s) - --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block (0.00s) +--- PASS: TestModifyingEventsWithCallbacks (0.02s) + --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_change_unhandled_in_block (0.02s) --- PASS: TestModifyingEventsWithCallbacks/bugsnag.Notify_with_block (0.00s) === RUN ExampleAutoNotify --- PASS: ExampleAutoNotify (0.00s) === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2024/04/28 03:45:13 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.14s) +2024/04/28 03:48:11 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.10s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2024/04/28 03:45:13 http: panic serving 127.0.0.1:46314: send on closed channel -goroutine 62 [running]: +2024/04/28 03:48:11 http: panic serving 127.0.0.1:37648: send on closed channel +goroutine 50 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393568, 0x451e38}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0xeaa2d0, {0xd12c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go.(*Notifier).AutoNotify(0x1986640, {0x1853c30, 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, 0x451e38}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go.crashyHandler({0x454518, 0xeb5408}, 0xeb54a8) +github.com/bugsnag/bugsnag-go.crashyHandler({0x454518, 0x19b17c8}, 0x19b1868) /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({0x454518, 0xeb5408}, 0xeb5368) +github.com/bugsnag/bugsnag-go.HandlerFunc.func1({0x454518, 0x19b17c8}, 0x19b1728) /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(0xeaa2e0, {0x454518, 0xeb5408}, 0xeb5368) +net/http.HandlerFunc.ServeHTTP(0x1986650, {0x454518, 0x19b17c8}, 0x19b1728) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0xeb5228}, {0x454518, 0xeb5408}, 0xeb5368) +net/http.serverHandler.ServeHTTP({0x19b15e8}, {0x454518, 0x19b17c8}, 0x19b1728) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0xecc180, {0x45473c, 0xe8c348}) +net/http.(*conn).serve(0x19b4420, {0x45473c, 0x1984900}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 59 +created by net/http.(*Server).Serve in goroutine 31 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 === RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.01s) @@ -811,33 +847,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.02s) +--- FAIL: TestPanicHandlerHandledPanic (0.01s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x34f2ec] -goroutine 158 [running]: +goroutine 164 [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(0xcf1b08, {0x3ced91, 0x7}, {0xcc48b8, 0x16}) +github.com/bugsnag/bugsnag-go.startPanickingProcess(0x193e908, {0x3ced91, 0x7}, {0x1816660, 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(0xcf1b08) +github.com/bugsnag/bugsnag-go.TestPanicHandlerHandledPanic(0x193e908) /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(0xcf1b08, 0x3efcd8) +testing.tRunner(0x193e908, 0x3efcd8) /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.226s +ok github.com/bugsnag/bugsnag-go 0.160s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/device 0.007s +ok github.com/bugsnag/bugsnag-go/device 0.008s === RUN TestParsePanicStack --- PASS: TestParsePanicStack (0.00s) === RUN TestParseGeneratedStack @@ -863,7 +899,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/errors 0.012s +ok github.com/bugsnag/bugsnag-go/errors 0.016s === 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.025s ? github.com/bugsnag/bugsnag-go/testutil [no test files] === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -885,30 +921,31 @@ === 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 --- 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) === 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 @@ -916,11 +953,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) @@ -928,7 +965,6 @@ --- 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 @@ -938,7 +974,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.45s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.47s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -948,50 +984,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name === RUN TestSendsCorrectPayloadForSmallConfig/notifier.url === RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName -=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name ---- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) +--- PASS: TestSendsCorrectPayloadForSmallConfig (0.01s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage +=== RUN TestSendsCorrectPayloadForBigConfig/app.version +=== RUN TestSendsCorrectPayloadForBigConfig/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type -=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage -=== RUN TestSendsCorrectPayloadForBigConfig/app.version -=== 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/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) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1007,20 +1043,26 @@ === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.48s) +=== RUN TestStartSession/Bugsnag-Payload-Version#02 +=== RUN TestStartSession/Content-Type#02 +=== RUN TestStartSession/Bugsnag-Api-Key#02 +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.62s) === RUN TestStartSession ---- PASS: TestStartSession (1.16s) +--- PASS: TestStartSession (1.32s) --- 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 +2024/04/28 03:48:15 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test === RUN TestStartSession/Bugsnag-Payload-Version === RUN TestStartSession/Content-Type === RUN TestStartSession/Bugsnag-Api-Key -2024/04/28 03:45:25 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 @@ -1029,7 +1071,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#02 === NAME TestStartSession integration_test.go:120: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (8.93s) +--- FAIL: TestStartSession (1.13s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1040,44 +1082,44 @@ --- PASS: TestStartSession/Content-Type#02 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/sessions 10.288s +ok github.com/bugsnag/bugsnag-go/sessions 2.675s === RUN TestConfigure ---- PASS: TestConfigure (0.00s) +--- PASS: TestConfigure (0.02s) === RUN TestNotify ---- PASS: TestNotify (0.00s) +--- PASS: TestNotify (0.01s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -=== RUN TestHandlerFunc/handled === RUN TestConfigure -2024/04/28 03:45:25 http: panic serving 127.0.0.1:35428: send on closed channel -goroutine 33 [running]: +2024/04/28 03:48:14 http: panic serving 127.0.0.1:41732: send on closed channel +goroutine 56 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 panic({0x393940, 0x452ca8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x10ac2f0, {0x1054c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x1517020, {0x15bec30, 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, 0x452ca8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455388, 0x10a30e8}, 0x10a3188) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455388, 0x1525b88}, 0x1525c28) /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({0x455388, 0x10a30e8}, 0x10a3048) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455388, 0x1525b88}, 0x1525ae8) /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(0x10ac300, {0x455388, 0x10a30e8}, 0x10a3048) +net/http.HandlerFunc.ServeHTTP(0x1517030, {0x455388, 0x1525b88}, 0x1525ae8) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x10a2f08}, {0x455388, 0x10a30e8}, 0x10a3048) +net/http.serverHandler.ServeHTTP({0x15259a8}, {0x455388, 0x1525b88}, 0x1525ae8) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x10b81e0, {0x4555ac, 0x109c3a8}) +net/http.(*conn).serve(0x154a840, {0x4555ac, 0x153a9a8}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 30 +created by net/http.(*Server).Serve in goroutine 53 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 +=== RUN TestHandlerFunc/handled --- PASS: TestHandlerFunc (0.01s) --- PASS: TestHandlerFunc/unhandled (0.01s) --- PASS: TestHandlerFunc/handled (0.00s) === RUN TestHandler ---- PASS: TestHandler (0.01s) +--- PASS: TestHandler (0.00s) === RUN TestAutoNotify --- PASS: TestAutoNotify (0.00s) === RUN TestRecover @@ -1141,7 +1183,7 @@ === RUN TestPanicHandlerHandledPanic --- PASS: TestPanicHandlerHandledPanic (0.03s) === RUN TestPanicHandlerUnhandledPanic ---- PASS: TestPanicHandlerUnhandledPanic (0.02s) +--- PASS: TestPanicHandlerUnhandledPanic (0.03s) === RUN TestMarshalEmptyPayload --- PASS: TestMarshalEmptyPayload (0.00s) === RUN TestMarshalLargePayload @@ -1167,7 +1209,7 @@ --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Notify (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.NotifySync (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.AutoNotify (0.00s) - --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify (0.00s) + --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify (0.01s) --- PASS: TestStackframesAreSkippedCorrectly/notifier.Recover (0.00s) --- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Recover (0.00s) === RUN TestModifyingEventsWithCallbacks @@ -1181,40 +1223,40 @@ === RUN ExampleRecover --- PASS: ExampleRecover (0.00s) PASS -2024/04/28 03:45:25 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test ---- PASS: TestConfigure (0.08s) +2024/04/28 03:48:14 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +--- PASS: TestConfigure (0.10s) === RUN TestNotify --- PASS: TestNotify (0.00s) === RUN TestNotifySyncThenAsync --- PASS: TestNotifySyncThenAsync (0.00s) === RUN TestHandlerFunc === RUN TestHandlerFunc/unhandled -2024/04/28 03:45:25 http: panic serving 127.0.0.1:42410: send on closed channel -goroutine 50 [running]: +2024/04/28 03:48:14 http: panic serving 127.0.0.1:36148: 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({0x393940, 0x452ca8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0x896640, {0x8a2c30, 0x1, 0x1}) +github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xeaa2d0, {0xcecc30, 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, 0x452ca8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc -github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455388, 0xa2a0a8}, 0xa2a148) +github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x455388, 0xeb50e8}, 0xeb5188) /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({0x455388, 0xa2a0a8}, 0xa2a008) +github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x455388, 0xeb50e8}, 0xeb5048) /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(0x896650, {0x455388, 0xa2a0a8}, 0xa2a008) +net/http.HandlerFunc.ServeHTTP(0xeaa2e0, {0x455388, 0xeb50e8}, 0xeb5048) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x8c5368}, {0x455388, 0xa2a0a8}, 0xa2a008) +net/http.serverHandler.ServeHTTP({0xeb4f08}, {0x455388, 0xeb50e8}, 0xeb5048) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0xa24000, {0x4555ac, 0xa1e030}) +net/http.(*conn).serve(0xecc180, {0x4555ac, 0xe84348}) /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 59 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 === RUN TestHandlerFunc/handled ---- PASS: TestHandlerFunc (0.00s) +--- PASS: TestHandlerFunc (0.01s) --- PASS: TestHandlerFunc/unhandled (0.00s) - --- PASS: TestHandlerFunc/handled (0.00s) + --- PASS: TestHandlerFunc/handled (0.01s) === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestAutoNotify @@ -1262,7 +1304,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 @@ -1278,33 +1320,33 @@ === RUN TestBeforeNotifyPanic --- PASS: TestBeforeNotifyPanic (0.00s) === RUN TestPanicHandlerHandledPanic ---- FAIL: TestPanicHandlerHandledPanic (0.04s) +--- FAIL: TestPanicHandlerHandledPanic (0.03s) 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=0x35113c] -goroutine 168 [running]: +goroutine 152 [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(0x9d2708, {0x3cf403, 0x7}, {0x816630, 0x16}) +github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0xe60808, {0x3cf403, 0x7}, {0xe2a288, 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(0x9d2708) +github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0xe60808) /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(0x9d2708, 0x3f06f4) +testing.tRunner(0xe60808, 0x3f06f4) /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.537s +ok github.com/bugsnag/bugsnag-go/v2 0.210s === RUN TestPristineRuntimeVersions --- PASS: TestPristineRuntimeVersions (0.00s) === RUN TestModifiedRuntimeVersions --- PASS: TestModifiedRuntimeVersions (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/device 0.007s +ok github.com/bugsnag/bugsnag-go/v2/device 0.018s === RUN TestUnwrapErrorsCause --- PASS: TestUnwrapErrorsCause (0.00s) === RUN TestParsePanicStack @@ -1332,7 +1374,7 @@ === RUN ExampleNew --- PASS: ExampleNew (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/errors 0.008s +ok github.com/bugsnag/bugsnag-go/v2/errors 0.029s === RUN TestConstantBugsnagPrefixedHeaders === RUN TestConstantBugsnagPrefixedHeaders/Content-Type === RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key @@ -1344,7 +1386,7 @@ === RUN TestTimeDependentBugsnagPrefixedHeaders --- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s) PASS -ok github.com/bugsnag/bugsnag-go/v2/headers 0.006s +ok github.com/bugsnag/bugsnag-go/v2/headers 0.005s ? github.com/bugsnag/bugsnag-go/v2/testutil [no test files] === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1354,50 +1396,50 @@ === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForSmallConfig/Content-Type === RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name +=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.url === RUN TestSendsCorrectPayloadForSmallConfig/notifier.version === RUN TestSendsCorrectPayloadForSmallConfig/app.type === RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage === RUN TestSendsCorrectPayloadForSmallConfig/app.version === RUN TestSendsCorrectPayloadForSmallConfig/device.osName === RUN TestSendsCorrectPayloadForSmallConfig/device.hostname -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name -=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.url --- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) + --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s) --- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s) - --- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s) === RUN TestSendsCorrectPayloadForBigConfig === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version === RUN TestSendsCorrectPayloadForBigConfig/Content-Type === RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key +=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name +=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url === RUN TestSendsCorrectPayloadForBigConfig/notifier.version === RUN TestSendsCorrectPayloadForBigConfig/app.type === RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage === RUN TestSendsCorrectPayloadForBigConfig/app.version === RUN TestSendsCorrectPayloadForBigConfig/device.osName -=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name -=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url --- PASS: TestSendsCorrectPayloadForBigConfig (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) + --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s) --- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s) - --- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s) === RUN TestNoSessionsSentWhenAPIKeyIsMissing --- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s) === RUN TestNoSessionsOutsideNotifyReleaseStages @@ -1407,7 +1449,7 @@ === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.42s) +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.44s) === RUN TestStartSession === RUN TestConfigDoesNotChangeGivenBlankValues --- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s) @@ -1417,31 +1459,30 @@ === 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/device.osName === RUN TestSendsCorrectPayloadForBigConfig/device.hostname === RUN TestSendsCorrectPayloadForBigConfig/notifier.name === RUN TestSendsCorrectPayloadForBigConfig/notifier.url @@ -1449,11 +1490,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) @@ -1461,12 +1502,13 @@ --- 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 --- PASS: TestNoSessionsOutsideNotifyReleaseStages (0.00s) === RUN TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages ---- PASS: TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages (0.00s) +--- PASS: TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages (0.01s) === RUN TestStartSessionModifiesContext --- PASS: TestStartSessionModifiesContext (0.00s) === RUN TestShouldOnlyWriteWhenReceivingSessions @@ -1476,17 +1518,23 @@ === RUN TestStartSession/Bugsnag-Payload-Version#01 === RUN TestStartSession/Content-Type#01 === RUN TestStartSession/Bugsnag-Api-Key#01 ---- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.41s) +=== RUN TestStartSession/Bugsnag-Payload-Version#02 +=== RUN TestStartSession/Content-Type#02 +=== RUN TestStartSession/Bugsnag-Api-Key#02 +--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.63s) === RUN TestStartSession ---- PASS: TestStartSession (1.12s) +--- PASS: TestStartSession (1.31s) --- 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 -2024/04/28 03:45:30 bugsnag/notifier.Notify: panic! unexpected call to os.Exit(0) during test +2024/04/28 03:48:18 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 @@ -1498,7 +1546,7 @@ === RUN TestStartSession/Bugsnag-Api-Key#02 === NAME TestStartSession integration_test.go:118: Expected 50000 sessions started, but was 50001 ---- FAIL: TestStartSession (1.10s) +--- FAIL: TestStartSession (1.09s) --- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s) --- PASS: TestStartSession/Content-Type (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key (0.00s) @@ -1509,7 +1557,7 @@ --- PASS: TestStartSession/Content-Type#02 (0.00s) --- PASS: TestStartSession/Bugsnag-Api-Key#02 (0.00s) FAIL -ok github.com/bugsnag/bugsnag-go/v2/sessions 2.380s +ok github.com/bugsnag/bugsnag-go/v2/sessions 2.613s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1536,12 +1584,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/3793/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3793/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/1604 and its subdirectories -I: Current time: Sat Apr 27 15:45:50 -12 2024 -I: pbuilder-time-stamp: 1714275950 +I: removing directory /srv/workspace/pbuilder/3793 and its subdirectories +I: Current time: Sun Apr 28 17:48:32 +14 2024 +I: pbuilder-time-stamp: 1714276112