Skip to content

2024.2.7.0-b2

@svarnau svarnau tagged this 13 Oct 22:32
Summary:
Add functional test reporting when running tests via spark clusters.
This is skipped if the csi environment variables are not set.

Allow explicit test list to be passed in for use in spark-testing.
This enables autoamtion to query test failures from previous run and specify them exactly instead of
using regex filters.

run_tests_on_spark.py script has three (related) improvements:
* When dynamically generating test list from C++ binaries, just collect them locally without a
  spark job. This avoids the spark overhead and can be done in a short time (~90 second) that would
  normally be idle waiting for spark resources.
* A new ignore_list option that can be used to remove tests from the generated test list. This can
  be used when re-running a test job that did not complete and the missing tests are unknown. By
  passing the list of tests already run & passed, the new run can complete the job efficently.
* A new disable_list option that can be used to remove tests from the generated test list, and also
  report them as skipped. This can be used to provide a list of disabled (aka muted) tests that need
  not be run.

Original commit: 33a311e8a0cfba7b062fa29bf9fbe1b9dac22e3b / D47301

Test Plan:
Jenkins
yb_build.sh --skip-build --python-tests # using py3.8

Reviewers: jharveysmith

Reviewed By: jharveysmith

Subscribers: devops

Differential Revision: https://phorge.dev.yugabyte.com/D47382
Assets 2
Loading