Skip to content

Space in extension path: Single workspace failures #14164

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

Closed
rchiodo opened this issue Sep 29, 2020 · 1 comment
Closed

Space in extension path: Single workspace failures #14164

rchiodo opened this issue Sep 29, 2020 · 1 comment
Labels
area-internal Label for non-user facing issues bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority

Comments

@rchiodo
Copy link

rchiodo commented Sep 29, 2020

  1. Module Installer
    Validate pip install arguments without a resource:

    Invalid command sent to terminal for installation.

    • expected - actual

    -"/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py" pip install -U xyz --user
    +/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py pip install -U xyz --user

    at Context. (out/test/common/moduleInstaller.test.js:356:47)

  2. Module Installer
    Validate Conda install arguments without a resource:

    Invalid command sent to terminal for installation.

    • expected - actual

    -"/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py" pip install -U xyz
    +/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py pip install -U xyz

    at Context. (out/test/common/moduleInstaller.test.js:379:47)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

  3. Module Installer
    Validate pip install arguments with a resource:

    Invalid command sent to terminal for installation.

    • expected - actual

    -"/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py" pip install -U xyz --user
    +/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py pip install -U xyz --user

    at Context. (out/test/common/moduleInstaller.test.js:356:47)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

  4. Module Installer
    Validate Conda install arguments with a resource:

    Invalid command sent to terminal for installation.

    • expected - actual

    -"/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py" pip install -U xyz
    +/home/runner/work/vscode-python/vscode-python/path with spaces/pythonFiles/pyvsc-run-isolated.py pip install -U xyz

    at Context. (out/test/common/moduleInstaller.test.js:379:47)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

  5. Unit Tests - debugging
    Debugger should start (nosetest):

    Incorrect number of test files

    • expected - actual

    -0
    +2

    at testStartingDebugger (out/test/testing/debugger.test.js:95:23)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at Context. (out/test/testing/debugger.test.js:126:9)

  6. Unit Tests - debugging
    Debugger should stop when user invokes a test discovery (nosetest):

    Incorrect number of test files

    • expected - actual

    -0
    +2

    at testStoppingDebugger (out/test/testing/debugger.test.js:132:23)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at Context. (out/test/testing/debugger.test.js:154:9)

  7. Unit Tests - debugging
    Debugger should not stop when test discovery is invoked automatically by extension (nosetest):

    Incorrect number of test files

    • expected - actual

    -0
    +2

    at testDebuggerWhenRediscoveringTests (out/test/testing/debugger.test.js:160:23)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at Context. (out/test/testing/debugger.test.js:190:9)

  8. Unit Tests - nose - discovery against actual python process
    Discover Tests (single test file):

    AssertionError [ERR_ASSERTION]: Incorrect number of test files

    • expected - actual

    -0
    +2

    at Context. (out/test/testing/nosetest/nosetest.test.js:63:16)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

  9. Unit Tests re-discovery
    Re-discover tests (nosetest):

    Incorrect number of test files

    • expected - actual

    -0
    +2

    at discoverUnitTests (out/test/testing/rediscover.test.js:61:23)
    at runMicrotasks ()
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at Context. (out/test/testing/rediscover.test.js:79:9)

Steps to repro:

  1. clone with space and path
  2. Run single workspace tests

Or if that doesn't work, try using a github action like done in this PR
#14113

@rchiodo rchiodo added bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team important Issue identified as high-priority labels Sep 29, 2020
@karthiknadig karthiknadig added needs PR area-internal Label for non-user facing issues labels Sep 30, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Sep 30, 2020
@karthiknadig
Copy link
Member

Not able to repro in main.

@ghost ghost removed the needs PR label Oct 6, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-internal Label for non-user facing issues bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority
Projects
None yet
Development

No branches or pull requests

2 participants