GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gc tests don't run properly · Issue #5442 · nodejs/node

gc tests don't run properly  #5442

New issue
Copy link
New issue
Copy link
Closed
Closed
gc tests don't run properly #5442
Copy link
Labels
testIssues and PRs related to Node.js core tests and test infrastructure.

Description

@mhdawson
mhdawson
opened on Feb 26, 2016
Issue body actions
  • Version: master
  • Platform: Linux duv-aurora 3.13.0-58-generic Makefile: Avoid running find in a non-existent directory #97-Ubuntu SMP Wed Jul 8 02:56:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem: test

This commit(#5376) seems to have broken the gc tests as they seem to run missing --expose-gc

to run

out/Release/node deps/npm/node_modules/node-gyp/bin/node-gyp rebuild --directory="$WORKSPACE/node/test/gc/node_modules/weak" --nodedir="$WORKSPACE/node"
tools/test.py --mode=release --progress=tap gc | tee gc.tests.tap

If I revert that change(with git checkout 1170b26 tools/test.py) the tests pass, otherwise I get errors like:

not ok 5 test-net-timeout.js
# /home/mhdawson/pulls/land/fips2/node/test/gc/test-net-timeout.js:46
#       gc();
#       ^
#
# ReferenceError: gc is not defined
#     at Socket. (/home/mhdawson/pulls/land/fips2/node/test/gc/test-net-timeout.js:46:7)
#     at Socket.g (events.js:277:16)
#     at emitNone (events.js:81:13)
#     at Socket.emit (events.js:180:7)
#     at Socket._onTimeout (net.js:324:8)
#     at _runOnTimeout (timers.js:537:11)
#     at _makeTimerTimeout (timers.js:528:3)
#     at Timer.unrefTimeout (timers.js:597:5)
# We should do 500 requests
  ---
  duration_ms: 0.234

Don't believe the gc tests are run in the CI and that's why we did not see in the CI runs. I noticed they started failing in our internal jobs and that's how I noticed it.

@stefanmb can you please take a look

Activity

  1. mhdawson
    changed the title [-]gc tests don'[/-] [+]gc tests don't run properly [/+] on Feb 26, 2016
  2. mhdawson
    added
    testIssues and PRs related to Node.js core tests and test infrastructure.
    on Feb 26, 2016
  3. stefanmb commented on Feb 26, 2016

    @stefanmb
    stefanmb
    on Feb 26, 2016
    Contributor
    More actions

    @mhdawson Thanks for reporting this, it's fixed in #5446.

  4. mhdawson
    closed this as completedin c98d159on Feb 26, 2016
  5. mhdawson commented on Feb 26, 2016

    @mhdawson
    mhdawson
    on Feb 26, 2016
    MemberAuthor
    More actions

    Just to confirm, launched our internal tests that had caught this and they are now running ok.

  6. rvagg
    added 3 commits that reference this issue on Feb 27, 2016

    test: fix test runner arg regression

    13df503

    test: fix test runner arg regression

    22bb7c9
  7. sjarmak
    added a commit that references this issue on Jul 27, 2026

    test: fix test runner arg regression

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

Metadata

Metadata

Assignees

No one assigned

    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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.