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

List subcommand reports incorrect commands when two jobs have the same name #9

Open
camall3n opened this issue Jun 10, 2020 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@camall3n
Copy link
Owner

camall3n commented Jun 10, 2020

Issue: If prelaunch/launch are run twice with the same jobname, list will report that the first job used the commands from the second job

Expected: Either list does not report the first job, or it reports the original commands.

Python: python 3.7
Library version: 0.1.0.a

To reproduce:

$ thoth prelaunch +command sleep +jobname sleepy +arg '' {1..5}
$ thoth launch --backend slurm --jobname sleepy
$ thoth prelaunch +command sleep +jobname sleepy +arg '' {6..10}
$ thoth launch --backend slurm --jobname sleepy
$ thoth list

Output:

  job_id    task_id  jobname    command      tag
--------  ---------  ---------  -----------  -----
13434297          1  sleepy     'sleep  6'
13434297          2  sleepy     'sleep  7'
13434297          3  sleepy     'sleep  8'
13434297          4  sleepy     'sleep  9'
13434297          5  sleepy     'sleep  10'
13434299          1  sleepy     'sleep  6'
13434299          2  sleepy     'sleep  7'
13434299          3  sleepy     'sleep  8'
13434299          4  sleepy     'sleep  9'
13434299          5  sleepy     'sleep  10'
@camall3n camall3n added the bug Something isn't working label Jun 10, 2020
@camall3n
Copy link
Owner Author

Verified on slurm backend

@camall3n camall3n added this to the someday milestone Jun 11, 2020
@camall3n camall3n removed this from the someday milestone Jun 19, 2020
@camall3n camall3n added this to the v0.1.3 milestone Jan 5, 2021
@camall3n camall3n modified the milestones: v0.1.3, List upgrades Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant