-
Notifications
You must be signed in to change notification settings - Fork 2
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
Microsalt jobs not tracked correctly #2812
Comments
Refinement:
No jobs exist for the cases in the trailblazer database. So the issue is not that the API fails to return the jobs, rather the actual tracking of the jobs in trailblazer is not working somehow. Automation runs
This is the function that fails def update_analysis_from_slurm_output(
self, analysis_id: int, analysis_host: str | None = False
) -> None:
"""Query SLURM for entries related to given analysis, and update the analysis in the database."""
analysis: Analysis | None = self.get_analysis_with_id(analysis_id)
try:
self._update_analysis_from_slurm_squeue_output(
analysis=analysis, analysis_host=analysis_host
)
except Exception as exception:
LOG.error(
f"Error updating analysis for: case - {analysis.case_id} : {exception.__class__.__name__}"
)
analysis.status = TrailblazerStatus.ERROR
session: Session = get_session()
session.commit() |
These are the errors
So the problem for microsalt seems to be that the This seems to be where the path is mentioned in cg: def get_trailblazer_config_path(self, case_id: str) -> Path:
"""Get trailblazer config path."""
case_obj: Case = self.status_db.get_case_by_internal_id(internal_id=case_id)
sample_obj: Sample = case_obj.links[0].sample
project_id: str = self.get_project(sample_obj.internal_id)
return Path(
self.root_dir, "results", "reports", "trailblazer", f"{project_id}_slurm_ids.yaml"
) However, when looking on Hasta there is no The correct path is, for instance, |
#2896 |
No jobs are tracked for microsalt in trailblazer, as reported by @Karl-Svard and @karlnyr. This has been an issue for at least a couple of months.
The text was updated successfully, but these errors were encountered: