Fix lsf_provider's error status caused by incomplete line (#2345)
Fix lsf_provider's error status caused by incomplete line (#2345)

For parsl's lsf provider, the list indexing error (out of bounds) appears in the _status function when the bjobs stdout is incomplete.
Take a real case at SUSTech's Taiyi Cluser ( LSF managed cluster) as an example.

JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
3909009 cse-liy RUN debug login01 40*r13n44 *0.8569713 Jul 15 11:14
40*r13n45
3909010 cse-liy PEND debug login01 *80.888154 Jul 15 11:14
One job can be executed by two hosts. There will be a newline which only contains the id of exec_host.
The original code my occurs list indexing error. Because the length of parts is 1, but there is a indexing of parts[2].


Parsl/parsl,Parsl/parsl,Parsl/parsl,Parsl/parsl