Package Details: sentry-native 0.7.2-1

Git Clone URL: https://aur.archlinux.org/sentry-native.git (read-only, click to copy)
Package Base: sentry-native
Description: Sentry SDK for C, C++ and native applications
Upstream URL: https://github.com/getsentry/sentry-native
Licenses: MIT
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 3
Popularity: 0.46
First Submitted: 2023-11-21 08:27 (UTC)
Last Updated: 2024-04-03 15:48 (UTC)

Latest Comments

1 2 Next › Last »

betashaft commented on 2024-04-17 04:35 (UTC)

@carsme I'm not sure if you saw the issue being described by @testingwithfire

betashaft commented on 2024-04-16 03:55 (UTC)

I have the same issue as @testingwithfire. Not sure if there was source for the error or a way to fix it on my end.

Yamashiro commented on 2024-04-04 17:34 (UTC) (edited on 2024-04-04 19:36 (UTC) by Yamashiro)

This package is versioned but when updating (at least when using paru) the upgrades are always to the latest commit instead of version release. Shouldn't the sentry-native-git package be used for tracking commits instead versions?

testingwithfire commented on 2024-03-28 07:34 (UTC) (edited on 2024-03-28 07:39 (UTC) by testingwithfire)

Upgrade on Manjaro via yay fails this morning with this error:

==> Validating source files with sha256sums...
    sentry-native ... NOT FOUND
    libunwindstack-ndk ... Skipped
    breakpad ... Skipped
    linux-syscall-support ... Skipped
    crashpad ... Skipped
    mini_chromium ... Skipped
    zlib ... Skipped
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/xxx/.cache/yay/sentry-native 
     context: exit status 1

Cloning the git repo linked on this page and building from the PKGBUILD yields the same error.

cherkaba commented on 2024-03-24 15:15 (UTC)

@carsme now everything is going well after set kernel.yama.ptrace_scope = 1 instead of =2 && reinstal it

regards

carsme commented on 2024-03-24 12:45 (UTC)

@cherkaba Read through the issue and I don't fully understand why the tests fail on your machine. I'm also unable to reproduce the failures. If those tests fail for some environment configurations I can skip them, is that what you suggest?

cherkaba commented on 2024-03-24 12:39 (UTC)

me too i've experienced same errors as @periode.

i've posted on the sentry-native github repo: hier for more details

periode commented on 2024-03-12 15:17 (UTC)

The latest version of sentry (required by protonmail-bridge) fails with the following errors:

=========================================================================================================== short test summary info ===========================================================================================================
FAILED tests/test_integration_crashpad.py::test_crashpad_reinstall - AssertionError: Wait timeout occurred, but some handlers left:
FAILED tests/test_integration_crashpad.py::test_crashpad_dumping_crash[run_args0] - AssertionError: Wait timeout occurred, but some handlers left:
FAILED tests/test_integration_crashpad.py::test_crashpad_dumping_crash[run_args1] - AssertionError: Wait timeout occurred, but some handlers left:
FAILED tests/test_integration_crashpad.py::test_crashpad_dumping_crash[run_args2] - AssertionError: Wait timeout occurred, but some handlers left:
FAILED tests/test_integration_crashpad.py::test_crashpad_non_dumping_crash[run_args0] - assert 0 == 1
FAILED tests/test_integration_crashpad.py::test_crashpad_dump_inflight - AssertionError: Wait timeout occurred, but some handlers left:
FAILED tests/test_integration_http.py::test_capture_http - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_http.py::test_inproc_crash_http - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}                   
FAILED tests/test_integration_http.py::test_breakpad_crash_http - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_http.py::test_shutdown_timeout - assert 0 == 10
FAILED tests/test_integration_http.py::test_transaction_only - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_capture_stdout - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}                                                                                         
FAILED tests/test_integration_stdout.py::test_dynamic_sdk_name_override - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_sdk_name_override - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'cUs...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_inproc_crash_stdout - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_inproc_crash_stdout_before_send - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_inproc_crash_stdout_before_send_and_on_crash - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_breakpad_crash_stdout - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_breakpad_crash_stdout_before_send - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
FAILED tests/test_integration_stdout.py::test_breakpad_crash_stdout_before_send_and_on_crash - AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
============================================================================================ 20 failed, 292 passed, 7 skipped in 723.30s (0:12:03) ============================================================================================

