Add pagination support to GetIdpGroupId method #4606
GitHub Actions / Integration Test Results - AdoCsv
failed
Oct 4, 2024 in 0s
1 fail in 7m 6s
1 tests 0 ✅ 7m 6s ⏱️
1 suites 0 💤
1 files 1 ❌
Results for commit a20fabd.
Annotations
Check warning on line 0 in OctoshiftCLI.IntegrationTests.AdoCsvToGithub
github-actions / Integration Test Results - AdoCsv
With_Inventory_Report_Csv (OctoshiftCLI.IntegrationTests.AdoCsvToGithub) failed
src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 7m 6s]
Raw output
System.Net.Http.HttpRequestException : GitHub API error: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/repos#list-organization-repositories","status":"404"}
---- System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
at OctoshiftCLI.Services.GithubClient.SendAsync(HttpMethod httpMethod, String url, Object body, HttpStatusCode expectedStatus, Dictionary`2 customHeaders) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 201
at OctoshiftCLI.Services.GithubClient.<>c__DisplayClass18_0.<<GetWithRetry>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 150
--- 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.Retry[T](Func`1 func) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/RetryPolicy.cs:line 45
at OctoshiftCLI.Services.GithubClient.GetWithRetry(String url, Dictionary`2 customHeaders, HttpStatusCode expectedStatus) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 150
at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Func`2 resultCollectionSelector, Dictionary`2 customHeaders)+MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 66
at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Func`2 resultCollectionSelector, Dictionary`2 customHeaders)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIterator`2.MoveNextCore() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Select.cs:line 221
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 70
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 75
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at OctoshiftCLI.Services.GithubApi.GetRepos(String org) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubApi.cs:line 97
at OctoshiftCLI.IntegrationTests.TestHelper.ResetGithubTestEnvironment(String githubOrg) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 139
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 31
--- 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)
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.GithubClient.SendAsync(HttpMethod httpMethod, String url, Object body, HttpStatusCode expectedStatus, Dictionary`2 customHeaders) in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 197
Loading