JuliaComputing / JuliaHub-Feedback

Public repo for filing JuliaHub issues
6 stars 1 forks source link

Jobs started from VS Code Plugin stop arbitrarily #87

Closed turingtest37 closed 3 years ago

turingtest37 commented 3 years ago

On two occasions I have uploaded and started a job from within the VS Code plugin, then closed my laptop (without quitting VS Code) to go to sleep (a poor habit that I am trying to cut back on). The next morning I find that the job was stopped arbitrarily in the middle. No exception appears in the logs. Could this be a failed authentication check? As an example, see job

jr-4oyjo9ikfd

from 15 Dec 2020.

StefanKarpinski commented 3 years ago

Thank you for the report. We will look into it to figure out what happened.

mdpradeep commented 3 years ago

@turingtest37, we checked the status of this job. The time limit value for the job is set to be 5 hrs and so, the job has stopped after 5 hrs. The logs are present for those 5 hrs.

turingtest37 commented 3 years ago

Thanks for looking into this. The 5-hour limit is suspicious, as I have been starting my jobs with a $5 spend limit, not a 5-hour time limit. I will check whether the radio button on the plug-in switches back to "by time" unexpectedly.

mdpradeep commented 3 years ago

You are right. This is indeed a bug. The backend was considering it as by time instead of by cost. We will fix it soon. Meanwhile, you could re-run settting the equivalent of $5 which works out to 8 hrs for the job you were trying. Sorry for the inconvenience.

mdpradeep commented 3 years ago

@turingtest37, just FYI, this issue has been fixed and we will roll it out soon on juliahub.com. Thanks for reporting this issue.

StefanKarpinski commented 3 years ago

You should also have been credited back the cost of the job. Sorry about the bug and thanks for reporting!

turingtest37 commented 3 years ago

Thank you all for building and improving this cool service!