[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 --- Comment #3 from Marc A. Pelletier m...@uberbox.org --- There is always the possibility of a race condition; there is no locking, so if you jstart twice within a very short period of time (a few seconds) both invocations would so none running and start; but that seems unlikely if you start with cron unless the interval is fairly short and tools-login was *really* loaded. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 --- Comment #4 from Liangent liang...@gmail.com --- (In reply to comment #3) There is always the possibility of a race condition; there is no locking, so if you jstart twice within a very short period of time (a few seconds) both invocations would so none running and start; but that seems unlikely if you start with cron unless the interval is fairly short and tools-login was *really* loaded. That cron entry is 0/10 * * * * $HOME/mw/startLabsDispatchRC.sh. Is the interval too short? Also do you think it's a good bug report (so it's not WONTFIXed) about having no locking? -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 --- Comment #5 from Marc A. Pelletier m...@uberbox.org --- 10 minutes seems long enough that I'm really surprised this could have happened at all; I might have expected it to happen at the 1-2 minute range at the most. Locking would be a reasonable added safeguard, and even when cron gets replaced it would remain useful, but has a few implementation gotchas that will be tricky to get right. Nevertheless, having a bug for it would not be a bad thing. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 --- Comment #6 from Liangent liang...@gmail.com --- So bug 60862. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 --- Comment #2 from Liangent liang...@gmail.com --- So is there any other possible cause for the original issue? -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 53629] jstart doesn't check existence of resubmitted tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=53629 Tim Landscheidt t...@tim-landscheidt.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Tim Landscheidt t...@tim-landscheidt.de --- I can't reproduce that: | scfc@tools-login:~$ echo sleep 10m sleep-test.sh chmod +x sleep-test.sh | scfc@tools-login:~$ jstart -N sleep-test ./sleep-test.sh | Your job 2415536 (sleep-test) has been submitted | scfc@tools-login:~$ qstat | job-ID prior name user state submit/start at queue slots ja-task-ID | - | 2415536 0.25000 sleep-test scfc r 02/03/2014 03:03:38 continuous@tools-exec-06.pmtpa 1 | scfc@tools-login:~$ qmod -rj 2415536 | Pushed rescheduling of job 2415536 on host tools-exec-06.pmtpa.wmflabs | scfc@tools-login:~$ qstat | job-ID prior name user state submit/start at queue slots ja-task-ID | - | 2415536 0.25000 sleep-test scfc Rr02/03/2014 03:04:38 continuous@tools-exec-03.pmtpa 1 | scfc@tools-login:~$ jstart -N sleep-test ./sleep-test.sh | scfc@tools-login:~$ qstat | job-ID prior name user state submit/start at queue slots ja-task-ID | - | 2415536 0.25000 sleep-test scfc Rr02/03/2014 03:04:38 continuous@tools-exec-03.pmtpa 1 | scfc@tools-login:~$ -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l