Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: ensure all nightlies post github issues when tests fail #77688

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

rickystewart
Copy link
Collaborator

Release justification: ensure failing nightlies post github issues
Release note: None

@rickystewart rickystewart requested a review from rail March 11, 2022 18:43
@rickystewart rickystewart requested a review from a team as a code owner March 11, 2022 18:43
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@rail rail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @rickystewart)


build/teamcity/cockroach/nightlies/compose.sh, line 40 at r1 (raw file):

if [ $exit_status -ne 0 ]
then
    exit $exit_status

I think you can just exit $exit_status without the if check, because exit 0 is a normal exit status.


build/teamcity/cockroach/nightlies/lint_urls_impl.sh, line 24 at r1 (raw file):

    $GO_TEST_JSON_OUTPUT_FILE \
    $exit_status
if [ $exit_status -ne 0 ]

the same here


build/teamcity/cockroach/nightlies/random_syntax_tests_impl.sh, line 22 at r1 (raw file):

        /artifacts \
        $GO_TEST_JSON_OUTPUT_FILE \
        $exit_status

you need to add exit here


build/teamcity/cockroach/nightlies/sqlite_logic_test_impl.sh, line 23 at r1 (raw file):

        /artifacts \
        $GO_TEST_JSON_OUTPUT_FILE \
        $exit_status

and here

Release justification: ensure failing nightlies post github issues
Release note: None
Copy link
Member

@rail rail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r2, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @rickystewart)

@rickystewart
Copy link
Collaborator Author

bors r=rail

@craig
Copy link
Contributor

craig bot commented Mar 12, 2022

Build succeeded:

@craig craig bot merged commit af747e7 into cockroachdb:master Mar 12, 2022
srosenberg added a commit to srosenberg/cockroach that referenced this pull request Apr 18, 2022
Confusingly bazci uses `--artifacts_dir` whereas roachtest uses `--artifacts`.
The recent refactoring of optimizer_tests_impl.sh erroneously used
the latter instead of the former.
Consequently, (sql) Optimizer Tests stopped working in CI.

Fixes: cockroachdb#77688
Release justification: ensure CI can run nightly (sql) Optimizer Tests
Release note: None
craig bot pushed a commit that referenced this pull request Apr 19, 2022
80091: ci: fix optimizer_tests_impl.sh r=srosenberg a=srosenberg

Confusingly bazci uses `--artifacts_dir` whereas roachtest uses `--artifacts`.
The recent refactoring of optimizer_tests_impl.sh erroneously used
the latter instead of the former.
Consequently, (sql) Optimizer Tests stopped working in CI.

Fixes: #77688
Release justification: ensure CI can run nightly (sql) Optimizer Tests
Release note: None

80130: ci: fail if `redact_safe.md` is not up-to-date r=rail,ajwerner a=rickystewart

Release note: None

80135: bazel: bump size of `rangefeed` test r=celiala a=rickystewart

I've seen this time out in CI a couple times.

Release note: None

Co-authored-by: Stan Rosenberg <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
blathers-crl bot pushed a commit that referenced this pull request Apr 19, 2022
Confusingly bazci uses `--artifacts_dir` whereas roachtest uses `--artifacts`.
The recent refactoring of optimizer_tests_impl.sh erroneously used
the latter instead of the former.
Consequently, (sql) Optimizer Tests stopped working in CI.

Fixes: #77688
Release justification: ensure CI can run nightly (sql) Optimizer Tests
Release note: None
blathers-crl bot pushed a commit that referenced this pull request Apr 19, 2022
Confusingly bazci uses `--artifacts_dir` whereas roachtest uses `--artifacts`.
The recent refactoring of optimizer_tests_impl.sh erroneously used
the latter instead of the former.
Consequently, (sql) Optimizer Tests stopped working in CI.

Fixes: #77688
Release justification: ensure CI can run nightly (sql) Optimizer Tests
Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants