Skip to content

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

@CyberGecko

Description

@CyberGecko

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions