getsentry / sentry-python

The official Python SDK for Sentry.io
https://sentry.io/for/python/
MIT License
1.93k stars 509 forks source link

test #3769

Closed antonpirker closed 1 day ago

antonpirker commented 1 week ago

Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.

codecov[bot] commented 1 week ago

:x: 4 Tests Failed:

Tests completed Failed Passed Skipped
13630 4 13626 4118
View the full list of 3 :snowflake: flaky tests > > ```python > tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.9-\n [\n {\n "headers": {\n "Host": "x1.io",\n "X-Forwarded-Proto": "https"\n },\n "httpMethod": "GET",\n "path": "/path1",\n "queryStringParameters": {\n "done": "false"\n },\n "dog": "Maisey"\n },\n {\n "headers": {\n "Host": "x2.io",\n "X-Forwarded-Proto": "http"\n },\n "httpMethod": "POST",\n "path": "/path2",\n "queryStringParameters": {\n "done": "true"\n },\n "dog": "Charlie"\n }\n ]\n -True-2] > ``` > > **Flake rate in main:** 37.93% (Passed 18 times, Failed 11 times) >
Stack Traces | 0.736s run time > > > > > ```python > > .../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event > > ( > > E ValueError: not enough values to unpack (expected 2, got 1) > > ``` > >
tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.11-\n            [\n                {\n                    "headers": {\n                        "Host": "x1.io",\n                        "X-Forwarded-Proto": "https"\n                    },\n                    "httpMethod": "GET",\n                    "path": "/path1",\n                    "queryStringParameters": {\n                        "done": "false"\n                    },\n                    "dog": "Maisey"\n                },\n                {\n                    "headers": {\n                        "Host": "x2.io",\n                        "X-Forwarded-Proto": "http"\n                    },\n                    "httpMethod": "POST",\n                    "path": "/path2",\n                    "queryStringParameters": {\n                        "done": "true"\n                    },\n                    "dog": "Charlie"\n                }\n            ]\n            -True-2]

Flake rate in main: 44.44% (Passed 10 times, Failed 8 times)

Stack Traces | 0.757s run time > > ```python > .../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event > ( > E ValueError: not enough values to unpack (expected 2, got 1) > ```
tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.8-\n            [\n                {\n                    "headers": {\n                        "Host": "x1.io",\n                        "X-Forwarded-Proto": "https"\n                    },\n                    "httpMethod": "GET",\n                    "path": "/path1",\n                    "queryStringParameters": {\n                        "done": "false"\n                    },\n                    "dog": "Maisey"\n                },\n                {\n                    "headers": {\n                        "Host": "x2.io",\n                        "X-Forwarded-Proto": "http"\n                    },\n                    "httpMethod": "POST",\n                    "path": "/path2",\n                    "queryStringParameters": {\n                        "done": "true"\n                    },\n                    "dog": "Charlie"\n                }\n            ]\n            -True-2]

Flake rate in main: 40.48% (Passed 25 times, Failed 17 times)

Stack Traces | 0.777s run time > > ```python > .../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event > ( > E ValueError: not enough values to unpack (expected 2, got 1) > ```

To view more test analytics, go to the Test Analytics Dashboard Got feedback? Let us know on Github