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

Drivers will not allow job names with spaces #9564

Open
berland opened this issue Dec 16, 2024 · 0 comments
Open

Drivers will not allow job names with spaces #9564

berland opened this issue Dec 16, 2024 · 0 comments

Comments

@berland
Copy link
Contributor

berland commented Dec 16, 2024

This test function will hang:

async def test_jobname_with_spaces(tmp_path):
    os.chdir(tmp_path)
    driver = LsfDriver()
    await driver.submit(0, "sh", "-c", "sleep 1", name="I have spaces")
    await poll(driver, {0})

while it will succeed fine if you remove the spaces in the jobname.

The LSF system allows spaces, so this must either be handled properly in the driver, or the drivers should say sorry and errror on spaces.

Probably true for Torque/Slurm as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant