This exception was invalidated. It was removed by the author or found useless.

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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}
    via by Peter Lynch,
  • 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}
    via by Peter Lynch,
  • Erro ao atualizar para a 1.3.1
    via GitHub by aoshy
    ,
    • No stack-trace found.

    Users with the same issue

    jf-ast
    10 times, last one,
    Unknown visitor1 times, last one,
    Andreas Häber
    8 times, last one,
    osvzs
    2 times, last one,
    Casper
    2 times, last one,
    95 more bugmates