Skip to content
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

[PM-1924] API submit still drops debug info to stdout #2037

Open
mayani opened this issue Dec 14, 2024 · 3 comments
Open

[PM-1924] API submit still drops debug info to stdout #2037

mayani opened this issue Dec 14, 2024 · 3 comments
Assignees
Labels
major Major loss of function. sync-from-jira Synced from Jira

Comments

@mayani
Copy link
Member

mayani commented Dec 14, 2024

When doing:

wf.plan(
dir=WORK_DIR / "runs",
sites=["condorpool"],
staging_sites={"condorpool": "osdf"},
output_sites=["local"],
cluster=["horizontal"],
submit=True
)

I still get a dump of the properties:

[WARNING] Submitting to condor wordfreq-workflow-0.dag.condor.sub
{"user": "mats.rynge", "grid_dn": null, "submit_hostname": "ospool-ap2040.chtc.wisc.edu", "root_wf_uuid": "6cde1989-9ac3-45f4-9502-108c0d44076e", "wf_uuid": "6cde1989-9ac3-45f4-9502-108c0d44076e", "dax": "/home/mats.rynge/tutorial-pegasus/wordfreq/workflow.yml", "dax_label": "wordfreq-workflow", "dax_index": "0", "dax_version": "5.0.4", "pegasus_wf_name": "wordfreq-workflow-0", "timestamp": "20230804T113010-0500", "basedir": "/home/mats.rynge/workflows/runs", "submit_dir": "/home/mats.rynge/workflows/runs/mats.rynge/pegasus/wordfreq-workflow/run0013", "planner": "/usr/bin/pegasus-plan", "planner_version": "5.0.6", "planner_arguments": ""--cluster horizontal --sites condorpool --output-sites local --staging-site condorpool=osdf --dir /home/mats.rynge/workflows/runs --cleanup inplace --submit workflow.yml --json "", "pegasus_build": "20230630203239Z", "jsd": "jobstate.log", "rundir": "run0013", "bindir": "/usr/bin", "vogroup": "pegasus", "uses_pmc": true, "properties": "pegasus.2937793932048162920.properties", "condor_log": "wordfreq-workflow-0.log", "dag": "wordfreq-workflow-0.dag", "type": "dag", "notify": "wordfreq-workflow-0.notify", "script": null}

Reporter: @rynge
Watchers:
@rynge
@vahi

@mayani
Copy link
Member Author

mayani commented Dec 14, 2024

Author: @vahi

@ryngethis is deliberate and was done as part of #1589

@mayani
Copy link
Member Author

mayani commented Dec 14, 2024

Author: @rynge

Right, but why dump it to the user in the middle of the outputs they actually need?

@mayani
Copy link
Member Author

mayani commented Dec 14, 2024

Author: @vahi

@mayanipoint was for the user to be able to parse the output easily (that is why dumped as json) to get a handle to the submit dir and other stuff programmatically

@mayani mayani added sync-from-jira Synced from Jira major Major loss of function. labels Dec 14, 2024
@mayani mayani changed the title PM-1924 [PM-1924] API submit still drops debug info to stdout Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Major loss of function. sync-from-jira Synced from Jira
Projects
None yet
Development

No branches or pull requests

2 participants