Skip to content

Add tests for @ai_track decorator #3325

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Add tests for @ai_track decorator #3325

merged 1 commit into from
Jul 23, 2024

Conversation

colin-sentry
Copy link
Contributor

No description provided.

@colin-sentry colin-sentry requested a review from antonpirker July 22, 2024 19:44
Copy link

codecov bot commented Jul 22, 2024

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 12273 tests with 11 failed, 10646 passed and 1616 skipped.

View the full list of failed tests

py3.12-grpc-latest

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:270: in test_grpc_client_and_servers_interceptors_integration
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:230: in test_grpc_client_other_interceptor
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:151: in test_grpc_client_starts_span
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:186: in test_grpc_client_unary_stream_starts_span
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:106: in test_grpc_server_continues_transaction
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:79: in test_grpc_server_other_interceptors
    server = _set_up(interceptors=[mock_interceptor])
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:48: in test_grpc_server_starts_transaction
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:326: in test_span_origin
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_stream_stream

    .../integrations/grpc/test_grpc.py:293: in test_stream_stream
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_stream_unary

    .../integrations/grpc/test_grpc.py:311: in test_stream_unary
    server = _set_up()
    .../integrations/grpc/test_grpc.py:33: in _set_up
    server.add_insecure_port("[::]:{}".format(PORT))
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_server.py:1473: in add_insecure_port
    return _common.validate_port_binding_result(
    .tox/py3.12-grpc-latest/lib/python3.12.../site-packages/grpc/_common.py:181: in validate_port_binding_result
    raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address)
    E RuntimeError: Failed to bind to address [::]:50144; set GRPC_VERBOSITY=debug environment variable to see detailed error message.

py3.7-falcon-v1

  • Class name: pytest
    Test name: internal

    No failure message available

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

@antonpirker antonpirker merged commit c81c175 into master Jul 23, 2024
121 checks passed
@antonpirker antonpirker deleted the decorator_test branch July 23, 2024 07:08
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants