Skip to content

[main]: Merge pull request #1276 from github/get-gh-database-id #270

[main]: Merge pull request #1276 from github/get-gh-database-id

[main]: Merge pull request #1276 from github/get-gh-database-id #270

GitHub Actions / Integration Test Results - AdoBasic failed Oct 13, 2024 in 0s

1 fail in 0s

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

Results for commit 68ec53e.

Annotations

Check warning on line 0 in OctoshiftCLI.IntegrationTests.AdoBasicToGithub

See this annotation in the file changed.

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

Basic (OctoshiftCLI.IntegrationTests.AdoBasicToGithub) 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.AdoBasicToGithub.Basic() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/AdoBasicToGithub.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 138
   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.AdoBasicToGithub.<>c__DisplayClass1_0.<<Basic>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/AdoBasicToGithub.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)

Check notice on line 0 in .github

See this annotation in the file changed.

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

1 test found

There is 1 test, see "Raw output" for the name of the test.
Raw output
OctoshiftCLI.IntegrationTests.AdoBasicToGithub ‑ Basic