Skip to content

test: deflake child-process-pipe-dataflow - #40838

Closed
lpinca wants to merge 1 commit into
nodejs:masterfrom
lpinca:deflake/test-child-process-pipe-dataflow
Closed

test: deflake child-process-pipe-dataflow#40838
lpinca wants to merge 1 commit into
nodejs:masterfrom
lpinca:deflake/test-child-process-pipe-dataflow

Conversation

@lpinca

Copy link
Copy Markdown
Member

Fixes: #25988

@targostargos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any idea why it suddenly started to fail?

@targostargos added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 17, 2021
@lpinca

Copy link
Copy Markdown
MemberAuthor

I don't know. Could it be a different version of Git Bash?

@targos

Copy link
Copy Markdown
Member

@nodejs/build-infra were the Windows hosts updated recently?

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 17, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@targos

Copy link
Copy Markdown
Member

There's a linter error.

@lpinca

lpinca commented Nov 17, 2021 via email

Copy link
Copy Markdown
MemberAuthor

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What is the value of os.EOL? For windows I expecte it to be \r\n and wonder why cutting it down to just \n allows the test to pass.

@lpincalpincaNov 17, 2021

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

If you look at the error message here: https://ci.nodejs.org/job/node-test-binary-windows-js-suites/12290/RUN_SUBSET=3,nodes=win2012r2-COMPILED_BY-vs2019-x86/testReport/junit/(root)/test/parallel_test_child_process_pipe_dataflow/, you'll notice that the difference between the actual and the expected character count is 1023. That error can only happen if there is an additional (or missing) character per line, so I guess for some reason \r is not handled correctly.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That would make sense if somewhere in the flow '\r\n' is getting converted to '\n'.

@lpincalpincaNov 17, 2021

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

I think it's the grep command not playing well with \r\n.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see any issues related to updating the Windows machines, but I'm not sure if they would update themselves @joaocgreis do you know.

Either way its worth getting the tests running again as long as this passes on all windows machines.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see any recent PRs that might have changed related behaviour in Node.js itself.

@lpinca
lpincaforce-pushed the deflake/test-child-process-pipe-dataflow branch from cfe7395 to 5739f62CompareNovember 17, 2021 14:59
@tniessen

Copy link
Copy Markdown
Member

I remember having problems with the non-Windows tools under Windows a while ago. Eventually, we might want to switch to binaries that are native to Windows and not provided by msys.

Comment threadtest/parallel/test-child-process-pipe-dataflow.js Outdated

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with a suggestion

@lpinca
lpincaforce-pushed the deflake/test-child-process-pipe-dataflow branch from 5739f62 to b175af8CompareNovember 17, 2021 16:06
@nodejs-github-bot

This comment has been minimized.

@targostargos added fast-track PRs that do not need to wait for 48 hours to land. request-ci Add this label to start a Jenkins CI on a PR. labels Nov 17, 2021
@targos

Copy link
Copy Markdown
Member

Requesting fast-tracking because it fixes CI.

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 17, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Nov 17, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 17, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @targos. Please 👍 to approve.

@Trott

Copy link
Copy Markdown
Member

Landed in 0c2011c

@TrottTrott closed this Nov 18, 2021
Trott pushed a commit that referenced this pull request Nov 18, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@lpinca
lpinca deleted the deflake/test-child-process-pipe-dataflow branch November 18, 2021 06:12
targos pushed a commit that referenced this pull request Nov 21, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
richardlau pushed a commit that referenced this pull request Nov 23, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
richardlau pushed a commit that referenced this pull request Nov 23, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
richardlau pushed a commit that referenced this pull request Nov 25, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@richardlaurichardlau mentioned this pull request Nov 25, 2021
@targostargos mentioned this pull request Nov 26, 2021
BethGriggs pushed a commit that referenced this pull request Nov 29, 2021
Fixes: #25988
PR-URL: #40838
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Nov 30, 2021
1 task
@richardlaurichardlau mentioned this pull request Dec 13, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.fast-trackPRs that do not need to wait for 48 hours to land.needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky: test-child-process-pipe-dataflow

6 participants

@lpinca@targos@nodejs-github-bot@tniessen@Trott@mhdawson