#1098550 golang-github-bugsnag-bugsnag-go: FTBFS: integration_test.go:118: Expected 50000 sessions started, but was 50001

#1098550#5
Date:
2025-02-21 23:26:54 UTC
From:
To:
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.

#1098550#8
Date:
2025-03-04 17:42:35 UTC
From:
To:
Hello,

Bug #1098550 in golang-bugsnag-go reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/go-team/packages/golang-github-bugsnag-bugsnag-go/-/commit/752ab32b8637d82494e449e6a5492cb5857b690b
------------------------------------------------------------------------
Add patch to fix the backtraces of inlined closures with go 1.24

This fixes the TestUnwrapPkgError failure.

Closes: #1098550
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1098550

#1098550#15
Date:
2025-03-07 15:24:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-bugsnag-bugsnag-go, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098550@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martina Ferrari <tina@debian.org> (supplier of updated golang-github-bugsnag-bugsnag-go package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 07 Mar 2025 14:11:00 +0000
Source: golang-github-bugsnag-bugsnag-go
Architecture: source
Version: 2.5.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Martina Ferrari <tina@debian.org>
Closes: 1098550 1099163
Changes:
 golang-github-bugsnag-bugsnag-go (2.5.1-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Nicolas Peugnet ]
   * New upstream version 2.5.1. (Closes: #1099163)
   * Add patch to fix the backtraces of inlined closures with go 1.24.
     (Closes: #1098550)
   * Make gbp point to upstream tags automatically.
 .
   [ Martina Ferrari ]
   * d/gbp.conf: Update to team standards.
   * Automated fixes by `cme fix dpkg`.
     * d/control: update Standards-Version (no changes).
     * d/copyright: remove repeated License section.
     * d/patches: fix formatting.
   * Include examples in package.
Checksums-Sha1:
 d3a0d7e83f93be748ec29b3c2f4286d96278eea7 2452 golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc
 db026d03035c4001b798a85bf30a9c59309beb1d 128981 golang-github-bugsnag-bugsnag-go_2.5.1.orig.tar.gz
 eb417095dc93cc64927c6868a2de65016da4a1d6 4984 golang-github-bugsnag-bugsnag-go_2.5.1-1.debian.tar.xz
 1b0d15d9180a3a114cb2f1f84453363f662a28c0 7017 golang-github-bugsnag-bugsnag-go_2.5.1-1_amd64.buildinfo
Checksums-Sha256:
 117645d5e41b10c3fe2988e59fc3e1f35c0c7dce88adebbaa8cd431731f0dfae 2452 golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc
 2bc72de404561907a57d67fc27bb434fa8dea8c6907341aa38b7cca6a23caab4 128981 golang-github-bugsnag-bugsnag-go_2.5.1.orig.tar.gz
 bc7c0b05a4918e06cf5fe41b9a73bef8039f7a77a2d5f1ea1c9874e8501ae128 4984 golang-github-bugsnag-bugsnag-go_2.5.1-1.debian.tar.xz
 9785a508c7cdd1f4b0e235a5fbe87179fba658167c165ebebc4ee4f0ea7539ac 7017 golang-github-bugsnag-bugsnag-go_2.5.1-1_amd64.buildinfo
Files:
 5376bcbd5392cce115ecbe6a7c0c709a 2452 golang optional golang-github-bugsnag-bugsnag-go_2.5.1-1.dsc
 8b8762c58b25d46983c80fbb69c907c5 128981 golang optional golang-github-bugsnag-bugsnag-go_2.5.1.orig.tar.gz
 aa36b34581259484cf9c2a3c351b5b25 4984 golang optional golang-github-bugsnag-bugsnag-go_2.5.1-1.debian.tar.xz
 4efa6176f2bdba6066028be363ea90fe 7017 golang optional golang-github-bugsnag-bugsnag-go_2.5.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2qbv8cYn6hwmsaaSqiMPxF+MJ7EFAmfK/sIACgkQqiMPxF+M
J7HG/A//UgXEnam5YoyTzJUKc6tGOLZR5sgeYqKalrSrIfTePBz9JFxZP8dhY775
4UG0GKlH4fAwAT+niOdaRz1gdnGkrvwB6VdrJYyAQ+0XrNa6t2ag3vNYJQ+4LPGm
oN5bkbaCA3RMUGQmMj6SZOojWmdmekH2/WRbWcxJXAXDhbASPZqQ2DihQ25ccpJx
rtOhVxy7gvJQp8Ve/KBhkQovV6xEabt54XS92pJyUJWcF5KVNvGmEeHe7GMGIBnb
F8KbUdAhLJazVs0211Fr3y6HiZg/VWSzuKU3QCAyWQiYpcCW47K0ZJA0RTgevAGJ
1doQjWYj3piFxpB/1O9Sqzo8KeJUaMPTTwKoiDpeLNklZ66izL57PetSmxrFuQ0t
vCh4uzts1kzIXgovfBHQGRJC4LvUTJSX1gR2iC+YBBzCUViOTZYE6Mtgp8jaz4R8
n2Z6C+3QEjfKrp3Absg8u1Ele72fSQNBJmz/Ub/Ct2HYOgRPEkSV63u4QO+sAnoW
8ZQjopiY2fp804K9q0zsjV6fIsI8dyzFaO7zvjGxULZKjeFlT9ceU9IUG/UvmKGE
La/MeI/bwVMhHQRu2ovOoh925/L8LaREIe90fdPvVGh5fjI3T/oPh3iPFDPdCk7G
ieEVYtufIuT61AW0pFpTKKNEr8LLabEQLwR4kWiH5NwiW0r/l4Q=
=mk22
-----END PGP SIGNATURE-----