Skip to content

deprecated parameter in tests file appears to be ignored #15283

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

Open
bwspenc opened this issue May 13, 2020 · 4 comments
Open

deprecated parameter in tests file appears to be ignored #15283

bwspenc opened this issue May 13, 2020 · 4 comments
Labels
C: TestHarness Good first issue P: normal A defect affecting operation with a low possibility of significant effects. T: defect An anomaly, which is anything that deviates from expectations. T: task An enhancement to the software.

Comments

@bwspenc
Copy link
Contributor

bwspenc commented May 13, 2020

Bug Description

There is a large set of tests of deprecated mesh_generator objects that are failing the deprecated test target, but they all have deprecated=true set in their tests file.

Steps to Reproduce

Look at any recent deprecated test target:
https://civet.inl.gov/job/524228/

Impact

We need this fixed to keep the deprecated test target passing. This isn't a hard fail, but this masks other issues that come up, so it needs to be fixed.

@bwspenc bwspenc added C: TestHarness T: defect An anomaly, which is anything that deviates from expectations. labels May 13, 2020
@bwspenc
Copy link
Contributor Author

bwspenc commented May 13, 2020

@milljm Maybe you're the best one to look into this?

@bwspenc
Copy link
Contributor Author

bwspenc commented May 14, 2020

Hmm... I guess I should have read the documentation for the deprecated parameter:

     deprecated                     = False                          # When True the test is no longer considered part SQA process and as such does not include the need for a requirement definition.

I would have thought that this would also turn on the no_error_deprecated behavior, but that doesn't seem to be the case. I guess we could turn this into a feature request and make it do that if people think that's a good idea.

@aeslaughter
Copy link
Contributor

We should probably consolidation the "deprecated" and "no_deprecated_error"

@aeslaughter aeslaughter added T: task An enhancement to the software. T: defect An anomaly, which is anything that deviates from expectations. Good first issue and removed T: defect An anomaly, which is anything that deviates from expectations. labels May 14, 2020
@aeslaughter
Copy link
Contributor

When running the tests with --error-deprecated it is possible to disable the warning to error conversion by using the "no_error_deprecated" in the test specification. For SQA purposes test specs with "deprecated = true" are exempt from needing requirements defined.

The "deprecated = true" should do both. I like this parameter because it is easier to read and type.

@aeslaughter aeslaughter added the P: normal A defect affecting operation with a low possibility of significant effects. label Apr 12, 2021
GiudGiud added a commit to GiudGiud/moose that referenced this issue Mar 10, 2022
GiudGiud added a commit to GiudGiud/moose that referenced this issue Mar 12, 2022
GiudGiud added a commit to GiudGiud/moose that referenced this issue Mar 14, 2022
grmnptr pushed a commit to grmnptr/moose that referenced this issue Mar 29, 2022
aeslaughter pushed a commit to aeslaughter/moose that referenced this issue Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: TestHarness Good first issue P: normal A defect affecting operation with a low possibility of significant effects. T: defect An anomaly, which is anything that deviates from expectations. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

2 participants