-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11023 from c2thorn/sync-main-FEATURE-BRANCH-6.0.0
Sync main feature branch 6.0.0
- Loading branch information
Showing
337 changed files
with
46,012 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
.ci/magician/cmd/test_terraform_vcr_non_exercised_tests.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{- if or (gt (len .NotRunBetaTests) 0) (gt (len .NotRunGATests) 0) -}} | ||
#### Non-exercised tests | ||
|
||
{{if gt (len .NotRunBetaTests) 0 -}} | ||
Tests were added that are skipped in VCR: | ||
{{range .NotRunBetaTests}}{{. | printf "- %s\n"}}{{end}} | ||
{{end}} | ||
|
||
{{if gt (len .NotRunGATests) 0 -}} | ||
Tests were added that are GA-only additions and require manual runs: | ||
{{range .NotRunGATests}}{{. | printf "- %s\n"}}{{end}} | ||
{{end}} | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{{- if gt (len .RecordingResult.PassedTests) 0 -}} | ||
$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ | ||
{{range .RecordingResult.PassedTests}}`{{.}}`[[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{$.PRNumber}}/artifacts/{{$.BuildID}}/recording/{{.}}.log)] | ||
{{end}} | ||
|
||
{{- if gt (len .ReplayingAfterRecordingResult.FailedTests ) 0 -}} | ||
$\textcolor{red}{\textsf{Tests failed when rerunning REPLAYING mode:}}$ | ||
{{range .ReplayingAfterRecordingResult.FailedTests}}`{{.}}`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{$.PRNumber}}/artifacts/{{$.BuildID}}/build-log/replaying_build_after_recording/{{.}}_replaying_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{$.PRNumber}}/artifacts/{{$.BuildID}}/replaying_after_recording/{{.}}.log)] | ||
{{end}} | ||
|
||
Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. | ||
|
||
Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer. | ||
|
||
{{else}} | ||
$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$ | ||
{{end}}{{/* end of if gt (len .ReplayingAfterRecordingResult.FailedTests ) 0 */}} | ||
--- | ||
{{end}}{{/* end of if gt (len .RecordingResult.PassedTests) 0 */}} | ||
|
||
{{if gt (len .RecordingResult.FailedTests) 0 -}} | ||
$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ | ||
{{range .RecordingResult.FailedTests}}`{{.}}`[[Error message](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{$.PRNumber}}/artifacts/{{$.BuildID}}/build-log/recording_build/{{.}}_recording_test.log)] [[Debug log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{$.PRNumber}}/artifacts/{{$.BuildID}}/recording/{{.}}.log)] | ||
{{end}} | ||
{{end}} {{- /* end of if gt (len .RecordingResult.FailedTests) 0 */ -}} | ||
|
||
{{if .HasTerminatedTests}}$\textcolor{red}{\textsf{Several tests got terminated during RECORDING mode.}}${{end}} | ||
{{if .RecordingErr}}$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}${{end}} | ||
{{if .AllRecordingPassed}}$\textcolor{green}{\textsf{All tests passed!}}${{end}} | ||
|
||
View the [build log](https://storage.cloud.google.com/ci-vcr-logs/beta/refs/heads/auto-pr-{{.PRNumber}}/artifacts/{{.BuildID}}/build-log/recording_test.log) or the [debug log](https://console.cloud.google.com/storage/browser/ci-vcr-logs/beta/refs/heads/auto-pr-{{.PRNumber}}/artifacts/{{.BuildID}}/recording) for each test |
Oops, something went wrong.