Skip to content

The process cannot access the file '/tmp/***' because it is being used by another process #371

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

Closed
loning opened this issue Mar 18, 2019 · 6 comments
Labels
needs more info More details are needed

Comments

@loning
Copy link

loning commented Mar 18, 2019

it sometimes appears

https://travis-ci.org/AElfProject/AElf/builds/507692055?utm_source=github_status&utm_medium=notification

Calculating coverage result...
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error : The process cannot access the file '/tmp/AElf.Sdk.CSharp_054f2d30-72e4-44f2-899f-cd0fd4e69951' because it is being used by another process. [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error :    at System.IO.FileStream.Init(FileMode mode, FileShare share) [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error :    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error :    at Coverlet.Core.Coverage.CalculateCoverage() in /Users/toni/Workspace/coverlet/src/coverlet.core/Coverage.cs:line 224 [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error :    at Coverlet.Core.Coverage.GetCoverageResult() in /Users/toni/Workspace/coverlet/src/coverlet.core/Coverage.cs:line 107 [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
/home/travis/.nuget/packages/coverlet.msbuild/2.6.0/build/netstandard2.0/coverlet.msbuild.targets(35,5): error :    at Coverlet.MSbuild.Tasks.CoverageResultTask.Execute() in /Users/toni/Workspace/coverlet/src/coverlet.msbuild.tasks/CoverageResultTask.cs:line 67 [/home/travis/build/AElfProject/AElf/AElf.Contracts.Consensus.DPoS.Tests/AElf.Contracts.Consensus.DPoS.Tests.csproj]
@tonerdo
Copy link
Collaborator

tonerdo commented Mar 20, 2019

This seems like a transient file access error. Can you try it again?

@loning
Copy link
Author

loning commented Mar 21, 2019 via email

@MarcoRossignoli MarcoRossignoli added the needs more info More details are needed label May 6, 2019
@MarcoRossignoli
Copy link
Collaborator

@loning are you experiencing issue again or we can close this?

@loning
Copy link
Author

loning commented Jun 14, 2019 via email

@MarcoRossignoli
Copy link
Collaborator

Seem a problem with concurrent msbuild test runs, you could also try with #491 (comment) that slow down test but could work.

@MarcoRossignoli
Copy link
Collaborator

Close for stale, feel free to re-open if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More details are needed
Projects
None yet
Development

No branches or pull requests

3 participants