8000 aix, test: prolong debugged child process by jBarz · Pull Request #15774 · nodejs/node · GitHub
  • [go: up one dir, main page]

    Skip to content

    Conversation

    @jBarz
    Copy link
    Contributor
    @jBarz jBarz commented Oct 4, 2017

    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 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
    Copy link
    Member
    gibfahn commented Oct 10, 2017

    Needs a stress test

    @refack
    Copy link
    Contributor
    refack commented Oct 10, 2017

    @gibfahn
    Copy link
    Member
    gibfahn commented Oct 10, 2017

    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
    Copy link
    Contributor
    refack commented Oct 10, 2017

    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
    Copy link
    Contributor Author
    jBarz commented Oct 13, 2017

    Can we do the stress test again?

    @gibfahn
    Copy link
    Member
    gibfahn commented Oct 13, 2017

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

    @gibfahn
    Copy link
    Member
    gibfahn commented Oct 19, 2017

    @jBarz if you rebase I'll stress test.

    @jBarz
    Copy link
    Contributor Author
    jBarz commented Oct 19, 2017

    Thanks @gibfahn , done!

    @gibfahn
    Copy link
    Member
    gibfahn commented Oct 19, 2017

    @gibfahn
    Copy link
    Member
    gibfahn commented Oct 20, 2017

    Copy link
    Member
    @mhdawson mhdawson left a comment

    Choose a reason for hiding this comment

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

    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
    Copy link
    Contributor Author
    jBarz commented Oct 24, 2017

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

    Copy link
    Contributor
    @refack refack left a comment

    Choose a reason for hiding this comment

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

    Should stress test, but code LGTM

    @mhdawson
    Copy link
    Member
    mhdawson commented Nov 2, 2017

    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
    Copy link
    Member
    mhdawson commented Nov 2, 2017

    arm failures were infra issues not related to this PR.

    @mhdawson
    Copy link
    Member
    mhdawson commented Nov 2, 2017

    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
    Copy link
    Member
    mhdawson commented Nov 2, 2017

    Landed as f1f0eb2

    @mhdawson mhdawson closed this Nov 2, 2017
    @jBarz 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 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 gibfahn mentioned this pull request Nov 21, 2017
    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

    0