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

Add a list of test types to the users guide #2062

Merged
merged 4 commits into from
Nov 15, 2017
Merged

Conversation

fischer-ncar
Copy link
Contributor

Add a list of test types to the users guide section 4.

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?: Y

Code review:

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?: Y

Code review:
the users guide.

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?: Y

Code review:
@billsacks
Copy link
Member

Thanks for doing this, @fischer-ncar ! It's not clear to me how these tests are organized. I'd suggest either organizing them alphabetically or by broad category (restart tests, tests of task/thread count, etc.)

@fischer-ncar
Copy link
Contributor Author

@billsacks, I'll arrange them by broad categories (restart tests, task/thread counts, performance, misc.)

Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?: Y

Code review:
@fischer-ncar
Copy link
Contributor Author

I just pushed up a change that has the testtypes arranged with restarts first, then transitioning to thread/mpi tests. Followed by performance tests, multi-driver/multi-instance tests, misc. "smoke" tests, then data assimilation related tests.

@billsacks
Copy link
Member

Thanks!

@@ -4,9 +4,6 @@
Testing with create_test
**************************

.. todo ::

add list and descriptions on functionality tests (ERS, ERI, ect)

create_test is the tool we use to test cime-driven models. It can be used as a easy way to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be "used as an easy"

@@ -4,9 +4,6 @@
Testing with create_test
**************************

.. todo ::

add list and descriptions on functionality tests (ERS, ERI, ect)

create_test is the tool we use to test cime-driven models. It can be used as a easy way to
run a single basic test or can be used to run an entire suite of tests. It has parallelism
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be "or an entire suite of tests".

Copy link
Contributor

@bertinia bertinia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of wording and formatting changes for clarity:

  1. create_test should be in bold
  2. "It has parallelism supplied." should be "create_test runs a test suite in parallel for improved performance."
  3. "TESTMODS are optional and can be used to make some env XML changes prior to running a test."
  4. (suffix) should be (file suffix)


======================= =====================================================================================


Each test run by create test will be put through the following mandatory phases:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be: "Each test run by create_test includes the following mandatory steps:"

Copy link
Contributor

@bertinia bertinia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rljacob please review section 4.1 of the CIME user's guide "Using create_test (ACME)". Should this be in an appendix? And is ACME still the correct model name to be used in the documentation?
@fischer-ncar would you update section 4.3 and 4.4?

@rljacob
Copy link
Member

rljacob commented Nov 15, 2017

Yes we decided in the Oct 18th meeting to move model-specific usage to an appendix. And it should say "E3SM" everywhere instead of "ACME".

@fischer-ncar
Copy link
Contributor Author

It looks like section 4.4 Adding tests which is using the update_acme_tests.py should be moved to an appendix too.

@rljacob
Copy link
Member

rljacob commented Nov 15, 2017

That mechanism needs to be generalized so that the list of tests lives in config/acme. That is on @jgfouca 's todo list.

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?: Y

Code review:
@fischer-ncar
Copy link
Contributor Author

@bertinia, I pushed the changes you requested, except for the 4.3 and 4.4 section updates.

@bertinia bertinia merged commit 92f74f8 into master Nov 15, 2017
jgfouca added a commit that referenced this pull request Dec 8, 2017
…branch-for-to-acme-12-06-2017-pr

* commit '530c337666de1af28698c74b9e58e8baf93a6bbf':
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  Allow different glc2ocn mappings for liq and ice
jgfouca added a commit that referenced this pull request Dec 8, 2017
#1963)

Fixes:

* DOCN_MODE fix for xmlchange
* compare_namelist bug in rare code path
* Fix memleak in gptl
* Fix setting of build_threaded
* Fix unicode problems with expect

Feature list:
* Add job-id info for CaseStatus entry for job submit
* Allow different glc2ocn mappings for liq and ice

[BFB]

* jgfouca/branch-for-to-acme-12-06-2017-pr: (21 commits)
  Ignore buildlib python bytecode files
  This is no longer needed
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  ...
jgfouca added a commit that referenced this pull request Feb 23, 2018
…branch-for-to-acme-12-06-2017-pr

* commit '530c337666de1af28698c74b9e58e8baf93a6bbf':
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  Allow different glc2ocn mappings for liq and ice
jgfouca added a commit that referenced this pull request Feb 23, 2018
#1963)

Fixes:

* DOCN_MODE fix for xmlchange
* compare_namelist bug in rare code path
* Fix memleak in gptl
* Fix setting of build_threaded
* Fix unicode problems with expect

Feature list:
* Add job-id info for CaseStatus entry for job submit
* Allow different glc2ocn mappings for liq and ice

[BFB]

* jgfouca/branch-for-to-acme-12-06-2017-pr: (21 commits)
  Ignore buildlib python bytecode files
  This is no longer needed
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  ...
@fischer-ncar fischer-ncar deleted the fischer/testtype_doc branch March 11, 2018 18:26
jgfouca added a commit that referenced this pull request Mar 13, 2018
…branch-for-to-acme-12-06-2017-pr

* commit '530c337666de1af28698c74b9e58e8baf93a6bbf':
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  Allow different glc2ocn mappings for liq and ice
jgfouca added a commit that referenced this pull request Mar 13, 2018
#1963)

Fixes:

* DOCN_MODE fix for xmlchange
* compare_namelist bug in rare code path
* Fix memleak in gptl
* Fix setting of build_threaded
* Fix unicode problems with expect

Feature list:
* Add job-id info for CaseStatus entry for job submit
* Allow different glc2ocn mappings for liq and ice

[BFB]

* jgfouca/branch-for-to-acme-12-06-2017-pr: (21 commits)
  Ignore buildlib python bytecode files
  This is no longer needed
  fix issue in scripts_regression_tests
  Add ability to customize CaseStatus success message for a phase.
  Fix bug in compare namelists
  add test for xmlquery DOCN_MODE
  Fix memory leak of newtimers in merge_thread_data
  in splitting comp vars make sure comp isnt subset of name
  Update ChangeLog
  nthrds > 1 should set build_threaded flag
  Update ChangeLog
  Update ChangeLog
  fix pylint issue
  fix gptl threaded build, batch change for cheyenne
  correct path for includes used in build
  Check for unicode in expect()
  update ACME to E3SM and changes related to Issue #1519 and PR #2062
  Do not use normalization when mapping glc2ocn
  Add comments about not needing to add fields to x2o_fluxes and x2i_fluxes
  Point to new glc2ocn mapping files
  ...
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.

4 participants