Commit Graph

8 Commits

Author SHA1 Message Date
Xuan Wang 40ee9084e9
[PSM interop] Don't fail target if sub-target already failed (#33222)
We configured TestGrid to file bug separately for each failed
sub-target, if we still fail the main target, TestGrid will fail
duplicate bugs.
2023-05-31 12:58:52 -07:00
Sergii Tkachenko 80e5f98139
xds interop: Fix buildscripts not continuing on a failed test suite (#32093)
Apparently there's a difference between bash 3 and bash 4. OSX comes with bash 3 out-of-box, so for whoever wrote this logic it "worked on my machine".
2023-01-13 18:13:09 -08:00
Sergii Tkachenko 6b365de65d
xDS interop: buildscripts: fix run_test return status (#30768)
To capture the return status of the test in run_test the last command must be the call to the test itself.
This removes `set +x`, which makes the run_test always return success, and not propagate the test status.

I can't find it, but this exact error bit us before. Looks like it leaked to other scripts.
The good thing is if the test was executed, it's failure would still be picked up from the result xml.

However, if the test framework didn't start in the first place, the result will be false positive.
Example: https://source.cloud.google.com/results/invocations/98d3e679-ec8a-40bd-9f36-88179747b0d6/targets

```
/home/kbuilder/.pyenv/versions/k8s_xds_test_runner/bin/python3: Error while finding module specification for 'tests.authz_test' (ModuleNotFoundError: No module named 'tests')
+ set +x
Failed test suites: 0

[ID: 3548168] Command finished after 625 secs, exit value: 0
```
2022-08-26 15:07:14 -07:00
Sergii Tkachenko 1e42fbeb52
xDS interop: enable pod log collection in the buildscripts (#30735)
- Enables pod log collection in all PSM interop jobs implemented in https://github.com/grpc/grpc/pull/30594.
- Associate test suite runs with their own log file, so it's displayed on "Target Log" tab
2022-08-26 13:05:06 -07:00
Sergii Tkachenko 48885b74b0
xds-k8s jobs: standardize TESTING_VERSION (#30027)
This Addresses the issue with skips not working in golang tests, ref b/235688697. 

1. Unifies `TESTING_VERSION` detection  in grpc_xds_k8s_install_test_driver.sh - new approach applicable to all languages.
2. Use `TESTING_VERSION` in all build files in `--testing_version` and when tagging docker images. This will be backported to all active test branches. Build Scripts in all other languages will be updated as well.
2022-06-16 15:22:28 -07:00
Yash Tibrewal 02bddf2017
Enable authz_test for C++ and Python (#29147)
* Enable authz_test for C++ and Python

* Try increasing duration

* Debugging

* Tests pass
2022-03-28 14:26:23 -07:00
Lidi Zheng 5df8612cae
[PSM interop] Expand the support of test config validation (#28978)
* [PSM interop] Expand the support of test config validation

* Comment the usage and source of testing_version

* Also include the comment for url-map tests
2022-03-02 11:54:37 -08:00
sanjaypujare c211b823d4
internal_ci: rename grpc_xds_k8s to psm-security as part of tech-debt cleanup and name clarity (#28034) 2021-11-15 11:59:52 -08:00