Solr
  1. Solr
  2. SOLR-5793

SignatureUpdateProcessorFactoryTest routinely fails on J9

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Two very similar looking failures pop up frequently, but not always together...

      REGRESSION:  org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testMultiThreaded
      
      Error Message:
      expected:<1> but was:<2>
      
      Stack Trace:
      java.lang.AssertionError: expected:<1> but was:<2>
      	at __randomizedtesting.SeedInfo.seed([791041A112471F1D:18859B41FA9615EB]:0)
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.failNotEquals(Assert.java:647)
      	at org.junit.Assert.assertEquals(Assert.java:128)
      	at org.junit.Assert.assertEquals(Assert.java:472)
      	at org.junit.Assert.assertEquals(Assert.java:456)
      	at org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.checkNumDocs(SignatureUpdateProcessorFactoryTest.java:71)
      	at org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testMultiThreaded(SignatureUpdateProcessorFactoryTest.java:222)
      
      REGRESSION:  org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testDupeDetection
      
      Error Message:
      expected:<1> but was:<2>
      
      Stack Trace:
      java.lang.AssertionError: expected:<1> but was:<2>
      	at __randomizedtesting.SeedInfo.seed([16A8922439B48E61:4D9869EC3AF32D1D]:0)
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.failNotEquals(Assert.java:647)
      	at org.junit.Assert.assertEquals(Assert.java:128)
      	at org.junit.Assert.assertEquals(Assert.java:472)
      	at org.junit.Assert.assertEquals(Assert.java:456)
      	at org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.checkNumDocs(SignatureUpdateProcessorFactoryTest.java:71)
      	at org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testDupeDetection(SignatureUpdateProcessorFactoryTest.java:119)
      
      

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1572706 from hossman@apache.org in branch 'dev/trunk'
          [ https://svn.apache.org/r1572706 ]

          SOLR-5793, SOLR-5792, SOLR-5791: disable these three tests on J9 JVM

          Show
          ASF subversion and git services added a comment - Commit 1572706 from hossman@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1572706 ] SOLR-5793 , SOLR-5792 , SOLR-5791 : disable these three tests on J9 JVM
          Hide
          ASF subversion and git services added a comment -

          Commit 1572709 from hossman@apache.org in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1572709 ]

          SOLR-5793, SOLR-5792, SOLR-5791: disable these three tests on J9 JVM (merge r1572706)

          Show
          ASF subversion and git services added a comment - Commit 1572709 from hossman@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1572709 ] SOLR-5793 , SOLR-5792 , SOLR-5791 : disable these three tests on J9 JVM (merge r1572706)
          Hide
          Robert Muir added a comment -

          Hoss, are you sure the assume is working? this test tripped last night on J9:

          Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Linux/9515/
          Java: 64bit/ibm-j9-jdk7 -Xjit:exclude={org/apache/lucene/util/fst/FST.pack(IIF)Lorg/apache/lucene/util/fst/FST;}
          
          2 tests failed.
          REGRESSION:  org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testMultiThreaded
          
          Error Message:
          expected:<1> but was:<3>
          

          What I do know works, and have used before is this:

          Constants.JAVA_VENDOR.startsWith("IBM")
          
          Show
          Robert Muir added a comment - Hoss, are you sure the assume is working? this test tripped last night on J9: Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Linux/9515/ Java: 64bit/ibm-j9-jdk7 -Xjit:exclude={org/apache/lucene/util/fst/FST.pack(IIF)Lorg/apache/lucene/util/fst/FST;} 2 tests failed. REGRESSION: org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest.testMultiThreaded Error Message: expected:<1> but was:<3> What I do know works, and have used before is this: Constants.JAVA_VENDOR.startsWith( "IBM" )
          Hide
          Hoss Man added a comment -

          Hoss, are you sure the assume is working? this test tripped last night on J9:

          Clearly it is not working.

          I got that assume pattern from what i saw in a bunch of other tests when i grepped for "J9" because I knew there were others out there avoiding J9 – i'll switch now to using JAVA_VENDOR.startsWith("IBM")

          Show
          Hoss Man added a comment - Hoss, are you sure the assume is working? this test tripped last night on J9: Clearly it is not working. I got that assume pattern from what i saw in a bunch of other tests when i grepped for "J9" because I knew there were others out there avoiding J9 – i'll switch now to using JAVA_VENDOR.startsWith("IBM")
          Hide
          ASF subversion and git services added a comment -

          Commit 1573019 from hossman@apache.org in branch 'dev/trunk'
          [ https://svn.apache.org/r1573019 ]

          SOLR-5793, SOLR-5792, SOLR-5791: switch to using Constants.JAVA_VENDOR in assume

          Show
          ASF subversion and git services added a comment - Commit 1573019 from hossman@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1573019 ] SOLR-5793 , SOLR-5792 , SOLR-5791 : switch to using Constants.JAVA_VENDOR in assume
          Hide
          ASF subversion and git services added a comment -

          Commit 1573020 from hossman@apache.org in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1573020 ]

          SOLR-5793, SOLR-5792, SOLR-5791: switch to using Constants.JAVA_VENDOR in assume (merge r1573019)

          Show
          ASF subversion and git services added a comment - Commit 1573020 from hossman@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1573020 ] SOLR-5793 , SOLR-5792 , SOLR-5791 : switch to using Constants.JAVA_VENDOR in assume (merge r1573019)

            People

            • Assignee:
              Unassigned
              Reporter:
              Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development