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

Intermittent - test-tls-connnect-cnnic.js failures #5415

Closed
mhdawson opened this issue Feb 24, 2016 · 8 comments
Closed

Intermittent - test-tls-connnect-cnnic.js failures #5415

mhdawson opened this issue Feb 24, 2016 · 8 comments
Labels
test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.

Comments

@mhdawson
Copy link
Member

  • Version: 4.3.1
  • Platform: OxS 64 bit
  • Subsystem:net

This test fails intermittently (not all that often) in our build/test environment. I also wonder if we should have a test that connects to a public site.

@shigeki

@mhdawson mhdawson added the test Issues and PRs related to the tests. label Feb 24, 2016
@mscdex mscdex added the tls Issues and PRs related to the tls subsystem. label Feb 24, 2016
@Trott
Copy link
Member

Trott commented Feb 24, 2016

???? I don't see test-tls-connnect-cnnic.js in our code base. I only see these:

test/parallel/test-tls-connect-given-socket.js
test/parallel/test-tls-connect-no-host.js
test/parallel/test-tls-connect-pipe.js
test/parallel/test-tls-connect-secure-context.js
test/parallel/test-tls-connect-simple.js
test/parallel/test-tls-connect-stream-writes.js
test/pummel/test-tls-connect-memleak.js

@gibfahn
Copy link
Member

gibfahn commented Feb 24, 2016

@Trott
Copy link
Member

Trott commented Feb 24, 2016

Heh. I didn't find it because it's connnect (with three instances of n) rather than connect.

@shigeki
Copy link
Contributor

shigeki commented Feb 24, 2016

@mhdawson Are you running tests on test/internet on CI?
Some tests in test/internet need to have net connections to public servers so that their results are depending on network environments where you run tests. Some discussion was made on #2424 (comment) to let them out of our CI.

Forgive me I miss-spelled two test filenames of connnect. I found it today.

@mhdawson
Copy link
Member Author

We are running them as part of our regression tests for our internal builds. It might be good to document when each set should/should not be used. For the tests in question is it not possible to have them use local resources ?

@shigeki
Copy link
Contributor

shigeki commented Feb 25, 2016

All internet tests should be fine as long as networking and remote resources are fine as we expected.
But they are of course out of our controls so that I wrote the comment not to include them in CI.

For the test in your question, you can see test/parallel/test-tls-cnnic-whitelist.js, which is the test to use only local resources. The test of test/internet/test-tls-connnect-cnnic.js is made for the test against the resource we cannot build in our local environment.

All the tests in tests/intenet are inevitable to be flaky because they depend on networking environment and remote resources. Why do you want to run and check them at every your internal builds? I think we can check their regressions only by hands.

@mhdawson
Copy link
Member Author

Thanks for the clarification. We probably did not understand that the internet ones were not meant to be run as part of a CI.

@mhdawson
Copy link
Member Author

mhdawson commented Mar 1, 2016

I guess I'll close this

@mhdawson mhdawson closed this as completed Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

No branches or pull requests

5 participants