java.lang.AssertionError: Expected 3 artifacts in repo: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\release-proxy-repo-1\nexus636\artifact-really-really-old] expected:<3> but was:<1>

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Regression org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.doNotDeleteEverythingTest https://builds.sonatype.org/job/nexus-oss-its/204/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus636/Nexus636EvictUnusedProxiedTaskIT/doNotDeleteEverythingTest/ {code} Error Message Expected 3 artifacts in repo: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\release-proxy-repo-1\nexus636\artifact-really-really-old] expected:&lt;3&gt; but was:&lt;1&gt; Stacktrace java.lang.AssertionError: Expected 3 artifacts in repo: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\release-proxy-repo-1\nexus636\artifact-really-really-old] expected:<3> but was:<1> at org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.doNotDeleteEverythingTest(Nexus636EvictUnusedProxiedTaskIT.java:127) 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}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Expected 3 artifacts in repo: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\release-proxy-repo-1\nexus636\artifact-really-really-old] expected:<3> but was:<1>

    Root Cause Analysis

    1. java.lang.AssertionError

      Expected 3 artifacts in repo: [X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\storage\release-proxy-repo-1\nexus636\artifact-really-really-old] expected:<3> but was:<1>

      at org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.doNotDeleteEverythingTest()
    2. org.sonatype.nexus
      Nexus636EvictUnusedProxiedTaskIT.doNotDeleteEverythingTest
      1. org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.doNotDeleteEverythingTest(Nexus636EvictUnusedProxiedTaskIT.java:127)
      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