Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Finding Specific Test Tags

...

  1. When a change is 100% covered by existing unit tests, there is no need to specify additional tags.

  2. When a change is covered by new unit tests, you might need to specify the corresponding Feature Tag.

  3. When a change is not 100% covered by unit tests, you do need to specify the corresponding Feature Tag.

    1. E.g. Middleware applications, high-level functional verification, 3rd-party libraries, integration

  4. When a change modifies Functional Tests or the Functional Test Framework, you do need to specify the corresponding Feature Tags and/or Specific Test Tags.

  5. When a change fixes a specific Functional Test, you do need to specify the corresponding Specific Test Tags.

List of Frequency Tags

These tags determine when a test runs. Some tests might be ran at multiple frequencies.

...

Avocado Tag

Description

checksum

Verifies checksum features.

container

Verifies container features.

control

Verifies controlplane features.

datamover

Verifies Data Mover utilities.

Additional sub-tags:

  • fs_copy - daos filesystem copy tests

  • cont_clone - daos container clone tests

  • dcp - mpifileutils/dcp (distributed copy) tests

  • dsync - mpifileutils/dsync (distributed sync) tests

  • dserialize - mpifileutils/daos-serialize and mpifileutils/daos-deserialize (distributed serialization) tests

daosperf

Verifies daos_perf.

deployment

Verifies DAOS on a newly deployed system.

dfuse

Verifies dfuse.

ec

Verifies ec features.

ior

Verifies ior.

mdtest

Verifies mdtest.

osa

Verifies online and offline osa features.

pool

Verifies features related to pool operations.

security

Verifies security features such as ACLs, pool and container permissions.

snap

Verifies snapshot features.

telemetry

Verifies telemetry features.

tx

Verifies transaction features.

Anchor
Specific-Test-Tags
Specific-Test-Tags
Finding Specific Test Tags

Each test has a unique tag that can be used to run only that test. When there is need to run a specific test, the tag must be looked up in the corresponding ftest/<dir>/<test_file>.py. Unique test tags are usually on the last line of Avocado tags. For example, from ftest/pool/evict.py, the pool_evict_basic tag will run only this test:

Code Block
languagepy
def test_evict(self):
  """
  :avocado: tags=all,pr,daily_regression
  :avocado: tags=vm
  :avocado: tags=pool,pool_evict
  :avocado: tags=pool_evict_basic
  """