Crossgen2 testing, such as the crossgen2 / r2r AzDO test jobs, work as follows:
crossgen the framework
crossgen every test
Run the tests
Issues:
For the modes that set the JIT stress variables, before running the tests, we set COMPlus variables, in the wrapper script. However, crossgen2 ignores environment variables so the compiled test doesn't get compiled with the stress mode. At best, if crossgen2 is compiled/run with a Checked JIT, crossgen2 itself might be compiled/run with the JIT stress mode.
The JIT stress modes are not applied to the crossgen2 compilation of the framework assemblies
To do: decide exactly what should be affected by the JIT stress variables (presumably, the compilation of the framework and the compilation of each test; optionally, the compilation/run of crossgen2 itself), and adjust the AzDO pipelines to match.
Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.
Issue Details
Crossgen2 testing, such as the crossgen2 / r2r AzDO test jobs, work as follows:
1. crossgen the framework
2. crossgen every test
3. Run the tests
Issues:
1. For the modes that set the JIT stress variables, before running the tests, we set COMPlus variables, in the wrapper script. However, crossgen2 ignores environment variables so the compiled test doesn't get compiled with the stress mode. At best, if crossgen2 is compiled/run with a Checked JIT, crossgen2 itself might be compiled/run with the JIT stress mode.
2. The JIT stress modes are not applied to the crossgen2 compilation of the framework assemblies
To do: decided exactly what should be affected by the JIT stress variables (presumably, the compilation of the framework and the compilation of each test; optionally, the compilation/run of crossgen2 itself), and adjust the AzDO pipelines to match.
@dotnet/jit-contrib
Crossgen2 testing, such as the crossgen2 / r2r AzDO test jobs, work as follows:
Issues:
For the modes that set the JIT stress variables, before running the tests, we set COMPlus variables, in the wrapper script. However, crossgen2 ignores environment variables so the compiled test doesn't get compiled with the stress mode. At best, if crossgen2 is compiled/run with a Checked JIT, crossgen2 itself might be compiled/run with the JIT stress mode.
The JIT stress modes are not applied to the crossgen2 compilation of the framework assemblies
To do: decide exactly what should be affected by the JIT stress variables (presumably, the compilation of the framework and the compilation of each test; optionally, the compilation/run of crossgen2 itself), and adjust the AzDO pipelines to match.
@dotnet/jit-contrib
category:testing theme:testing skill-level:beginner cost:small impact:medium