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

Alfoa/issue780 ls #781

Merged
merged 8 commits into from
Sep 20, 2018
Merged

Alfoa/issue780 ls #781

merged 8 commits into from
Sep 20, 2018

Conversation

alfoa
Copy link
Collaborator

@alfoa alfoa commented Sep 12, 2018


Pull Request Description

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

Closes #780

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

Just restoring the old functionality of assigning an arbitrary group name in case the prefix is not passed to the HDF5


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 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?

@alfoa alfoa requested a review from wangcj05 September 12, 2018 00:02
@alfoa alfoa requested a review from mandd September 12, 2018 00:04
@@ -186,7 +186,12 @@ def addGroup(self,rlz):
@ Out, None
"""
parentID = rlz.get("RAVEN_parentID",[None])[0]
groupName = str(rlz.get("prefix")[0] if not isinstance(rlz.get("prefix"),basestring) else rlz.get("prefix"))
prefix = rlz.get("prefix")
Copy link
Collaborator

Choose a reason for hiding this comment

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

The issue in #780 complains that rlz is None, the changes here did not reflect this. Could you explain it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure. The issue reports a failure in the following line:

groupName = str(rlz.get("prefix")[0] if not isinstance(rlz.get("prefix"),basestring) else rlz.get("prefix"))

The reason was that since some of the adaptive samplers/optimizers construct a solution export DataObject without a prefix for each realization, the rlz.get("prefix") was returning None (not found keyword "prefix"). Now since the old machine was either expecting the prefix to be a string (basestring) or a list, it was falling in the "not string case" so trying to access to rlz.get("prefix")[0] but the ruturn case was not a string not because it was a list but because it was None.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. Thanks.

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured

2 similar comments
@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

2 similar comments
@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix and new GNU compilers installed

@moosebuild
Copy link

Job Test CentOS 7 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test Fedora 27 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

1 similar comment
@moosebuild
Copy link

Job Test Fedora 27 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test Fedora 28 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test OpenSUSE Leap 15 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test Ubuntu 16 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@moosebuild
Copy link

Job Test Ubuntu 18 on 0c91776 : invalidated by @msgambati-INL

Testing new module only install with MOOSE_JOBS variable configured after private key fix

@wangcj05
Copy link
Collaborator

Everything is good, except Test OpenSUSE Leap 42 and Test OpenSUSE Tumbleweed.
The machines are still in the setting up stage... and they are allowed to fail.

@wangcj05 wangcj05 merged commit 5f29fe8 into devel Sep 20, 2018
@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test CentOS 7 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test Fedora 27 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test Fedora 28 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test OpenSUSE Leap 15 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test Ubuntu 16 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test Ubuntu 18 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 2

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 3

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 4

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 5

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 6

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - try 7

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing new civet recipes with plugins removed - tweaking .bash_profile

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Testing changing recipe back to one with plugins sections

@moosebuild
Copy link

Job Test CentOS 6 on 0c91776 : invalidated by @msgambati-INL

Removed sections again and enabled allowed_to_fail

@alfoa alfoa deleted the alfoa/issue780LS branch September 26, 2018 21:12
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.

Error in saveInDB step of runLS.xml case from raven_folder/doc/workshop folder
3 participants