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

[DEFECT] Raven Runs Raven fails during ExamplePlugin installation #1623

Closed
10 tasks done
joshua-cogliati-inl opened this issue Jul 27, 2021 · 2 comments · Fixed by #1624
Closed
10 tasks done

[DEFECT] Raven Runs Raven fails during ExamplePlugin installation #1623

joshua-cogliati-inl opened this issue Jul 27, 2021 · 2 comments · Fixed by #1624
Assignees
Labels
defect priority_normal RAVENv2.1 All tasks and defects that will go in RAVEN v2.1

Comments

@joshua-cogliati-inl
Copy link
Contributor

joshua-cogliati-inl commented Jul 27, 2021


Defect Description

Describe the defect

What did you expect to see happen?

No extra errors with Raven Runs Raven.

What did you see instead?
Installing ExamplePlugin...
Initializing plugin "/home/cogljj/raven/os/raven/scripts/../plugins/ExamplePlugin"
 ... plugin located at "/home/cogljj/raven/os/raven/plugins/ExamplePlugin" ...
Traceback (most recent call last):
  File "/home/cogljj/raven/os/raven/scripts/install_plugins.py", line 123, in <module>
    infoFile, root = pluginHandler.loadPluginTree()
  File "/home/cogljj/raven/os/raven/scripts/plugin_handler.py", line 143, in loadPluginTree
    root, _ = xmlUtils.loadToTree(pluginTreeFile)
  File "/home/cogljj/raven/os/raven/scripts/../framework/utils/xmlUtils.py", line 250, in loadToTree
    tree = ET.parse(filename, parser=parser)
  File "/home/cogljj/miniconda3/envs/raven_libraries/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
    tree.parse(source, parser)
  File "/home/cogljj/miniconda3/envs/raven_libraries/lib/python3.7/xml/etree/ElementTree.py", line 598, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
Do you have a suggested fix for the development team?

Don't install the ExamplePlugin during establish_conda_env.sh --load

Describe how to Reproduce
Steps to reproduce the behavior:

  1. run tests/cluster_tests/RavenRunsRaven/rom.xml enough times.
  2. Look at the output in Rom/FirstMRun/[1-5]/out~test_rom_trainer

Screenshots and Input Files
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.

Platform (please complete the following information):
Falcon Cluster


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.

  • 1. Is it tagged with a type: defect or task?
  • 2. Is it tagged with a priority: critical, normal or minor?
  • 3. If it will impact requirements or requirements tests, is it tagged with requirements?
  • 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
  • 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

  • 1. If the issue is a defect, is the defect fixed?
  • 2. If the issue is a defect, is the defect tested for in the regression test system? (If not explain why not.)
  • 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
  • 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
  • 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?
@wangcj05
Copy link
Collaborator

Issue checklist is good.

@wangcj05
Copy link
Collaborator

This issue will not cause the wrong results for user, and an email is not required.

@wangcj05 wangcj05 added the RAVENv2.1 All tasks and defects that will go in RAVEN v2.1 label Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect priority_normal RAVENv2.1 All tasks and defects that will go in RAVEN v2.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants