Skip to content

Space in extension path: Single workspace failures #14164

@rchiodo

Description

@rchiodo
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-internalLabel for non-user facing issuesbugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions