Skip to content
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

Python test discovery blocks extension host #24609

Closed
shicaiv opened this issue Dec 16, 2024 · 1 comment
Closed

Python test discovery blocks extension host #24609

shicaiv opened this issue Dec 16, 2024 · 1 comment
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@shicaiv
Copy link

shicaiv commented Dec 16, 2024

Type: Bug

Behaviour

After opening test explorer, discovery of python tests starts and blocks all other extensions

Steps to reproduce:

  1. Just open text explorer and all other extensions will block

Image

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

After runnin bisect on extensions, Python extension was marked as the issue.
Downgrading python extension to 2024.20.0 solves the issue. 

2024-12-16 16:38:13.714 [info] Discover tests for workspace name: Embdded Top folder - uri: /mnt/data/workspaces/vljub/repos/embedded
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: python-iot-common - uri: /mnt/data/workspaces/vljub/repos/embedded/python-iot-common
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: renson-buildroot - uri: /mnt/data/workspaces/vljub/repos/embedded/renson-buildroot
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: embedded-shared - uri: /mnt/data/workspaces/vljub/repos/embedded/embedded-shared
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: rebus-commander - uri: /mnt/data/workspaces/vljub/repos/embedded/rebus-commander
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: azure_devops_ci - uri: /mnt/data/workspaces/vljub/repos/embedded/azure_devops_ci
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: docker_ci - uri: /mnt/data/workspaces/vljub/repos/embedded/docker_ci
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: doc - uri: /mnt/data/workspaces/vljub/repos/embedded/doc
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: manufacturing_backend - uri: /mnt/data/workspaces/vljub/repos/embedded/manufacturing_backend
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: reverse_tunnel - uri: /mnt/data/workspaces/vljub/repos/embedded/reverse_tunnel
2024-12-16 16:38:13.714 [info] Discover tests for workspace name: Renson.Updater - uri: /mnt/data/workspaces/vljub/repos/embedded/renson_core/utils/Renson.Updater
2024-12-16 16:38:13.718 [info] Discover tests for workspace name: iot-common - uri: /mnt/data/workspaces/vljub/repos/embedded/iot-common

Extension version: 2024.23.2024121301
VS Code version: Code - Insiders 1.97.0-insider (ce50bd4876af457f64d83cfd956bc916535285f4, 2024-12-16T05:04:30.005Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.0-126-generic

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Default
User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

testing
• cwd: "<placeholder>"
• pytestArgs: "<placeholder>"
• pytestEnabled: true

Installed Extensions
Extension Name Extension Id Version
.NET Install Tool ms-dotnettools.vscode-dotnet-runtime 2.2.3
Azure Pipelines ms-azure-devops.azure-pipelines 1.249.0
Black Formatter ms-python.black-formatter 2024.4.0
C/C++ ms-vscode.cpptools 1.22.11
C# ms-dotnettools.csharp 2.55.29
C# Dev Kit ms-dotnettools.csdevkit 1.14.14
C++ TestMate matepek.vscode-catch2-test-adapter 4.12.2
Clang-Format xaver.clang-format 1.9.0
Clipboard Ring SirTobi.code-clip-ring 0.4.0
CMake twxs.cmake 0.0.17
CMake Tools ms-vscode.cmake-tools 1.19.52
cmake-format cheshirekow.cmake-format 0.6.11
Code Spell Checker streetsidesoftware.code-spell-checker 4.0.21
Coverage Gutters ryanluker.vscode-coverage-gutters 2.12.0
Dependi fill-labs.dependi 0.7.13
Docker ms-azuretools.vscode-docker 1.29.3
Esbonio swyddfa.esbonio 0.11.0
Gcov Viewer JacquesLucke.gcov-viewer 0.6.0
Git Blame waderyan.gitblame 11.1.1
Git Graph mhutchie.git-graph 1.30.0
Git History donjayamanne.githistory 0.6.20
Git Merger shaharkazaz.git-merger 0.4.1
Git Prefix srmeyers.git-prefix 1.3.2
gitignore codezombiech.gitignore 0.9.0
GitLens — Git supercharged eamodio.gitlens 16.0.5
JavaScript Debugger ms-vscode.js-debug 1.96.0
Live Preview ms-vscode.live-server 0.4.15
Markdown All in One yzhang.markdown-all-in-one 3.6.2
Markdown Preview Enhanced shd101wyy.markdown-preview-enhanced 0.8.15
markdownlint DavidAnson.vscode-markdownlint 0.57.0
OpenAPI (Swagger) Editor 42Crunch.vscode-openapi 4.30.1
Output Colorizer IBM.output-colorizer 0.1.2
Partial Diff ryu1kn.partial-diff 1.4.3
PlantUML jebbs.plantuml 2.18.1
Pylance ms-python.vscode-pylance 2024.12.1
Pylint ms-python.pylint 2024.0.0
pytest-fixtures nickmillerdev.pytest-fixtures 0.3.3
Python ms-python.python 2024.22.0
Python Debugger ms-python.debugpy 2024.14.0
Resource Monitor mutantdino.resourcemonitor 1.0.7
rust-analyzer rust-lang.rust-analyzer 0.3.2220
Shell Syntax bmalehorn.shell-syntax 1.0.5
SonarQube for IDE SonarSource.sonarlint-vscode 4.13.2
Table Visualizer for JavaScript Profiles ms-vscode.vscode-js-profile-table 1.0.10
Tasks Shell Input augustocdias.tasks-shell-input 1.13.1
Test Adapter Converter ms-vscode.test-adapter-converter 0.2.1
Test Explorer UI hbenl.vscode-test-explorer 2.22.1
vscode-proto3 zxh404.vscode-proto3 0.5.5
XML redhat.vscode-xml 0.27.2
YAML redhat.vscode-yaml 1.15.0
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-1370P (20 x 2189)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 31.66GB (15.70GB free)
Process Argv --file-uri vscode-remote://dev-container%2B7b22686f737450617468223a222f6d6e742f646174612f776f726b7370616365732f766c6a75622f7265706f732f656d6265646465642f656d6265646465642e636f64652d776f726b7370616365222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f6d6e742f646174612f776f726b7370616365732f766c6a75622f7265706f732f656d6265646465642f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Bdev-build3/mnt/data/workspaces/vljub/repos/embedded/embedded.code-workspace --crash-reporter-id 59522af0-53f3-4f1d-9b0e-a8bbfd42b9d4
Screen Reader no
VM 0%
Item Value
Remote Dev Container: Embedded @ dev-build3
OS Linux x64 5.15.0-126-generic
CPUs Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (11 x 0)
Memory (System) 31.34GB (16.07GB free)
VM 25%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
962ge761:30841072
pythonnoceb:30776497
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
pythonait:30973460
dvdeprecation:31040973
dwnewjupyter:31046869
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
cf971741:31144450
e80f6927:31120813
iacca1:31150324
notype1:31143044
dwcopilot:31158714
h409b430:31177054
3d9ag387:31183121
5b1c1929:31184661
6074i472:31201624

I think this is related to issue #24604

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 16, 2024
@karthiknadig
Copy link
Member

Duplicate #24604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants