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

Output/Error log issues #16

Open
ghost opened this issue Jul 15, 2016 · 0 comments
Open

Output/Error log issues #16

ghost opened this issue Jul 15, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 15, 2016

I received errors like "ERROR: CANNOT PRINT OUT ERROR LOG" and found this was due to two issues in Qsub.java (line numbers refer to commit 88cb833):

  • In my case, logHostname seems to be "localhost" and so this.errFileName becomes something like: localhost:/tmp/jenkinsPBS_8261529842131452148/erron line 129/130 which is not the same as the file path being read on line 226 (outFile = Files.newInputStream(Paths.get(this.executionDirectory, "err"))) - ie without the host. I fixed this by commenting lines 128-131 and 134.
  • Errors still occurred, which I think is due to the files attempting to be read before they are actually transferred from the compute node. Adding:

try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(listener.getLogger()); }
at line 210 to delay the read for a while until the transfer is likely to have finished fixed this for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants