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: readytorun_tests._mainv1_mainv1_/_mainv1_mainv1_cmd failed with "Xunit.Sdk.TrueException" #8672

Closed
ghost opened this issue Aug 2, 2017 · 1 comment
Labels
arch-arm32 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI bug
Milestone

Comments

@ghost
Copy link

ghost commented Aug 2, 2017

Opened on behalf of @JiayiLi1

The test readytorun_tests._mainv1_mainv1_/_mainv1_mainv1_cmd has failed.

Return code:      1
Raw output file:      C:\dotnetbuild\work\9e2667b6-f13d-45fe-9cc5-938f2fa53cfa\Work\d5bc8dd2-fdaa-400c-a28b-a01a9cb648ad\Unzip\Reports\readytorun.tests\mainv1\mainv1.output.txt
Raw output:
BEGIN EXECUTION\r
        1 file(s) copied.\r
Microsoft (R) CoreCLR Native Image Generator - Version 4.5.22220.0\r
Copyright (c) Microsoft Corporation.  All rights reserved.\r
\r
Native image test.ni.dll generated successfully.\r
Microsoft (R) CoreCLR Native Image Generator - Version 4.5.22220.0\r
Copyright (c) Microsoft Corporation.  All rights reserved.\r
\r
Native image fieldgetter.ni.dll generated successfully.\r
Microsoft (R) CoreCLR Native Image Generator - Version 4.5.22220.0\r
Copyright (c) Microsoft Corporation.  All rights reserved.\r
\r
Native image mainv1.ni.exe generated successfully.\r
 "C:\dotnetbuild\work\9e2667b6-f13d-45fe-9cc5-938f2fa53cfa\Payload\corerun.exe" mainv1.exe \r
Not equal!\r
actual   = 145\r
expected = 67\r
PASSED\r
Expected: 100\r
Actual: 1\r
END EXECUTION - FAILED\r
FAILED\r
Test Harness Exitcode is : 1\r

To run the test:
> set CORE_ROOT=C:\dotnetbuild\work\9e2667b6-f13d-45fe-9cc5-938f2fa53cfa\Payload
> C:\dotnetbuild\work\9e2667b6-f13d-45fe-9cc5-938f2fa53cfa\Work\d5bc8dd2-fdaa-400c-a28b-a01a9cb648ad\Unzip\mainv1\mainv1.cmd
\r
Expected: True\r
Actual:   False

    Stack Trace:

       at readytorun_tests._mainv1_mainv1_._mainv1_mainv1_cmd()

Build : Master - 20170802.01 (Core Tests)
Failing configurations:

  • windows.10.arm64
    • arm

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcoreclr~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20170802.01/workItem/readytorun.tests.XUnitWrapper/analysis/xunit/readytorun_tests._mainv1_mainv1_~2F_mainv1_mainv1_cmd

@RussKeldorph RussKeldorph assigned pgavlin and unassigned kouvel Aug 9, 2017
pgavlin referenced this issue in pgavlin/coreclr Aug 9, 2017
This issue was a crash when calling R2R-compiled code from JITted code
on Windows/ARM32. The caller had a live value in `r4` that was scribbled
over by the callee. This change adds the necessary call to
`regSet.rsTrackRegTrash` which ensures that `r4` is saved/restored in
the prolog/epilog when it is used for R2R indirect calls.
pgavlin referenced this issue in dotnet/coreclr Aug 10, 2017
@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI bug
Projects
None yet
Development

No branches or pull requests

5 participants