You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ltalirz I do not really have an explanation but everything seems to be working fine when using the FluxClusterExecutor for testing rather than the TestClusterExecutor. My assumption is that the test environment struggles with the orphan processes which are created by the TestClusterExecutor to execute the calculation in the background resulting in the process to hang.
the way you start flux here appears not to be correct.
the API server then also does not manage to start and the test is skipped.
Run flux start amorphouspy_INTEGRATION=1 uvicorn amorphouspy_api.app:app --port 8002 & pytest -m integration -s --durations=0 --cov=src/amorphouspy_api --cov-report=xml --cov-report=term --cov-append
Feb 09 11:00:27.911219 UTC 2026 broker.err[0]: rc2.0: amorphouspy_INTEGRATION=1 uvicorn amorphouspy_api.app:app --port 8002 error launching process: No such file or directory (rc=127) 0.0s
2026-02-09 11:00:32,743 - amorphouspy_api.app - INFO - Using amorphouspy version: 0.0.12
2026-02-09 11:00:32,743 - amorphouspy_api.app - INFO - Using default project directory: /home/runner/work/amorphouspy/amorphouspy/amorphouspy_api/projects
2026-02-09 11:00:32,744 - amorphouspy_api.app - INFO - No API base URL configured, using relative paths
2026-02-09 11:00:32,744 - amorphouspy_api.app - INFO - Ensured projects directory exists: /home/runner/work/amorphouspy/amorphouspy/amorphouspy_api/projects
2026-02-09 11:00:32,744 - amorphouspy_api.app - INFO - Task store database path: /home/runner/work/amorphouspy/amorphouspy/amorphouspy_api/projects/tasks.db
2026-02-09 11:00:32,744 - amorphouspy_api.app - INFO - Directory exists: True, Directory writable: True
I'll make sure this results in a failed test going forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
integrationTag a PR with this to run integration tests
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.