-
Notifications
You must be signed in to change notification settings - Fork 991
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
[20.09] Fix random-ish workflow error with maximum_workflow_jobs_per_scheduling_iteration #11513
Merged
jmchilton
merged 5 commits into
galaxyproject:release_20.09
from
mvdbeek:variation_report_fix
Mar 2, 2021
Merged
[20.09] Fix random-ish workflow error with maximum_workflow_jobs_per_scheduling_iteration #11513
jmchilton
merged 5 commits into
galaxyproject:release_20.09
from
mvdbeek:variation_report_fix
Mar 2, 2021
Conversation
This file contains 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
…g max_num_jobs This should recapitulate the error seen when running workflow tests against galaxyproject/iwc#23.
Fixes ``` Traceback (most recent call last): File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 82, in __invoke outputs = invoker.invoke() File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 190, in invoke incomplete_or_none = self._invoke_step(workflow_invocation_step) File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 263, in _invoke_step incomplete_or_none = invocation_step.workflow_step.module.execute(self.trans, File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/modules.py", line 1659, in execute collection_info = self.compute_collection_info(progress, step, all_inputs) File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/modules.py", line 335, in compute_collection_info collections_to_match = self._find_collections_to_match( File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/modules.py", line 354, in _find_collections_to_match data = progress.replacement_for_input(step, input_dict) File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 328, in replacement_for_input replacement = [self.replacement_for_connection(c) for c in connection] File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 328, in <listcomp> replacement = [self.replacement_for_connection(c) for c in connection] File "/Users/mvandenb/src/galaxy/lib/galaxy/workflow/run.py", line 358, in replacement_for_connection raise Exception(message) Exception: Workflow evaluation problem - failed to find output_name list_output in step_outputs {} galaxy.workflow.scheduling_manager DEBUG 2021-03-01 19:58:59,493 Workflow invocation [1] scheduled ```
This was referenced Mar 1, 2021
This seems easier to believe is a serious issue than the not recording the outputs. Thanks for tracking this down! |
jmchilton
approved these changes
Mar 1, 2021
Should we also (or in alternative) replace |
Partially revert commit efa9e0f which broke tools which use `interpreter` and `&&` or environment variables in the `<command />`. xref.: galaxyproject@efa9e0f#r573844945
mvdbeek
force-pushed
the
variation_report_fix
branch
from
March 1, 2021 21:52
3b9396a
to
5c56704
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
If we reach
maximum_workflow_jobs_per_scheduling_iteration
in https://github.com/mvdbeek/galaxy/blob/1f82927ace979075dbd1540cad3493700889492a/lib/galaxy/tools/execute.py#L100 without having executed a single job for a new step we write out an empty step_outputs dict, which leads to