looks like it's due to:


cmake = <bound method CMake.compile of <tests.cmake.CMake object at 0x781118da5bd0>>

    @pytest.mark.skipif(not has_breakpad, reason="test needs breakpad backend")
    def test_breakpad_crash_stdout_before_send(cmake):
        tmp_path, output = run_crash_stdout_for("breakpad", cmake, ["before-send"])

        envelope = Envelope.deserialize(output)

        assert_crash_timestamp(has_files, tmp_path)
>       assert_meta(envelope, integration="breakpad")

tests/test_integration_stdout.py:222: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:105: in assert_meta
    assert_matches(event["sdk"], expected_sdk)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

actual = {'integrations': ['breakpad'], 'name': 'sentry.native', 'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.6.7'}], 'version': '0.6.7'}
expected = {'name': 'sentry.native', 'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.7.0'}], 'version': '0.7.0'}

    def assert_matches(actual, expected):
        """Assert two objects for equality, ignoring extra keys in ``actual``."""
>       assert {k: v for (k, v) in actual.items() if k in expected.keys()} == expected
E       AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
E         Omitting 1 identical items, use -vv to show
E         Differing items:
E         {'version': '0.6.7'} != {'version': '0.7.0'}
E         {'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.6.7'}]} != {'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.7.0'}]}
E         Use -v to get more diff

tests/assertions.py:22: AssertionError
_____________________________________________________________________________________________ test_breakpad_crash_stdout_before_send_and_on_crash _____________________________________________________________________________________________
cmake = <bound method CMake.compile of <tests.cmake.CMake object at 0x781118da5bd0>>                                                                                                                                                           

    @pytest.mark.skipif(not has_breakpad, reason="test needs breakpad backend")                                                                                                                                                                
    def test_breakpad_crash_stdout_before_send_and_on_crash(cmake):                                                                                                                                                                            
        tmp_path, output = run_crash_stdout_for(                                                                                                                                                                                               
            "breakpad", cmake, ["before-send", "on-crash"]                                                                                                                                                                                     
        )                                                                                                                                                                                                                                      

        # the on_crash() hook retains the event                                                                                                                                                                                                
        envelope = Envelope.deserialize(output)                                                                                                                                                                                                
        # but we expect no event modification from before_send() since setting on_crash() disables before_send()                                                                                                                               
        assert_no_before_send(envelope)

        assert_crash_timestamp(has_files, tmp_path)
>       assert_meta(envelope, integration="breakpad")

tests/test_integration_stdout.py:252: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:105: in assert_meta
    assert_matches(event["sdk"], expected_sdk)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

actual = {'integrations': ['breakpad'], 'name': 'sentry.native', 'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.6.7'}], 'version': '0.6.7'}
expected = {'name': 'sentry.native', 'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.7.0'}], 'version': '0.7.0'}

    def assert_matches(actual, expected):
        """Assert two objects for equality, ignoring extra keys in ``actual``."""
>       assert {k: v for (k, v) in actual.items() if k in expected.keys()} == expected
E       AssertionError: assert {'name': 'sen...ion': '0.6.7'} == {'name': 'sen...ion': '0.7.0'}
E         Omitting 1 identical items, use -vv to show
E         Differing items:
E         {'version': '0.6.7'} != {'version': '0.7.0'}
E         {'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.6.7'}]} != {'packages': [{'name': 'github:getsentry/sentry-native', 'version': '0.7.0'}]}
E         Use -v to get more diff

tests/assertions.py:22: AssertionError


max2000warlord commented on 2024-01-11 06:42 (UTC) (edited on 2024-01-11 07:28 (UTC) by max2000warlord)

Yes. With Yay, Paru and installing by git clone.

carsme commented on 2024-01-10 15:11 (UTC)

@max2000warlord, Do you experience the same issue with 0.7.0-1?