Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack PR with generic implementation for PR #603 (#600) #604

Conversation

achauphan
Copy link
Collaborator

Stack PR with generic and strategy implementations for PR:

TriBITSPub#600)

Create driver class CDashAnalyzeReportRandomFailuresDriver inside module file
CDashAnalyzeReportRandomFailures.py that will contain the main general functionality
of the random test failure tool.

The driver class accepts two strategy classes passed from the
example script. These strategy classes ExampleVersionInfoStrategy and
ExampleBuildNameStrategy contain the project specific implementation
that is generically used inside of the driver class.
TriBITSPub#600)

This large commit is copying over the main() function and its associated
helper functions into CDashAnalyzeReportRandomFailures.py inside
the CDashAnalyzeReportRandomFailuresDriver class. This is part
of the effort to refactor cdash_analyze_and_report_random_failures.py
to be more generic.
…riBITSPub#600)

There were mixed use cases of 'targetTopic' or 'topicTarget', this renames
all cases to use 'targetTopic' approach.
@achauphan achauphan changed the base branch from master to 600-cdash-random-failure-tool February 9, 2024 21:00
…#600)

Moved example_cdash_analyze_and_report_random_failures.py to test/ci_support
Trilinos specific driver `trilinos_cdash_analyze_and_report_random_failures.py` based on
`example_cdash_analyze_and_report_random_failures.py` that contains the Trilinos specific
implementations of `VersionInfoStrategy` and `ExtractBuildNameStrategy`.
Example class did not include the 'Example' prefix.
This is for testing the CDashAnalyzeReportRandomFailures.py
runDriver().
Adjusted spacing between classes and added newline character at
the end of file.
This reverts commit dbe94f4.

Reverting this commit as this specific driver implementation shouldn't be
existing inside of TriBITS. Rather it should be added to the Trilinos
repo after snapshotting TriBITS in.
@achauphan
Copy link
Collaborator Author

Merging into feature branch after pair review with @rabartlett1972

@achauphan achauphan merged commit a799da3 into TriBITSPub:600-cdash-random-failure-tool Feb 10, 2024
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.

1 participant