Skip to content

Run the internet tests on CI from time to time? #13061

Closed

Description

@Trott

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

Activity

  1. added
    discussIssues opened for discussion and feedback.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    on May 16, 2017
  2. cjihrig commented on May 16, 2017

    @cjihrig
    Contributor

    +1 to running them once a day.

  3. targos commented on Sep 3, 2017

    @targos
    Member

    Ping. Did anything happen to resolve this?

  4. self-assigned this
    on Sep 3, 2017
  5. removed
    discussIssues opened for discussion and feedback.
    on Mar 11, 2018
  6. Trott commented on Jun 3, 2018

    @Trott
    MemberAuthor

    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

  7. maclover7 commented on Jun 3, 2018

    @maclover7
    Contributor

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

  8. Trott commented on Jun 3, 2018

    @Trott
    MemberAuthor

    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.

  9. Trott commented on Jun 3, 2018

    @Trott
    MemberAuthor

    PR to fix dns test: #21116

  10. maclover7 commented on Jul 12, 2018

    @maclover7
    Contributor

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

  11. Trott commented on Jul 12, 2018

    @Trott
    MemberAuthor

    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

  12. Trott commented on Jul 12, 2018

    @Trott
    MemberAuthor

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

  13. Trott commented on Jul 12, 2018

    @Trott
    MemberAuthor

    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?

  14. addaleax commented on Jul 12, 2018

    @addaleax
    Member

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

  15. Trott commented on Jul 12, 2018

    @Trott
    MemberAuthor

    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?

  16. maclover7 commented on Jul 12, 2018

    @maclover7
    Contributor

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

  17. addaleax commented on Jul 12, 2018

    @addaleax
    Member

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

  18. maclover7 commented on Jul 15, 2018

    @maclover7
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

testIssues and PRs related to Node.js core tests and test infrastructure.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions