Skip to content

tools: add log output to crashes - #20295

Closed
BridgeAR wants to merge 2 commits into
nodejs:masterfrom
BridgeAR:log-everything
Closed

tools: add log output to crashes#20295
BridgeAR wants to merge 2 commits into
nodejs:masterfrom
BridgeAR:log-everything

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

@nodejs/build PTAL

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory. labels Apr 25, 2018
@BridgeARBridgeAR added build Issues and PRs related to build files or the CI. test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory. and removed test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory. labels Apr 25, 2018
@BridgeAR

This comment has been minimized.

@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 25, 2018
@BridgeAR

Copy link
Copy Markdown
MemberAuthor

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 26, 2018
@rvagg

Copy link
Copy Markdown
Member

ping @Trott and @refack who were tinkering here recently

Comment threadtools/test.py Outdated
self.severity = 'crashed'
exit_code = output.output.exit_code
self.traceback = "oh no!\nexit code: " + PrintCrashed(exit_code)
self.traceback += "oh no!\nexit code: " + PrintCrashed(exit_code)

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.

IMHO best solution is to drop this whole line and the prev line.

  • L290 will set the exit code (it's new code)
  • L300 will indicate crash

@BridgeARBridgeARApr 27, 2018

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 disagree because the exit code would not be visible in that case anymore. You are right.

@BridgeAR

Copy link
Copy Markdown
MemberAuthor

@addaleaxaddaleax removed the fast-track PRs that do not need to wait for 48 hours to land. label Apr 27, 2018
@addaleax

Copy link
Copy Markdown
Member

CI has only known flakes :)

@refack Does this LGTY?

@refackrefack left a comment

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.

💯

@addaleax

Copy link
Copy Markdown
Member

Landed in a4b4854

addaleax pushed a commit that referenced this pull request Apr 27, 2018
PR-URL: #20295
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 4, 2018
PR-URL: #20295
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request Aug 17, 2018
PR-URL: #20295
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Aug 17, 2018
@BridgeAR
BridgeAR deleted the log-everything branch January 20, 2020 11:30
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.buildIssues and PRs related to build files or the CI.testIssues and PRs related to the tests.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@BridgeAR@rvagg@addaleax@refack@jasnell@mmarchini@joyeecheung@richardlau@trivikr@Trott@nodejs-github-bot