Skip to content

Support labels in pxr_register_test#4054

Open
nvmkuruc wants to merge 1 commit intoPixarAnimationStudios:devfrom
nvmkuruc:flaky-labels
Open

Support labels in pxr_register_test#4054
nvmkuruc wants to merge 1 commit intoPixarAnimationStudios:devfrom
nvmkuruc:flaky-labels

Conversation

@nvmkuruc
Copy link
Copy Markdown
Collaborator

@nvmkuruc nvmkuruc commented Apr 28, 2026

Description of Change(s)

ctest offers labels as a way to group tests for downstream runners. This introduces support for test labeling and adds a single label flaky, implying that the test occasionally fails but usually succeeds on retry.

The initial set of flaky tests were identified by looking through recent pipeline logs for failures that appeared spurious. The work tests have been known to fail occasionally for most of the repos lifetime.

Future PRs may contribute additional labels (such as those used in regex-based exclusion rules in the CI pipelines).

Example usage:

# Exclude flaky tests
ctest -C Release -LE flaky
# Allow multiple runs of flaky tests
ctest -C Release -L flaky --repeat until-pass 3

Link to proposal (if applicable)

aousd/build-ig-initiatives#18

Fixes Issue(s)

Checklist

@jesschimein
Copy link
Copy Markdown
Collaborator

Filed as internal issue #USD-12136

(This is an automated message. See here for more information.)

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.

2 participants