-
Notifications
You must be signed in to change notification settings - Fork 28
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
TES backend doesn't seem to support the CWL allowed exit codes #408
Comments
Are the output files uploaded when the TES task errors-out? |
Ah, I hadn't thought about this. Currently, Funnel will stop processing on the first failed executor, and will not upload output files. We've discussed changing this behavior, in order to provide a sort of "best effort" behavior, where Funnel tries to get you all the data it has. In other words, we could try make Funnel upload any outputs it can find. There are some details to iron out there though. Currently it's an error if an output isn't found, which wouldn't be true in this situation. |
Bunny could wrap those tools with defined |
Yeah I was using shared FS in these tests when I noticed it but no the output wasn’t copied/linked over to the bunny directory structure from what I can see. |
I've made some quick changes on this branch: https://github.com/rabix/bunny/tree/tes/exitcodes If there are allowed exit codes in the app the exit code is saved and overridden to 0 inside TES and then independently evaluated after execution. Changed the way command line is built to accommodate this so some side effects with weird command lines might happen. |
Awesome @milos-ljubinkovic ... my quick peek at the source suggests that this branch also supports the newer TES spec correct? Since I'm testing with the newer funnel versions that have the newer TES spec, I have had to edit the source from older rabix versions... just double checking so I can test it with my workflow. |
It should support the latest TES spec and was tested against funnel's master branch on 10th January I think. Some issues with s3 and endpoints were reported, though. |
great... yeah we gave up on s3 for now and testing with ceph FS... will test this today thanks |
We are tracking this issue in Funnel ohsu-comp-bio/funnel#425 |
@milos-ljubinkovic it seems like I can't get around this exception with this branch:
It happens on both local and TES backends. |
Made a quick revert on that branch that had something to do with ignoring IllegalArgumentExceptions, so it might help but didn't really reproduce the issue. Could you upload your workflow or the full stack trace? |
@milos-ljubinkovic I think that's where the issue is, here more of the stack trace I can easily grep out... I'm running again with your changes right now.
|
When using bunny + TES a task that has a non-zero exit code, but is considered acceptable by the CWL spec still is interpreted as failed by the rabix engine. I have tested the same workflow with the the local execution backend and it runs as expected. While the TES may return the error state, the exit code is stored in the TES TaskLog message and should be used in this case to override the error state provided by the TES backend.
The text was updated successfully, but these errors were encountered: