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: reduce stack size for test-error-serdes by jasnell · Pull Request #54840 · nodejs/node

Conversation

@jasnell

@jasnell jasnell commented Sep 7, 2024

Copy link
Copy Markdown
Member

Hopefully reduces the run time and the likelihood of the test failing with a flaky timeout error.

Refs: #52630

Sorry, something went wrong.

Uh oh!

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

All reactions
@jasnell
jasnell requested review from aduh95, anonrig, joyeecheung and targos September 7, 2024 21:00
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Sep 7, 2024
@jasnell

jasnell commented Sep 7, 2024

Copy link
Copy Markdown
Member Author

Stress test: https://ci.nodejs.org/view/Stress/job/node-stress-single-test/532/

All reactions

Sorry, something went wrong.

Uh oh!

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

@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
anonrig
anonrig approved these changes Sep 7, 2024
View reviewed changes
@codecov

codecov Bot commented Sep 7, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.89%. Comparing base (e1e312d) to head (4001157).
Report is 172 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54840      +/-   ##
==========================================
- Coverage   87.90%   87.89%   -0.01%     
==========================================
  Files         651      651              
  Lines      183343   183343              
  Branches    35710    35712       +2     
==========================================
- Hits       161165   161155      -10     
+ Misses      15466    15461       -5     
- Partials     6712     6727      +15     

see 32 files with indirect coverage changes

All reactions

Sorry, something went wrong.

Uh oh!

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

@LiviaMedeiros

LiviaMedeiros commented Sep 8, 2024

Copy link
Copy Markdown
Member

IIRC this made test more flaky on armv7 (32bit), do we still have these in stress CI?

All reactions

Sorry, something went wrong.

Uh oh!

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

MoLow
MoLow approved these changes Sep 8, 2024
View reviewed changes
@jasnell

jasnell commented Sep 8, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member Author

@LiviaMedeiros .... can you expand on that a bit more? Maybe a link to prior attempts/discussion

Stress test covers:

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell jasnell added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Sep 8, 2024
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@LiviaMedeiros

LiviaMedeiros commented Sep 8, 2024

Copy link
Copy Markdown
Member

can you expand on that a bit more? Maybe a link to prior attempts/discussion

b3d0804 (#52674) was an attempt to do the same. The source of flakiness was confirmed to be code using ErrorWithCyclicCause and the change indeed speeds up unwinding, however limiting stack size haven't solved the issue (basically, when the bug appears and test is not killed by timeout, it stayed in loop for 20+ minutes regardless of stack limit) and for whatever reason made it flake on armv7 even more frequently.
I don't see an option to start stress test CI on any 32bit arch though.

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell

jasnell commented Sep 8, 2024

Copy link
Copy Markdown
Member Author

@LiviaMedeiros ... good fun.. ok. Did anyone try moving the test to the sequential suite rather than the parallel suite? Maybe there's just too much going on concurrently

All reactions

Sorry, something went wrong.

Uh oh!

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

@LiviaMedeiros

LiviaMedeiros commented Sep 8, 2024

Copy link
Copy Markdown
Member

The flake was reproducible locally (although not as frequent as in CI) using sequential for i in $(seq 9999); do echo $i; node test.js; done, but it's worth a try.

jasnell reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

jasnell added 3 commits September 8, 2024 11:09
@jasnell
test: reduce stack size for test-error-serdes
28514f3
Hopefully reduces the run time and the likelihood of the test
failing with a flaky timeout error.
@jasnell
test: remove test-error-serdes from flaky list
0ebb02d
@jasnell
test: move test-error-serdes to sequential
4001157
@jasnell
jasnell force-pushed the limit-stack-size-error-serdes branch from ad383b8 to 4001157 Compare September 8, 2024 18:09
@jasnell

jasnell commented Sep 8, 2024

Copy link
Copy Markdown
Member Author

@LiviaMedeiros ... done! Moved the test over to sequential with the lower stack limit. Let's give this a try and see if it at least reduces how often it flakes.

LiviaMedeiros reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as duplicate.

Sign in to view
@jasnell

jasnell commented Sep 8, 2024

Copy link
Copy Markdown
Member Author

heh, we kicked off CI at the same time lol.

All reactions

Sorry, something went wrong.

Uh oh!

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

@LiviaMedeiros

LiviaMedeiros commented Sep 8, 2024

Copy link
Copy Markdown
Member

Almost cancelled at the same time as well 😄
Stress CI just in case: https://ci.nodejs.org/job/node-stress-single-test/534/

All reactions

Sorry, something went wrong.

Uh oh!

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

@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
LiviaMedeiros
LiviaMedeiros approved these changes Sep 10, 2024
View reviewed changes
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
aduh95
aduh95 approved these changes Sep 10, 2024
View reviewed changes

@aduh95 aduh95 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Sorry, something went wrong.

Uh oh!

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

All reactions
trivikr
trivikr approved these changes Sep 11, 2024
View reviewed changes
@nodejs-github-bot

nodejs-github-bot commented Sep 11, 2024

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/62328/

All reactions

Sorry, something went wrong.

Uh oh!

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

jasnell added a commit that referenced this pull request Sep 11, 2024
@jasnell
test: reduce stack size for test-error-serdes
3783499
Hopefully reduces the run time and the likelihood of the test
failing with a flaky timeout error.

remove test-error-serdes from flaky list

move test-error-serdes to sequential

PR-URL: #54840
Refs: #52630
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@jasnell

jasnell commented Sep 11, 2024

Copy link
Copy Markdown
Member Author

Landed in 3783499

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell jasnell closed this Sep 11, 2024
aduh95 pushed a commit that referenced this pull request Sep 12, 2024
@jasnell @aduh95
test: reduce stack size for test-error-serdes
784189b
Hopefully reduces the run time and the likelihood of the test
failing with a flaky timeout error.

remove test-error-serdes from flaky list

move test-error-serdes to sequential

PR-URL: #54840
Refs: #52630
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
aduh95 pushed a commit that referenced this pull request Sep 13, 2024
@jasnell @aduh95
test: reduce stack size for test-error-serdes
b875f2d
Hopefully reduces the run time and the likelihood of the test
failing with a flaky timeout error.

remove test-error-serdes from flaky list

move test-error-serdes to sequential

PR-URL: #54840
Refs: #52630
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Sep 16, 2024
v22.9.0 proposal #54966
Merged
@targos targos added the dont-land-on-v20.x label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@anonrig anonrig anonrig approved these changes
@MoLow MoLow MoLow approved these changes
@aduh95 aduh95 aduh95 approved these changes
@trivikr trivikr trivikr approved these changes
@LiviaMedeiros LiviaMedeiros LiviaMedeiros approved these changes
@targos targos Awaiting requested review from targos
@joyeecheung joyeecheung Awaiting requested review from joyeecheung

Uh oh!

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

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. 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.

8 participants

@jasnell @nodejs-github-bot @LiviaMedeiros @anonrig @MoLow @aduh95 @trivikr @targos
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 01402503 — 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.