java.lang.AssertionError: Maven metadata file should be generated after rebuild expected:<true> but was:<false>

Sonatype JIRA | Benjamin Hanzelmann | 4 years ago
  1. 0

    Regression org.sonatype.nexus.integrationtests.nexus1022.Nexus1022RebuildRepositoryMavenMetadataTaskIT.rebuildMavenMetadata (from Nexus1022RebuildRepositoryMavenMetadataTaskIT) https://builds.sonatype.org/job/nexus-oss-its/335/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus1022/Nexus1022RebuildRepositoryMavenMetadataTaskIT/rebuildMavenMetadata/ {code} Error Message Maven metadata file should be generated after rebuild expected:&lt;true&gt; but was:&lt;false&gt; Stacktrace java.lang.AssertionError: Maven metadata file should be generated after rebuild expected:<true> but was:<false> at org.sonatype.nexus.integrationtests.nexus1022.Nexus1022RebuildRepositoryMavenMetadataTaskIT.rebuildMavenMetadata(Nexus1022RebuildRepositoryMavenMetadataTaskIT.java:55) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) 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:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 29 stack frames {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Maven metadata file should be generated after rebuild expected:<true> but was:<false>
  2. 0

    Failed org.sonatype.nexus.integrationtests.nexus643.Nexus643EmptyTrashTaskIT.emptyTrashTask (from Nexus643EmptyTrashTaskIT) https://builds.sonatype.org/job/nexus-oss-its/337/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus643/Nexus643EmptyTrashTaskIT/emptyTrashTask/ {code} Error Message Trash should be empty! expected:&lt;false&gt; but was:&lt;true&gt; Stacktrace java.lang.AssertionError: Trash should be empty! expected:<false> but was:<true> at org.sonatype.nexus.integrationtests.nexus643.Nexus643EmptyTrashTaskIT.emptyTrashTask(Nexus643EmptyTrashTaskIT.java:69) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) 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:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 29 stack frames {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Trash should be empty! expected:<false> but was:<true>
  3. 0

    GitHub comment 5554#127167909

    GitHub | 1 year ago | bzlat
    java.lang.AssertionError: There should be no distributed objects after destroying the map expected [true] but found [false]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AssertionError: Number of scheduled jobs should be at least 4 but is 3 expected

    Google Groups | 6 years ago | Eyal Edri
    java.lang.AssertionError: Number of scheduled jobs should be at least 4 but is 3 expected:<true> but was:<false>
  6. 0

    https://builds.sonatype.org/view/nexus/job/nexus-oss-its/114/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus2692/Nexus2692EvictGroupTaskIT/testEvictPublicGroup/ org.sonatype.nexus.integrationtests.nexus2692.Nexus2692EvictGroupTaskIT.testEvictPublicGroup (from Nexus2692EvictGroupTaskIT) Failing for the past 1 build (Since Failed#114 ) Took 11 sec. add description Error Message The following files should have been deleted: central-m1/org.apache.maven.shared/poms/maven-shared-components-8.pom.sha1 expected:&lt;true&gt; but was:&lt;false&gt; {code} Stacktrace java.lang.AssertionError: The following files should have been deleted: central-m1/org.apache.maven.shared/poms/maven-shared-components-8.pom.sha1 expected:<true> but was:<false> at org.sonatype.nexus.integrationtests.nexus2692.Nexus2692EvictGroupTaskIT.testEvictPublicGroup(Nexus2692EvictGroupTaskIT.java:57) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) 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:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 29 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: The following files should have been deleted: central-m1/org.apache.maven.shared/poms/maven-shared-components-8.pom.sha1 expected:<true> but was:<false>

    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

      Maven metadata file should be generated after rebuild expected:<true> but was:<false>

      at org.sonatype.nexus.integrationtests.nexus1022.Nexus1022RebuildRepositoryMavenMetadataTaskIT.rebuildMavenMetadata()
    2. org.sonatype.nexus
      Nexus1022RebuildRepositoryMavenMetadataTaskIT.rebuildMavenMetadata
      1. org.sonatype.nexus.integrationtests.nexus1022.Nexus1022RebuildRepositoryMavenMetadataTaskIT.rebuildMavenMetadata(Nexus1022RebuildRepositoryMavenMetadataTaskIT.java:55)
      1 frame
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames