ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant git commit: logs say "link has been created", is it a timing issue?
Date Tue, 19 Dec 2017 11:07:52 GMT
On 2017-12-19, Jaikiran Pai wrote:

> The interesting bit from the logs that you enabled for investigating
> this appears to be the contents in the "recorded.links" properties
> file that gets created in the "test-record" target:

> #listing properties#Tue Dec 19 09:28:22 UTC 2017
> dirlink=/home/jenkins/jenkins-slave/workspace/Ant-Build-Matrix-master-Linux/jdk/JDK
> 1.8 (latest)/build/testcases/tmp/testoutput_3321_main/symtest1/dirlink
> link2=/home/jenkins/jenkins-slave/workspace/Ant-Build-Matrix-master-Linux/jdk/JDK
> 1.8 (latest)/build/testcases/tmp/testoutput_3321_main/symtest1/link2
> link1=/home/jenkins/jenkins-slave/workspace/Ant-Build-Matrix-master-Linux/jdk/JDK
> 1.8 (latest)/build/testcases/tmp/testoutput_3321_main/symtest1/link1
> dirlink3=/home/jenkins/jenkins-slave/workspace/Ant-Build-Matrix-master-Linux/jdk/JDK
> 1.8
> (latest)/build/testcases/tmp/testoutput_3321_main/symtest1/dirlink3
> dirlink2=/home/jenkins/jenkins-slave/workspace/Ant-Build-Matrix-master-Linux/jdk/JDK
> 1.8
> (latest)/build/testcases/tmp/testoutput_3321_main/symtest1/dirlink2

> This is wrong - for some reason the link is pointing back itself (each
> entry in that file).

Ah interesting, I didn't catch that.

We should probably extend the test for record to actually look into the
file's content rather than just asserting something has been written.

> To make it much more weird, if I run this exact same state of "master"
> branch, by just triggering this single test case, it passes.

This is what happened to me on the Gump box as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message