Skip to content

ChakraCore failed to run tests with 2 failures on windows with MSVC #6722

@spacelg

Description

@spacelg

Hi All,

ChakraCore failed to run tests with 2 failures on windows with MSVC. This issue can be reproduced on latest version 385409e, could you please look at this issue?

Repro steps:

  1. git clone https://github.com/microsoft/ChakraCore F:\gitP\microsoft\ChakraCore
  2. Open a vs2019 x64 command prompt.
  3. cd F:\gitP\microsoft\ChakraCore
  4. msbuild /m /p:Platform=x64 /p:Configuration=Test /p:WindowsTargetPlatformVersion=10.0.18362.0 Build\Chakra.Core.sln /t:Rebuild
  5. cd F:\gitP\microsoft\ChakraCore\test
  6. set NUM_RL_THREADS=10
  7. set WindowsSDKVersion=10.0.18362.0
  8. runtests -x64test

Build log:
run_test.log

Error info:
10>ERROR: Test failed to run correctly: diffs from baseline (F:\gitP\microsoft\ChakraCore\test\Error\errorCtor_v4.baseline):
10> ch.exe -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.UnnamedTest568 -ExtendedErrorStackForTestHost F:\gitP\microsoft\ChakraCore\test\Error\errorCtor.js >F:\gitP\microsoft\ChakraCore\test\Error\testout440 2>&1
10>ERROR: name of output file: F:\gitP\microsoft\ChakraCore\test\Error\testout440; size: 21662; creation: Thu Jun 24 23:56:45 2021, last access: Thu Jun 24 23:56:45 2021, now: Thu Jun 24 23:56:46 2021
10>ERROR: bad output file follows ============
10>-----------------------------------------
10>Error()
10>message = (string)
10>name = Error (string)
10>number = undefined (undefined)
10>stack = Error
10> at eval code (eval code:1:1)
10> at Test(string, string) (errorCtor.js:68:5)
10> at TestCtor(string) (errorCtor.js:75:5)
10> at Global code (errorCtor.js:111:1)(string)
10>-----------------------------------------
10>Error(NaN, NaN)
10>message = NaN (string)
10>name = Error (string)
10>number = undefined (undefined)
10>stack = Error: NaN
10> at eval code (eval code:1:1)
10> at Test(string, string) (errorCtor.js:68:5)
10> at TestCtor(string) (errorCtor.js:78:5)
10> at Global code (errorCtor.js:111:1)(string)
10>-----------------------------------------
...
Summary: F:\gitP\microsoft\ChakraCore\test had 2217 tests; 2 failures
-- runtests.cmd >> Tests failed. See logs for details.
-- runtests.cmd >> exiting with exit code 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions