Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing DebugImage running on Mono in CI #3823

Open
jamescrosswell opened this issue Dec 4, 2024 · 0 comments
Open

Missing DebugImage running on Mono in CI #3823

jamescrosswell opened this issue Dec 4, 2024 · 0 comments
Labels
Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance

Comments

@jamescrosswell
Copy link
Collaborator

After bumping Verify.Xunit from version 22.11.4 to version 26.6.0 the Sentry.NLog.Tests.IntegrationTests.Simple verification fails when run on Mono in CI.

See:

That change results in a missing a debug image in test/Sentry.NLog.Tests/IntegrationTests.Simple.Mono4_0.verified.txt.

Oddly the debug image is only missing in CI. When I run this test on my Mac locally, it passes.

Here's the diff on CI when running this test on macos-15 (arm64) and ubuntu (x64)

              SentryExceptions: [
                {
                  Type: System.Exception,
                  Value: Exception message,
                  Stacktrace: {
                    Frames: [
                      {
                        FileName: ,
                        Function: Task IntegrationTests.Simple(),
                        Module: null,
                        LineNumber: null,
                        ColumnNumber: null,
                        AbsolutePath: null,
                        ContextLine: null,
                        InApp: false,
                        Package: Sentry.NLog.Tests, Version=SCRUBBED, Culture=SCRUBBED, PublicKeyToken=SCRUBBED,
                        Platform: null,
                        ImageAddress: null,
                        SymbolAddress: null,
                        InstructionAddress: 2,
-                       AddressMode: rel:0,
-                       FunctionId: 1
+                       AddressMode: null,
+                       FunctionId: null
                      }
                    ]
                  },
                  Mechanism: {
                    Type: generic,
                    Handled: true,
                    Synthetic: false,
                    IsExceptionGroup: false
-                 }
                  }
-             ],
-             DebugImages: [
-               {
-                 Type: pe_dotnet,
-                 ImageAddress: null,
-                 ImageSize: null,
-                 DebugId: ________-____-____-____-____________-________,
-                 DebugChecksum: ______:________________________________________________________________,
-                 DebugFile: .../Sentry.NLog.Tests.pdb,
-                 CodeId: ______________,
-                 CodeFile: .../Sentry.NLog.Tests.dll
                }
              ],
@jamescrosswell jamescrosswell added Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance
Projects
Status: No status
Development

No branches or pull requests

1 participant