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

Use with Azure self-hosted agent in Docker #68

Open
bdovaz opened this issue Sep 5, 2024 · 0 comments
Open

Use with Azure self-hosted agent in Docker #68

bdovaz opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bdovaz
Copy link

bdovaz commented Sep 5, 2024

Stevedore Version

2.3.0

What steps are needed to reproduce the behavior?

I have tried to set up two agents on the same Windows 11 Pro machine by installing Docker with stevedore:

https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#windows

What you expected?

It should work.

What happened?

I have strange I/O errors like access denied on file copies or files in use by the vmwp.exe process.

This same Azure pipeline works perfectly on self-hosted Windows agents that are not on Docker but installed in the host machine itself.

ERROR 1

The process cannot access the file '{MY_FILE}' because it is being used by another process.

ERROR 2

git clean errors that came from files in use by the vmwp.exe process (I don't know why):

warning: failed to remove {MY_FILE}: Invalid argument

ERROR 3

[DownloadSingleArtifactAsync] Try 1/3, retryable exception caught. Retrying in 00:00:01. System.UnauthorizedAccessException: Access denied: {MY_FILE}
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupStoreClient.DownloadAndHardlinkTempFile(DedupNode node, String fullPath, Uri proxyUri, EdgeCache edgeCache, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupStoreClient.DownloadToFileAsync(DedupNode node, String fullPath, Uri proxyUri, EdgeCache edgeCache, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupStoreClientWithDataport.DownloadToFileAsync(IDedupDataPort dataport, DedupNode node, String fullPath, Uri proxyUri, EdgeCache edgeCache, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupStoreClientWithDataport.DownloadToFileAsync(IDedupDataPort dataport, DedupIdentifier dedupId, String fullPath, UInt64 fileSize, GetDedupAsyncFunc dedupFetcher, Uri proxyUri, EdgeCache edgeCache, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupManifestArtifactClient.<>c__DisplayClass31_0.<b__5>d.MoveNext()

Additional context

No response

@bdovaz bdovaz added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant