Package: src:golang-github-bugsnag-bugsnag-go
Version: 2.2.0-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
dh_clean -O--builddirectory=_build -O--buildsystem=golang
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
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 2 github.com/bugsnag/bugsnag-go
github.com/bugsnag/bugsnag-go/device github.com/bugsnag/bugsnag-go/errors
github.com/bugsnag/bugsnag-go/headers github.com/bugsnag/bugsnag-go/sessions
github.com/bugsnag/bugsnag-go/testutil github.com/bugsnag/bugsnag-go/v2
github.com/bugsnag/bugsnag-go/v2/device github.com/bugsnag/bugsnag-go/v2/errors
github.com/bugsnag/bugsnag-go/v2/headers
github.com/bugsnag/bugsnag-go/v2/sessions
github.com/bugsnag/bugsnag-go/v2/testutil
internal/unsafeheader
internal/goarch
[... snipped ...]
=== RUN TestStartSession/Bugsnag-Payload-Version
=== RUN TestStartSession/Content-Type
=== RUN TestStartSession/Bugsnag-Api-Key
=== RUN TestStartSession/Bugsnag-Payload-Version#01
=== RUN TestStartSession/Content-Type#01
=== RUN TestStartSession/Bugsnag-Api-Key#01
=== NAME TestStartSession
integration_test.go:120: Expected 50000 sessions started, but was 50001
--- FAIL: TestStartSession (0.92s)
--- 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)
FAIL
ok github.com/bugsnag/bugsnag-go/sessions 1.764s
? github.com/bugsnag/bugsnag-go/testutil [no test files]
=== RUN TestConfigure
--- PASS: TestConfigure (0.00s)
=== RUN TestNotify
--- PASS: TestNotify (0.00s)
=== RUN TestNotifySyncThenAsync
--- PASS: TestNotifySyncThenAsync (0.00s)
=== RUN TestHandlerFunc
=== RUN TestHandlerFunc/unhandled
=== RUN TestHandlerFunc/handled
--- PASS: TestHandlerFunc (0.00s)
--- PASS: TestHandlerFunc/unhandled (0.00s)
--- PASS: TestHandlerFunc/handled (0.00s)
=== RUN TestHandler
--- PASS: TestHandler (0.00s)
=== RUN TestAutoNotify
--- PASS: TestAutoNotify (0.00s)
=== RUN TestRecover
--- PASS: TestRecover (0.00s)
=== RUN TestRecoverCustomHandledState
--- PASS: TestRecoverCustomHandledState (0.00s)
=== RUN TestSeverityReasonNotifyCallback
--- PASS: TestSeverityReasonNotifyCallback (0.00s)
=== RUN TestNotifyWithoutError
--- PASS: TestNotifyWithoutError (0.00s)
=== RUN TestConfigureTwice
--- PASS: TestConfigureTwice (0.00s)
=== RUN TestNotifyReleaseStages
--- PASS: TestNotifyReleaseStages (0.00s)
=== RUN TestIsProjectPackage
--- PASS: TestIsProjectPackage (0.00s)
=== RUN TestStripProjectPackage
--- PASS: TestStripProjectPackage (0.00s)
=== RUN TestStripCustomSourceRoot
--- PASS: TestStripCustomSourceRoot (0.00s)
=== RUN TestStripCustomWindowsSourceRoot
configuration_test.go:189: not compatible with non-windows builds
--- SKIP: TestStripCustomWindowsSourceRoot (0.00s)
=== RUN TestConfiguringCustomLogger
configuration_test.go:263: hello bugsnag
--- PASS: TestConfiguringCustomLogger (0.00s)
=== RUN TestEndpointDeprecationWarning
=== RUN
TestEndpointDeprecationWarning/Setting_Endpoints.Notify_without_setting_Endpoints.Sessions_gives_session_disabled_warning
=== RUN
TestEndpointDeprecationWarning/Setting_Endpoints.Sessions_without_setting_Endpoints.Notify_should_panic
=== RUN
TestEndpointDeprecationWarning/Should_not_complain_if_both_Endpoints.Notify_and_Endpoints.Sessions_are_configured
=== RUN
TestEndpointDeprecationWarning/Should_not_complain_if_Endpoints_are_not_configured
--- PASS: TestEndpointDeprecationWarning (0.00s)
--- PASS:
TestEndpointDeprecationWarning/Setting_Endpoints.Notify_without_setting_Endpoints.Sessions_gives_session_disabled_warning
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Setting_Endpoints.Sessions_without_setting_Endpoints.Notify_should_panic
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Should_not_complain_if_both_Endpoints.Notify_and_Endpoints.Sessions_are_configured
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Should_not_complain_if_Endpoints_are_not_configured
(0.00s)
=== RUN TestIsAutoCaptureSessions
--- PASS: TestIsAutoCaptureSessions (0.00s)
=== RUN TestParseMetadataKeypath
--- PASS: TestParseMetadataKeypath (0.00s)
=== RUN TestLoadEnvMetadata
--- PASS: TestLoadEnvMetadata (0.00s)
=== RUN TestParsePairs
--- PASS: TestParsePairs (0.00s)
=== RUN TestPopulateEvent
--- PASS: TestPopulateEvent (0.00s)
=== RUN TestMetaDataAdd
--- PASS: TestMetaDataAdd (0.00s)
=== RUN TestMetaDataUpdate
--- PASS: TestMetaDataUpdate (0.00s)
=== RUN TestMetaDataSanitize
--- PASS: TestMetaDataSanitize (0.00s)
=== RUN TestSanitizerSanitize
--- PASS: TestSanitizerSanitize (0.00s)
=== RUN TestMiddlewareOrder
--- PASS: TestMiddlewareOrder (0.00s)
=== RUN TestBeforeNotifyReturnErr
--- PASS: TestBeforeNotifyReturnErr (0.00s)
=== RUN TestBeforeNotifyPanic
--- PASS: TestBeforeNotifyPanic (0.00s)
=== RUN TestPanicHandlerHandledPanic
=== RUN TestConfigure
2025/02/21 21:18:48 http: panic serving 127.0.0.1:49176: send on closed channel
goroutine 41 [running]:
net/http.(*conn).serve.func1()
/usr/lib/go-1.24/src/net/http/server.go:1947 +0xbe
panic({0x7af220?, 0x8af6e0?})
/usr/lib/go-1.24/src/runtime/panic.go:787 +0x132
github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xc00011f620,
{0xc0001e8910, 0x1, 0x1})
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102
+0x537
panic({0x7af220?, 0x8af6e0?})
/usr/lib/go-1.24/src/runtime/panic.go:787 +0x132
github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x8b52a8?, 0xc0001dd530?},
0x796be0?)
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24
+0x37
github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x8b4f88, 0xc0001b8460},
0xc0001bb680)
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205
+0x1f4
net/http.HandlerFunc.ServeHTTP(0x4743f9?, {0x8b4f88?, 0xc0001b8460?},
0xc0001e8b70?)
/usr/lib/go-1.24/src/net/http/server.go:2294 +0x29
net/http.serverHandler.ServeHTTP({0xc0001dd290?}, {0x8b4f88?, 0xc0001b8460?},
0x1?)
/usr/lib/go-1.24/src/net/http/server.go:3301 +0x8e
net/http.(*conn).serve(0xc000174900, {0x8b52a8, 0xc0001dd170})
/usr/lib/go-1.24/src/net/http/server.go:2102 +0x625
created by net/http.(*Server).Serve in goroutine 38
/usr/lib/go-1.24/src/net/http/server.go:3454 +0x485
--- PASS: TestPanicHandlerHandledPanic (0.06s)
=== RUN TestPanicHandlerUnhandledPanic
--- PASS: TestPanicHandlerUnhandledPanic (0.06s)
=== RUN TestMarshalEmptyPayload
--- PASS: TestMarshalEmptyPayload (0.00s)
=== RUN TestMarshalLargePayload
--- PASS: TestMarshalLargePayload (0.00s)
=== RUN TestRequestInformationGetsExtracted
--- PASS: TestRequestInformationGetsExtracted (0.00s)
=== RUN TestRequestExtractorCanHandleAbsentContext
--- PASS: TestRequestExtractorCanHandleAbsentContext (0.00s)
=== RUN TestExtractRequestInfoFromReq_RedactURL
--- PASS: TestExtractRequestInfoFromReq_RedactURL (0.00s)
=== RUN TestParseHeadersWillSanitiseIllegalParams
--- PASS: TestParseHeadersWillSanitiseIllegalParams (0.00s)
=== RUN TestStackframesAreSkippedCorrectly
=== RUN TestStackframesAreSkippedCorrectly/notifier.Notify
=== RUN TestStackframesAreSkippedCorrectly/bugsnag.Notify
=== RUN TestStackframesAreSkippedCorrectly/notifier.NotifySync
=== RUN TestStackframesAreSkippedCorrectly/notifier.AutoNotify
=== RUN TestStackframesAreSkippedCorrectly/bugsnag.AutoNotify
=== RUN TestStackframesAreSkippedCorrectly/notifier.Recover
=== RUN TestStackframesAreSkippedCorrectly/bugsnag.Recover
--- PASS: TestStackframesAreSkippedCorrectly (0.00s)
--- PASS: TestStackframesAreSkippedCorrectly/notifier.Notify (0.00s)
--- 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/notifier.Recover (0.00s)
--- PASS: TestStackframesAreSkippedCorrectly/bugsnag.Recover (0.00s)
=== 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/bugsnag.Notify_with_block (0.00s)
=== RUN ExampleAutoNotify
--- PASS: ExampleAutoNotify (0.00s)
=== RUN ExampleRecover
--- PASS: ExampleRecover (0.00s)
PASS
2025/02/21 21:18:48 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
2025/02/21 21:18:48 http: panic serving 127.0.0.1:43022: send on closed channel
goroutine 54 [running]:
net/http.(*conn).serve.func1()
/usr/lib/go-1.24/src/net/http/server.go:1947 +0xbe
panic({0x7af220?, 0x8af6e0?})
/usr/lib/go-1.24/src/runtime/panic.go:787 +0x132
github.com/bugsnag/bugsnag-go/v2.(*Notifier).AutoNotify(0xc0001428a0,
{0xc000063910, 0x1, 0x1})
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/notifier.go:102
+0x537
panic({0x7af220?, 0x8af6e0?})
/usr/lib/go-1.24/src/runtime/panic.go:787 +0x132
github.com/bugsnag/bugsnag-go/v2.crashyHandler({0x8b52a8?, 0xc0001cd6e0?},
0x796be0?)
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag_test.go:24
+0x37
github.com/bugsnag/bugsnag-go/v2.HandlerFunc.func1({0x8b4f88, 0xc0001c6540},
0xc00012ef00)
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/bugsnag.go:205
+0x1f4
net/http.HandlerFunc.ServeHTTP(0x4743f9?, {0x8b4f88?, 0xc0001c6540?},
0xc000063b70?)
/usr/lib/go-1.24/src/net/http/server.go:2294 +0x29
net/http.serverHandler.ServeHTTP({0xc0001cd440?}, {0x8b4f88?, 0xc0001c6540?},
0x1?)
/usr/lib/go-1.24/src/net/http/server.go:3301 +0x8e
net/http.(*conn).serve(0xc000138510, {0x8b52a8, 0xc0001cd320})
/usr/lib/go-1.24/src/net/http/server.go:2102 +0x625
created by net/http.(*Server).Serve in goroutine 51
/usr/lib/go-1.24/src/net/http/server.go:3454 +0x485
=== RUN TestHandlerFunc/handled
--- PASS: TestHandlerFunc (0.00s)
--- PASS: TestHandlerFunc/unhandled (0.00s)
--- PASS: TestHandlerFunc/handled (0.00s)
=== RUN TestHandler
--- PASS: TestHandler (0.00s)
=== RUN TestAutoNotify
--- PASS: TestAutoNotify (0.00s)
=== RUN TestRecover
--- PASS: TestRecover (0.00s)
=== RUN TestRecoverCustomHandledState
--- PASS: TestRecoverCustomHandledState (0.00s)
=== RUN TestSeverityReasonNotifyCallback
--- PASS: TestSeverityReasonNotifyCallback (0.00s)
=== RUN TestNotifyWithoutError
--- PASS: TestNotifyWithoutError (0.00s)
=== RUN TestConfigureTwice
--- PASS: TestConfigureTwice (0.00s)
=== RUN TestNotifyReleaseStages
--- PASS: TestNotifyReleaseStages (0.00s)
=== RUN TestIsProjectPackage
--- PASS: TestIsProjectPackage (0.00s)
=== RUN TestStripProjectPackage
--- PASS: TestStripProjectPackage (0.00s)
=== RUN TestStripCustomSourceRoot
--- PASS: TestStripCustomSourceRoot (0.00s)
=== RUN TestStripCustomWindowsSourceRoot
configuration_test.go:189: not compatible with non-windows builds
--- SKIP: TestStripCustomWindowsSourceRoot (0.00s)
=== RUN TestConfiguringCustomLogger
configuration_test.go:263: hello bugsnag
--- PASS: TestConfiguringCustomLogger (0.00s)
=== RUN TestEndpointDeprecationWarning
=== RUN
TestEndpointDeprecationWarning/Setting_Endpoints.Notify_without_setting_Endpoints.Sessions_gives_session_disabled_warning
=== RUN
TestEndpointDeprecationWarning/Setting_Endpoints.Sessions_without_setting_Endpoints.Notify_should_panic
=== RUN
TestEndpointDeprecationWarning/Should_not_complain_if_both_Endpoints.Notify_and_Endpoints.Sessions_are_configured
=== RUN
TestEndpointDeprecationWarning/Should_not_complain_if_Endpoints_are_not_configured
--- PASS: TestEndpointDeprecationWarning (0.00s)
--- PASS:
TestEndpointDeprecationWarning/Setting_Endpoints.Notify_without_setting_Endpoints.Sessions_gives_session_disabled_warning
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Setting_Endpoints.Sessions_without_setting_Endpoints.Notify_should_panic
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Should_not_complain_if_both_Endpoints.Notify_and_Endpoints.Sessions_are_configured
(0.00s)
--- PASS:
TestEndpointDeprecationWarning/Should_not_complain_if_Endpoints_are_not_configured
(0.00s)
=== RUN TestIsAutoCaptureSessions
--- PASS: TestIsAutoCaptureSessions (0.00s)
=== RUN TestParseMetadataKeypath
--- PASS: TestParseMetadataKeypath (0.00s)
=== RUN TestLoadEnvMetadata
--- PASS: TestLoadEnvMetadata (0.00s)
=== RUN TestParsePairs
--- PASS: TestParsePairs (0.00s)
=== RUN TestPopulateEvent
--- PASS: TestPopulateEvent (0.00s)
=== RUN TestMetaDataAdd
--- PASS: TestMetaDataAdd (0.00s)
=== RUN TestMetaDataUpdate
--- PASS: TestMetaDataUpdate (0.00s)
=== RUN TestMetaDataSanitize
--- PASS: TestMetaDataSanitize (0.00s)
=== RUN TestSanitizerSanitize
--- PASS: TestSanitizerSanitize (0.00s)
=== RUN TestMiddlewareOrder
--- PASS: TestMiddlewareOrder (0.00s)
=== RUN TestBeforeNotifyReturnErr
--- PASS: TestBeforeNotifyReturnErr (0.00s)
=== RUN TestBeforeNotifyPanic
--- PASS: TestBeforeNotifyPanic (0.00s)
=== RUN TestPanicHandlerHandledPanic
--- FAIL: TestPanicHandlerHandledPanic (0.04s)
panic: runtime error: invalid memory address or nil pointer dereference
[recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x7060c2]
goroutine 163 [running]:
testing.tRunner.func1.2({0x7af1c0, 0xae5ef0})
/usr/lib/go-1.24/src/testing/testing.go:1734 +0x21c
testing.tRunner.func1()
/usr/lib/go-1.24/src/testing/testing.go:1737 +0x35e
panic({0x7af1c0?, 0xae5ef0?})
/usr/lib/go-1.24/src/runtime/panic.go:787 +0x132
github.com/bugsnag/bugsnag-go/v2.startPanickingProcess(0xc0002ff340, {0x81d762,
0x7}, {0xc000114e10, 0x16})
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:115
+0x2e2
github.com/bugsnag/bugsnag-go/v2.TestPanicHandlerHandledPanic(0xc0002ff340)
/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/panicwrap_test.go:22
+0x93
testing.tRunner(0xc0002ff340, 0x8415f8)
/usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
created by testing.(*T).Run in goroutine 1
/usr/lib/go-1.24/src/testing/testing.go:1851 +0x413
ok github.com/bugsnag/bugsnag-go/v2 0.176s
=== RUN TestPristineRuntimeVersions
--- PASS: TestPristineRuntimeVersions (0.00s)
=== RUN TestModifiedRuntimeVersions
--- PASS: TestModifiedRuntimeVersions (0.00s)
PASS
ok github.com/bugsnag/bugsnag-go/v2/device 0.002s
=== RUN TestUnwrapErrorsCause
--- PASS: TestUnwrapErrorsCause (0.00s)
=== RUN TestParsePanicStack
--- PASS: TestParsePanicStack (0.00s)
=== RUN TestParseGeneratedStack
--- PASS: TestParseGeneratedStack (0.00s)
=== RUN TestSkipWorks
--- PASS: TestSkipWorks (0.00s)
=== RUN TestNewError
--- PASS: TestNewError (0.00s)
=== RUN TestUnwrapPkgError
error_test.go:140: failed to find matches for 1 frames:
'[{errors/error_test.go 194 TestUnwrapPkgError 0 <nil>}]'
got:
'[{/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/errors/error_test.go
194 TestUnwrapPkgError github.com/bugsnag/bugsnag-go/v2/errors 5415634
0x6a1590}
{/<<PKGBUILDDIR>>/_build/src/github.com/bugsnag/bugsnag-go/v2/errors/error_test.go
188 TestUnwrapPkgError github.com/bugsnag/bugsnag-go/v2/errors 5415633
0x6a1590} {/usr/lib/go-1.24/src/testing/testing.go 1792 tRunner testing 5107602
0x6961b0}]'
--- FAIL: TestUnwrapPkgError (0.00s)
=== RUN TestUnwrapCustomCause
--- PASS: TestUnwrapCustomCause (0.00s)
=== RUN TestFindingErrorInChain
--- PASS: TestFindingErrorInChain (0.00s)
=== RUN TestErrorUnwrapping
--- PASS: TestErrorUnwrapping (0.00s)
=== RUN TestParsePanic
--- PASS: TestParsePanic (0.00s)
=== RUN TestParseFatalError
--- PASS: TestParseFatalError (0.00s)
=== RUN ExampleErrorf
--- PASS: ExampleErrorf (0.00s)
=== RUN ExampleNew
--- PASS: ExampleNew (0.00s)
FAIL
FAIL github.com/bugsnag/bugsnag-go/v2/errors 0.002s
=== RUN TestConstantBugsnagPrefixedHeaders
=== RUN TestConstantBugsnagPrefixedHeaders/Content-Type
=== RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key
=== RUN TestConstantBugsnagPrefixedHeaders/Bugsnag-Payload-Version
--- PASS: TestConstantBugsnagPrefixedHeaders (0.00s)
--- PASS: TestConstantBugsnagPrefixedHeaders/Content-Type (0.00s)
--- PASS: TestConstantBugsnagPrefixedHeaders/Bugsnag-Api-Key (0.00s)
--- PASS: TestConstantBugsnagPrefixedHeaders/Bugsnag-Payload-Version (0.00s)
=== RUN TestTimeDependentBugsnagPrefixedHeaders
--- PASS: TestTimeDependentBugsnagPrefixedHeaders (0.00s)
PASS
ok github.com/bugsnag/bugsnag-go/v2/headers 0.001s
=== RUN TestConfigDoesNotChangeGivenBlankValues
--- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s)
=== RUN TestConfigUpdatesGivenNonDefaultValues
--- PASS: TestConfigUpdatesGivenNonDefaultValues (0.00s)
=== RUN TestSendsCorrectPayloadForSmallConfig
=== 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
--- 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)
=== RUN TestSendsCorrectPayloadForBigConfig
=== RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version
=== RUN TestSendsCorrectPayloadForBigConfig/Content-Type
=== RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key
=== RUN TestSendsCorrectPayloadForBigConfig/app.type
=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage
=== RUN TestSendsCorrectPayloadForBigConfig/app.version
=== RUN TestSendsCorrectPayloadForBigConfig/device.osName
=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version
--- PASS: TestSendsCorrectPayloadForBigConfig (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version
(0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s)
=== RUN TestNoSessionsSentWhenAPIKeyIsMissing
--- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s)
=== RUN TestNoSessionsOutsideNotifyReleaseStages
--- PASS: TestNoSessionsOutsideNotifyReleaseStages (0.00s)
=== RUN TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages
--- PASS: TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages
(0.00s)
=== RUN TestStartSessionModifiesContext
--- PASS: TestStartSessionModifiesContext (0.00s)
=== RUN TestShouldOnlyWriteWhenReceivingSessions
--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.18s)
=== RUN TestStartSession
=== RUN TestConfigDoesNotChangeGivenBlankValues
--- PASS: TestConfigDoesNotChangeGivenBlankValues (0.00s)
=== RUN TestConfigUpdatesGivenNonDefaultValues
--- PASS: TestConfigUpdatesGivenNonDefaultValues (0.00s)
=== RUN TestSendsCorrectPayloadForSmallConfig
=== RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version
=== RUN TestSendsCorrectPayloadForSmallConfig/Content-Type
=== RUN TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key
=== RUN TestSendsCorrectPayloadForSmallConfig/app.releaseStage
=== RUN TestSendsCorrectPayloadForSmallConfig/app.version
=== RUN TestSendsCorrectPayloadForSmallConfig/device.osName
=== RUN TestSendsCorrectPayloadForSmallConfig/device.hostname
=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.name
=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.url
=== RUN TestSendsCorrectPayloadForSmallConfig/notifier.version
=== RUN TestSendsCorrectPayloadForSmallConfig/app.type
--- PASS: TestSendsCorrectPayloadForSmallConfig (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Payload-Version
(0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/Content-Type (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/Bugsnag-Api-Key (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/app.releaseStage (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/app.version (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/device.osName (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/device.hostname (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.name (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.url (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/notifier.version (0.00s)
--- PASS: TestSendsCorrectPayloadForSmallConfig/app.type (0.00s)
=== RUN TestSendsCorrectPayloadForBigConfig
=== RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version
=== RUN TestSendsCorrectPayloadForBigConfig/Content-Type
=== RUN TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key
=== RUN TestSendsCorrectPayloadForBigConfig/app.type
=== RUN TestSendsCorrectPayloadForBigConfig/app.releaseStage
=== RUN TestSendsCorrectPayloadForBigConfig/app.version
=== RUN TestSendsCorrectPayloadForBigConfig/device.osName
=== RUN TestSendsCorrectPayloadForBigConfig/device.hostname
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.name
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.url
=== RUN TestSendsCorrectPayloadForBigConfig/notifier.version
--- PASS: TestSendsCorrectPayloadForBigConfig (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Payload-Version
(0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Content-Type (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/Bugsnag-Api-Key (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.type (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.releaseStage (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/app.version (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/device.osName (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/device.hostname (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.name (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.url (0.00s)
--- PASS: TestSendsCorrectPayloadForBigConfig/notifier.version (0.00s)
=== RUN TestNoSessionsSentWhenAPIKeyIsMissing
--- PASS: TestNoSessionsSentWhenAPIKeyIsMissing (0.00s)
=== RUN TestNoSessionsOutsideNotifyReleaseStages
--- PASS: TestNoSessionsOutsideNotifyReleaseStages (0.00s)
=== RUN TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages
--- PASS: TestReleaseStageNotSetSendsSessionsRegardlessOfNotifyReleaseStages
(0.00s)
=== RUN TestStartSessionModifiesContext
--- PASS: TestStartSessionModifiesContext (0.00s)
=== RUN TestShouldOnlyWriteWhenReceivingSessions
=== RUN TestStartSession/Bugsnag-Payload-Version
=== RUN TestStartSession/Content-Type
=== RUN TestStartSession/Bugsnag-Api-Key
--- PASS: TestShouldOnlyWriteWhenReceivingSessions (0.20s)
=== RUN TestStartSession
--- PASS: TestStartSession (0.88s)
--- PASS: TestStartSession/Bugsnag-Payload-Version (0.00s)
--- PASS: TestStartSession/Content-Type (0.00s)
--- PASS: TestStartSession/Bugsnag-Api-Key (0.00s)
PASS
2025/02/21 21:18:50 bugsnag/notifier.Notify: panic! unexpected call to
os.Exit(0) during test
=== RUN TestStartSession/Bugsnag-Payload-Version
=== RUN TestStartSession/Content-Type
=== RUN TestStartSession/Bugsnag-Api-Key
=== RUN TestStartSession/Bugsnag-Payload-Version#01
=== RUN TestStartSession/Content-Type#01
=== RUN TestStartSession/Bugsnag-Api-Key#01
=== NAME TestStartSession
integration_test.go:118: Expected 50000 sessions started, but was 50001
--- FAIL: TestStartSession (0.87s)
--- 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)
FAIL
ok github.com/bugsnag/bugsnag-go/v2/sessions 1.676s
? github.com/bugsnag/bugsnag-go/v2/testutil [no test files]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2
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 returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-bugsnag-bugsnag-go, so that
this is still
visible in the BTS web page for this package.
Thanks.