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

Unresolved bundle updates Exception when performing fetch on local upstream server #2

Open
CyberGecko opened this issue Mar 5, 2021 · 1 comment

Comments

@CyberGecko
Copy link

CyberGecko commented Mar 5, 2021

Greetings,
I was testing the upsync tool functionality for another project when i came across the Exception 'Unresolved bundle updates' when performing a fetch operation on an locally running upsync server (also with the upsync tool).

The following commands were used to get this Exception:

Populating the upstream server filtered by the product id for Visual Studio 2017:

.\upsync.exe pre-fetch --master --destination master.zip

copy master.zip master-test.zip

.\upsync.exe fetch --product-filter 682005f1-54fd-440f-b3b3-b9c652351d01 --baseline .\master-test.zip
 
.\upsync.exe fetch-content --metadata-source .\master-test-1.zip --destination .\

.\upsync.exe fetch-config --destination server-config.json

.\upsync.exe run-upstream-server --endpoint localhost --metadata-source master-test-1.zip --content-source .\ --service-config server-config.json

Trying to get the updates from the local upstream server:

.\upsync.exe  pre-fetch --endpoint http://localhost:32150 --destination local_master.zip

copy .\local_master.zip .\local_master_test.zip

.\upsync.exe  fetch --product-filter 682005f1-54fd-440f-b3b3-b9c652351d01 --baseline local_master_test.zip

This is the Exception i get:

Unhandled Exception: System.Exception: Unresolved bundle updates
   at Microsoft.UpdateServices.Storage.CompressedMetadataStore.SaveBundlesIndex() in E:\src\temp\update-server-server-sync\src\library\Storage\Metadata\CompressedMetadataStore-BundlesIndex.cs:line 119
   at Microsoft.UpdateServices.Storage.CompressedMetadataStore.Commit() in E:\src\temp\update-server-server-sync\src\library\Storage\Metadata\CompressedMetadataStore-Sink.cs:line 44
   at Microsoft.UpdateServices.Tools.UpdateRepo.MetadataSync.FetchUpdates(QueryFilter queryToRun, CompressedMetadataStore destinationResult) in E:\src\temp\update-server-server-sync\src\sync-tool\MetadataFetch.cs:line 182
   at Microsoft.UpdateServices.Tools.UpdateRepo.MetadataSync.FetchUpdates(FetchUpdatesOptions options) in E:\src\temp\update-server-server-sync\src\sync-tool\MetadataFetch.cs:line 156
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at Microsoft.UpdateServices.Tools.UpdateRepo.Program.Main(String[] args) in E:\src\temp\update-server-server-sync\src\sync-tool\Program.cs:line 15

Is there something i am missing or is there an error in the upsync tool?

@ldy985
Copy link

ldy985 commented Oct 30, 2021

I get the same exception when fetching from https://sws.update.microsoft.com

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

No branches or pull requests

2 participants