java.lang.AssertionError: Artifact upload returned: 500 expected sucess expected:<true> but was:<false>

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    https://builds.sonatype.org/view/nexus/job/nexus-oss-its/94/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus537/Nexus537RepoTargetsIT/artifactUplaodTest/ {code} org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.artifactUplaodTest (from Nexus537RepoTargetsIT) Failing for the past 1 build (Since Failed#94 ) Took 0.89 sec. add description Error Message Artifact upload returned: 500 expected sucess expected:&lt;true&gt; but was:&lt;false&gt; Stacktrace java.lang.AssertionError: Artifact upload returned: 500 expected sucess expected:<true> but was:<false> at org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.upload(Nexus537RepoTargetsIT.java:435) at org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.artifactUplaodTest(Nexus537RepoTargetsIT.java:311) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:157) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:97) 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:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) ... Removed 29 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Artifact upload returned: 500 expected sucess expected:<true> but was:<false>

    Root Cause Analysis

    1. java.lang.AssertionError

      Artifact upload returned: 500 expected sucess expected:<true> but was:<false>

      at org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.upload()
    2. org.sonatype.nexus
      Nexus537RepoTargetsIT.artifactUplaodTest
      1. org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.upload(Nexus537RepoTargetsIT.java:435)
      2. org.sonatype.nexus.integrationtests.nexus537.Nexus537RepoTargetsIT.artifactUplaodTest(Nexus537RepoTargetsIT.java:311)
      2 frames
    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:157)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:97)
      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:172)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
      5 frames