-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
[JENKINS-16634] Do not fail to write a log file just because something deleted the parent directory #2738
[JENKINS-16634] Do not fail to write a log file just because something deleted the parent directory #2738
Conversation
…mething deleted the parent directory.
@@ -772,6 +772,7 @@ THE SOFTWARE. | |||
<forkCount>0.5C</forkCount> | |||
<reuseForks>true</reuseForks> | |||
<argLine>-XX:MaxPermSize=128m -noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 --> | |||
<trimStackTrace>false</trimStackTrace> <!-- SUREFIRE-1226 workaround --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise the pre-fix test failure omits the interesting bits in its stack trace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated, but Ok. Woukd be better to have it in a separate PR
* @author Kohsuke Kawaguchi | ||
*/ | ||
public class ReopenableRotatingFileOutputStreamTest { | ||
public class RewindableRotatingFileOutputStreamTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReopenableRotatingFileOutputStream
was deprecated in #2490 and SlaveComputer
now uses RewindableRotatingFileOutputStream
, so test that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐝
@@ -772,6 +772,7 @@ THE SOFTWARE. | |||
<forkCount>0.5C</forkCount> | |||
<reuseForks>true</reuseForks> | |||
<argLine>-XX:MaxPermSize=128m -noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 --> | |||
<trimStackTrace>false</trimStackTrace> <!-- SUREFIRE-1226 workaround --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated, but Ok. Woukd be better to have it in a separate PR
@reviewbybees done |
JENKINS-16634
No one is sure why the directory is deleted, but refusing to connect an agent because of this is not graceful. Test reproduced a similar error.
@reviewbybees