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 <mi...@apache.org> 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.tmpdir") == "/tmp".
> 
> I tried the test locally on my Linux machine, and it works. But it leaves the 
> /tmp/hadoop.log file behind. I changed the test to delete the file 
> afterwards, maybe that will help.
> 
> Maybe someone have to manually delete /tmp/hadoop.log on the Jenkins machine 
> once to get this working again. (I am not sure how to access the Jenkins 
> machine to be able to do that.)
> 
> 
> 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, at 2:39 PM, Apache Jenkins Server 
>>> <jenk...@builds.apache.org> wrote:
>>> 
>>> See 
>>> <https://builds.apache.org/job/Log4j%202.x/3170/display/redirect?page=changes>
>>> 
>>> 
> 
> 


Reply via email to