Navigation Menu

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

testhost exited with error: Failed to create CoreCLR, HRESULT: 0x80004005 #22828

Closed
ruslanfedoseenko opened this issue Nov 30, 2021 · 2 comments

Comments

@ruslanfedoseenko
Copy link

ruslanfedoseenko commented Nov 30, 2021

Describe the bug

Tests could not be started. Any other dotnet command working well.

To Reproduce

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net5.0</TargetFramework>
        <IsPackable>false</IsPackable>
        <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
    </PropertyGroup>

    <ItemGroup>
        <PackageReference Include="coverlet.msbuild" Version="3.0.3">
          <PrivateAssets>all</PrivateAssets>
          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
        <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.3" />
        <PackageReference Include="Moq" Version="4.16.0" />
        <PackageReference Include="NUnit" Version="3.13.2" />
        <PackageReference Include="NUnit3TestAdapter" Version="4.1.0" />
        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
    </ItemGroup>
</Project>

Exceptions (if any)

dotnet-test-daignostic.log

Further technical details

dotnet --info

Пакет SDK для .NET (отражающий любой global.json):
 Version:   5.0.100
 Commit:    5044b93829

Среда выполнения:
 OS Name:     rhel
 OS Version:  7
 OS Platform: Linux
 RID:         rhel.7-x64
 Base Path:   /home/jenkins/agent/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/dotnet-sdk-5.0.100-linux-x64/sdk/5.0.100/

Host (useful for support):
  Version: 5.0.0
  Commit:  cf258a14b7

.NET SDKs installed:
  5.0.100 [/home/jenkins/agent/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/dotnet-sdk-5.0.100-linux-x64/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.0 [/home/jenkins/agent/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/dotnet-sdk-5.0.100-linux-x64/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.0 [/home/jenkins/agent/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/dotnet-sdk-5.0.100-linux-x64/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Same error with SDK 5.0.201

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-DotNet Test untriaged Request triage from a team member labels Nov 30, 2021
@nohwnd
Copy link
Member

nohwnd commented Feb 1, 2022

Do you have a repro that I can use please? It looks like this issue: dotnet/runtime#3168

@nohwnd nohwnd removed the untriaged Request triage from a team member label Feb 1, 2022
@ruslanfedoseenko
Copy link
Author

It is same issue. Tried my command with strace and got error accessing tmp dirrectory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants