stryker-net: Random crashes with FileNotFoundException
Describe the bug
Sometimes Stryker crashes for random projects with this error
This happens after throwing a bunch of exceptions with the FileNotFoundException
on the top, see logs attached.
The process exit code is -532462766
.
It’s important to say this is by far not deterministic. I get a feeling we have this once every 10 times or so. I have just run Stryker against the same project 20 times and it failed 3 times with this thing.
Logs
Here are the logs: logs.txt
They are pretty similar for these crashes. Once the log also had this attached at the end of the call stack (just before Time Elapsed TIME):
at Stryker.CLI.StrykerCLI.RunStryker(StrykerOptions options) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 136
at Stryker.CLI.StrykerCLI.<>c__DisplayClass7_0.<Run>b__0() in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 125
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass146_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Stryker.CLI.StrykerCLI.Run(String[] args) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 128
at Stryker.CLI.Program.Main(String[] args) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\Program.cs:line 16
Expected behavior
This shouldn’t happen.
Desktop:
- OS: Windows
- Type of project: observed both for
net5
andnetcore3.1
- Stryker Version [e.g. beta 0.22.9]
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (22 by maintainers)
So, looks like this has entirely disappeared since we moved to Stryker 1.0. Target framework is most probably unrelated, we’ve run Stryker against the whole code base a few times between moving to 1.0 and specifying the target framework.
So anyway - good stuff 😃 I’ll close the issue then.