java.lang.AssertionError: beta.length != dinfo.fullN(), beta = 2 dinfo = 4, noffsets = 0

JIRA | Jiehua Chen | 2 years ago
  1. 0

    random fail locally for me against fdd35041febd4e852539bca5795461d12d5352e0 {noformat} ------------------------------------------------------------------------------- Test set: org.sonatype.nexus.index.DefaultIndexerManagerTest ------------------------------------------------------------------------------- Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 101.34 sec <<< FAILURE! testRepoKeywordSearch(org.sonatype.nexus.index.DefaultIndexerManagerTest) Time elapsed: 25.795 sec <<< FAILURE! java.lang.AssertionError: Found artifacts: Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-5-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:sources:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:jdk14:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:cli:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-3-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus:1.3.0-SNAPSHOT:null:pom Snapshots : org.sonatype.nexus:nexus:1.2.2-SNAPSHOT:null:pom Releases : org.sonatype.nexus:nexus-indexer:1.0-beta-4:null:jar Unexpected result set size! We expected 10 but got 9 at org.junit.Assert.fail(Assert.java:91) at org.sonatype.nexus.test.PlexusTestCaseSupport.fail(PlexusTestCaseSupport.java:338) at org.sonatype.nexus.index.AbstractIndexerManagerTest.searchForKeywordNG(AbstractIndexerManagerTest.java:104) at org.sonatype.nexus.index.DefaultIndexerManagerTest.testRepoKeywordSearch(DefaultIndexerManagerTest.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    java.lang.AssertionError: Found artifacts: Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-5-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:sources:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:jdk14:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:cli:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-3-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus:1.3.0-SNAPSHOT:null:pom Snapshots : org.sonatype.nexus:nexus:1.2.2-SNAPSHOT:null:pom Releases : org.sonatype.nexus:nexus-indexer:1.0-beta-4:null:jar Unexpected result set size! We expected 10 but got 9
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    expandBrokers_sortByAttrs test fails on master branch

    GitHub | 1 year ago | aglahe
    java.lang.AssertionError: expected:<[1, 4, 2, 3, 0, 5]> but was:<[1, 2, 0, 4, 3, 5]>
  4. 0

    random fail locally for me against fdd35041febd4e852539bca5795461d12d5352e0 {noformat} ------------------------------------------------------------------------------- Test set: org.sonatype.nexus.index.DefaultIndexerManagerTest ------------------------------------------------------------------------------- Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 101.34 sec <<< FAILURE! testRepoKeywordSearch(org.sonatype.nexus.index.DefaultIndexerManagerTest) Time elapsed: 25.795 sec <<< FAILURE! java.lang.AssertionError: Found artifacts: Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-5-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:sources:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:jdk14:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:cli:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-3-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus:1.3.0-SNAPSHOT:null:pom Snapshots : org.sonatype.nexus:nexus:1.2.2-SNAPSHOT:null:pom Releases : org.sonatype.nexus:nexus-indexer:1.0-beta-4:null:jar Unexpected result set size! We expected 10 but got 9 at org.junit.Assert.fail(Assert.java:91) at org.sonatype.nexus.test.PlexusTestCaseSupport.fail(PlexusTestCaseSupport.java:338) at org.sonatype.nexus.index.AbstractIndexerManagerTest.searchForKeywordNG(AbstractIndexerManagerTest.java:104) at org.sonatype.nexus.index.DefaultIndexerManagerTest.testRepoKeywordSearch(DefaultIndexerManagerTest.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    java.lang.AssertionError: Found artifacts: Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-5-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:sources:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:jdk14:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-4-SNAPSHOT:cli:jar Snapshots : org.sonatype.nexus:nexus-indexer:1.0-beta-3-SNAPSHOT:null:jar Snapshots : org.sonatype.nexus:nexus:1.3.0-SNAPSHOT:null:pom Snapshots : org.sonatype.nexus:nexus:1.2.2-SNAPSHOT:null:pom Releases : org.sonatype.nexus:nexus-indexer:1.0-beta-4:null:jar Unexpected result set size! We expected 10 but got 9

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      beta.length != dinfo.fullN(), beta = 2 dinfo = 4, noffsets = 0

      at hex.glm.GLMTask$GLMIterationTask.<init>()
    2. hex.glm
      GLM2$LineSearchIteration.callback
      1. hex.glm.GLMTask$GLMIterationTask.<init>(GLMTask.java:218)
      2. hex.glm.GLM2.checkKKTAndComplete(GLM2.java:826)
      3. hex.glm.GLM2$LineSearchIteration.callback(GLM2.java:748)
      4. hex.glm.GLM2$LineSearchIteration.callback(GLM2.java:724)
      4 frames
    3. water
      H2O$H2OCallback.onCompletion
      1. water.H2O$H2OCallback.onCompletion(H2O.java:679)
      1 frame
    4. jsr166y
      CountedCompleter.tryComplete
      1. jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask2.compute2(MRTask2.java:426)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:655)
      2 frames
    6. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames