Skip to content

fix: Update symbolicator snapshots #12710

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

Merged
merged 10 commits into from
Apr 15, 2019
10 changes: 8 additions & 2 deletions src/sentry/lang/native/symbolicator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import absolute_import

import sys
import jsonschema
import logging
import six
Expand Down Expand Up @@ -104,8 +105,13 @@ def get_internal_source(project):
"""
Returns the source configuration for a Sentry project.
"""
internal_url_prefix = options.get('system.internal-url-prefix') \
or options.get('system.url-prefix')
internal_url_prefix = options.get('system.internal-url-prefix')
if not internal_url_prefix:
internal_url_prefix = options.get('system.url-prefix')
if sys.platform == 'darwin':
internal_url_prefix = internal_url_prefix \
.replace("localhost", "host.docker.internal") \
.replace("127.0.0.1", "host.docker.internal")

assert internal_url_prefix
sentry_source_url = '%s%s' % (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2019-04-02T14:12:16.040240Z'
created: '2019-04-15T09:43:14.321187Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
Expand All @@ -12,7 +12,6 @@ contexts:
name: Windows
type: os
version: 10.0.14393
culprit: main
debug_meta:
images:
- code_file: C:\projects\breakpad-tools\windows\Release\crash.exe
Expand Down Expand Up @@ -40,36 +39,5 @@ exception:
thread_id: 1636
type: EXCEPTION_ACCESS_VIOLATION_WRITE
value: 'Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- ffe48bfc93b1bf86ffb750d5d2bdc51a
level: error
location: main.cpp
logger: ''
metadata:
filename: main.cpp
function: main
type: EXCEPTION_ACCESS_VIOLATION_WRITE
value: 'Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
platform: native
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
- - os
- Windows 10.0.14393
- - os.name
- Windows
title: 'EXCEPTION_ACCESS_VIOLATION_WRITE: Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
created: '2019-04-02T14:12:16.775814Z'
created: '2019-04-15T09:43:15.116901Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
culprit: unknown
contexts: null
debug_meta:
images:
- arch: x86_64
Expand All @@ -18,12 +18,6 @@ debug_meta:
version_major: 10
version_minor: 12
version_patchlevel: 4
errors:
- image_arch: x86_64
image_path: Foo.app/Contents/Foo
image_uuid: 502fc0a5-1ec1-3e47-9998-684fa139dca7
message: None
type: native_missing_dsym
exception:
values:
- raw_stacktrace:
Expand All @@ -37,41 +31,5 @@ exception:
- *id001
type: Fail
value: fail
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- efca000ff6704f25e5434e9ed7eff02f
level: error
location: null
logger: ''
metadata:
type: Fail
value: fail
platform: cocoa
processing_issues:
native:dsym:502fc0a5-1ec1-3e47-9998-684fa139dca7:
data:
image_arch: x86_64
image_path: Foo.app/Contents/Foo
image_uuid: 502fc0a5-1ec1-3e47-9998-684fa139dca7
message: None
type: native_missing_dsym
object: dsym:502fc0a5-1ec1-3e47-9998-684fa139dca7
scope: native
type: native_missing_dsym
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
title: 'Fail: fail'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
created: '2019-04-02T14:12:17.205926Z'
created: '2019-04-15T09:43:15.764548Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
culprit: main
contexts: null
debug_meta:
images:
- arch: x86_64
Expand Down Expand Up @@ -36,32 +36,5 @@ exception:
package: Foo.app/Contents/Foo
type: Fail
value: fail
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- 6e2889ec15f82569f56fdba9ffc9b90b
level: error
location: hello.c
logger: ''
metadata:
filename: hello.c
function: main
type: Fail
value: fail
platform: cocoa
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
title: 'Fail: fail'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2019-04-08T15:19:10.243455Z'
created: '2019-04-15T11:04:01.534478Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
Expand All @@ -12,7 +12,6 @@ contexts:
name: Windows
type: os
version: 10.0.14393
culprit: main
debug_meta:
images:
- arch: x86
Expand All @@ -21,6 +20,7 @@ debug_meta:
image_addr: '0x2a0000'
image_size: 36864
type: symbolic
errors: null
exception:
values:
- raw_stacktrace:
Expand All @@ -42,36 +42,5 @@ exception:
thread_id: 1636
type: EXCEPTION_ACCESS_VIOLATION_WRITE
value: 'Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- ffe48bfc93b1bf86ffb750d5d2bdc51a
level: error
location: main.cpp
logger: ''
metadata:
filename: main.cpp
function: main
type: EXCEPTION_ACCESS_VIOLATION_WRITE
value: 'Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
platform: native
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
- - os
- Windows 10.0.14393
- - os.name
- Windows
title: 'EXCEPTION_ACCESS_VIOLATION_WRITE: Fatal Error: EXCEPTION_ACCESS_VIOLATION_WRITE'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
created: '2019-04-08T15:19:12.541376Z'
created: '2019-04-15T11:04:03.933068Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
culprit: unknown
contexts: null
debug_meta:
images:
- arch: x86_64
Expand Down Expand Up @@ -38,41 +38,5 @@ exception:
instruction_addr: '0x100000fa0'
type: Fail
value: fail
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- efca000ff6704f25e5434e9ed7eff02f
level: error
location: null
logger: ''
metadata:
type: Fail
value: fail
platform: cocoa
processing_issues:
native:dsym:502fc0a5-1ec1-3e47-9998-684fa139dca7:
data:
image_arch: x86_64
image_path: Foo.app/Contents/Foo
image_uuid: 502fc0a5-1ec1-3e47-9998-684fa139dca7
message: None
type: native_missing_dsym
object: dsym:502fc0a5-1ec1-3e47-9998-684fa139dca7
scope: native
type: native_missing_dsym
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
title: 'Fail: fail'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
created: '2019-04-08T15:19:14.494425Z'
created: '2019-04-15T11:04:06.116525Z'
creator: sentry
source: tests/symbolicator/test_native_plugin.py
---
culprit: main
contexts: null
debug_meta:
images:
- arch: x86_64
Expand All @@ -18,6 +18,7 @@ debug_meta:
version_major: 10
version_minor: 12
version_patchlevel: 4
errors: null
exception:
values:
- raw_stacktrace:
Expand All @@ -37,32 +38,5 @@ exception:
symbol: main
type: Fail
value: fail
fingerprint:
- '{{ default }}'
grouping_config:
id: legacy:2019-03-12
hashes:
- 6e2889ec15f82569f56fdba9ffc9b90b
level: error
location: hello.c
logger: ''
metadata:
filename: hello.c
function: main
type: Fail
value: fail
platform: cocoa
sdk:
name: _postWithHeader
version: 0.0.0
tags:
- - level
- error
- - sentry:user
- ip:127.0.0.1
title: 'Fail: fail'
type: error
use_rust_normalize: true
user:
ip_address: 127.0.0.1
version: '6'
stacktrace: null
threads: null
Loading