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

Get all tests working #28

Closed
DonJayamanne opened this issue Sep 14, 2020 · 5 comments
Closed

Get all tests working #28

DonJayamanne opened this issue Sep 14, 2020 · 5 comments
Assignees

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Sep 14, 2020

  1. Add python interpreter API for local tests
  2. Ensure all of the following work:
  • *.unit.test.ts
  • *.test.ts
  • *.functional.test.ts
  • *.ds.test.ts

Right now a lot of them fall over due to some missing dependencies & the like

@DonJayamanne DonJayamanne self-assigned this Sep 14, 2020
@DonJayamanne DonJayamanne changed the title Get functional tests working with local (only in tests) Python Interpreter API Get all tests working with local (only in tests) Python Interpreter API Sep 14, 2020
@DonJayamanne DonJayamanne changed the title Get all tests working with local (only in tests) Python Interpreter API Get all tests working Sep 14, 2020
@DonJayamanne
Copy link
Contributor Author

Currently partially blocked on #2
Will limit scope to just DS tests for now (with the assumption that core tests will be removed).

@DonJayamanne
Copy link
Contributor Author

All test working, now need to test with real jupyter.

@DonJayamanne
Copy link
Contributor Author

Failing tests seem way too low, running once again

@DonJayamanne
Copy link
Contributor Author

Here are the failures
2020-09-16T19:00:50.8403966Z
2020-09-16T19:00:50.8407517Z �[92m �[0m�[32m 409 passing�[0m�[90m (1h)�[0m
2020-09-16T19:00:50.8408557Z �[36m �[0m�[36m 105 pending�[0m
2020-09-16T19:00:50.8409469Z �[31m 5 failing�[0m
2020-09-16T19:00:50.8410016Z
2020-09-16T19:00:50.8433681Z �[0m 1) DataScience Interactive Window output tests
2020-09-16T19:00:50.8435065Z Multiple Interpreters:
2020-09-16T19:00:50.8435555Z
2020-09-16T19:00:50.8436830Z �[31mAssertionError [ERR_ASSERTION]: Second path was not set�[0m
2020-09-16T19:00:50.8437943Z �[32m+ expected�[0m �[31m- actual�[0m
2020-09-16T19:00:50.8439072Z
2020-09-16T19:00:50.8439783Z �[0m�[90m
2020-09-16T19:00:50.8441142Z at interactiveWindowTestHelpers_1.runTest.window.window (out/test/datascience/interactiveWindow.functional.test.js:445:20)
2020-09-16T19:00:50.8442468Z at runMicrotasks ()
2020-09-16T19:00:50.8443160Z at runNextTicks (internal/process/task_queues.js:59:5)
2020-09-16T19:00:50.8443879Z at listOnTimeout (internal/timers.js:501:9)
2020-09-16T19:00:50.8444564Z at processTimers (internal/timers.js:475:7)
2020-09-16T19:00:50.8445590Z at Context. (out/test/datascience/interactiveWindowTestHelpers.js:49:13)
2020-09-16T19:00:50.8446595Z �[0m
2020-09-16T19:00:50.8447471Z �[0m 2) DataScience - Kernel Launcher
2020-09-16T19:00:50.8448135Z Launch with environment:
2020-09-16T19:00:50.8450778Z �[0m�[31m Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/vscode-jupyter/vscode-jupyter/out/test/datascience/kernelLauncher.functional.test.js)�[0m�[90m
2020-09-16T19:00:50.8452440Z at listOnTimeout (internal/timers.js:531:17)
2020-09-16T19:00:50.8453363Z at processTimers (internal/timers.js:475:7)
2020-09-16T19:00:50.8454108Z �[0m
2020-09-16T19:00:50.8454900Z �[0m 3) DataScience notebook tests
2020-09-16T19:00:50.8455661Z With Jupyter Server
2020-09-16T19:00:50.8456145Z Export/Import:
2020-09-16T19:00:50.8457160Z �[0m�[31m AssertionError: No os.chdir in import: expected false to be truthy�[0m�[90m
2020-09-16T19:00:50.8458849Z at /home/runner/work/vscode-jupyter/vscode-jupyter/out/test/datascience/notebook.functional.test.js:443:35
2020-09-16T19:00:50.8460211Z at runMicrotasks ()
2020-09-16T19:00:50.8461249Z at processTicksAndRejections (internal/process/task_queues.js:94:5)
2020-09-16T19:00:50.8462124Z �[0m
2020-09-16T19:00:50.8463107Z �[0m 4) DataScience notebook tests
2020-09-16T19:00:50.8463895Z With Direct Kernel
2020-09-16T19:00:50.8464412Z Export/Import:
2020-09-16T19:00:50.8465525Z �[0m�[31m AssertionError: No os.chdir in import: expected false to be truthy�[0m�[90m
2020-09-16T19:00:50.8467236Z at /home/runner/work/vscode-jupyter/vscode-jupyter/out/test/datascience/notebook.functional.test.js:443:35
2020-09-16T19:00:50.8468494Z at runMicrotasks ()
2020-09-16T19:00:50.8469492Z at processTicksAndRejections (internal/process/task_queues.js:94:5)
2020-09-16T19:00:50.8472135Z �[0m
2020-09-16T19:00:50.8472767Z �[0m 5) DataScience raw kernel tests
2020-09-16T19:00:50.8473255Z Interrupt pending request:
2020-09-16T19:00:50.8475339Z �[0m�[31m Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/vscode-jupyter/vscode-jupyter/out/test/datascience/raw-kernel/rawKernel.functional.test.js)�[0m�[90m
2020-09-16T19:00:50.8477301Z at listOnTimeout (internal/timers.js:531:17)
2020-09-16T19:00:50.8477871Z at processTimers (internal/timers.js:475:7)
2020-09-16T19:00:50.8478463Z �[0m
2020-09-16T19:00:50.8478660Z
2020-09-16T19:00:50.8478821Z
2020-09-16T19:00:51.6199635Z npm ERR! code ELIFECYCLE
2020-09-16T19:00:51.6200236Z npm ERR! errno 5
2020-09-16T19:00:51.6202790Z npm ERR! jupyter@2020.9.0-dev test:functional: mocha --require source-map-support/register --config ./build/.mocha.functional.json
2020-09-16T19:00:51.6203796Z npm ERR! Exit status 5
2020-09-16T19:00:51.6204139Z npm ERR!
2020-09-16T19:00:51.6204884Z npm ERR! Failed at the jupyter@2020.9.0-dev test:functional script.
2020-09-16T19:00:51.6205919Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-09-16T19:00:51.7215475Z
2020-09-16T19:00:51.7216162Z npm ERR! A complete log of this run can be found in:
2020-09-16T19:00:51.7217330Z npm ERR! /home/runner/.npm/_logs/2020-09-16T19_00_51_617Z-debug.log
2020-09-16T19:00:51.7252568Z ##[error]Process completed with exit code 5.

@DonJayamanne
Copy link
Contributor Author

Completed

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant