Browse Source

test(symbolicator): Update snapshots from symbolicator#325 (#22913)

Jan Michael Auer 4 years ago
parent
commit
a85a5550fe

+ 2 - 22
tests/symbolicator/snapshots/SymbolicatorMinidumpIntegrationTest/test_missing_dsym.pysnap

@@ -1,5 +1,5 @@
 ---
-created: '2020-11-17T16:59:27.215679Z'
+created: '2021-01-05T09:42:10.564022Z'
 creator: sentry
 source: tests/symbolicator/test_minidump_full.py
 ---
@@ -31,7 +31,7 @@ debug_meta:
     code_id: 57898e12145000
     debug_file: dbghelp.pdb
     debug_id: 9c2a902b-6fdf-40ad-8308-588a41d572a0-1
-    debug_status: missing
+    debug_status: unused
     features:
       has_debug_info: false
       has_sources: false
@@ -325,16 +325,6 @@ exception:
         package: C:\Windows\System32\rpcrt4.dll
         symbol: null
         trust: scan
-      - data:
-          orig_in_app: -1
-          symbolicator_status: missing
-        function: null
-        in_app: false
-        instruction_addr: '0x75810000'
-        lineno: null
-        package: C:\Windows\System32\rpcrt4.dll
-        symbol: null
-        trust: scan
       - data:
           orig_in_app: -1
           symbolicator_status: missing
@@ -345,16 +335,6 @@ exception:
         package: C:\Windows\System32\dbgcore.dll
         symbol: null
         trust: scan
-      - data:
-          orig_in_app: -1
-          symbolicator_status: missing
-        function: null
-        in_app: false
-        instruction_addr: '0x70850000'
-        lineno: null
-        package: C:\Windows\System32\dbghelp.dll
-        symbol: null
-        trust: scan
       - data:
           orig_in_app: -1
           symbolicator_status: missing

+ 2 - 22
tests/symbolicator/snapshots/SymbolicatorMinidumpIntegrationTest/test_reprocessing_initial.pysnap

@@ -1,5 +1,5 @@
 ---
-created: '2020-11-17T16:59:32.679679Z'
+created: '2021-01-05T09:42:17.220118Z'
 creator: sentry
 source: tests/symbolicator/test_minidump_full.py
 ---
@@ -31,7 +31,7 @@ debug_meta:
     code_id: 57898e12145000
     debug_file: dbghelp.pdb
     debug_id: 9c2a902b-6fdf-40ad-8308-588a41d572a0-1
-    debug_status: missing
+    debug_status: unused
     features:
       has_debug_info: false
       has_sources: false
@@ -325,16 +325,6 @@ exception:
         package: C:\Windows\System32\rpcrt4.dll
         symbol: null
         trust: scan
-      - data:
-          orig_in_app: -1
-          symbolicator_status: missing
-        function: null
-        in_app: false
-        instruction_addr: '0x75810000'
-        lineno: null
-        package: C:\Windows\System32\rpcrt4.dll
-        symbol: null
-        trust: scan
       - data:
           orig_in_app: -1
           symbolicator_status: missing
@@ -345,16 +335,6 @@ exception:
         package: C:\Windows\System32\dbgcore.dll
         symbol: null
         trust: scan
-      - data:
-          orig_in_app: -1
-          symbolicator_status: missing
-        function: null
-        in_app: false
-        instruction_addr: '0x70850000'
-        lineno: null
-        package: C:\Windows\System32\dbghelp.dll
-        symbol: null
-        trust: scan
       - data:
           orig_in_app: -1
           symbolicator_status: missing

+ 1 - 1
tests/symbolicator/snapshots/SymbolicatorMinidumpIntegrationTest/test_reprocessing_reprocessed.pysnap

@@ -1,5 +1,5 @@
 ---
-created: '2020-11-17T17:07:25.663438Z'
+created: '2021-01-05T10:23:58.428788Z'
 creator: sentry
 source: tests/symbolicator/test_minidump_full.py
 ---

+ 1 - 8
tests/symbolicator/snapshots/SymbolicatorUnrealIntegrationTest/test_unreal_crash_with_attachments.pysnap

@@ -1,5 +1,5 @@
 ---
-created: '2020-10-31T11:13:16.442847Z'
+created: '2021-01-05T09:42:55.087777Z'
 creator: sentry
 source: tests/symbolicator/test_unreal_full.py
 ---
@@ -2245,13 +2245,6 @@ threads:
         instruction_addr: '0x7ffe100d305b'
         package: C:\Windows\System32\ntdll.dll
         trust: scan
-      - data:
-          orig_in_app: -1
-          symbolicator_status: missing
-        in_app: false
-        instruction_addr: '0x7ffe10060000'
-        package: C:\Windows\System32\ntdll.dll
-        trust: scan
       - data:
           orig_in_app: -1
           symbolicator_status: missing

+ 1 - 1
tests/symbolicator/test_payload_full.py

@@ -119,7 +119,7 @@ class SymbolicatorResolvingIntegrationTest(RelayStoreHelper, TransactionTestCase
         )
 
         path = get_fixture_path("windows.sym")
-        with open(path) as f:
+        with open(path, "rb") as f:
             file.putfile(f)
 
         ProjectDebugFile.objects.create(