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

Debug console: TEST_UUID and/or TEST_PORT are not set at the time of pytest starting #22447

Closed
tekumara opened this issue Nov 8, 2023 · 5 comments
Assignees
Labels
area-testing info-needed Issue requires more information from poster

Comments

@tekumara
Copy link

tekumara commented Nov 8, 2023

Type: Bug

When debugging a test the debug console shows:

CLIENT: Server listening on port 55848...
Received JSON data in run script
PYTEST ERROR: TEST_UUID and/or TEST_PORT are not set at the time of pytest starting. Please confirm these environment variables are not being changed or removed as they are required for successful test discovery and execution. 
TEST_UUID = 7d4e3389-963d-4c63-bca2-4760e8bc04fd
TEST_PORT = 49649

Extension version: 2023.20.0
VS Code version: Code 1.84.1 (Universal) (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:37:18.666Z)
OS version: Darwin arm64 23.0.0
Modes:

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 6, 7, 7
Memory (System) 32.00GB (0.14GB free)
Process Argv --crash-reporter-id 1420092c-d4ca-4cab-85bb-af47402199b1
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30869155
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pythonmypyd1:30879173
pythoncet00cf:30874137
pythontbext0:30879054
dsvsc016:30880769
dsvsc017:30880892
dsvsc018:30880894
aa_t_chat:30882232

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Nov 8, 2023
@sdebruyn
Copy link

Can be reproduced if you debug the test test_hypertable in https://github.com/sdebruyn/dbt-timescaledb/tree/v1.7.0a2

@sdebruyn
Copy link

The workaround from #22192 worked for me:
add "python.experiments.optOutFrom": ["pythonTestAdapter"] to your user settings JSON

@alanwilter
Copy link

I'm having the same issue too after some progress on #22018 (comment)

@eleanorjboyd
Copy link
Member

Hello! I have just returned from vacation and will take a look at this shortly, thank you for your patience!

@eleanorjboyd
Copy link
Member

Hi! I was printing this error message even though an error was not occurring, sorry! I have put in a fix now for this here: 1639753

If your extension is not working as expected please open another issue, thanks

@eleanorjboyd eleanorjboyd added area-testing and removed triage-needed Needs assignment to the proper sub-team labels Nov 27, 2023
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Nov 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants