Handle Secondary Rate Limit Errors in CLI #1426
4 fail in 4m 22s
Annotations
Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub
github-actions / Integration Test Results - Bbs
MigrateRepo_MultipartUpload (OctoshiftCLI.IntegrationTests.BbsToGithub) failed
src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 57s]
Raw output
CliWrap.Exceptions.CommandExecutionException : Command execution failed because the underlying process (pwsh#2950) returned a non-zero exit code (1).
Command:
pwsh -File /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/bin/Debug/net8.0/../../../../../dist/linux-x64/migrate.ps1
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 278
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at OctoshiftCLI.IntegrationTests.TestHelper.RunShellCommand(String command, String fileName, String workingDirectory, IReadOnlyDictionary`2 environmentVariables) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 554
at OctoshiftCLI.IntegrationTests.TestHelper.RunPowershellScript(String script, IReadOnlyDictionary`2 tokens) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 545
at OctoshiftCLI.IntegrationTests.TestHelper.RunCliMigration(String generateScriptCommand, String cliName, IReadOnlyDictionary`2 tokens) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 533
at OctoshiftCLI.IntegrationTests.TestHelper.RunBbsCliMigration(String generateScriptCommand, IReadOnlyDictionary`2 tokens) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 572
at OctoshiftCLI.IntegrationTests.BbsToGithub.MigrateRepo_MultipartUpload() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 164
--- End of stack trace from previous location ---
Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub
github-actions / Integration Test Results - Bbs
Basic(bbsServer: "http://e2e-bbs-8-5-0-linux-2204.westus2.cloudapp.a"···, useSshForArchiveDownload: True, uploadOption: AwsS3) (OctoshiftCLI.IntegrationTests.BbsToGithub) failed
src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 1m 7s]
Raw output
CliWrap.Exceptions.CommandExecutionException : Command execution failed because the underlying process (git#3182) returned a non-zero exit code (128).
Command:
git push
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 278
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at OctoshiftCLI.IntegrationTests.TestHelper.RunShellCommand(String command, String fileName, String workingDirectory, IReadOnlyDictionary`2 environmentVariables) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 554
at OctoshiftCLI.IntegrationTests.TestHelper.RunGitCommand(String command, String workingDirectory) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 179
at OctoshiftCLI.IntegrationTests.TestHelper.InitializeBbsRepo(String bbsProjectKey, String repoName) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 176
at OctoshiftCLI.IntegrationTests.BbsToGithub.<>c__DisplayClass19_0.<<Basic>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 99
--- 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.BbsToGithub.Basic(String bbsServer, Boolean useSshForArchiveDownload, ArchiveUploadOption uploadOption) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 91
--- End of stack trace from previous location ---
Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub
github-actions / Integration Test Results - Bbs
Basic(bbsServer: "http://e2e-bbs-8-5-0-linux-2204.westus2.cloudapp.a"···, useSshForArchiveDownload: True, uploadOption: AzureStorage) (OctoshiftCLI.IntegrationTests.BbsToGithub) failed
src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 1m 8s]
Raw output
CliWrap.Exceptions.CommandExecutionException : Command execution failed because the underlying process (git#3319) returned a non-zero exit code (128).
Command:
git push
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 278
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at OctoshiftCLI.IntegrationTests.TestHelper.RunShellCommand(String command, String fileName, String workingDirectory, IReadOnlyDictionary`2 environmentVariables) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 554
at OctoshiftCLI.IntegrationTests.TestHelper.RunGitCommand(String command, String workingDirectory) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 179
at OctoshiftCLI.IntegrationTests.TestHelper.InitializeBbsRepo(String bbsProjectKey, String repoName) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 176
at OctoshiftCLI.IntegrationTests.BbsToGithub.<>c__DisplayClass19_0.<<Basic>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 99
--- 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.BbsToGithub.Basic(String bbsServer, Boolean useSshForArchiveDownload, ArchiveUploadOption uploadOption) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 91
--- End of stack trace from previous location ---
Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub
github-actions / Integration Test Results - Bbs
Basic(bbsServer: "http://e2e-bbs-8-5-0-linux-2204.westus2.cloudapp.a"···, useSshForArchiveDownload: True, uploadOption: GithubStorage) (OctoshiftCLI.IntegrationTests.BbsToGithub) failed
src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 1m 7s]
Raw output
CliWrap.Exceptions.CommandExecutionException : Command execution failed because the underlying process (git#3478) returned a non-zero exit code (128).
Command:
git push
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 278
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at CliWrap.Command.ExecuteAsync(ProcessEx process, CancellationToken forcefulCancellationToken, CancellationToken gracefulCancellationToken) in /_/CliWrap/Command.Execution.cs:line 294
at OctoshiftCLI.IntegrationTests.TestHelper.RunShellCommand(String command, String fileName, String workingDirectory, IReadOnlyDictionary`2 environmentVariables) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 554
at OctoshiftCLI.IntegrationTests.TestHelper.RunGitCommand(String command, String workingDirectory) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 179
at OctoshiftCLI.IntegrationTests.TestHelper.InitializeBbsRepo(String bbsProjectKey, String repoName) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 176
at OctoshiftCLI.IntegrationTests.BbsToGithub.<>c__DisplayClass19_0.<<Basic>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 99
--- 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.BbsToGithub.Basic(String bbsServer, Boolean useSshForArchiveDownload, ArchiveUploadOption uploadOption) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 91
--- End of stack trace from previous location ---