Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: skip test-cpu-prof in debug builds with code cache #27308

Closed
wants to merge 3 commits into from

Conversation

joyeecheung
Copy link
Member

The CPU profiler crashes in debug builds when code cache is
enabled. Skip the test temporarily until it's fixed.

Refs: #27307

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

The CPU profiler crashes in debug builds when code cache is
enabled. Skip the test temporarily until it's fixed.
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Apr 19, 2019
@joyeecheung
Copy link
Member Author

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

I’m 👍 to fast-tracking if you want

@joyeecheung
Copy link
Member Author

joyeecheung commented Apr 19, 2019

Fixed the linter and the skip message.

@addaleax Let's see if this is green in CI first..(it passes for me locally, previously it always crashed)

@nodejs-github-bot
Copy link
Collaborator

@joyeecheung
Copy link
Member Author

joyeecheung commented Apr 19, 2019

CI is green. Please thumb this up if you are +1 to fast tracking (this unbreaks debug builds on master)

@nodejs/testing

@devsnek devsnek added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 19, 2019
@joyeecheung
Copy link
Member Author

Landed in b66f01d

joyeecheung added a commit that referenced this pull request Apr 19, 2019
The CPU profiler crashes in debug builds when code cache is
enabled. Skip the test temporarily until it's fixed.

PR-URL: #27308
Refs: #27307
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
@@ -3,6 +3,13 @@
// This tests that --cpu-prof and --cpu-prof-path works.

const common = require('../common');
if (process.features.debug &&
process.config.variables.node_code_cache_path === 'yes') {
Copy link
Contributor

Choose a reason for hiding this comment

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

ATM this is not the best predicate for embedded code-cache...
I've submitted #27311 to fix the value, and this predicate (it could be any non '' value if combined with the previous manual embedding technique)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track PRs that do not need to wait for 48 hours to land. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants