-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Discovery hangs in WSL #24795
Comments
thanks for the repro steps will take a look |
Seeing the same 2025-02-08 19:03:23.969 [info] ============================= test session starts ==============================
platform linux -- Python 3.11.10, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/myname/repos/myrepo
configfile: pyproject.toml
plugins: jaxtyping-0.2.37, cov-6.0.0, typeguard-4.4.1, anyio-4.2.0, hydra-core-1.3.2, mock-3.14.0 (Hung at this point.) If I copy the |
I was facing the same issue, I executed |
No, I clone exactly same repo to both WSL and Windows, without not modifying any code, workspace in WSL hangs but in Windows works. |
Same for me, this is a blocking issue on WSL2 that is definitely not releated to any failed tests. |
Hi! If you downgrade the python extension does this then work? Also what if you try it without any pytest plugins? I do not have a good way to repro on a WSL setup so sorry for having to ask yall to try things out. Thanks! |
Yes downgrading works |
can you send me your logs when downgraded? I am curious if the issue might be that you weren't on the rewrite experiment which we just made default in 2025.0. When downgrading you can add this to your logs to opt in and see if that breaks it since that helps narrow down where I should look. |
Type: Bug
Behaviour
Testing panel is always empty and log shows
Steps to reproduce:
Then open testing panel
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2025.0.0
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
python.languageServer
setting: PylanceUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: