-
Notifications
You must be signed in to change notification settings - Fork 340
test: fixes for multiplatform ChakraCore CI #233
test: fixes for multiplatform ChakraCore CI #233
Conversation
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would first merge 47f8f74 in node-chakracore without manually deleting these files as a separate commit to avoid merge conflicts.
@kunalspathak what do you mean? 47f8f74 was already merged in the last merge PR (#211), so it's already an ancestor of this commit. Those files should have been deleted as part of the merge. |
I see, in that case are you saying that those files are still present in node-chakracore because of bad merge? Why is the need to delete them again in your commit? |
@kunalspathak yes, they were not deleted during the merge. I don't see a reason to keep them here, do they test functionality that is still relevant in node-chackracore but not v8? I compared the |
@joaocgreis , I agree with you. I was just trying to understand if this was the result of bad merge. Thanks for confirming and yes, please delete those files since they are already deleted in nodejs/master. Your changes LGTM. |
1bde7e1
to
db75280
Compare
Rebased and updated: tests should now fall strictly in the two categories mentioned in the OP. @kunalspathak thanks for your help with this. @agarwal-sandeep @kfarnung this is now different than the version you previously stamped, let me know if you want time to review this again. Thanks! CI: https://ci.nodejs.org/job/chakracore-test-pull-request/23/ |
I added a commit to fix a linter error. Can someone take a look to make sure it's good to land? Thanks! |
test/sequential/sequential.status
Outdated
@@ -22,4 +22,5 @@ test-benchmark-child-process : PASS,FLAKY | |||
[$jsEngine==chakracore] | |||
|
|||
[$jsEngine==chakracore && $system==linux] | |||
test-child-process-pass-fd : PASS,FLAKY | |||
# This test crashes Jenkins in Linux CI | |||
test-child-process-pass-fd : SKIP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this test crashes Jenkins in Linux CI, why is it under $jsEngine==chakracore
condition? Or is it only crashing CI setup for chakracore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for chakracore. I'm investigating this, I'll report when I find the cause.
lib/trace_mgr.js
Outdated
@@ -353,7 +353,7 @@ function checkGlobalShouldEmit(emitKind, optInfo) { | |||
} else { | |||
return (emitOptions.emitOnExit === 'error') && (optInfo !== 0); | |||
} | |||
} else if (emitKind == 'emitOnException' || emitKind == 'emitOnSigInt') { | |||
} else if (emitKind === 'emitOnException' || emitKind === 'emitOnSigInt') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kyle already fixed it in 4751de5#diff-d3e8e0bdb7af6cb1b0059f4d2d23e4b1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll remove the commit.
Deleted files were deleted in node/master in 47f8f74. Tests for GH-7849 and GH-5110 were moved from test-buffer-alloc to test-buffer-tojson in f3dc6a3. PR-URL: nodejs#233 Reviewed-By: Sandeep Agarwal <saagarwa@microsoft.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Kunal Pathak <Kunal.Pathak@microsoft.com>
Mark as flaky tests that fail with ChakraCore on CI. Tests that are V8-specific and therefore will never run should be skipped in the beginning of the test code, not in the status files. PR-URL: nodejs#233 Reviewed-By: Sandeep Agarwal <saagarwa@microsoft.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Kunal Pathak <Kunal.Pathak@microsoft.com>
e4f6460
to
844a466
Compare
This test passes when run locally, but causes Jenkins CI to fail. PR-URL: nodejs#233 Reviewed-By: Sandeep Agarwal <saagarwa@microsoft.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Kunal Pathak <Kunal.Pathak@microsoft.com>
844a466
to
7e6de45
Compare
This PR should make the ChakraCore CI jobs pass on the current xplat head. This includes 3 commits:
node/master
that probably resulted from merge operations. Most are whitespace differences.common.skip()
coherently throughout the tests that are skipped for ChakraCore (edited, was in a separate commit previously).Tests that have issues with ChakraCore should fall in one of two categories:
common.skip()
(this allows the build to be green).cc @nodejs/node-chakracore
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test