More weirdness: the failing line (70) tests that data member 
interpretUnicodeEscapes has the value it’s set to (false) in the 
DEFAULT_STRATEGY ctor:

  63 public void testSetCSVStrategy() {
  64   CSVStrategy strategy = CSVStrategy.DEFAULT_STRATEGY;
  65   // default settings
  66   assertEquals(strategy.getDelimiter(), ',');
  67   assertEquals(strategy.getEncapsulator(), '"');
  68   assertEquals(strategy.getCommentStart(), CSVStrategy.COMMENTS_DISABLED);
  69   assertEquals(true,  strategy.getIgnoreLeadingWhitespaces());
  70   assertEquals(false, strategy.getUnicodeEscapeInterpretation());

From CSVStrategy, here’s DEFAULT_STRATEGY and the prototype of the ctor it 
calls:

  public static CSVStrategy DEFAULT_STRATEGY = new CSVStrategy(',', '"', 
COMMENTS_DISABLED, ESCAPE_DISABLED,
      true, true, 
      false, true);
  […]
  public CSVStrategy(char delimiter, char encapsulator, char commentStart, char 
escape,
      boolean ignoreLeadingWhitespace, boolean ignoreTrailingWhitespace, 
      boolean interpretUnicodeEscapes, boolean ignoreEmptyLines) { […]

So AFAICT, this is a compiler bug, or cosmic ray bit-flipping, or maybe this 
Jenkins job isn’t configured to clean properly?  I’ll go look at that now.

--
Steve
www.lucidworks.com

> On Mar 2, 2016, at 12:11 PM, Steve Rowe <[email protected]> wrote:
> 
> This one is weird: 1) it doesn’t reproduce for me on OS X, and 2) there was 
> no "reproduce with” message printed in the output log.
> 
> Dawid, do you know what’s up with #2?
> 
> --
> Steve
> www.lucidworks.com
> 
>> On Mar 2, 2016, at 11:48 AM, Steve Rowe <[email protected]> wrote:
>> 
>> This is almost certainly caused by SOLR-8764, which included some 
>> CSVStrategy changes - I’ll look into it.
>> 
>> --
>> Steve
>> www.lucidworks.com
>> 
>>> On Mar 2, 2016, at 11:25 AM, Policeman Jenkins Server <[email protected]> 
>>> wrote:
>>> 
>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/3126/
>>> Java: 64bit/jdk1.8.0 -XX:-UseCompressedOops -XX:+UseG1GC
>>> 
>>> 1 tests failed.
>>> FAILED:  org.apache.solr.internal.csv.CSVStrategyTest.testSetCSVStrategy
>>> 
>>> Error Message:
>>> expected:<false> but was:<true>
>>> 
>>> Stack Trace:
>>> junit.framework.AssertionFailedError: expected:<false> but was:<true>
>>>     at junit.framework.Assert.fail(Assert.java:50)
>>>     at junit.framework.Assert.failNotEquals(Assert.java:287)
>>>     at junit.framework.Assert.assertEquals(Assert.java:67)
>>>     at junit.framework.Assert.assertEquals(Assert.java:147)
>>>     at junit.framework.Assert.assertEquals(Assert.java:153)
>>>     at 
>>> org.apache.solr.internal.csv.CSVStrategyTest.testSetCSVStrategy(CSVStrategyTest.java:70)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>     at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:498)
>>>     at junit.framework.TestCase.runTest(TestCase.java:168)
>>>     at junit.framework.TestCase.runBare(TestCase.java:134)
>>>     at junit.framework.TestResult$1.protect(TestResult.java:110)
>>>     at junit.framework.TestResult.runProtected(TestResult.java:128)
>>>     at junit.framework.TestResult.run(TestResult.java:113)
>>>     at junit.framework.TestCase.run(TestCase.java:124)
>>>     at junit.framework.TestSuite.runTest(TestSuite.java:243)
>>>     at junit.framework.TestSuite.run(TestSuite.java:238)
>>>     at 
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>>     at 
>>> com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.execute(SlaveMain.java:243)
>>>     at 
>>> com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.main(SlaveMain.java:354)
>>>     at 
>>> com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe.main(SlaveMainSafe.java:10)
>>> 
>>> 
>>> 
>>> 
>>> Build Log:
>>> [...truncated 11720 lines...]
>>> [junit4] Suite: org.apache.solr.internal.csv.CSVStrategyTest
>>> [junit4] FAILURE 0.01s J1 | CSVStrategyTest.testSetCSVStrategy <<<
>>> [junit4]    > Throwable #1: junit.framework.AssertionFailedError: 
>>> expected:<false> but was:<true>
>>> [junit4]    >       at junit.framework.Assert.fail(Assert.java:50)
>>> [junit4]    >       at junit.framework.Assert.failNotEquals(Assert.java:287)
>>> [junit4]    >       at junit.framework.Assert.assertEquals(Assert.java:67)
>>> [junit4]    >       at junit.framework.Assert.assertEquals(Assert.java:147)
>>> [junit4]    >       at junit.framework.Assert.assertEquals(Assert.java:153)
>>> [junit4]    >       at 
>>> org.apache.solr.internal.csv.CSVStrategyTest.testSetCSVStrategy(CSVStrategyTest.java:70)
>>> [junit4]    >       at junit.framework.TestCase.runTest(TestCase.java:168)
>>> [junit4]    >       at junit.framework.TestCase.runBare(TestCase.java:134)
>>> [junit4]    >       at 
>>> junit.framework.TestResult$1.protect(TestResult.java:110)
>>> [junit4]    >       at 
>>> junit.framework.TestResult.runProtected(TestResult.java:128)
>>> [junit4]    >       at junit.framework.TestResult.run(TestResult.java:113)
>>> [junit4]    >       at junit.framework.TestCase.run(TestCase.java:124)
>>> [junit4]    >       at junit.framework.TestSuite.runTest(TestSuite.java:243)
>>> [junit4]    >       at junit.framework.TestSuite.run(TestSuite.java:238)
>>> [junit4] Completed [411/581 (1!)] on J1 in 0.01s, 5 tests, 1 failure <<< 
>>> FAILURES!
>>> 
>>> [...truncated 568 lines...]
>>> BUILD FAILED
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:740: The 
>>> following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:684: The 
>>> following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:59: The 
>>> following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/solr/build.xml:233: The 
>>> following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/solr/common-build.xml:524:
>>>  The following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-build.xml:1457:
>>>  The following error occurred while executing this line:
>>> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-build.xml:1014:
>>>  There were test failures: 581 suites (8 ignored), 2345 tests, 1 failure, 
>>> 121 ignored (70 assumptions) [seed: 2B3EFE7DDC32CD19]
>>> 
>>> Total time: 75 minutes 15 seconds
>>> Build step 'Invoke Ant' marked build as failure
>>> Archiving artifacts
>>> [WARNINGS] Skipping publisher since build result is FAILURE
>>> Recording test results
>>> Email was triggered for: Failure - Any
>>> Sending email for trigger: Failure - Any
>>> 
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to