prefect icon indicating copy to clipboard operation
prefect copied to clipboard

prefect-dbt tests fail with no code changes

Open discdiver opened this issue 1 year ago • 1 comments

First check

  • [X] I added a descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I searched the Prefect documentation for this issue.
  • [X] I checked that this issue is related to Prefect and not one of its dependencies.

Bug summary

Inconsequential update to prefect-dbt docstring leads to prefect-dbt tests which fail with and internal server error. All other tests pass.

Checks: https://github.com/PrefectHQ/prefect/actions/runs/9650208517/job/26616443415?pr=14292

Reproduction

Checks: https://github.com/PrefectHQ/prefect/actions/runs/9650208517/job/26616443415?pr=14292

Error

File "/home/runner/work/prefect/prefect/src/prefect/server/api/server.py", line 253, in custom_internal_exception_handler
    logger.error("Encountered exception in request:", exc_info=True)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1475, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1589, in _log
    self.handle(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1599, in handle
    self.callHandlers(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
    hdlr.handle(record)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 952, in handle
    self.emit(record)
  File "/home/runner/work/prefect/prefect/src/prefect/logging/handlers.py", line 284, in emit
    self.handleError(record)
Message: 'Encountered exception in request:'
Arguments: ()
--- Error logging to API ---
Server error '500 Internal Server Error' for url 'http://ephemeral-prefect/api/logs/'
Response: {'exception_message': 'Internal Server Error'}


### Versions

Current test suite.



### Additional context

_No response_

discdiver avatar Jun 24 '24 18:06 discdiver

#14292 is the scene of the crime

discdiver avatar Jun 24 '24 18:06 discdiver