Skip to content

Provide custom sponge configs to exclude manual runs from testgrid#26283

Merged
lidizheng merged 6 commits intogrpc:masterfrom
lidizheng:custom-sponge
May 19, 2021
Merged

Provide custom sponge configs to exclude manual runs from testgrid#26283
lidizheng merged 6 commits intogrpc:masterfrom
lidizheng:custom-sponge

Conversation

@lidizheng
Copy link
Copy Markdown
Contributor

@lidizheng lidizheng commented May 18, 2021

Internal counterpart cl/374442201

Sponge tests allow the test script to provide additional sponge configs in CSV to search test results.

This is implemented by PSM Sec framework for a while:

#######################################
# Report extra information about the job via sponge properties.
# Globals:
# KOKORO_ARTIFACTS_DIR
# GIT_ORIGIN_URL
# GIT_COMMIT_SHORT
# TESTGRID_EXCLUDE
# Arguments:
# None
# Outputs:
# Writes the output to stdout
# Writes job properties to $KOKORO_ARTIFACTS_DIR/custom_sponge_config.csv
#######################################

This PR hope to bring this functionality to run_xds_tests.py as well.

The bash scripts are scattered for xDS interop tests that we have multiple languages times v2/v3. Backporting that many bash scripts might take forever. Hence, this PR choose to add the logic to the LCA of all build runs, run_xds_tests.py.

@lidizheng lidizheng added the release notes: no Indicates if PR should not be in release notes label May 18, 2021
@lidizheng
Copy link
Copy Markdown
Contributor Author

lidizheng commented May 18, 2021

Test runs:

2021-05-18 20:59:52,366: INFO     Writing Sponge configs: ['TESTS_FORMAT_VERSION,2', 'TESTGRID_EXCLUDE,0', 'GIT_ORIGIN_URL,/var/local/jenkins/grpc', 'GIT_COMMIT_SHORT,e38cbb2']

@lidizheng lidizheng marked this pull request as ready for review May 18, 2021 22:15
Copy link
Copy Markdown
Member

@sergiitk sergiitk left a comment

Choose a reason for hiding this comment

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

Wow, that was fast! 🥇
Found an error tho.

@lidizheng
Copy link
Copy Markdown
Contributor Author

lidizheng commented May 18, 2021

Copy link
Copy Markdown
Contributor Author

@lidizheng lidizheng left a comment

Choose a reason for hiding this comment

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

Thanks for the quick review! All comments addressed. The test link is updated.

Copy link
Copy Markdown
Member

@sergiitk sergiitk left a comment

Choose a reason for hiding this comment

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

This is great! Thank you so much! 🥇

@lidizheng lidizheng merged commit 113cd95 into grpc:master May 19, 2021
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit to lidizheng/grpc that referenced this pull request May 19, 2021
…rpc#26283)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit that referenced this pull request May 20, 2021
…26283) (#26312)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit that referenced this pull request May 20, 2021
…26283) (#26313)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy
lidizheng added a commit that referenced this pull request May 20, 2021
lidizheng added a commit that referenced this pull request May 20, 2021
lidizheng added a commit that referenced this pull request May 20, 2021
lidizheng added a commit that referenced this pull request May 20, 2021
lidizheng added a commit that referenced this pull request May 20, 2021
lidizheng added a commit that referenced this pull request May 20, 2021
apolcyn added a commit that referenced this pull request Jun 17, 2021
* Bump version to v1.38.0-pre1 (#26208)

* Bump version to v1.38.0-pre1

* Regenerate projects

* [Backport][v1.38.x] Add EventEngine's port.h to the podspec (#26222)

Backport of #26220 to v1.38.x. This is the only backport, since the EventEngine code was introduced after v1.37 was cut.

This file is needed for the Objective-C cocoapod build.

* fix xds resolver to add XdsClient to channel args even on errors (#26282) (#26288)

Co-authored-by: Mark D. Roth <[email protected]>

* Backport config update timeout change to v1.38.x (#26276)

* Enable Traffic Director time tracer (#26111)

* Just update the timeout (#26223)

* Increase xds job timeouts (#26187)

* Revert grpc_xds_k8s job timeouts back to 120 mins (#26219)

* Revert grpc_xds_k8s_python timeout to 120mins (#26221)

Seems to have been inadvertently increased in #26187

Co-authored-by: Eric Gribkoff <[email protected]>
Co-authored-by: Yash Tibrewal <[email protected]>

* Bump v1.38.x to v1.38.0  (#26317)

* Bump version to v1.38.0

* Regenerate projects

* Provide custom sponge configs to exclude manual runs from testgrid (#26283) (#26313)

* Provide custom sponge configs

* Correct the script

* Allow test scripts to produce artifacts through Docker

* Overcome the direcotry clone in our docker script

* Expose TESTGRID_EXCLUDE and GIT_ORIGIN_URL through docker run

* Make sanity tests happy

* Revert "Provide custom sponge configs to exclude manual runs from testgrid (#26283) (#26313)" (#26324)

This reverts commit 54dc182.

* better way of building protoc aarch64 artifacts (#26423)

* Backport #26430 and #26435 to v1.38.x (#26436)

* workaround #26279 at the expense of binary compatibility

* correctly tag aarch64 wheels as manylinux_2_24

* remove unnecessary comments left by #26430

* Backport #22964 into v1.38.x (#26448)

* upgrade dotnet SDK 3 for C# build

* add C# global.json

* install dotnet SDK 3 on macos

* upgrade C# docker images to debian buster

* regenerate dockerfiles

* Backport fixes from #26465 to v1.38.x (#26466)

* switch remaining tests to C# buster image

* remove C#'s global.json (which requires dotnet SDK 3+)

* dotnet SDK3 currently breaks C# package build

* regenerate dockerfiles

Co-authored-by: Yash Tibrewal <[email protected]>
Co-authored-by: AJ Heller <[email protected]>
Co-authored-by: donnadionne <[email protected]>
Co-authored-by: Mark D. Roth <[email protected]>
Co-authored-by: Lidi Zheng <[email protected]>
Co-authored-by: Eric Gribkoff <[email protected]>
Co-authored-by: Jan Tattermusch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants