Skip to content

Instantly share code, notes, and snippets.

@camusicjunkie
Created February 6, 2024 04:37
Show Gist options
  • Save camusicjunkie/d2666ce95be36b05b68318f219676507 to your computer and use it in GitHub Desktop.
Save camusicjunkie/d2666ce95be36b05b68318f219676507 to your computer and use it in GitHub Desktop.
Gitversion Error
PS D:\Powershell\Modules\PowerLFM> gitversion /diag
INFO [02/06/24 5:36:17:88] Dumping commit graph:
INFO [02/06/24 5:36:17:95] ERROR: error: inflate: data stream error (incorrect data check)
ERROR: error: Could not read 6432925b2fd72618db2c6bb67422a21680bcba00
ERROR: fatal: revision walk setup failed
INFO [02/06/24 5:36:17:95] Working directory: D:\Powershell\Modules\PowerLFM
INFO [02/06/24 5:36:17:95] Project root is: D:\Powershell\Modules\PowerLFM\
INFO [02/06/24 5:36:17:95] DotGit directory is: D:\Powershell\Modules\PowerLFM\.git
INFO [02/06/24 5:36:17:95] Branch from build environment:
INFO [02/06/24 5:36:17:97] Using latest commit on specified branch
INFO [02/06/24 5:36:18:00] Running against branch: updateBuild ('52519a2' - more appveyor fix attempts. broken gitversion)
INFO [02/06/24 5:36:18:00] -< Begin: Fetching the base versions for version calculation... >-
INFO [02/06/24 5:36:18:02] -< Begin: Finding branches source of 'updateBuild' >-
INFO [02/06/24 5:36:18:02] -< Begin: Finding merge base between 'updateBuild' and 'master'. >-
INFO [02/06/24 5:36:18:03] Found merge base of ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:03] Merge base of 'updateBuild' and 'master' is ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] -< End: Finding merge base between 'updateBuild' and 'master'. (Took: 11.74ms) >-
INFO [02/06/24 5:36:18:04] -< Begin: Finding merge base between 'updateBuild' and 'origin/master'. >-
INFO [02/06/24 5:36:18:04] Found merge base of ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] Merge base of 'updateBuild' and 'origin/master' is ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] -< End: Finding merge base between 'updateBuild' and 'origin/master'. (Took: 1.07ms) >-
INFO [02/06/24 5:36:18:04] -< End: Finding branches source of 'updateBuild' (Took: 28.58ms) >-
INFO [02/06/24 5:36:18:05] Calculating base versions for 'master'
INFO [02/06/24 5:36:18:05] -< Begin: [Using 'ConfigNextVersionVersionStrategy' strategy] >-
INFO [02/06/24 5:36:18:05] -< End: [Using 'ConfigNextVersionVersionStrategy' strategy] (Took: 0.50ms) >-
INFO [02/06/24 5:36:18:05] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [02/06/24 5:36:18:05] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 5.66ms) >-
INFO [02/06/24 5:36:18:05] -< End: Fetching the base versions for version calculation... (Took: 49.27ms) >-
ERROR [02/06/24 5:36:18:07] An unexpected error occurred:
LibGit2Sharp.LibGit2SharpException: incorrect data check
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 172
at LibGit2Sharp.Core.Proxy.git_revwalk_next(RevWalkerHandle walker) in /_/LibGit2Sharp/Core/Proxy.cs:line 2774
at LibGit2Sharp.CommitLog.CommitEnumerator.MoveNext() in /_/LibGit2Sharp/CommitLog.cs:line 140
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.SkipWhileIterator[TSource](IEnumerable`1 source, Func`2 predicate)+MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at System.Linq.Enumerable.EnumerablePartition`1.ToList()
at GitVersion.VersionCalculation.MergeMessageVersionStrategy.GetBaseVersions(EffectiveBranchConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionSearchStrategies/MergeMessageVersionStrategy.cs:line 31
at GitVersion.VersionCalculation.NextVersionCalculator.<>c__DisplayClass13_0.<<GetNextVersions>g__GetNextVersionsInternal|0>d.MoveNext() in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 158
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at GitVersion.VersionCalculation.NextVersionCalculator.GetNextVersions(IBranch branch, IGitVersionConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 141
at GitVersion.VersionCalculation.NextVersionCalculator.CalculateNextVersion(IBranch branch, IGitVersionConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 66
at GitVersion.VersionCalculation.NextVersionCalculator.FindVersion() in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 43
at GitVersion.GitVersionCalculateTool.CalculateVersionVariables() in /_/src/GitVersion.Core/Core/GitVersionCalculateTool.cs:line 53
at GitVersion.GitVersionExecutor.RunGitVersionTool(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.App/GitVersionExecutor.cs:line 66
INFO [02/06/24 5:36:18:07] Attempting to show the current git graph (please include in issue):
INFO [02/06/24 5:36:18:07] Showing max of 100 commits
INFO [02/06/24 5:36:18:12] ERROR: error: inflate: data stream error (incorrect data check)
ERROR: error: Could not read 6432925b2fd72618db2c6bb67422a21680bcba00
ERROR: fatal: revision walk setup failed
INFO [02/06/24 5:36:17:82] Applicable build agent found: 'LocalBuild'.
INFO [02/06/24 5:36:17:88] Dumping commit graph:
INFO [02/06/24 5:36:17:95] ERROR: error: inflate: data stream error (incorrect data check)
ERROR: error: Could not read 6432925b2fd72618db2c6bb67422a21680bcba00
ERROR: fatal: revision walk setup failed
INFO [02/06/24 5:36:17:95] Working directory: D:\Powershell\Modules\PowerLFM
INFO [02/06/24 5:36:17:95] Project root is: D:\Powershell\Modules\PowerLFM\
INFO [02/06/24 5:36:17:95] DotGit directory is: D:\Powershell\Modules\PowerLFM\.git
INFO [02/06/24 5:36:17:95] Branch from build environment:
INFO [02/06/24 5:36:17:97] Using latest commit on specified branch
INFO [02/06/24 5:36:18:00] Running against branch: updateBuild ('52519a2' - more appveyor fix attempts. broken gitversion)
INFO [02/06/24 5:36:18:00] -< Begin: Fetching the base versions for version calculation... >-
INFO [02/06/24 5:36:18:02] -< Begin: Finding branches source of 'updateBuild' >-
INFO [02/06/24 5:36:18:02] -< Begin: Finding merge base between 'updateBuild' and 'master'. >-
INFO [02/06/24 5:36:18:03] Found merge base of ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:03] Merge base of 'updateBuild' and 'master' is ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] -< End: Finding merge base between 'updateBuild' and 'master'. (Took: 11.74ms) >-
INFO [02/06/24 5:36:18:04] -< Begin: Finding merge base between 'updateBuild' and 'origin/master'. >-
INFO [02/06/24 5:36:18:04] Found merge base of ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] Merge base of 'updateBuild' and 'origin/master' is ''9a27561' - Removed and updated dependencies (#131)'
INFO [02/06/24 5:36:18:04] -< End: Finding merge base between 'updateBuild' and 'origin/master'. (Took: 1.07ms) >-
INFO [02/06/24 5:36:18:04] -< End: Finding branches source of 'updateBuild' (Took: 28.58ms) >-
INFO [02/06/24 5:36:18:05] Calculating base versions for 'master'
INFO [02/06/24 5:36:18:05] -< Begin: [Using 'ConfigNextVersionVersionStrategy' strategy] >-
INFO [02/06/24 5:36:18:05] -< End: [Using 'ConfigNextVersionVersionStrategy' strategy] (Took: 0.50ms) >-
INFO [02/06/24 5:36:18:05] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
INFO [02/06/24 5:36:18:05] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 5.66ms) >-
INFO [02/06/24 5:36:18:05] -< End: Fetching the base versions for version calculation... (Took: 49.27ms) >-
ERROR [02/06/24 5:36:18:07] An unexpected error occurred:
LibGit2Sharp.LibGit2SharpException: incorrect data check
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 172
at LibGit2Sharp.Core.Proxy.git_revwalk_next(RevWalkerHandle walker) in /_/LibGit2Sharp/Core/Proxy.cs:line 2774
at LibGit2Sharp.CommitLog.CommitEnumerator.MoveNext() in /_/LibGit2Sharp/CommitLog.cs:line 140
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.SkipWhileIterator[TSource](IEnumerable`1 source, Func`2 predicate)+MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at System.Linq.Enumerable.EnumerablePartition`1.ToList()
at GitVersion.VersionCalculation.MergeMessageVersionStrategy.GetBaseVersions(EffectiveBranchConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionSearchStrategies/MergeMessageVersionStrategy.cs:line 31
at GitVersion.VersionCalculation.NextVersionCalculator.<>c__DisplayClass13_0.<<GetNextVersions>g__GetNextVersionsInternal|0>d.MoveNext() in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 158
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at GitVersion.VersionCalculation.NextVersionCalculator.GetNextVersions(IBranch branch, IGitVersionConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 141
at GitVersion.VersionCalculation.NextVersionCalculator.CalculateNextVersion(IBranch branch, IGitVersionConfiguration configuration) in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 66
at GitVersion.VersionCalculation.NextVersionCalculator.FindVersion() in /_/src/GitVersion.Core/VersionCalculation/VersionCalculators/NextVersionCalculator.cs:line 43
at GitVersion.GitVersionCalculateTool.CalculateVersionVariables() in /_/src/GitVersion.Core/Core/GitVersionCalculateTool.cs:line 53
at GitVersion.GitVersionExecutor.RunGitVersionTool(GitVersionOptions gitVersionOptions) in /_/src/GitVersion.App/GitVersionExecutor.cs:line 66
INFO [02/06/24 5:36:18:07] Attempting to show the current git graph (please include in issue):
INFO [02/06/24 5:36:18:07] Showing max of 100 commits
INFO [02/06/24 5:36:18:12] ERROR: error: inflate: data stream error (incorrect data check)
ERROR: error: Could not read 6432925b2fd72618db2c6bb67422a21680bcba00
ERROR: fatal: revision walk setup failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment