You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/05/03 09:11:54 UTC
Jenkins build is still unstable: Log4j 2.x #1133
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: Jenkins build is back to stable : Log4j 2.x #1141
Posted by Gary Gregory <ga...@gmail.com>.
Great, thank you.
Gary
On Mon, May 4, 2015 at 8:38 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> Yes. First chance I get. It might not be until the weekend but I will try
> for sooner.
>
> Ralph
>
>
> On May 4, 2015, at 2:02 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Yeah, glad that's out of the way! :-)
>
> Do you feel like cutting a release candidate soon?
>
> Gary
>
> On Mon, May 4, 2015 at 1:09 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> Hooray!
>>
>> Ralph
>>
>> > On May 4, 2015, at 11:52 AM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>> >
>> > See <https://builds.apache.org/job/Log4j%202.x/1141/changes>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is back to stable : Log4j 2.x #1141
Posted by Ralph Goers <ra...@dslextreme.com>.
Yes. First chance I get. It might not be until the weekend but I will try for sooner.
Ralph
> On May 4, 2015, at 2:02 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Yeah, glad that's out of the way! :-)
>
> Do you feel like cutting a release candidate soon?
>
> Gary
>
> On Mon, May 4, 2015 at 1:09 PM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> Hooray!
>
> Ralph
>
> > On May 4, 2015, at 11:52 AM, Apache Jenkins Server <jenkins@builds.apache.org <ma...@builds.apache.org>> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/1141/changes <https://builds.apache.org/job/Log4j%202.x/1141/changes>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: Jenkins build is back to stable : Log4j 2.x #1141
Posted by Gary Gregory <ga...@gmail.com>.
Yeah, glad that's out of the way! :-)
Do you feel like cutting a release candidate soon?
Gary
On Mon, May 4, 2015 at 1:09 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> Hooray!
>
> Ralph
>
> > On May 4, 2015, at 11:52 AM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/1141/changes>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is back to stable : Log4j 2.x #1141
Posted by Remko Popma <re...@gmail.com>.
Well done! :-)
Remko
Sent from my iPhone
> On 2015/05/05, at 5:09, Ralph Goers <ra...@dslextreme.com> wrote:
>
> Hooray!
>
> Ralph
>
>> On May 4, 2015, at 11:52 AM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>>
>> See <https://builds.apache.org/job/Log4j%202.x/1141/changes>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: Jenkins build is back to stable : Log4j 2.x #1141
Posted by Ralph Goers <ra...@dslextreme.com>.
Hooray!
Ralph
> On May 4, 2015, at 11:52 AM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>
> See <https://builds.apache.org/job/Log4j%202.x/1141/changes>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is back to stable : Log4j 2.x #1141
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/1141/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1140
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1139
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1138
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1137
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1136
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1135
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Jenkins build is still unstable: Log4j 2.x #1134
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Gary Gregory <ga...@gmail.com>.
Right, the failure seems to be that when we do:
if (uri.getScheme() == null) {
try {
uri = new File(uri.getPath()).toURI();
the URI contains a % encoded value for a space. When that is turned into a
String:
String fileName = uri.toURL().getFile();
and the string is tested for existence:
if (new File(fileName).exists()) { // LOG4J2-466
it fails of course, but it should not.
So the logic is wrong... yikes.
We need to account for encoded strings before File test...
Gary
On Sun, May 3, 2015 at 12:26 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> I’ve added some system.out calls. What I am seeing on OS/X is that
> FileUtils.fileFromURI tests for the files existence. If it exists it uses
> that file name. If it does not exist it calls URLDecoder.decode(fileName,
> “UTF-8”) and uses that to create the file object. The decode method
> replaces “+” characters with spaces, which is precisely what causes the
> assertion failure.
>
> I suspect the reason it is failing is because of the workspace name “Log4j
> 2.x”, which contains a URI encoded blank character. It seems to me there is
> something not quite right with the fix for LOG4J2-466. It appears to
> appending a non-URL-encoded relative path to a URL encoded path. It would
> seem that neither the “new uri” or “Decoded fileName” would actually exist.
>
> Here is the OS/X output:
>
> Running org.apache.logging.log4j.core.util.FileUtilsTest
>
> new uri:
> file:/Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/NON-EXISTING-PATH/this+file+does+not+exist.xml
>
> Decoded fileName:
> /Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/NON-EXISTING-PATH/this
> file does not exist.xml
>
> new uri:
> file:/Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
>
> FileName:
> /Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
> - in org.apache.logging.log4j.core.util.FileUtilsTest
>
> and the output from Jenkins:
>
> Running org.apache.logging.log4j.core.util.FileUtilsTest
> new uri: file:/home/jenkins/jenkins-slave/workspace/Log4j%202.x/log4j-core/NON-EXISTING-PATH/this+file+does+not+exist.xml
> Decoded fileName: /home/jenkins/jenkins-slave/workspace/Log4j 2.x/log4j-core/NON-EXISTING-PATH/this file does not exist.xml
> new uri: file:/home/jenkins/jenkins-slave/workspace/Log4j%202.x/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
> Decoded fileName: /home/jenkins/jenkins-slave/workspace/Log4j 2.x/log4j-core/target/test-classes/log4j config with plus characters.xml
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
> testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest) Time elapsed: 0.008 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
> at org.junit.Assert.assertEquals(Assert.java:115)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
>
>
> Ralph
>
> On May 3, 2015, at 10:56 AM, Gary Gregory <ga...@gmail.com> wrote:
>
> I've added more asserts
> to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>
> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>
> Must some Linux vs Windows thing?
>
> Gary
>
> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
>> I added this test to help
>> debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>>
>> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>>
>> Gary
>>
>> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ra...@dslextreme.com>
>> wrote:
>>
>>> I modified the configuration to use Java 7. These are the results.
>>>
>>> Ralph
>>>
>>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <
>>> jenkins@builds.apache.org> wrote:
>>> >
>>> > See <https://builds.apache.org/job/Log4j%202.x/changes>
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>> >
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Ralph Goers <ra...@dslextreme.com>.
I’ve added some system.out calls. What I am seeing on OS/X is that FileUtils.fileFromURI tests for the files existence. If it exists it uses that file name. If it does not exist it calls URLDecoder.decode(fileName, “UTF-8”) and uses that to create the file object. The decode method replaces “+” characters with spaces, which is precisely what causes the assertion failure.
I suspect the reason it is failing is because of the workspace name “Log4j 2.x”, which contains a URI encoded blank character. It seems to me there is something not quite right with the fix for LOG4J2-466. It appears to appending a non-URL-encoded relative path to a URL encoded path. It would seem that neither the “new uri” or “Decoded fileName” would actually exist.
Here is the OS/X output:
Running org.apache.logging.log4j.core.util.FileUtilsTest
new uri: file:/Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/NON-EXISTING-PATH/this+file+does+not+exist.xml
Decoded fileName: /Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/NON-EXISTING-PATH/this file does not exist.xml
new uri: file:/Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
FileName: /Users/rgoers/projects/apache/logging/log4j/log4j2/master/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.logging.log4j.core.util.FileUtilsTest
and the output from Jenkins:
Running org.apache.logging.log4j.core.util.FileUtilsTest
new uri: file:/home/jenkins/jenkins-slave/workspace/Log4j%202.x/log4j-core/NON-EXISTING-PATH/this+file+does+not+exist.xml
Decoded fileName: /home/jenkins/jenkins-slave/workspace/Log4j 2.x/log4j-core/NON-EXISTING-PATH/this file does not exist.xml
new uri: file:/home/jenkins/jenkins-slave/workspace/Log4j%202.x/log4j-core/target/test-classes/log4j+config+with+plus+characters.xml
Decoded fileName: /home/jenkins/jenkins-slave/workspace/Log4j 2.x/log4j-core/target/test-classes/log4j config with plus characters.xml
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest) Time elapsed: 0.008 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
Ralph
> On May 3, 2015, at 10:56 AM, Gary Gregory <ga...@gmail.com> wrote:
>
> I've added more asserts to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>
> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>
> Must some Linux vs Windows thing?
>
> Gary
>
> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> I added this test to help debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>
> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>
> Gary
>
> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> I modified the configuration to use Java 7. These are the results.
>
> Ralph
>
> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <jenkins@builds.apache.org <ma...@builds.apache.org>> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/changes <https://builds.apache.org/job/Log4j%202.x/changes>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Ralph Goers <ra...@dslextreme.com>.
That seems to have fixed the problem in FileUtils. ResolverUtil has 2 unit tests that also fail in a similar manner.
Two problems with the commit though:
1. The System.out calls are still there.
2. You reformatted the file. I dislike the javadoc format where the definition is on the next line. You also modified lines where only formatting changed.
Ralph
> On May 3, 2015, at 2:35 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> I committed another hacky workaround. Let's see what happens. See my // TODO in the code -> there must be a better way...
>
> Gary
>
> On Sun, May 3, 2015 at 1:34 PM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> It seems to me that the problem is that File().toURI() is being called. This is encoding the string - but it is leaving the ‘+’ characters alone instead of converting them to %2B. So when the URI is decoded the “+” is converted to a space.
>
> Ralph
>
>> On May 3, 2015, at 12:43 PM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>
>> Ah cool! It's great you have a locally reproducible bug now :-)
>>
>> G
>>
>> On Sun, May 3, 2015 at 12:31 PM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
>> I was able to reproduce the problem on OS/X. Simply rename the directory the log4j project resides in to contain a space such as “My Master”.
>>
>> Running org.apache.logging.log4j.core.util.FileUtilsTest
>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
>> testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest) Time elapsed: 0.006 sec <<< FAILURE!
>> org.junit.ComparisonFailure: expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
>> at org.junit.Assert.assertEquals(Assert.java:115)
>> at org.junit.Assert.assertEquals(Assert.java:144)
>> at org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
>>
>>
>> Results :
>>
>> Failed tests:
>> FileUtilsTest.testFileFromUriWithPlusCharactersInName:44 expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
>>
>>
>>
>>
>>> On May 3, 2015, at 10:56 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>>
>>> I've added more asserts to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>>>
>>> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>>>
>>> Must some Linux vs Windows thing?
>>>
>>> Gary
>>>
>>> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>> I added this test to help debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>>>
>>> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>>>
>>> Gary
>>>
>>> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
>>> I modified the configuration to use Java 7. These are the results.
>>>
>>> Ralph
>>>
>>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <jenkins@builds.apache.org <ma...@builds.apache.org>> wrote:
>>> >
>>> > See <https://builds.apache.org/job/Log4j%202.x/changes <https://builds.apache.org/job/Log4j%202.x/changes>>
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
>>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>>> >
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
>>> For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>>>
>>>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Gary Gregory <ga...@gmail.com>.
I committed another hacky workaround. Let's see what happens. See my //
TODO in the code -> there must be a better way...
Gary
On Sun, May 3, 2015 at 1:34 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> It seems to me that the problem is that File().toURI() is being called.
> This is encoding the string - but it is leaving the ‘+’ characters alone
> instead of converting them to %2B. So when the URI is decoded the “+” is
> converted to a space.
>
> Ralph
>
> On May 3, 2015, at 12:43 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Ah cool! It's great you have a locally reproducible bug now :-)
>
> G
>
> On Sun, May 3, 2015 at 12:31 PM, Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> I was able to reproduce the problem on OS/X. Simply rename the directory
>> the log4j project resides in to contain a space such as “My Master”.
>>
>> Running org.apache.logging.log4j.core.util.FileUtilsTest
>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
>> <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
>> testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest)
>> Time elapsed: 0.006 sec <<< FAILURE!
>> org.junit.ComparisonFailure:
>> expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config
>> with plus ]characters.xml>
>> at org.junit.Assert.assertEquals(Assert.java:115)
>> at org.junit.Assert.assertEquals(Assert.java:144)
>> at
>> org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
>>
>>
>> Results :
>>
>> Failed tests:
>> FileUtilsTest.testFileFromUriWithPlusCharactersInName:44
>> expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config
>> with plus ]characters.xml>
>>
>>
>>
>>
>> On May 3, 2015, at 10:56 AM, Gary Gregory <ga...@gmail.com> wrote:
>>
>> I've added more asserts
>> to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>>
>> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>>
>> Must some Linux vs Windows thing?
>>
>> Gary
>>
>> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> I added this test to help
>>> debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>>>
>>> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>>>
>>> Gary
>>>
>>> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ralph.goers@dslextreme.com
>>> > wrote:
>>>
>>>> I modified the configuration to use Java 7. These are the results.
>>>>
>>>> Ralph
>>>>
>>>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <
>>>> jenkins@builds.apache.org> wrote:
>>>> >
>>>> > See <https://builds.apache.org/job/Log4j%202.x/changes>
>>>> >
>>>> >
>>>> > ---------------------------------------------------------------------
>>>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>>> >
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> Java Persistence with Hibernate, Second Edition
>>> <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Ralph Goers <ra...@dslextreme.com>.
It seems to me that the problem is that File().toURI() is being called. This is encoding the string - but it is leaving the ‘+’ characters alone instead of converting them to %2B. So when the URI is decoded the “+” is converted to a space.
Ralph
> On May 3, 2015, at 12:43 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Ah cool! It's great you have a locally reproducible bug now :-)
>
> G
>
> On Sun, May 3, 2015 at 12:31 PM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> I was able to reproduce the problem on OS/X. Simply rename the directory the log4j project resides in to contain a space such as “My Master”.
>
> Running org.apache.logging.log4j.core.util.FileUtilsTest
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
> testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest) Time elapsed: 0.006 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
> at org.junit.Assert.assertEquals(Assert.java:115)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
>
>
> Results :
>
> Failed tests:
> FileUtilsTest.testFileFromUriWithPlusCharactersInName:44 expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
>
>
>
>
>> On May 3, 2015, at 10:56 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>
>> I've added more asserts to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>>
>> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>>
>> Must some Linux vs Windows thing?
>>
>> Gary
>>
>> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>> I added this test to help debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>>
>> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>>
>> Gary
>>
>> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
>> I modified the configuration to use Java 7. These are the results.
>>
>> Ralph
>>
>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <jenkins@builds.apache.org <ma...@builds.apache.org>> wrote:
>> >
>> > See <https://builds.apache.org/job/Log4j%202.x/changes <https://builds.apache.org/job/Log4j%202.x/changes>>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Gary Gregory <ga...@gmail.com>.
Ah cool! It's great you have a locally reproducible bug now :-)
G
On Sun, May 3, 2015 at 12:31 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> I was able to reproduce the problem on OS/X. Simply rename the directory
> the log4j project resides in to contain a space such as “My Master”.
>
> Running org.apache.logging.log4j.core.util.FileUtilsTest
>
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
>
> testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest)
> Time elapsed: 0.006 sec <<< FAILURE!
>
> org.junit.ComparisonFailure:
> expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config
> with plus ]characters.xml>
>
> at org.junit.Assert.assertEquals(Assert.java:115)
>
> at org.junit.Assert.assertEquals(Assert.java:144)
>
> at
> org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
>
>
>
> Results :
>
>
> Failed tests:
>
> FileUtilsTest.testFileFromUriWithPlusCharactersInName:44
> expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config
> with plus ]characters.xml>
>
>
>
>
> On May 3, 2015, at 10:56 AM, Gary Gregory <ga...@gmail.com> wrote:
>
> I've added more asserts
> to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>
> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>
> Must some Linux vs Windows thing?
>
> Gary
>
> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
>> I added this test to help
>> debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>>
>> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>>
>> Gary
>>
>> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ra...@dslextreme.com>
>> wrote:
>>
>>> I modified the configuration to use Java 7. These are the results.
>>>
>>> Ralph
>>>
>>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <
>>> jenkins@builds.apache.org> wrote:
>>> >
>>> > See <https://builds.apache.org/job/Log4j%202.x/changes>
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>> >
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Ralph Goers <ra...@dslextreme.com>.
I was able to reproduce the problem on OS/X. Simply rename the directory the log4j project resides in to contain a space such as “My Master”.
Running org.apache.logging.log4j.core.util.FileUtilsTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE! - in org.apache.logging.log4j.core.util.FileUtilsTest
testFileFromUriWithPlusCharactersInName(org.apache.logging.log4j.core.util.FileUtilsTest) Time elapsed: 0.006 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.logging.log4j.core.util.FileUtilsTest.testFileFromUriWithPlusCharactersInName(FileUtilsTest.java:44)
Results :
Failed tests:
FileUtilsTest.testFileFromUriWithPlusCharactersInName:44 expected:<log4j[+config+with+plus+]characters.xml> but was:<log4j[ config with plus ]characters.xml>
> On May 3, 2015, at 10:56 AM, Gary Gregory <ga...@gmail.com> wrote:
>
> I've added more asserts to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
>
> It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
>
> Must some Linux vs Windows thing?
>
> Gary
>
> On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> I added this test to help debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>
> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>
> Gary
>
> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> I modified the configuration to use Java 7. These are the results.
>
> Ralph
>
> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <jenkins@builds.apache.org <ma...@builds.apache.org>> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/changes <https://builds.apache.org/job/Log4j%202.x/changes>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org <ma...@logging.apache.org>
> For additional commands, e-mail: log4j-dev-help@logging.apache.org <ma...@logging.apache.org>
>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Gary Gregory <ga...@gmail.com>.
I've added more asserts
to org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName().
It all works for me on Oracle Java 6 and 7 (all 64 bit) on Windows.
Must some Linux vs Windows thing?
Gary
On Sun, May 3, 2015 at 1:59 AM, Gary Gregory <ga...@gmail.com> wrote:
> I added this test to help
> debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
>
> Going to bed now... 2am :-( Sorry I cannot help more ATM.
>
> Gary
>
> On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> I modified the configuration to use Java 7. These are the results.
>>
>> Ralph
>>
>> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>> >
>> > See <https://builds.apache.org/job/Log4j%202.x/changes>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Gary Gregory <ga...@gmail.com>.
I added this test to help
debug: org.apache.logging.log4j.core.util.FileUtilsTest.testFileExistsWithPlusCharactersInName()
Going to bed now... 2am :-( Sorry I cannot help more ATM.
Gary
On Sun, May 3, 2015 at 12:13 AM, Ralph Goers <ra...@dslextreme.com>
wrote:
> I modified the configuration to use Java 7. These are the results.
>
> Ralph
>
> > On May 3, 2015, at 12:11 AM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/changes>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: Jenkins build is still unstable: Log4j 2.x #1133
Posted by Ralph Goers <ra...@dslextreme.com>.
I modified the configuration to use Java 7. These are the results.
Ralph
> On May 3, 2015, at 12:11 AM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>
> See <https://builds.apache.org/job/Log4j%202.x/changes>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org