You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/gridusr/.vscode-server-insiders/extensions/ms-python.python-2024.15.2024092502-linux-x64/python_files/unittestadapter/execution.py", line 274, in execute_eot_and_cleanup
send_post_request(eot_payload, test_run_pipe)
File "/home/gridusr/.vscode-server-insiders/extensions/ms-python.python-2024.15.2024092502-linux-x64/python_files/unittestadapter/pvsc_utils.py", line 335, in send_post_request
raise VSCodeUnittestError(error_msg)
unittestadapter.pvsc_utils.VSCodeUnittestError: UNITTEST ERROR: TEST_RUN_PIPE is not set at the time of unittest trying to send data. Please confirm this environment variable is not being changed or removed as it is required for successful test discovery and execution.TEST_RUN_PIPE =
Steps to reproduce:
Connect to remote docker container over ssh / tunnel
Configure test settings, in this case unittest
Test Discovery reports error. But tests discover, using django and unittest
Run tests with converage. Tests succeed but then trigger failure as coverage can't be evaluated due to connection failure for TEST_RUN_PIPE =(or so it appears)
Extension version: 2024.15.2024092502
VS Code version: Code - Insiders 1.94.0-insider (Universal) (c43f508, 2024-09-26T05:04:07.935Z)
OS version: Darwin arm64 23.6.0
Modes:
Remote OS version: Linux x64 5.14.0-427.33.1.el9_4.x86_64
Python version (& distribution if applicable, e.g. Anaconda): 3.12.5
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
Hi! This is a known error we are having where there is an issue sending a message even when everything else works right. We are fixing this as part of #23279. If the error is all you are seeing (and not any behavior issue with the extension) then I can follow back up when make the change- thanks!!
Well I was trying the test the new coverage output from tests and as far as I can tell this was the reason that coverage could not be communicated. If this is not a real error, I will have to look more.
Are you on the most recent version of the python pre-release? Could you check to see if you get Coverage data received. in your python output logs? You will need to set your log level to verbose which you can do by calling the command from the command palette "developer set log level" and rerunning the coverage request. Thanks
I am on the latest python prerelease and insiders. But I do not get the coverage data received. But seems like this is more an issue with the Django testing so I can close this here
Type: Bug
Behaviour
Steps to reproduce:
Extension version: 2024.15.2024092502
VS Code version: Code - Insiders 1.94.0-insider (Universal) (c43f508, 2024-09-26T05:04:07.935Z)
OS version: Darwin arm64 23.6.0
Modes:
Remote OS version: Linux x64 5.14.0-427.33.1.el9_4.x86_64
python.languageServer
setting: DefaultUser 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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: