8000 Tests failing after installation · Issue #25 · arfc/openmcyclus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tests failing after installation #25

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
SamarAbdelkawy opened this issue May 1, 2025 · 1 comment
Open

Tests failing after installation #25

SamarAbdelkawy opened this issue May 1, 2025 · 1 comment
Labels
Status:1-New No one has claimed this issue yet. It is in need of solving. Type:Bug Something is wrong or broken. This issue or PR is related to a bug in code.

Comments

@SamarAbdelkawy
Copy link
SamarAbdelkawy commented May 1, 2025

Describe the bug.

After installing openmcyclus, and trying :
~/openmcyclus $ pytest tests/
The tests fail with a no such table: AgentEntry error.

Steps to reproduce the bug.

  1. Followed the instructions in the Readme to install OpenMCyclyus.
  2. Installation was done successfully.
  3. Try running the tests using: ~/openmcyclus $ pytest tests/

What inputs and outputs are involved?

3 passed tests and 6 Failed tests, all with same error

FAILED tests/integration_tests/test_depletereactor.py::TestSimple::test_resources - sqlite3.OperationalError: no such table: AgentEntry
FAILED tests/integration_tests/test_depletereactor.py::TestSimple::test_transactions - sqlite3.OperationalError: no such table: AgentEntry
FAILED tests/integration_tests/test_depletereactor.py::TestComplex::test_agent_entry - sqlite3.OperationalError: no such table: AgentEntry
FAILED tests/integration_tests/test_depletereactor.py::TestComplex::test_resources - sqlite3.OperationalError: no such table: AgentEntry
FAILED tests/integration_tests/test_depletereactor.py::TestComplex::test_transactions - sqlite3.OperationalError: no such table: AgentEntry

Are there additional replication details?

  • Operating System: Ubuntu 24.04.2
  • Software Version: Cyclus 1.6.0, OpenMC 0.14, Cycamore 1.6, SciPy 1.11.4
  • Python Version: Python 3.10.16

What is the expected behavior?

All tests should pass successfully.

How can this issue be closed?

Checking if there is an issue with the tests scripts.

Any idea @abachma2 ?

@SamarAbdelkawy SamarAbdelkawy added Status:1-New No one has claimed this issue yet. It is in need of solving. Type:Bug Something is wrong or broken. This issue or PR is related to a bug in code. labels May 1, 2025
@abachma2
Copy link
Collaborator
abachma2 commented May 1, 2025

There is a know issue with importing openmc into a cyclus simulation that causes a seg fault when you run a simulation. This seg fault happens after everything in the cyclus simulation is done and the results are written. Therefore, the integration tests fail because of the seg fault. This is initially discussed in #12. If that bug gets fixed (i.e., the issue is closed) then the integration tests should pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:1-New No one has claimed this issue yet. It is in need of solving. Type:Bug Something is wrong or broken. This issue or PR is related to a bug in code.
Projects
None yet
Development

No branches or pull requests

2 participants
0