Skip to content

Tests failing after installation #25

@SamarAbdelkawy

Description

@SamarAbdelkawy

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status:1-NewNo one has claimed this issue yet. It is in need of solving.Type:BugSomething is wrong or broken. This issue or PR is related to a bug in code.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions