databricks-vscode icon indicating copy to clipboard operation
databricks-vscode copied to clipboard

[BUG] stdout logs not appearing during databricks launch runs

Open rwpurvis opened this issue 6 months ago • 1 comments

Describe the bug

When running tests via the vscode debug functionality per the tutorial, the logs do not appear in the debug console. I am able to see the logs on the Driver logs page in the UI.

To Reproduce Steps to reproduce the behavior:

  1. Add a pytest runner script and launch.json configuration
  2. Run Unit Tests (on Databricks)
  3. Observe output with missing logs in Debug Console

Example output (anonymized):

8/22/2024, 3:24:37 PM - Creating execution context on cluster <cluster ID> ...
8/22/2024, 3:24:42 PM - Synchronizing code to <directory> ...
8/22/2024, 3:24:42 PM - Running <directory>\pytest_databricks.py ...


8/22/2024, 3:26:56 PM - Done (took 138949ms)

Previously, pytest logs appeared here.

Screenshots

See above output

System information:

  1. Paste the output ot the Help: About command (CMD-Shift-P).
Version: 1.85.2 (user setup)
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
  1. Databricks Extension Version Tried with v2.3.2 and v1.3.1

Databricks Extension Logs Please attach the databricks extension logs

Additional context Add any other context about the problem here.

rwpurvis avatar Aug 22 '24 22:08 rwpurvis