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>

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

    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}

    Sonatype JIRA | 4 years ago | 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>
  2. 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>
  3. 0

    This IT passed on linux build but then failed on windows. Word has it was flaky ArtifactInfo provider/ indexing {noformat} Failed org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoProviderIT.groupInfo (from Nexus3615ArtifactInfoProviderIT) Failing for the past 2 builds (Since #343 ) Took 53 ms. add description Error Message expected:<nexus-test-harness-repo2> but was:<nexus-test-harness-repo> Stacktrace java.lang.AssertionError: expected:<nexus-test-harness-repo2> but was:<nexus-test-harness-repo> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertEquals(Assert.java:118) at org.testng.Assert.assertEquals(Assert.java:171) at org.testng.Assert.assertEquals(Assert.java:181) at org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoProviderIT.validate(Nexus3615ArtifactInfoProviderIT.java:53) at org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoProviderIT.groupInfo(Nexus3615ArtifactInfoProviderIT.java:48) Standard Output [INFO] Loading Nexus Configuration... [INFO] Configuration loaded succesfully. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration file is invalid, attempting upgrade [INFO] Trying to upgrade the configuration file X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Upgrading old Nexus configuration file (version 1.0.8) from X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Nexus configuration file upgraded to current version 1.4.6 succesfully. [INFO] Creating backup from the old file and saving the upgraded configuration. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration loaded succesfully. [INFO] Nexus configuration validated succesfully. [INFO] Applying Nexus Configuration... [INFO] Nexus configuration validated succesfully. =================================== Application context "jetty" dump: "application-port"="63175" (raw: "63175", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\conf\jetty.properties) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\conf\jetty.properties) "nexus-webapp"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\conf\jetty.properties) "bundleBasedir"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT", src: filter(keyIsIn:[bundleBasedir], system:properties)) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\conf\jetty.properties) Total of 5 entries. =================================== =================================== Application context "nexus" dump: "nexus-work"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir" (raw: "X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "runtime"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "application-port"="63175" (raw: "63175", src: map: quasiParent (size:5)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: map: quasiParent (size:5)) "application-conf"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir/conf" (raw: "${nexus-work}/conf", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "nexus-webapp"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus" (raw: "X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus", src: map: quasiParent (size:5)) "nexus-app"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/WEB-INF" (raw: "${runtime}", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "security-xml-file"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: file:X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT\nexus\WEB-INF\plexus.properties) "log-config-dir"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf" (raw: "X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf", src: filter(keyStartsWith:[nexus.], system:properties)) "bundleBasedir"="X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT", src: map: quasiParent (size:5)) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: map: quasiParent (size:5)) Total of 12 entries. =================================== 2011-08-16 05:09:00 INFO [-main-thread-88] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\conf\security-configuration.xml Result: org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoProviderIT.groupInfo() ===> FAILED Standard Error 2011-08-16 05:08:53.284:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:63175 STARTED 2011-08-16 05:08:53.284:INFO::Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/X:/s/workspace/nexus-oss/67cb98c1/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/},X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus 2011-08-16 05:08:54.339:INFO::stopped o.e.j.w.WebAppContext{/nexus,file:/X:/s/workspace/nexus-oss/67cb98c1/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/},X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus 2011-08-16 05:08:56.675:INFO::jetty-7.4.4.v20110707 2011-08-16 05:08:56.675:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-08-16 05:08:57.312:INFO::NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-08-16 05:08:57.323:INFO:/nexus:Configuring Nexus in bundle... 2011-08-16 05:08:57.324:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT 2011-08-16 05:09:02.129:INFO::started o.e.j.w.WebAppContext{/nexus,file:/X:/s/workspace/nexus-oss/67cb98c1/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/},X:\s\workspace\nexus-oss\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-oss-webapp-1.9.3-SNAPSHOT/nexus 2011-08-16 05:09:04.705:INFO::Started SelectChannelConnector@0.0.0.0:63175 STARTING 2011-08-16 05:09:04.726:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@2058e330 to URI: /nexus {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    java.lang.AssertionError: expected:<nexus-test-harness-repo2> but was:<nexus-test-harness-repo>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/166/testReport/org.sonatype.nexus.proxy.wastebasket/DefaultWastebasketTest/testPurgeAllLegacyTrash/ org.sonatype.nexus.proxy.wastebasket.DefaultWastebasketTest.testPurgeAllLegacyTrash (from DefaultWastebasketTest) {code} Error Message Expected: files found ["activemq", "md-merge", "trash"] but: was <X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-proxy\target\plexus-home--6847978598435387335\nexus-work\trash> Stacktrace java.lang.AssertionError: Expected: files found ["activemq", "md-merge", "trash"] but: was <X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-proxy\target\plexus-home--6847978598435387335\nexus-work\trash> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasketTest.testPurgeAllLegacyTrash(DefaultWastebasketTest.java:133) 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:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 01:25:08.573 [main] WARN o.s.s.c.s.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 01:25:08.573 [main] INFO o.s.s.c.s.FileSecurityConfigurationSource - Loading Security configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-proxy\target\plexus-home--6847978598435387335\nexus-work\conf\security-configuration.xml 01:25:08.589 [main] INFO o.s.n.p.a.DefaultLSAttributeStorage - Default LS AttributeStorage in place. 01:25:08.589 [main] INFO o.s.n.p.a.DefaultAttributesHandler - Legacy AttributeStorage directory exists here "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-proxy\target\plexus-home--6847978598435387335\nexus-work\proxy\attributes", transitioning them on-the-fly as they are used to repository storage. [INFO] Creating and configuring EHCache manager with classpath:/ehcache.xml, using disk store 'none' 01:25:08.589 [main] INFO o.s.n.p.r.DefaultRepositoryTypeRegistry - Registered default repository types. 01:25:08.589 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='out-of-service-repo' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 01:25:08.605 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='active-repo' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 01:25:08.605 [main] INFO o.s.nexus.proxy.walker.DefaultWalker - Cannot walk, repository: 'out-of-service-repo' is out of service. [INFO] Shutting down EHCache manager. {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Expected: files found ["activemq", "md-merge", "trash"] but: was <X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-proxy\target\plexus-home--6847978598435387335\nexus-work\trash>
  6. 0

    https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/lastCompletedBuild/testReport/org.sonatype.nexus.integrationtests.nexus4579/Nexus4579OptionalTrashForSnapshotsIT/removeAllSnapshotsDirectly/ {code} org.sonatype.nexus.integrationtests.nexus4579.Nexus4579OptionalTrashForSnapshotsIT.removeAllSnapshotsDirectly (from Nexus4579OptionalTrashForSnapshotsIT) Failing for the past 1 build (Since Failed#90 ) Took 0.73 sec. add description Error Message removed snapshots did go into trash Expected: null but: was [&quot;artifact-1.0-20010101.184024-1.jar&quot;] Stacktrace java.lang.AssertionError: removed snapshots did go into trash Expected: null but: was ["artifact-1.0-20010101.184024-1.jar"] at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.sonatype.nexus.integrationtests.nexus4579.Nexus4579OptionalTrashForSnapshotsIT.removeAllSnapshotsDirectly(Nexus4579OptionalTrashForSnapshotsIT.java:108) 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 26 stack frames {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: removed snapshots did go into trash Expected: null but: was ["artifact-1.0-20010101.184024-1.jar"]

    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

      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()
    2. org.sonatype.nexus
      Nexus634KeepNewSnapshotsIT.keepNewSnapshots
      1. org.sonatype.nexus.integrationtests.nexus634.Nexus634KeepNewSnapshotsIT.keepNewSnapshots(Nexus634KeepNewSnapshotsIT.java:37)
      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