Skip to content

Add Support for Archive Uploads to GitHub-Owned Storage with Multipart Upload Option #4554

Add Support for Archive Uploads to GitHub-Owned Storage with Multipart Upload Option

Add Support for Archive Uploads to GitHub-Owned Storage with Multipart Upload Option #4554

GitHub Actions / Integration Test Results - Bbs failed Sep 24, 2024 in 0s

2 fail, 1 pass in 28m 1s

3 tests  ±0   1 ✅  - 2   28m 1s ⏱️ - 8m 6s
1 suites ±0   0 💤 ±0 
1 files   ±0   2 ❌ +2 

Results for commit 71e3ed6. ± Comparison against earlier commit 9867a30.

Annotations

Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub

See this annotation in the file changed.

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

Basic(bbsServer: "http://e2e-bbs-7-21-9-win-2019.eastus.cloudapp.azu"···, useSshForArchiveDownload: False, useAzureForArchiveUpload: True) (OctoshiftCLI.IntegrationTests.BbsToGithub) failed

src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 8m 50s]
Raw output
System.Net.Http.HttpRequestException : GitHub API error: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/commits#list-commits","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 189
   at OctoshiftCLI.Services.GithubClient.<>c__DisplayClass17_0.<<GetWithRetry>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 138
--- 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 138
   at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Dictionary`2 customHeaders)+MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 55
   at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Dictionary`2 customHeaders)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   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.IntegrationTests.TestHelper.GetRepoCommitShas(String org, String repo) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 491
   at OctoshiftCLI.IntegrationTests.TestHelper.AssertGithubRepoInitialized(String githubOrg, String repo) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 611
   at OctoshiftCLI.IntegrationTests.BbsToGithub.Basic(String bbsServer, Boolean useSshForArchiveDownload, Boolean useAzureForArchiveUpload) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 128
--- 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 185

Check warning on line 0 in OctoshiftCLI.IntegrationTests.BbsToGithub

See this annotation in the file changed.

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

Basic(bbsServer: "http://e2e-bbs-8-5-0-linux-2204.eastus.cloudapp.az"···, useSshForArchiveDownload: True, useAzureForArchiveUpload: False) (OctoshiftCLI.IntegrationTests.BbsToGithub) failed

src/OctoshiftCLI.IntegrationTests/integration-tests.xml [took 6m 15s]
Raw output
System.Net.Http.HttpRequestException : GitHub API error: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/commits#list-commits","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 189
   at OctoshiftCLI.Services.GithubClient.<>c__DisplayClass17_0.<<GetWithRetry>b__0>d.MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 138
--- 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 138
   at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Dictionary`2 customHeaders)+MoveNext() in /home/runner/work/gh-gei/gh-gei/src/Octoshift/Services/GithubClient.cs:line 55
   at OctoshiftCLI.Services.GithubClient.GetAllAsync(String url, Dictionary`2 customHeaders)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   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.IntegrationTests.TestHelper.GetRepoCommitShas(String org, String repo) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 491
   at OctoshiftCLI.IntegrationTests.TestHelper.AssertGithubRepoInitialized(String githubOrg, String repo) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/TestHelper.cs:line 611
   at OctoshiftCLI.IntegrationTests.BbsToGithub.Basic(String bbsServer, Boolean useSshForArchiveDownload, Boolean useAzureForArchiveUpload) in /home/runner/work/gh-gei/gh-gei/src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs:line 128
--- 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 185