java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Regression org.sonatype.nexus.integrationtests.nexus634.Nexus634KeepNewSnapshotsIT.keepNewSnapshots (from Nexus634KeepNewSnapshotsIT) https://builds.sonatype.org/job/nexus-oss-its/335/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus634/Nexus634KeepNewSnapshotsIT/keepNewSnapshots/ {code} Error Message SnapshotRemoverTask should remove only old artifacts. Artifacts found: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-20010101.184024-1.jar, X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-SNAPSHOT.jar] expected:&lt;1&gt; but was:&lt;2&gt; Stacktrace java.lang.AssertionError: SnapshotRemoverTask should remove only old artifacts. Artifacts found: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-20010101.184024-1.jar, X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-SNAPSHOT.jar] expected:<1> but was:<2> at org.sonatype.nexus.integrationtests.nexus634.Nexus634KeepNewSnapshotsIT.keepNewSnapshots(Nexus634KeepNewSnapshotsIT.java:37) 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 30 stack frames {code}
    via by Benjamin Hanzelmann,
    • java.lang.AssertionError: SnapshotRemoverTask should remove only old artifacts. Artifacts found: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-20010101.184024-1.jar, X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\nexus-test-harness-snapshot-repo\nexus634\artifact\1.0-SNAPSHOT\artifact-1.0-SNAPSHOT.jar] expected:<1> but was:<2> at org.sonatype.nexus.integrationtests.nexus634.Nexus634KeepNewSnapshotsIT.keepNewSnapshots(Nexus634KeepNewSnapshotsIT.java:37) 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)
    No Bugmate found.