Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Mikael Ståldal
Makes sense, fixed. On 2017-11-18 21:17, Ralph Goers wrote: The file should be deleted before the test starts and after it finishes. If it fails for some reason it will still leave the file lying around so deleting it before the test insures a clean environment.

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Ralph Goers
The file should be deleted before the test starts and after it finishes. If it fails for some reason it will still leave the file lying around so deleting it before the test insures a clean environment. Ralph > On Nov 18, 2017, at 5:00 AM, Mikael Ståldal wrote: > > That particular test create

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Matt Sicker
Nice find! On 18 November 2017 at 08:11, Mikael Ståldal wrote: > It works now! > > > > On 2017-11-18 13:00, Mikael Ståldal wrote: > >> That particular test creates hadoop.log in >> System.getProperty("java.io.tmpdir") >> on purpuse to test system property replacement in configuration files. >>

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Mikael Ståldal
It works now! On 2017-11-18 13:00, Mikael Ståldal wrote: That particular test creates hadoop.log in System.getProperty("java.io.tmpdir") on purpuse to test system property replacement in configuration files. On most Linux systems (including our Jenkins machine), System.getProperty("java.io.

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Mikael Ståldal
That particular test creates hadoop.log in System.getProperty("java.io.tmpdir") on purpuse to test system property replacement in configuration files. On most Linux systems (including our Jenkins machine), System.getProperty("java.io.tmpdir") == "/tmp". I tried the test locally on my Linux m

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-18 Thread Mikael Ståldal
Same problem again in latest build (#3182). On 2017-11-12 23:58, Ralph Goers wrote: I am not sure why this is suddenly failing with a permission denied trying to create /tmp/hadoop.log. But why is it trying to create a file there instead of under the target directory? Ralph On Nov 12, 2017

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-12 Thread Matt Sicker
https://github.com/apache/logging-log4j2/search?utf8=%E2%9C%93&q=hadoop.log&type= I see at least one test that's trying to use the java.io.tmpdir for said file. The only reason why a file named /tmp/hadoop.log couldn't be created would be because it already exists and is owned by a different user

Re: Jenkins build is still unstable: Log4j 2.x #3170

2017-11-12 Thread Ralph Goers
I am not sure why this is suddenly failing with a permission denied trying to create /tmp/hadoop.log. But why is it trying to create a file there instead of under the target directory? Ralph > On Nov 12, 2017, at 2:39 PM, Apache Jenkins Server > wrote: > > See >