Skip to content

Conversation

@rchiodo
Copy link

@rchiodo rchiodo commented Jul 22, 2020

Nightly flake failed with some new failures (and one old failure) last night

  • Startup and shutdown hung. This was caused by the notebook in use for the initial window not being disposed completely by the time the second window comes up
  • Remote tests all failed with 'insecure not supported'. This was caused by the secure server stuff. Fixed it by making the app shell return the 'yes' value when asked.
  • Ipywidgets are still having trouble executing more than a couple of cells randomly. Added some timeouts and some extra logging.
  • Unit test failure with nyc
  • Multiple interpreters not finding another interpreter. This I can't repro but might be related to the startup and shutdown fix as this test tries opening/closing windows and switching interpreters in between.

@rchiodo rchiodo added the no-changelog No news entry required label Jul 22, 2020
@rchiodo rchiodo self-assigned this Jul 22, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2020

Codecov Report

Merging #13099 into master will decrease coverage by 0.00%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13099      +/-   ##
==========================================
- Coverage   59.77%   59.76%   -0.01%     
==========================================
  Files         671      671              
  Lines       36686    36688       +2     
  Branches     5158     5158              
==========================================
- Hits        21928    21927       -1     
- Misses      13663    13665       +2     
- Partials     1095     1096       +1     
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterNotebook.ts 4.25% <0.00%> (-0.02%) ⬇️
src/client/common/utils/localize.ts 96.13% <100.00%> (ø)
src/client/common/utils/platform.ts 64.70% <0.00%> (-5.89%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d21a13...4bfdd69. Read the comment docs.

"--recursive",
"--colors",
//"--grep", "<suite name>",
"--grep", "Multiple Interpreters",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still a work in progress?
btw, I don't mind leaving this here

return Promise.resolve(a4);
}
});
appShell
Copy link
Member

@IanMatthewHuff IanMatthewHuff Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not right, or at least not how it currently works. I was starting to look into this yesterday. The Remote tests have a rebind function for changing the appShell. I added the showWarningMessage overrider there, and they passed locally. However after the interactive window test changes the test is now not using the rebind function. Seems like the timing might have been changed as I could still see the per test rebind function getting hit, but when the test executed it was using the default IOC appshell. I think we need it per test still as I added a test that expects the 'no' a3 answer.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remote deny insecure test is still passing though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it's passing because the test doesn't check for a failure. Yeah the rebind happens too late. It's after the jupyterSessionManagerFactory has been created.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It must have thrown a different exception then. I'm fixing the binding problem.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the test use expectError, but maybe that just allows for an error, as opposed to requiring one? I should have tested that with a broken case before submitting it.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rchiodo rchiodo merged commit 939787b into master Jul 22, 2020
@rchiodo rchiodo deleted the rchiodo/nightly_fixes branch July 22, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants