Node: Run the `internet` tests on CI from time to time?

Created on 16 May 2017  Â·  15Comments  Â·  Source: nodejs/node

Ideas for making this happen:

  • Run them when cutting a release? @nodejs/release
  • Run them once a day on CI, perhaps as part of the node-daily-master job? @nodejs/build

That's all I have so far.

/cc @nodejs/testing

test

Most helpful comment

+1 to running them once a day.

All 15 comments

+1 to running them once a day.

Ping. Did anything happen to resolve this?

Since we're talking about running debug tests nightly, and/or tests with --gc-interval nightly, I guess this is a good time to raise the profile of this request too. @nodejs/build

Wasn't too hard to setup, 18/21 tests are passing: https://ci.nodejs.org/job/node-test-commit-custom-suites/6/

Awesome, thanks!

The two dgram failures may be making assumptions about network configuration that aren't true on our CI hosts. I can try to mess around with those a bit to see what might be done.

The dns failure is a straight up failing test that we just haven't noticed until now because we don't run the internet tests ever. :-D I'll take a look at that one too.

Looks like all internet tests are passing now -- should this be added onto node-daily-master runs?

Looks like all internet tests are passing now -- should this be added onto node-daily-master runs?

The results say that internet/test-inspector-help-page is being skipped because it is being run inside a worker. That can't be right, can it? Is this a bug somehow in common.skipIfInspectorDisabled()/common.isMainThread()/worker_threads.isMainThread?

/cc @addaleax

Aside from the worker_threads question above, I'm 👍 on moving to node-daily-master!

The inspector test runs fine on my computer and is not skipped, so I'm guessing either the possible bug is OS-specific or else there is no bug and we really are running it in a worker thread?

@Trott Yes, looks like that’s what’s happening:

python tools/test.py -j 4 -p tap --logfile test.tap --mode=release --flaky-tests=dontcare --worker internet

But then again --worker was also passed in as TEST_ARGS in the UI, it seems?

Ah, OK, yeah, I can emulate the skipping on my machine with those command line options. Should have pulled that from the console in the first place. Sorry/thanks!

@maclover7 Running the tests locally without --worker, they all pass and that one that currently gets skipped is not skipped anymore. Any chance we can make that change?

@maclover7 Running the tests locally without --worker, they all pass and that one that currently gets skipped is not skipped anymore. Any chance we can make that change?

Ah, forgot that --worker is a default argument for the job. Re-ran without the arg, all tests seem to pass still.

Is there any advantage (since the job only takes ~2 minutes) to running once with --worker, and once without?

@maclover7 I don’t think there’s any particular benefit to running the internet tests in those configurations … we should keep going on https://github.com/nodejs/build/issues/1318 to get --worker support into node-test-commit and then we don’t really need to worry about it for other jobs anymore

First run of node-daily-master with the internet tests is all green 🎉🎉🎉 https://ci.nodejs.org/job/node-daily-master/1221/

Was this page helpful?
0 / 5 - 0 ratings