Skip to content

Skip source GHES version check when the source host ends in ghe.com

be4741a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Skip source GHES version check when the source host ends in ghe.com #1530

Skip source GHES version check when the source host ends in ghe.com
be4741a
Select commit
Loading
Failed to load commit list.
GitHub Actions / Integration Test Results - AdoCsv failed Mar 20, 2026 in 0s

1 fail in 0s

1 tests   0 ✅  0s ⏱️
1 suites  0 💤
1 files    1 ❌

Results for commit be4741a.

Annotations

Check warning on line 0 in OctoshiftCLI.IntegrationTests.AdoCsvToGithub

See this annotation in the file changed.

@github-actions github-actions / Integration Test Results - AdoCsv

With_Inventory_Report_Csv (OctoshiftCLI.IntegrationTests.AdoCsvToGithub) failed

src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 0s]
Raw output
OctoshiftCLI.OctoshiftCliException : Unauthorized. Please check your token and try again
---- System.Net.Http.HttpRequestException : Response status code does not indicate success: 401 (Unauthorized).
at OctoshiftCLI.RetryPolicy.<CreateRetryPolicyForException>b__8_1[TException](Exception ex, TimeSpan ts, Context ctx) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/RetryPolicy.cs:line 57
   at Polly.AsyncRetrySyntax.<>c__DisplayClass22_0.<<WaitAndRetryAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   at OctoshiftCLI.RetryPolicy.Retry(Func`1 func) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/RetryPolicy.cs:line 43
   at OctoshiftCLI.IntegrationTests.AdoCsvToGithub.With_Inventory_Report_Csv() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/AdoCsvToGithub.cs:line 28
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at OctoshiftCLI.Services.AdoClient.<>c__DisplayClass13_0.<<GetWithPagingAsync>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/AdoClient.cs:line 124
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   at OctoshiftCLI.RetryPolicy.HttpRetry[T](Func`1 func, Func`2 filter) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/RetryPolicy.cs:line 29
   at OctoshiftCLI.Services.AdoClient.GetWithPagingAsync(String url, String continuationToken) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/AdoClient.cs:line 119
   at OctoshiftCLI.Services.AdoClient.GetWithPagingAsync(String url) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/AdoClient.cs:line 93
   at OctoshiftCLI.Services.AdoApi.GetTeamProjects(String org) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/AdoApi.cs:line 160
   at OctoshiftCLI.IntegrationTests.TestHelper.ResetAdoTestEnvironment(String adoOrg, String adoServerUrl) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 72
   at OctoshiftCLI.IntegrationTests.AdoCsvToGithub.<>c__DisplayClass1_0.<<With_Inventory_Report_Csv>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/AdoCsvToGithub.cs:line 30
--- End of stack trace from previous location ---
   at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)