FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

aix, test: prolong debugged child process by jBarz · Pull Request #15774 · nodejs/node · GitHub

/ node Public

aix, test: prolong debugged child process - #15774

Closed
jBarz wants to merge 1 commit into
nodejs:masterfrom
jBarz:master.aix
Closed

aix, test: prolong debugged child process#15774
jBarz wants to merge 1 commit into
nodejs:masterfrom
jBarz:master.aix

Conversation

jBarz commented Oct 4, 2017
edited by gibfahn
Loading

Copy link
Copy Markdown
Contributor

On AIX, there is a possibility that the child process is done before the parent debugger can connect to it. So prolong the child process by factor of 2.

Fixes: #14897

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

nodejs-github-bot added dont-land-on-v4.x inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests. labels Oct 4, 2017

gibfahn commented Oct 10, 2017

Copy link
Copy Markdown
Member

Needs a stress test

refack commented Oct 10, 2017

Copy link
Copy Markdown
Contributor

gibfahn commented Oct 10, 2017

Copy link
Copy Markdown
Member

Still looking a bit flaky: 1237 OK: 1228 NOT OK: 9 TOTAL: 9999

Is there a way for the child process to pause until the debugger is attached?

refack commented Oct 10, 2017

Copy link
Copy Markdown
Contributor

Is there a way for the child process to pause until the debugger is attached?

Maybe replace --inspect=0 with --inspect-brk=0 (there's already a Runtime.runIfWaitingForDebugger that will "continue" execution)

jBarz commented Oct 13, 2017

Copy link
Copy Markdown
Contributor Author

Can we do the stress test again?

gibfahn commented Oct 13, 2017

Copy link
Copy Markdown
Member

@jBarz not till nodejs/build#775 (comment) is resolved.

gibfahn commented Oct 19, 2017

Copy link
Copy Markdown
Member

@jBarz if you rebase I'll stress test.

jBarz commented Oct 19, 2017

Copy link
Copy Markdown
Contributor Author

Thanks @gibfahn , done!

gibfahn commented Oct 19, 2017

Copy link
Copy Markdown
Member

gibfahn commented Oct 20, 2017

Copy link
Copy Markdown
Member

mhdawson left a comment
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM the change but I think we also need to revert the AIX part of 7027191 so that it is no longer marked as flaky for AIX.

Pause child on startup using inspect-brk=0 until the parent debugger
is ready.

jBarz commented Oct 24, 2017

Copy link
Copy Markdown
Contributor Author

I made another change which no longer marks this test as flaky for aix and windows.

refack left a comment
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Should stress test, but code LGTM

mhdawson commented Nov 2, 2017

Copy link
Copy Markdown
Member

I think earlier stress test showed it was good.

New CI since it has been 2 weeks: https://ci.nodejs.org/job/node-test-pull-request/11152/

mhdawson commented Nov 2, 2017

Copy link
Copy Markdown
Member

arm failures were infra issues not related to this PR.

mhdawson commented Nov 2, 2017

Copy link
Copy Markdown
Member

Windows failure was #16688

so net is that CI is good with respect to this change.

mhdawson pushed a commit that referenced this pull request Nov 2, 2017
Pause child on startup using inspect-brk=0 until the parent debugger
is ready.

PR-URL: #15774
Fixes: #14897
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>

mhdawson commented Nov 2, 2017

Copy link
Copy Markdown
Member

Landed as f1f0eb2

mhdawson closed this Nov 2, 2017
jBarz deleted the master.aix branch November 3, 2017 00:07
cjihrig pushed a commit to cjihrig/node that referenced this pull request Nov 6, 2017
Pause child on startup using inspect-brk=0 until the parent debugger
is ready.

PR-URL: nodejs#15774
Fixes: nodejs#14897
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
cjihrig mentioned this pull request Nov 6, 2017
gibfahn pushed a commit that referenced this pull request Nov 14, 2017
Pause child on startup using inspect-brk=0 until the parent debugger
is ready.

PR-URL: #15774
Fixes: #14897
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
gibfahn mentioned this pull request Nov 21, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL