raven icon indicating copy to clipboard operation
raven copied to clipboard

Allow OS specific gold files

Open dgarrett622 opened this issue 2 years ago • 16 comments


Pull Request Description

What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)

Addresses #1900

What are the significant changes in functionality due to this change request?

For testing, OS specific gold files may be specified using parameters windows_gold, mac_gold, or linux_gold as seen in the test file tests/framework/PostProcessors/LimitSurface/tests under ./testLimitSurfaceIntegralPPWithBoundingError


For Change Control Board: Change Request Review

The following review must be completed by an authorized member of the Change Control Board.

  • [ ] 1. Review all computer code.
  • [ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
  • [ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
  • [ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
  • [ ] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options. Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in <RunInfo> XML block, the node <internalParallel> to True.
  • [ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change. The requirements and the requirements test shall be in sync.
  • [ ] 7. The merge request must reference an issue. If the issue is closed, the issue close checklist shall be done.
  • [ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
  • [ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

dgarrett622 avatar Jul 22 '22 18:07 dgarrett622

I'm not sure where the civet testing suite interface went. @joshua-cogliati-inl does this have something to do with how CIVET was down earlier this week?

dylanjm avatar Jul 27 '22 15:07 dylanjm

Changes appear good to me. I wonder if there is a way that we can just name the gold file we want to compare to instead of having three separate input parameters?

There is a "gold_files" input parameter where you can name the gold file you want to compare to, but if the results are OS dependent, there isn't currently a way to specify them. I suppose if a naming convention for gold files were to be imposed that included OS information in the name of the gold file, this would solve that issue and a different change would be necessary.

dgarrett622 avatar Jul 27 '22 16:07 dgarrett622

There is a "gold_files" input parameter where you can name the gold file you want to compare to, but if the results are OS dependent, there isn't currently a way to specify them. I suppose if a naming convention for gold files were to be imposed that included OS information in the name of the gold file, this would solve that issue and a different change would be necessary.

Ah okay, that makes sense to me. This seems like best solution then.

@dgarrett622 maybe pushing again will trigger CIVET to run?

dylanjm avatar Jul 27 '22 16:07 dylanjm

@dgarrett622 Looks like we don't allow snake case get past the pylint check despite the whole rook codebase using snake case...🤦

dylanjm avatar Jul 27 '22 20:07 dylanjm

@dylanjm I think I mixed upper case and lower case in the variable names, which doesn't seem to be allowed with snake_case. I switched it to all lower case and split up some lines, maybe that will work 🤷‍♂️

dgarrett622 avatar Jul 27 '22 20:07 dgarrett622

Job Mingw Test on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 15:08 moosebuild

Job Test CentOS 7 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test CentOS 8 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Fedora 31 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Ubuntu 16 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Ubuntu 18 PIP on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Ubuntu 18-2 Python 3 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test qsubs sawtooth on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Fedora 32 on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Test Ubuntu 20-2 Optional on 5fe19b8 : invalidated by @dgarrett622

workshop tests fixed, try rerunning

moosebuild avatar Aug 01 '22 16:08 moosebuild

Job Mingw Test on 5a2d3cb : invalidated by @dgarrett622

PermissionError: [Errno 13] Permission denied: ''.ravenStatus'' in load_two_csvs test

moosebuild avatar Aug 11 '22 14:08 moosebuild

Job Test qsubs sawtooth on 86eb334 : invalidated by @wangcj05

FAILED: Diff tests/cluster_tests/test_mpi_forced Diff tests/cluster_tests/test_mpiqsub_parameters Diff tests/cluster_tests/test_mpiqsub_nosplit Diff tests/cluster_tests/AdaptiveSobol/test_parallel_adaptive_sobol

moosebuild avatar Aug 18 '22 14:08 moosebuild

Heron plugin failed due to the changes in this PR. After the merge, @dgarrett622 please try to update HERON with the new changes. Thanks a lot for your contribution. Once the tests are green. PR can be merged.

wangcj05 avatar Aug 18 '22 14:08 wangcj05

Heron plugin failed due to the changes in this PR. After the merge, @dgarrett622 please try to update HERON with the new changes. Thanks a lot for your contribution. Once the tests are green. PR can be merged.

I'll put together a PR for the HERON test as soon as this gets merged in. Thanks!

dgarrett622 avatar Aug 18 '22 15:08 dgarrett622

Job Test qsubs sawtooth on 86eb334 : invalidated by @wangcj05

moosebuild avatar Aug 19 '22 20:08 moosebuild

Checklist is good. Thanks for your contribution! @dgarrett622 In addition, please remember to update HERON.

wangcj05 avatar Aug 22 '22 03:08 wangcj05