-
Notifications
You must be signed in to change notification settings - Fork 9
Feed GUID not recognized for project-scoped feeds #40
Comments
@sten-rosendahl this repository doesn't contain the If you're trying to use the It is important to note, that this repository's tasks don't support project-scoped feeds, only organization-scoped feeds. Sorry for the confusion! |
Thanks for the clarification about the kind of feeds needed for these tasks. As Azure DevOps recommends new feeds to be project-scoped only (and the web UI does not support the creation of organization-wide feeds any more), are you planning to support the new feed type? |
I'd love to support project-scoped feeds. However I honestly don't know what the effort would be to add it and my team has low bandwidth currently. That said, if you were opening to investigating, I would absolutely take contributions. Out of curiosity, do the official pipeline caching tasks not work for some reason? If possible, I'd recommend using the |
The Cache@2 task doesn't allow caches to be shared across pipelines :| |
We got exit code 19 error when the universal artifact download call is done in the RestoreAndSaveCache task. This happens in a hosted Ubuntu agent with a project-scoped feed with default permissions. It's exactly the same error (feed not found) which we got previously with the beta Cache@2 task until we used the 'project-name/feed-name' syntax for the feed but that trick does not work in this extension. The feed guid was retrieved by using the task wizard and its generated YAML code in the pipeline file.
I would also argue that an error like this should really fail the task without failing the pipeline so that this kind of problem can be detected easier. A plain cache miss would of course not fail the task.
Slightly blurred log snippets:
...
/opt/hostedtoolcache/ArtifactTool/0.2.128/x64/artifacttool universal download --feed *** --service https://dev.azure.com/***/ --package-name pipelinesdemoci --package-version 1.0.0-linux-0ded3c5f6f3d1e3ad4d55df155f8233c909403ac42cd19f4c173c3dfe230ed42 --path /home/vsts/work/1/s/tmp_cache --patvar UNIVERSAL_DOWNLOAD_PAT --verbosity Trace
...
{"@t":"2020-04-22T15:23:45.4281724Z","@m":"The feed with ID '***' doesn't exist.","@i":"09f7690a","@l":"Error","SourceContext":"ArtifactTool.Program","UtcTimestamp":"2020-04-22 15:23:45.428Z"}
##[warning]Error: An unexpected error occurred while trying to download the package. Exit code(19) and error({"@t":"2020-04-22T15:23:44.6194844Z","@m":"ArtifactHttpClientFactory.CreateVssHttpClient: DedupStoreHttpClient with BaseUri: https://vsblobprodsu6weu.vsblob.visualstudio.com/***/, MaxRetries:5, SendTimeout:00:15:00","@i":"372f5d96","@l":"Verbose","SourceContext":"ArtifactTool.Commands.UPackDownloadCommand","UtcTimestamp":"2020-04-22 15:23:44.619Z"}
...
The text was updated successfully, but these errors were encountered: