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>

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
  1. 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>
  2. 0

    https://builds.sonatype.org/view/nexus/job/nexus-oss-its/112/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus2692/Nexus2692EvictAllTaskIT/testEvictAllRepos/ org.sonatype.nexus.integrationtests.nexus2692.Nexus2692EvictAllTaskIT.testEvictAllRepos (from Nexus2692EvictAllTaskIT) Failing for the past 1 build (Since Failed#112 ) Took 12 sec. add description Error Message The following files should have been deleted: [central-m1/org.codehaus.plexus/poms/plexus-container-default-1.0-alpha-7.pom.sha1] expected:&lt;true&gt; but was:&lt;false&gt; Stacktrace {code} java.lang.AssertionError: The following files should have been deleted: [central-m1/org.codehaus.plexus/poms/plexus-container-default-1.0-alpha-7.pom.sha1] expected:<true> but was:<false> at org.sonatype.nexus.integrationtests.nexus2692.Nexus2692EvictAllTaskIT.testEvictAllRepos(Nexus2692EvictAllTaskIT.java:50) 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.codehaus.plexus/poms/plexus-container-default-1.0-alpha-7.pom.sha1] expected:<true> but was:<false>
  3. 0

    org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.clearProxy https://builds.sonatype.org/job/nexus-oss-its/204/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus636/Nexus636EvictUnusedProxiedTaskIT/clearProxy/ {code} Error Message The only files left should be &quot;dotted&quot; files! We have: [Ljava.io.File;@64530526 expected:&lt;true&gt; but was:&lt;false&gt; Stacktrace java.lang.AssertionError: The only files left should be "dotted" files! We have: [Ljava.io.File;@64530526 expected:<true> but was:<false> at org.sonatype.nexus.integrationtests.nexus636.Nexus636EvictUnusedProxiedTaskIT.clearProxy(Nexus636EvictUnusedProxiedTaskIT.java:103) 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 only files left should be "dotted" files! We have: [Ljava.io.File;@64530526 expected:<true> but was:<false>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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>
  6. 0

    test OnExitTest.test2(): failure java.lang.AssertionError: spawned process should have been in children expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at OnExitTest.lambda$test2$4(OnExitTest.java:152) at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1609) at OnExitTest.test2(OnExitTest.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:804) =============================================== java/lang/ProcessHandle/OnExitTest.java Total tests run: 2, Failures: 1, Skips: 0 =============================================== ----------System.err:(19/1010)---------- Error occurred during initialization of VM java.lang.NoClassDefFoundError: java/lang/System$2 at java.lang.System.setJavaLangAccess(System.java:1872) at java.lang.System.initializeSystemClass(System.java:1861) java.lang.Exception: failures: 1 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 1 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1

    JDK Bug System | 9 months ago | Harsha Wardhana B
    java.lang.AssertionError: spawned process should have been in children expected [true] but found [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

      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()
    2. org.sonatype.nexus
      Nexus2692EvictGroupTaskIT.testEvictPublicGroup
      1. org.sonatype.nexus.integrationtests.nexus2692.Nexus2692EvictGroupTaskIT.testEvictPublicGroup(Nexus2692EvictGroupTaskIT.java:57)
      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