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 — test: inherit JOBS from environment by jbergstroem · Pull Request #4495 · nodejs/node

Conversation

@jbergstroem

@jbergstroem jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member

In some virtualized environments the amount of available resources are misleading; for instance multiprocessing.cpu_count() on our current 4-core smartos vm's returns 48. This is not a bug, merely how the vm host provides information about available hardware.

Avoid running into issues by overriding cpu_count() with JOBS.

Refs #4494.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

/R=the never sleeping @Trott or perhaps @nodejs/build.

CI: https://ci.nodejs.org/job/node-test-commit/1591/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem jbergstroem added build Issues and PRs related to Node.js builds or CI infrastructure. test Issues and PRs related to Node.js core tests and test infrastructure. labels Dec 31, 2015
@jbergstroem jbergstroem mentioned this pull request Dec 31, 2015
test: enable parallel testing in test-ci #4476
Closed
@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

CI with -J enabled for most (-arm -win) platforms: https://ci.nodejs.org/job/node-test-commit/1592/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem jbergstroem added the smartos Issues and PRs related to the SmartOS platform. label Dec 31, 2015
@mscdex

mscdex commented Dec 31, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

..and here we are; the first all-green on -J SmartOS:

screen shot 2015-12-31 at 6 19 32 pm

..as a side note; we've now reduced the test time on smartos by 30% (~15m -> ~10m). Figuring out the rest lives in nodejs/build#293

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

Unrelated fail on first CI run (which shouldn't be affected by this) and a few – other – fails on the -J runs. At least SmartOS is now green 👏. Will merge shortly.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem
test: inherit JOBS from environment
1170b26
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: nodejs#4495
Reviewed-By: Brian White <[email protected]>
@jbergstroem
jbergstroem force-pushed the feature/test-inherit-jobs branch from f470abe to 1170b26 Compare December 31, 2015 07:30
@jbergstroem
jbergstroem merged commit 1170b26 into nodejs:master Dec 31, 2015
@jasnell jasnell added the lts-watch-v4.x label Jan 4, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
@jbergstroem @Fishrock123
test: inherit JOBS from environment
08a3490
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: nodejs#4495
Reviewed-By: Brian White <[email protected]>
@MylesBorins MylesBorins added land-on-v4.x and removed lts-watch-v4.x labels Jan 13, 2016
MylesBorins pushed a commit that referenced this pull request Jan 13, 2016
@jbergstroem Myles Borins
test: inherit JOBS from environment
d2d3d0a
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: #4495
Reviewed-By: Brian White <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 14, 2016
@jbergstroem Myles Borins
test: inherit JOBS from environment
0589987
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: #4495
Reviewed-By: Brian White <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
@jbergstroem Myles Borins
test: inherit JOBS from environment
c24fa14
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: #4495
Reviewed-By: Brian White <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
V4.2.5 proposal #4768
Merged
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
@jbergstroem Michael Scovetta
test: inherit JOBS from environment
ba7df9d
In some virtualized environments the amount of available resources
are misleading; for instance `multiprocessing.cpu_count()` on our current
4-core smartos vm's returns `48`. This is not a bug, merely how the vm
host provides information about available hardware.

Avoid running into issues by overriding `cpu_count()` with `JOBS`.

PR-URL: nodejs#4495
Reviewed-By: Brian White <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. smartos Issues and PRs related to the SmartOS platform. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@jbergstroem @mscdex @jasnell @MylesBorins
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.